From patchwork Tue May 2 13:35:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 13228934 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 DF442C77B73 for ; Tue, 2 May 2023 13:37:40 +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=ZHAUbdPV9L6juIrrbkNiflMIbdGTrmqRJ8Fg9JiIRKU=; b=GslRqiyya4ESYJ EAFQHEOu6LPdgVj4LKhJ3r57Szq8lEEpLnXv+hLVvWlrKwfB7PRy9oubKa93rvZr1T6lYeKLNHAuz tno1nv9BTL4ABYgepK/ftTfmZxEQFN+tPTnEWicliZl6528xjyep41TnCmbVz/Kzu9weoNgbfGBle DSczt3lusTQNubMmRn4AT8HGqBvADLFsEVcSpFnnlEQGpg5KsbPIR4TsQCe91JsYudl4TGg4wmNkv WpQRKUNb2/2VPMsr5Td6HouzFPDtktmuCj4rvtRJw2aKca3O27AqdYElmy7T7MiVbE9htnsB+Hhrh JNrZ/IEUuPX80yq0Vh1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBW-001dPg-2M; Tue, 02 May 2023 13:36:50 +0000 Received: from mail-bn7nam10on2060a.outbound.protection.outlook.com ([2a01:111:f400:7e8a::60a] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ptqBR-001dLS-17 for linux-arm-kernel@lists.infradead.org; Tue, 02 May 2023 13:36:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gdYboHoTD6n+RkY4RS7l0JoyAVPtwaYrwggUbENvJM74Xvxy2jtzngBFQTAyq5yWBKZ2/bZs7Tyxqz+Yx+vfSegL6THqKErvnP4NPjBgxP+HaU7O+FIlZtJmzjhM7rFu0CE9xHJ+HYZ4LaZecJxuNdMgLJuhWv6EQxLPpJX1zdEbzWnkXI1itXJilmMiLevz5p8cVPTpdcv7njUfnHJixwHb/2eeVCGLOYbDj6JIIXkA4vtKmkUJLv9747K8PYFszQg8xyHr6sq2c6EmB4gsJ7hJQpuIexta+xBucYGNZcymko2FwE/LW62DUkvnsAawkRMdqOFEtOfbluu384/6+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FYAxaiUQ3mc3pC3rp6MjVQciGbkJU6x5vjV8dTq/3yU=; b=d6AmEEYy+WrOTULCLBtm+GvowBLhIekvS947E55CC+GMjMlFLFGCkQQycTqM085BRm+C6JsZliDfYKl+BUgRjF4M8drAJ0Gr0RlpbS987VSmPtrWgnC6alCv0aQMsP2Cr2e6pNO7fWMALUklAkB5m5CdAcP3yly7CFjyBq+8vXX/1b+s23xPAvjv5QNxlEX3Wzo88ydJlWJPtQWj25ogGwtPljU2c0QnYqvbo1xkebmvdqXKcNpuUpeRD6NqmOH+qmu3K1ZWLgMbadsW0pvl+OhD5ljlTvqfiWTnzWukH/BtVtoEYHGYdN+iY5v+IxezyVuGYUgvE8qWArqfpHJ0BA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FYAxaiUQ3mc3pC3rp6MjVQciGbkJU6x5vjV8dTq/3yU=; b=bmqsKSGcO3QfhKn4MevW1HrF+qQHpll027oLrrnCdbSZTByQXX91IVbUjAWDm6RhenOGeUv7txBuxc6C2LUtK0XH3ec/HUKatBW7mQNGT4EgKGzDk80SZj4IwbmTBr341mqgdKKwWo/Du5xmJRqoDebIZHALVF9QIJvpNqkF7GE= Received: from DM6PR10CA0009.namprd10.prod.outlook.com (2603:10b6:5:60::22) by LV3PR12MB9186.namprd12.prod.outlook.com (2603:10b6:408:197::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 13:36:41 +0000 Received: from DS1PEPF0000E636.namprd02.prod.outlook.com (2603:10b6:5:60:cafe::bb) by DM6PR10CA0009.outlook.office365.com (2603:10b6:5:60::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 13:36:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E636.mail.protection.outlook.com (10.167.17.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 13:36:41 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 2 May 2023 08:36:39 -0500 From: Michal Simek To: , , , CC: Radhey Shyam Pandey , Harini Katakam , Krzysztof Kozlowski , Laurent Pinchart , Parth Gajjar , Piyush Mehta , Rob Herring , Robert Hancock , Tanmay Shah , Vishal Sagar , , Subject: [PATCH 07/23] arm64: zynqmp: Add pmu interrupt-affinity Date: Tue, 2 May 2023 15:35:35 +0200 Message-ID: <4c6674bf7e048e7370248e50ed3d011d604d020e.1683034376.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E636:EE_|LV3PR12MB9186:EE_ X-MS-Office365-Filtering-Correlation-Id: 97c3760f-735f-4a98-c258-08db4b124331 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jvqZ13gEJ2a4Q88synvCjLMz9XjRr2INvai0quMAWEX1bf+14rGeprEf6ZDb3BlTUhsoWw4BiGHsQSBXe/BqXGDpDo7k4N/KEjppU+18nNt2juzmBAHMdzzafqrWzWBnKgELDRDMaoP/e9Uam9GUuEkhnjhPpCV3dwItdAdA6cdvr2fo9xOGX+5VyVKJRo19Qtxm3lFyPPBUrXm4bNG9eZ2rRIJGvuf4N5RXuL5MgERfTf9eY6RLgHSpDZ5nTGRAn3DFf8rtybGEIQiWfbQZvdU2VdNRln8wnf/wvw8uasB+nXGZuXj2hqgb5/Kf11PPl3F/W9A77+m62+LGffCYBw2w2KOHHRakIrciJ3ctpLHx2j9dzjCOpMLO1OTw88dH6xoa8IJkCHn+CgIUwb9NVX+uGl/5G5ZQdIADQQfBoBKN0DY2YZyi4n3xGCG13hvDCc4a3lhxE+YHvm36YfhcrOmnZXZ4ZSVOEFsXuz5jzf1+CsGSGPf9yTPNsxobMRG4KQqWXt8tJb0D2fz167is6Aic9oTGjQyWU9BGRbdqqVFXh4wr12/tA58ZN1Y7yh02MLYEcJ+U1+8GcA0Hvn2ZPO2dJxoO1t64Enn+GdLkwwAotSwlPYsXx8epRSCd1pz5tFuY7N1T3l616WpTX7/ee5K0N4g26TH8aVHDOIgL1VF68RZ6aIp62Y1B3VW7SN1HWygRh7BBm5gwG0Zf4daOGFzKhZbyrIh5QfB4ItTW3Lalj9SMP3NxltJf3Wu9sw8J X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(376002)(136003)(396003)(39860400002)(346002)(451199021)(40470700004)(36840700001)(46966006)(26005)(86362001)(6666004)(8676002)(8936002)(40460700003)(5660300002)(4744005)(2906002)(70206006)(70586007)(4326008)(36860700001)(82740400003)(7416002)(81166007)(356005)(41300700001)(44832011)(316002)(16526019)(478600001)(186003)(40480700001)(110136005)(426003)(36756003)(47076005)(336012)(82310400005)(54906003)(2616005)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:36:41.1104 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 97c3760f-735f-4a98-c258-08db4b124331 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E636.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9186 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230502_063645_417487_8C373DE7 X-CRM114-Status: GOOD ( 10.74 ) 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 From: Radhey Shyam Pandey Explicitly specify interrupt affinity to avoid HW perfevents need to guess. This avoids the following error upon linux boot: armv8-pmu pmu: hw perfevents: no interrupt-affinity property, guessing. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 61c7045eb992..a117294dc890 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -161,6 +161,10 @@ pmu { <0 144 4>, <0 145 4>, <0 146 4>; + interrupt-affinity = <&cpu0>, + <&cpu1>, + <&cpu2>, + <&cpu3>; }; psci {