Re: [PATCH] kernel/watchdog_hld.c: Fix access percpu in preemptible context

2020-12-19 Thread Lecopzer Chen
Thanks a lot, I'll try to fix this in anthoer way(patch v2) to avoid regreesion other than arm64 BRs, Lecopzer > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: 6e37d53a67753bcb12a0b9102cac85d98f8a0453 ("[PATCH] > kernel/watch

Re: [PATCH] kernel/watchdog_hld.c: Fix access percpu in preemptible context

2020-12-19 Thread Lecopzer Chen
BRs, Lecopzer > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: 6e37d53a67753bcb12a0b9102cac85d98f8a0453 ("[PATCH] > kernel/watchdog_hld.c: Fix access percpu in preemptible context") > url: > https://github.com/0day-ci/

[PATCH] kernel/watchdog_hld.c: Fix access percpu in preemptible context

2020-12-17 Thread Lecopzer Chen
commit 367c820ef08082 ("arm64: Enable perf events based hard lockup detector") reinitilizes lockup detector after arm64 PMU is initialized and provide another chance for access smp_processor_id() in preemptible context. Since hardlockup_detector_event_create() use many percpu relative variable, jus