[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Veo_GYecergPLjSY9k4fsEnxOQLq9rx2N+rBk6u1LzOHw@mail.gmail.com>
Date: Tue, 1 Jul 2025 21:00:12 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Abdelrahman Fekry <abdelrahmanfekry375@...il.com>
Cc: Andy Shevchenko <andriy.shevchenko@...el.com>, andy@...nel.org, hdegoede@...hat.com,
mchehab@...nel.org, sakari.ailus@...ux.intel.com, gregkh@...uxfoundation.org,
linux-kernel-mentees@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-media@...r.kernel.org, linux-staging@...ts.linux.dev,
skhan@...uxfoundation.com, dan.carpenter@...aro.org
Subject: Re: [PATCH] staging: media: atomisp: Fix premature setting of
HMM_BO_DEVICE_INITED flag
On Tue, Jul 1, 2025 at 6:34 PM Abdelrahman Fekry
<abdelrahmanfekry375@...il.com> wrote:
>
> Hi andy ,
> On Tue, Jul 1, 2025 at 3:45 PM Andy Shevchenko
> <andriy.shevchenko@...el.com> wrote:
>
> > > > Nice. Can you make some fault injection (temporary by modifying the
> > > > code to always fail, for example) and actually prove this in practice?
> > > > If so, the few (important) lines from the given Oops would be nice to
> > > > have here.
> >
> > > I have been trying to test it without having any intel atomisp
> > > hardware and failed continuously, do you have any tips or maybe some
> > > resources on how i can test this driver.
> >
> > So, the easiest way as I can see it is to ask people who possess the HW to
> > test, but you need to provide a testing patch (which can be applied on top
> > of this one, for example).
>
> Well, after several hours of trial and error, I finally managed to
> find a workaround that allowed me to test the scenario. As expected,
> the system crashed exactly at the point we discussed. I was able to
> capture the kernel panic log, which is shown below.
Thank you for the effort! I think we are good to go with the change,
maybe Hans can add a summary of this test into the commit message when
applying. Or Link tag might be enough, dunno.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists