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"; };