From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=13.77.154.182 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796360695; b=Ianm4i3eJZxf0pbva95ZpjQgUSWT3K7SICm0a1VrdUnc1LJhCKIDbGU8w6CiWT42MNps 8Vv3cMi1leiXggIemOVZsZ8YSC10e343VZRoukAZ4qrSacuKpFurG4/ltTQrB+6UT4Pi5 abA9OUTMBpfuoMCwexTXuRCE4xwr29z8odw7/YamNA6yhahMq1Rsx8al4MIty+mhYIMnx WnAW4U9hOFrPCEvi/H+xIDzh6V7uKzW//jzRRG2c1KRpoRrQJ6YK4XM7BJJ9beivxUX1O ZiYoQqJTnSz9st/V5Vt7cuu2MogKky7xXKEJhQorV2yOhTQRESmlwByfpmflCCY9M/g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796360695; h=DMARC-Filter:Received:DKIM-Filter:DKIM-Signature:From:To:Subject: Date:Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding: X-Spam-Status:X-Spam-Checker-Version; bh=Y5s9KgQ+FMFrL7T1VkOa/Q7xQ5jc2p2+Kl2hyM8dOYI=; b=InAabBmtEihVk8uBE8FTVfNtBAAM1RGqbQy/m7yAPdy3AwwpVnsLg2dPaRCmzT9eTvik TJdjHPgxRb3wqgskACU9VOYmC4S/w0PcELJwv1+UTzNz1MNJl8ytuZGilGjXxEIsM/EJA PEL5djhhf/GSNntfhkqs0wn+LF/B8vFwAvPxxth9v3vHIW8VSsbGZqU4v5wy+sfL6KjZr iOyMmBQIokoXkTqcDwujcUCCB9RDNsSdqM2/+616eS4E3jtFKyXGGzlYDU6rP2HEcuvbp nATIfEfXANG1TxJP5L7knwO0E1LMje7/CFDLoDotcbhya4loUbxbJr4M8i1cVwQYB3A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=WTl1GSzi; arc=none smtp.remote-ip=13.77.154.182 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4490606A322 for ; Fri, 4 Dec 2026 05:04:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A4490606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.a=rsa-sha256 header.s=default header.b=WTl1GSzi Received: from linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net (linux.microsoft.com [13.77.154.182]) by linux.microsoft.com (Postfix) with ESMTPSA id CA7EB20B7166; Thu, 3 Dec 2026 21:04:53 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com CA7EB20B7166 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1796360693; bh=Y5s9KgQ+FMFrL7T1VkOa/Q7xQ5jc2p2+Kl2hyM8dOYI=; h=From:To:Subject:Date:From; b=WTl1GSziCTnn/MBNfjTy5MNDdevrWlBpPueEVDRIguDKlGKU4GoP3bGHJ1DRtyyTv 0OC0WeAFPnoEPmqOA6A09/D+v5YikihDaTlkLizqOAPSJUYdKhuux5TuJC+yB+CiCI i1XdeEZwXfaGFSV5i9VB+Y7FeT+2uL9JB7+M7Ykk= From: Prasanna Kumar T S M To: ptsm@linux.microsoft.com, jassisinghbrar@gmail.com, michal.simek@amd.com, tanmay.shah@amd.com, saeed.nowshadi@amd.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, ssengar@linux.microsoft.com, tgopinath@linux.microsoft.com, srivatsa@csail.mit.edu, jay.buddhabhatti@amd.com, gregkh@linuxfoundation.org, radheys@amd.com Subject: [PATCH v3 0/5] Fix CPU hotplug and SGI cleanup in Xilinx drivers Date: Thu, 3 Dec 2026 21:04:48 -0800 Message-ID: <20261204050453.18005-1-ptsm@linux.microsoft.com> X-Mailer: git-send-email 2.43.7 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Both the ZynqMP IPI mailbox driver and the Xilinx event management driver register dynamic CPU hotplug callbacks using CPUHP_AP_ONLINE_DYN, but discard the allocated state ID and later attempt to remove CPUHP_AP_ONLINE_DYN directly. This leaves the actual callbacks dangling after driver removal and ignores hotplug registration failures. This series fixes CPU hotplug state tracking and SGI teardown in both drivers. Changes since v2: - Return cpuhp_setup_state() error directly from xlnx_mbox_init_sgi() and leave SGI teardown to the caller, as discussed on v1. - Split the request_percpu_irq() / unmapped virq_sgi cleanup fix into a separate patch. - Add cleanup patches for both drivers to remove the now-redundant on_each_cpu(xlnx_disable_percpu_irq, ...) calls. Link to v2: https://lore.kernel.org/lkml/20261130094513.2454356-1-ptsm@linux.microsoft.com/. Prasanna Kumar T S M (5): mailbox: zynqmp-ipi: Fix CPU hotplug state cleanup mailbox: zynqmp-ipi: Fix SGI cleanup on request_percpu_irq() failure mailbox: zynqmp-ipi: Remove redundant percpu IRQ disable soc: xilinx: Fix event manager CPU hotplug state cleanup soc: xilinx: Remove redundant percpu IRQ disable drivers/mailbox/zynqmp-ipi-mailbox.c | 35 ++++++++++++------------- drivers/soc/xilinx/xlnx_event_manager.c | 22 ++++++++-------- 2 files changed, 28 insertions(+), 29 deletions(-) -- 2.49.0