On Wed, 15 Apr 2020 12:16:49 -0700 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote: > > My test suite just tripped over this bug. Is this the patch that you think > > fixes it? > > > > https://lore.kernel.org/linux-kselftest/20200414081513.GD2828150@xxxxxxxxxxxxxxxxx > > Yes, it is, but GregKH and Rafael Wysocki don't seem to like that patch > and are suggesting some changes in lib/kobject.c (only pseudocode, > no patch yet). > > > I'll add it to see if I can continue my testing. > > See the thread > [PATCH v1] kobject: make sure parent is not released before children > > Here is Rafael's suggestion: > https://lore.kernel.org/linux-kselftest/CAJZ5v0hNemTDVa_S-FfVMbrKjM-RWYoHh88asnUvTNxZinY2cw@xxxxxxxxxxxxxx/ > Thanks for the update. If the first patch prevents the crash from happening, then I'll keep it for the time being. I have a list of patch "fixes" that get applied to the kernel I'm testing, such that I can run the tests without them failing for something that I'm not testing. Otherwise, I'd never get to test my code :-) Some of theses patches just remove "WARN_ON" because those will cause my tests to fail. I really don't care if i915 triggers WARN_ON() as my code shouldn't be affecting it. -- Steve