From patchwork Mon Jan 24 20:12:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 12722897 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 EE5F1C433F5 for ; Mon, 24 Jan 2022 20:16:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kuIKU7bAE3QFN0wZXRXpOPGQFY76s6zCBIhCQe0apu0=; b=UnZoILQCi3l29r 4pRZRGEIkwZfpHHLsLZKnaJd01SMwqQNKvVFDuKG0PV+lBm/CZm3PpcQhcyvAojuts8bbkzCjyL+u 8cV8ktXamA/N0GKJhikxeNESw2rUn0bpF+v6WY1jCQs9M0RxDiV/wYPDv8Kac6fFjYCuHfmJV4D+T 9sqeJS7Jlbaf5MItKxiwuUvNT83KLe3X+l40OBSUXrvZcT3qnlAnH6expmEFGXmzJVezlXEqaxEK4 KDmIIuJMfpASo8z5lVCruGSfppmTmJyA7STvzP3gzj/4mwS0xUwJSxMYQgzuVTp7RPbLet3FL0ubD bjz7BG3bz8r9X1/BfPtQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC5jq-0054ap-Qc; Mon, 24 Jan 2022 20:14:55 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC5hj-0053d1-Fe for linux-arm-kernel@lists.infradead.org; Mon, 24 Jan 2022 20:12:47 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7EDC16130A; Mon, 24 Jan 2022 20:12:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51A69C340EA; Mon, 24 Jan 2022 20:12:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643055159; bh=D4DFxQ0NvYaCCiIOskF2Q4DtYSIOrAhdQyICBlG0lyU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZX8JrGGGuabGiXs84XsSIs0Nd2v6F67VtiUBhCwLEHDFnmRkhmuWl2kbC27OFWRDt vqKP+5qVGHVfZRibu/qZCN6xbHPJrFlkPn/75pN0juYXr3wwZ8Hd+vXi8d+BSZutP+ URFMEb3ap4Rmm/xEtJ0zP2J/PAnqQu8NjG060y6ZhFoE1J5LQSt0bsOqt3K6685n3q FIscOUEoOHUz+d6CoRmOLVs4Fuen+phkax1vKYwUQ2n40cy3koNthusFkX3fbyPQ7j aK/ciNZk6ttAHlwgynsD1kS2eKXYyPlSU/VHPpK25R+uec2578kDXuFz6lWxAGeDOn l2olM/LgT4tFA== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nC5hd-002Y3f-Dh; Mon, 24 Jan 2022 20:12:37 +0000 From: Marc Zyngier To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mark Rutland , Will Deacon , Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Thomas Gleixner , Dougall , kernel-team@android.com Subject: [PATCH v4 06/10] arm64: dts: apple: Add t8103 PMU interrupt affinities Date: Mon, 24 Jan 2022 20:12:27 +0000 Message-Id: <20220124201231.298961-7-maz@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220124201231.298961-1-maz@kernel.org> References: <20220124201231.298961-1-maz@kernel.org> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, will@kernel.org, marcan@marcan.st, sven@svenpeter.dev, alyssa@rosenzweig.io, robh+dt@kernel.org, tglx@linutronix.de, dougallj@gmail.com, kernel-team@android.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_121243_582891_C398DE04 X-CRM114-Status: GOOD ( 13.65 ) 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 The two PMU pseudo interrupts have specific affinities. One set is affine to the small cores, and the other set affine to the big ones. Signed-off-by: Marc Zyngier --- arch/arm64/boot/dts/apple/t8103.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8103.dtsi b/arch/arm64/boot/dts/apple/t8103.dtsi index 19afbc91020a..ca856f9955d8 100644 --- a/arch/arm64/boot/dts/apple/t8103.dtsi +++ b/arch/arm64/boot/dts/apple/t8103.dtsi @@ -213,6 +213,18 @@ aic: interrupt-controller@23b100000 { interrupt-controller; reg = <0x2 0x3b100000 0x0 0x8000>; power-domains = <&ps_aic>; + + affinities { + e-core-pmu-affinity { + fiq-index = ; + cpus = <&cpu0 &cpu1 &cpu2 &cpu3>; + }; + + p-core-pmu-affinity { + fiq-index = ; + cpus = <&cpu4 &cpu5 &cpu6 &cpu7>; + }; + }; }; pmgr: power-management@23b700000 {