From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A922223707 for ; Fri, 5 Jun 2026 20:19:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780690750; cv=none; b=V54i2GnzXgYm9KboaDSHQICcUv3DHgK8WyNcdmtDUtqGlRLFr15hgiBWdMU1lqBtH9DezYEFxXDAot//XqQYGeojF0i+0OCkRYybuJpsVF8QXKN+Cfj4kQm3yPrJrufiyidv2s2Pyg4bdcodf6m0Vg/ZmabItmCz4RaDCvcFo8M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780690750; c=relaxed/simple; bh=OoF9Xm4zEceiVun1U4P/sU/e+H8GRtR4qWLoIVDocR8=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=RnguzFs/ZnpGtY99Lmf2K0BPsuLKCf4jxaThB+JXyE6yztsRNE5bc69STAZo6/w9PnSKHl0D61RE+um/Mpfkzl5vQIaQm1GyX+WXzWf/0Iy2ems6KxDSTLz5axNjfQ5uwDP4XtHsdu7dIviUVGhQm4ugzm7ZiCQQbYITLmbg8c0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=X6OiBpFC; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="X6OiBpFC" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-490b7866869so27609435e9.2 for ; Fri, 05 Jun 2026 13:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1780690748; x=1781295548; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=LV2TWmv6e3Y0iXxtyydvRw2ubePqc7/64NdStyqTFkI=; b=X6OiBpFCrxJbjlJ03ze5J3NWppdVGJPXM2Q42Ph13oQBGQM9cn6lSHkocV/G8CMBSj ru1qdNZBg2Q/OObI2gGSRgyhzSaLRGz4lF1z83zBJjaJvwZd4/Zn/skQS5l4pRxtLtEg BD/tL6x9TtdpybmYIf2kKzml/xfGzyh2YP5qQvrb03zd06YydrnWewXYtjHcthGNcaDg 0+7LmcUEqQ/j1VGNGihIdkXUzGP8yZBPCipqrIKQMf0dAKUvXmYRYpTf3obbCUHYJbAz cM2ukIjiYB8OPjJSHKdy3qnxy+YrnTrM3MVxm9rON2hqsfCHAkFci6gKBwz7kafJBgm1 IFvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780690748; x=1781295548; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LV2TWmv6e3Y0iXxtyydvRw2ubePqc7/64NdStyqTFkI=; b=JZSxQgzzHOLbPLnWSF8fsGw0980wTz5qkSfkW61oCL+rBZLGtxwx7HaHjP2i1FC4Th dZktU6olQ243qoFu4Q+JZwajaGBeGnUTCJ+/zNd4pEZVG+/lokX8TuIhFPudCLEOrIxp kshyx4rJ7bcW8B6k62TDQz+vgSOyGVwHKriJXpM15Dex2O+MkaQTdS9VHJgCapzbP+po bmfVTa7GTcbhzJn43okg0vhqLn/8RqBnankXkzreCc7cBupaQiGdknPUjYHxMUjDbdKY InkViFphF7+Hf33k+zI/LmomNc7UrL46rAC7IRHG1g6CUQjph3+wdglONV9IQLuVwO5k rYag== X-Forwarded-Encrypted: i=1; AFNElJ9ULNfdC4r4Tr+8C5FJkJ4Ca9uThsxc39C7gxAw9Dm9PMyv6KkbvAXr/mNG3Ux3yMVkd+TDxoJ0Z5aiuWA=@vger.kernel.org X-Gm-Message-State: AOJu0YyyHjdkpM2le3OZUAhcHOdVVk2oU+Se3RzWpgBo5+yAO3rJKE+x Gp5npl5uGHyPQFQvAlInOOcyZzERQ+1s6npvGPQVxKJROp2R8So0eg84j4a+X+FeSlg= X-Gm-Gg: Acq92OFzrBlrJpAkDDDnAR7htDR31FtDNjduYAiNlt5aZHW6rpecxhmJ3mjeeLdG90q Mr1KwcNrQfeIRu5cM24dmUA6kWO+Z8CykCPdsq8o2CePgfyc2NdXPNBzFn1ROOVwKAYMQS4MPVG 8jlHDoxUrMqs5XtajdCb9weiOyrC3oH+LjiAQyZgAJNX2M7VApaSIVePjgQWdToz9Aa1hVcRtjn ZLl0hOkXLJfDed1KxqjtEnj6rYMYS6RF29/YPhpJ19BRBh+gqhshmzlNLuA83P42ZFNA+RM+Nxx wuEFTvnbfB5n7jUShvx27bpJ/+UEaBWAojCz6IeHfq3DKuSiwc+kQ0ivo2Dy8tNFf78FJ7hIODg CCYrcpj+JTDrkkFOx27Hj5sFsN6iwxa6PG5ffw2cvCNHE6BoiYEDIDUw8K+Xunr9lgLzw+ypBIP 25kj1YY6948wyC7Egy3VQGLx94O6P/sFs3huANECRGE6OhPyz8hJNZnbBjuRezM1uMg3DnYurX5 kcCq1to9J6oUAKU1qKg3Ex+YNA= X-Received: by 2002:a05:600d:6444:20b0:490:5466:8591 with SMTP id 5b1f17b1804b1-490c26e1acbmr64974595e9.12.1780690747723; Fri, 05 Jun 2026 13:19:07 -0700 (PDT) Received: from [127.0.1.1] ([94.4.195.193]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-490bc413541sm190533895e9.14.2026.06.05.13.19.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2026 13:19:06 -0700 (PDT) From: Alexey Klimov Subject: [PATCH 0/3] Exynos PMU fixes for cpu hotplug and cpuidle routines Date: Fri, 05 Jun 2026 21:18:49 +0100 Message-Id: <20260605-exynos-pmu-cpuhp-idle-fixes-v1-0-0cd05c81a82d@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIACkvI2oC/x3MQQrCMBBG4auUWTsQI43Uq4gLSf+0A5qGDC2R0 rs7dPn44O2kqAKlR7dTxSYqS7a4XjqK8ztPYBmtyTsfXHA9o/3yoly+K8eyzsX8A07SoHzzqcd 4j0MYEtmhVJxgg+frOP7sYMawbQAAAA== X-Change-ID: 20260605-exynos-pmu-cpuhp-idle-fixes-32f5ed7c969f To: Krzysztof Kozlowski , Alim Akhtar , Peter Griffin Cc: Sam Protsenko , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Sashiko X-Mailer: b4 0.14.3 This was reported by Sashiko here: https://sashiko.dev/#/patchset/20260513-exynos850-cpuhotplug-v4-0-54fec5f65362@linaro.org?part=3 and was mainly introduced by enabling cpu hotplug support and cpuidle for gs101-based SoCs. One patch removes strange usage of smp_processor_id() and other patches deal with a few missing error paths issues here and there in setup_cpuhp_and_cpuidle() and around. Tested on gs101-raven device, I don't see any regressions but testing from others will be appreciated. Signed-off-by: Alexey Klimov --- Alexey Klimov (3): soc: samsung: exynos-pmu: use target cpu ID in hotplug callbacks soc: samsung: exynos-pmu: fix use-after-free of interrupt generator node soc: samsung: exynos-pmu: fix error paths in cpuhotplug/idle states setup drivers/soc/samsung/exynos-pmu.c | 75 ++++++++++++++++++++++++++++++++-------- 1 file changed, 60 insertions(+), 15 deletions(-) --- base-commit: e98d21c170b01ddef366f023bbfcf6b31509fa83 change-id: 20260605-exynos-pmu-cpuhp-idle-fixes-32f5ed7c969f Best regards, -- Alexey Klimov