[PATCH v2 0/2] Fix CPU hotplug state cleanup in Xilinx drivers

Prasanna Kumar T S M ptsm at linux.microsoft.com
Mon Nov 30 01:45:11 PST 2026


Both the ZynqMP IPI mailbox driver and the Xilinx event manager driver
pass CPUHP_AP_ONLINE_DYN to cpuhp_remove_state() instead of the
dynamically allocated state returned by cpuhp_setup_state(), and ignore
cpuhp_setup_state() failures.

This series stores the allocated CPU hotplug state for cleanup and
propagates hotplug registration failures during probe in both drivers.

Changes in v2: address v1 review comments.

Link to v1: https://lore.kernel.org/lkml/20261103062051.676519-1-ptsm@linux.microsoft.com/

Prasanna Kumar T S M (2):
  mailbox: zynqmp-ipi: Fix CPU hotplug state cleanup
  soc: xilinx: Fix event manager CPU hotplug state cleanup

 drivers/mailbox/zynqmp-ipi-mailbox.c    | 29 +++++++++++++++++++++--------
 drivers/soc/xilinx/xlnx_event_manager.c | 15 +++++++++++----
 2 files changed, 32 insertions(+), 12 deletions(-)



More information about the linux-arm-kernel mailing list