From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C49F51A9F89; Tue, 12 Aug 2025 19:28:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755026921; cv=none; b=sgEn9UjrRRQn9KutaCRzuZjFgFU5ksxd/57LxR1ekLGNdOuSzNQGqn/gDDy6lFo82d/EFi/gplvIySRS2PRzeYRjRx7BJmtaSpvdVNYkpCYNC1bFN4iGLNGfY2PYYRzyQYZNgKOoIkAZFxnJiUiYLiVFvguaL8QHAFIFq2sivQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755026921; c=relaxed/simple; bh=ZLxuinPVFHFNYm+IzFKeMjvxtF2jDm2HPonfEPEYugU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=B36Qf0/yek6ke87Dx3GxyheLgpcCxqYXuiCaD8KVTrn74GV4IWTWQnVnqiyi8O64ir9pIONtozd1PqF7fc4HChthDPS1cm77268AzfMN0rjdXHgWaYx2McZDDn2bRKf4r9waw2TCEUPy+2gnRvhQGREtnQ7KcK+Yc2DD6sCjoUA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fh39JmnB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="fh39JmnB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DA6CC4CEF0; Tue, 12 Aug 2025 19:28:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755026921; bh=ZLxuinPVFHFNYm+IzFKeMjvxtF2jDm2HPonfEPEYugU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fh39JmnB9LajctuKVl/i2V44uR+wcdUcFXTPJsCfFODOMYh0h52q01mH52x0wQIeC fkZ1he9FTCYV10tocvmwdh/DRBjSslNmxbR7TkNaVqJod8JvNIKSI2HV3PjQLcoCd1 d1vJthy17NXx7yggnaQbtpWyK2GPGsiJbyUmfflg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Robin Murphy , Shouping Wang , Will Deacon Subject: [PATCH 6.15 473/480] perf/arm-ni: Set initial IRQ affinity Date: Tue, 12 Aug 2025 19:51:21 +0200 Message-ID: <20250812174416.886851512@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250812174357.281828096@linuxfoundation.org> References: <20250812174357.281828096@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Robin Murphy commit c872d7c837382517c51a76dfdcf550332cfab231 upstream. While we do request our IRQs with the right flags to stop their affinity changing unexpectedly, we forgot to actually set it to start with. Oops. Cc: stable@vger.kernel.org Fixes: 4d5a7680f2b4 ("perf: Add driver for Arm NI-700 interconnect PMU") Signed-off-by: Robin Murphy Tested-by: Shouping Wang Link: https://lore.kernel.org/r/614ced9149ee8324e58930862bd82cbf46228d27.1747149165.git.robin.murphy@arm.com Signed-off-by: Will Deacon Signed-off-by: Greg Kroah-Hartman --- drivers/perf/arm-ni.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/perf/arm-ni.c +++ b/drivers/perf/arm-ni.c @@ -544,6 +544,8 @@ static int arm_ni_init_cd(struct arm_ni return err; cd->cpu = cpumask_local_spread(0, dev_to_node(ni->dev)); + irq_set_affinity(cd->irq, cpumask_of(cd->cpu)); + cd->pmu = (struct pmu) { .module = THIS_MODULE, .parent = ni->dev,