From patchwork Fri Jan 18 13:59:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 10770221 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 75A411390 for ; Fri, 18 Jan 2019 13:59:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 60BE82E5C6 for ; Fri, 18 Jan 2019 13:59:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 548342E5D5; Fri, 18 Jan 2019 13:59:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F24682E5C6 for ; Fri, 18 Jan 2019 13:59:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=+ivfvupMP55b2pqCWdeKB9c5mY5+XIDhx0Up83iFE6w=; b=oquisA2Mf/B3Wb /nte+Y69Dn2BNzO2NPxlk8UXsSh05yXIbR6oX3EtrEz/QSncdZh/t2Kd+Qz6b8lPWqgm5idSaSAn5 ntsMfGCQ47FNEFfULXrCrbfjv3vKy+Jei4MNfVpF73rzpgfDv/9e1N43y3V1svy77II86+WvaTeKu FBitHhBvRPGWeJV9xpxVb0pgFX40r625W+/6l+E3yT3B9lJePZdlXqMI6GgXLgJ03P0+0lYHVg3m8 ul0eUz2gnZfwD9nAXw5/xzyOgBMupTuYYpmY5p+0RoHpIGADBtV1uCQhDV8GPhfTrZysyx4+uqedo w8r7SFIdxO3gtXwh/C3Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkUgZ-0002Jk-0T; Fri, 18 Jan 2019 13:59:51 +0000 Received: from mail.kmu-office.ch ([2a02:418:6a02::a2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkUgV-0002J6-9B for linux-arm-kernel@lists.infradead.org; Fri, 18 Jan 2019 13:59:49 +0000 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 398495C0690; Fri, 18 Jan 2019 14:59:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1547819984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=zhxmiycYgyG17WJdlUxxh60xluR3cVATQp0GAWFoVH8=; b=BUHZ7BoGpc/DRdmvGPkEHpRmmT0hd47nYN6AzGfNZyxl3SSJQckqldzhuQmx7KYT2yGNil 8wjHxb9PLrbse0Wg/ltD99bSOnOEesBV1NnJNcGciT0YjHIH/yBkiVVg4CuHId5e25Dnx2 6cG6QM0mVuDn5sawSluZoDdgx6Ipar0= From: Stefan Agner To: shawnguo@kernel.org, s.hauer@pengutronix.de Subject: [PATCH 1/2] ARM: dts: imx6q: add pmu interrupt-affinity Date: Fri, 18 Jan 2019 14:59:06 +0100 Message-Id: <20190118135907.2336-1-stefan@agner.ch> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190118_055947_475377_EDEB142D X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel@pengutronix.de, marcel.ziswiler@toradex.com, linux-kernel@vger.kernel.org, Stefan Agner , linux-imx@nxp.com, max.krummenacher@toradex.com, fabio.estevam@nxp.com, dev@pschenker.ch, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Explicitly specify interrupt affinity to avoid HW perfevents need to guess. This avoids the following error upon boot: hw perfevents: no interrupt-affinity property for /pmu, guessing. Specifying all four CPUs shows no aversive effects on i.MX 6Dual SoCs. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx6q.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 8381d24eff7d..d2c1977c8b16 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -537,6 +537,13 @@ <0x28 0x0000000c>; /* DCIC2_MUX_CTL */ }; +&pmu { + interrupt-affinity = <&{/cpus/cpu@0}>, + <&{/cpus/cpu@1}>, + <&{/cpus/cpu@2}>, + <&{/cpus/cpu@3}>; +}; + &vpu { compatible = "fsl,imx6q-vpu", "cnm,coda960"; }; From patchwork Fri Jan 18 13:59:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 10770223 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 393F71390 for ; Fri, 18 Jan 2019 14:00:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2650B2E5C6 for ; Fri, 18 Jan 2019 14:00:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1780E2E5D5; Fri, 18 Jan 2019 14:00:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 44E792E5D2 for ; Fri, 18 Jan 2019 14:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8wnbWL4nF1MUqmFNihd1PCLwHSUJ3qRQTs3y9C+JPa8=; b=eOtvsVc8R9EYe2 E42/2VO14BzddLHPI3NRBrsvou+wRUJhCeGl1nRDZ3ZhuJkUMcrjPAKR8PnuFu0JjDgIi1/OXQ+fe AMwBGF/zfa1L9yMP2BPmQj0zgMJadm1FuMxjm9sT7Q+/POEMFtiQoM/B2PVnmzaz13DSWNCUjFbj2 u0B3DXTvx7ZWEA3FutjEAUUt18oRJbf18QTJ7Xlc9U4D7Pm9rE+09kXPbMBOTkyVO7aLG5tJV8xYu wJmsLXPlK4wCM6/VuX+AnJtvA/EwHSMrlJrYk4YfJjsCx9KmpOrTzUqsmvtYFbYEtXNeFZmc+3XXb 1Wq0eFeYaHQBLZw7Razg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkUgh-0002Rb-Ib; Fri, 18 Jan 2019 13:59:59 +0000 Received: from mail.kmu-office.ch ([2a02:418:6a02::a2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkUgV-0002J7-9C for linux-arm-kernel@lists.infradead.org; Fri, 18 Jan 2019 13:59:49 +0000 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 631065C1762; Fri, 18 Jan 2019 14:59:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1547819984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NtrJNYPEiZir795tmif5LYJPP7L4fS6d11YP/Uv0kv0=; b=vwJVlTVWgn9lqJVrybY7+ud3mPUXE9yuB/mvQH9j/nrXZesgBCfYjEwkY6Rx4SAxf84/L/ 1nD0yAoTFsIe6CqYAwcVaCbwdy7aqOxAfFyXG5ABOPkGPYz5gSHIWQQXm1Yrj/WIZCPeKX ph+FzGCzBj8Z88yGEFAdvtrG+wnKHd8= From: Stefan Agner To: shawnguo@kernel.org, s.hauer@pengutronix.de Subject: [PATCH 2/2] ARM: dts: imx6dl: add pmu interrupt-affinity Date: Fri, 18 Jan 2019 14:59:07 +0100 Message-Id: <20190118135907.2336-2-stefan@agner.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190118135907.2336-1-stefan@agner.ch> References: <20190118135907.2336-1-stefan@agner.ch> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190118_055947_475460_785053A8 X-CRM114-Status: GOOD ( 11.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel@pengutronix.de, marcel.ziswiler@toradex.com, linux-kernel@vger.kernel.org, Stefan Agner , linux-imx@nxp.com, max.krummenacher@toradex.com, fabio.estevam@nxp.com, dev@pschenker.ch, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Explicitly specify interrupt affinity to avoid HW perfevents need to guess. This avoids the following error upon boot: hw perfevents: no interrupt-affinity property for /pmu, guessing. Specifying all four CPUs shows no aversive effects on i.MX 6Solo SoCs. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx6dl-tx6s-8034.dts | 4 ++++ arch/arm/boot/dts/imx6dl-tx6s-8035.dts | 4 ++++ arch/arm/boot/dts/imx6dl.dtsi | 5 +++++ 3 files changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-tx6s-8034.dts b/arch/arm/boot/dts/imx6dl-tx6s-8034.dts index 9eb2ef17339c..f1606f63d687 100644 --- a/arch/arm/boot/dts/imx6dl-tx6s-8034.dts +++ b/arch/arm/boot/dts/imx6dl-tx6s-8034.dts @@ -68,3 +68,7 @@ MX6QDL_PAD_SD3_CMD__GPIO7_IO02 0x170b0 /* SD1 CD */ >; }; + +&pmu { + interrupt-affinity = <&{/cpus/cpu@0}>; +}; diff --git a/arch/arm/boot/dts/imx6dl-tx6s-8035.dts b/arch/arm/boot/dts/imx6dl-tx6s-8035.dts index a5532ecc18c5..b3bf1f80aff0 100644 --- a/arch/arm/boot/dts/imx6dl-tx6s-8035.dts +++ b/arch/arm/boot/dts/imx6dl-tx6s-8035.dts @@ -84,3 +84,7 @@ >; }; }; + +&pmu { + interrupt-affinity = <&{/cpus/cpu@0}>; +}; diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi index f0607eb41df4..3c8b533b3039 100644 --- a/arch/arm/boot/dts/imx6dl.dtsi +++ b/arch/arm/boot/dts/imx6dl.dtsi @@ -386,6 +386,11 @@ <0x28 0x0000000c>; /* DCIC2_MUX_CTL */ }; +&pmu { + interrupt-affinity = <&{/cpus/cpu@0}>, + <&{/cpus/cpu@1}>; +}; + &vpu { compatible = "fsl,imx6dl-vpu", "cnm,coda960"; };