From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51BA5CD3438 for ; Wed, 12 Nov 2025 18:31:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:CC:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nt/TW3u5x2Th0ZY2Kqf9NQFdK4gVm2sp7zY+JHuyw20=; b=HzQ6525Er4ClOmA2kCGpgXs80Y 9TMdbARl3SaCnCi3sKtwouyAUyRPzyNXyKCDK1j7t0AZp9z2JCjmjjDFZmbuMJJil5fxTjkQZM6Sm GviVIItrmInICTOWXX+MbE64NuDV/j84qZKUt8b0SncsBcikOnZxAivvekz0NZYykPdT3E6s4hRYH OcHcR35FJUiULBVeA0d9m3U/5AknKurDX1y0RoXXg18tgbrAzGLlSFgm0OpBnetojJY6MTKkviiVm Md5mnEiCfdCWdcTyYxTS0FGLGbaGpFDo1D1004u127NZ4Xqm4x133XtZgHV02EfrdDYCeY5lt2H0+ mDz1oDrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vJFdI-00000009M7x-2ngY; Wed, 12 Nov 2025 18:31:52 +0000 Received: from frasgout.his.huawei.com ([185.176.79.56]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vJFdF-00000009M79-31sM for linux-arm-kernel@lists.infradead.org; Wed, 12 Nov 2025 18:31:50 +0000 Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4d6Bmx1B9TzJ46C6; Thu, 13 Nov 2025 02:31:13 +0800 (CST) Received: from dubpeml100005.china.huawei.com (unknown [7.214.146.113]) by mail.maildlp.com (Postfix) with ESMTPS id 0EF1B1402F1; Thu, 13 Nov 2025 02:31:46 +0800 (CST) Received: from localhost (10.203.177.15) by dubpeml100005.china.huawei.com (7.214.146.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.36; Wed, 12 Nov 2025 18:31:45 +0000 Date: Wed, 12 Nov 2025 18:31:44 +0000 From: Jonathan Cameron To: Marc Zyngier CC: , , , Thomas Gleixner , "Mark Rutland" , Will Deacon , "Rafael J. Wysocki" , Rob Herring , "Saravana Kannan" , Greg Kroah-Hartman , Sven Peter , Janne Grunau , Suzuki K Poulose , James Clark , Jinjie Ruan , "Alexandru Elisei" Subject: Re: [PATCH v4 19/26] perf: arm_spe_pmu: Request specific affinities for percpu IRQ Message-ID: <20251112183144.00005d06@huawei.com> In-Reply-To: <20251020122944.3074811-20-maz@kernel.org> References: <20251020122944.3074811-1-maz@kernel.org> <20251020122944.3074811-20-maz@kernel.org> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.203.177.15] X-ClientProxiedBy: lhrpeml500009.china.huawei.com (7.191.174.84) To dubpeml100005.china.huawei.com (7.214.146.113) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251112_103149_905130_FD96AAF3 X-CRM114-Status: GOOD ( 13.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 20 Oct 2025 13:29:36 +0100 Marc Zyngier wrote: > Let the SPE driver request IRQs with an affinity mask matching > the SPE implementation affinity. > > Tested-by: Will Deacon > Signed-off-by: Marc Zyngier Reviewed-by: Jonathan Cameron > --- > drivers/perf/arm_spe_pmu.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/perf/arm_spe_pmu.c b/drivers/perf/arm_spe_pmu.c > index 1460b02d20e8b..87908f0712c0c 100644 > --- a/drivers/perf/arm_spe_pmu.c > +++ b/drivers/perf/arm_spe_pmu.c > @@ -1259,8 +1259,8 @@ static int arm_spe_pmu_dev_init(struct arm_spe_pmu *spe_pmu) > return -ENXIO; > > /* Request our PPIs (note that the IRQ is still disabled) */ > - ret = request_percpu_irq(spe_pmu->irq, arm_spe_pmu_irq_handler, DRVNAME, > - spe_pmu->handle); > + ret = request_percpu_irq_affinity(spe_pmu->irq, arm_spe_pmu_irq_handler, > + DRVNAME, mask, spe_pmu->handle); > if (ret) > return ret; >