[PATCH] drivers/perf: Fix kernel panic when rmmod PMU modules during perf sampling

John Garry john.garry at huawei.com
Thu Jul 16 07:09:47 EDT 2020


On 16/07/2020 11:44, Will Deacon wrote:
>> Please also note what Qi Liu wrote about being able to unbind the driver and
>> cause the same issue. I don't know if you can about that issue also.
> I guess we have to throw in some '.suppress_bind_attrs = true,' lines as
> well, then?

Yeah, I think it would be a follow up using suppress_bind_attrs. TBH, I 
don't know why this is an opt out feature, than an opt in. Probably a 
good reason...

  I'll queue this as-is, but happy to take a follow-up if somebody
> can test it.
> 

Thanks,
john




More information about the linux-arm-kernel mailing list