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=1796031922; b=1QRoaE+m4xus6BjFGILRQTiALZhhi17XUhGuMJavODNFz1DZj+M2iXHGuXkKxpSn1R6L Sl95rA/pitoFBaPctRXESVUOLU05px7Tr+UaEHVkKnQzSMx5Wqxbl7OWh6CcJsZPSLRwq dnkAoKXSSPl8YuYTCAr/1b32slqEvmEdKITbjQuiaBMdcl8BFWO+C8xcJnjvmYTCUpoKJ Sai55v2w9beDW3o8BNmZiOMTfGFVM7MJfyMhHntz9LFyiuL7X4J5umxzUXtJt2sKcbOQV W4mrWZur74RmJBuKM6W7atyCfi20pDwunIVIFdQHFMifjbYcNoZB4C3WBsDAJvnDrRA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796031922; 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=2mJSFCBjXLxYjJzS511O2Fy80LU81gVYWbyUVrYTMCA=; b=oCcaB5yIiLo2Rw/yKyRoN40doUKuQx2/yijdzKuGAOd7MlzTx7okE8FsS2e1WKU3o2qK PNcbq60hBqtu+OKgj2MOvasjZPoxwj2CufTp2UA4xW1XFhIAkYKE1CyHvBaCs1qHSE6x2 +B+Xud2Wh7/8UaexWl0+dBq67O8lIWI/jqAQqy6UkjKrtF0kcftWbi0ziEjagaspvm0Du EQNS7urhYxYD7rbOn3IT3HFOdQkYYlIqx/EEvEHDiFH22mo0+RqGG8CHf/6IgPUWqjL7X Rnoi8DpIIeNDlyEFGwx/jYOZWIjJoiKyodfyzk1K8dyDA1ovxgRdjGBWEZ0KW0WvtEw== 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=Yit0N5jE; 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 AE3CC606A31C for ; Mon, 30 Nov 2026 09:45:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AE3CC606A31C 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=Yit0N5jE Received: from linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net (linux.microsoft.com [13.77.154.182]) by linux.microsoft.com (Postfix) with ESMTPSA id AB45320B7166; Mon, 30 Nov 2026 01:45:13 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com AB45320B7166 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1796031913; bh=2mJSFCBjXLxYjJzS511O2Fy80LU81gVYWbyUVrYTMCA=; h=From:To:Subject:Date:From; b=Yit0N5jEYCaxRlMaceJRYXxNCP6lJwN8K8vPp1lXOWnpmD77Q4S8BVqlprN5HgPJg oFxOrRBzn1dLt1qbo99CP9h7Dr8KH/SanHmzz80/44sOoIUQiBIztx+YUHFyX3jEXK 8n4cGHEBuR9Xf3u1yC6pzJBPlavtvEGTgL0grRxg= 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, tejas.patel@xilinx.com, rajan.vaja@xilinx.com, abhyuday.godhasara@xilinx.com, gregkh@linuxfoundation.org Subject: [PATCH v2 0/2] Fix CPU hotplug state cleanup in Xilinx drivers Date: Mon, 30 Nov 2026 01:45:11 -0800 Message-ID: <20261130094513.2454356-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 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(-)