On Mon, 29 Jul 2024 14:04:43 +0200, Hans de Goede wrote: > Since commit e2ffcda16290 ("ACPI: OSL: Allow Notify () handlers to run on > all CPUs") ACPI notify handlers like the intel-vbtn notify_handler() may > run on multiple CPU cores racing with themselves. > > This race gets hit on Dell Venue 7140 tablets when undocking from > the keyboard, causing the handler to try and register priv->switches_dev > twice, as can be seen from the dev_info() message getting logged twice: > > [...] Thank you for your contribution, it has been applied to my local review-ilpo branch. Note it will show up in the public platform-drivers-x86/review-ilpo branch only once I've pushed my local branch there, which might take a while. The list of commits applied: [1/1] platform/x86: intel-vbtn: Protect ACPI notify handler against recursion commit: e075c3b13a0a142dcd3151b25d29a24f31b7b640 -- i.