Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3167466imu; Fri, 18 Jan 2019 06:02:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN5EjBzMn+YqhazJ1iOiMwmNuFI7xbzDwmJmOe/mKljFzwHsNVhtTch2h83tX3A4yXdSy9Ya X-Received: by 2002:a63:f30d:: with SMTP id l13mr17872976pgh.399.1547820166752; Fri, 18 Jan 2019 06:02:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547820166; cv=none; d=google.com; s=arc-20160816; b=ZBAg3h2PZDMZ3EBCWw1a5R5/czC7FUZG92JmFk6ss2xUPvcj4wH83zVYlk5hZTauF9 DhrQ532TO7B00ltDcYZ5I/5JlpZlgcVsLpMtIep38hnkBfgGg9Oi+o+p0HQ3fu38U4AU B/Jnxz6aKlzgIB4gPEN/VkCrFT7e4UMcDK0nzHn0hZnVOw5wrB18+zJeZOlhMVIKp6/C k8NFoxRgP5j9FgR6rqB3TdkLy9eGQBtMfDu20THlbcBPJlwYnZ3tOj6XPM2ctvJhzkZA zp0RPbESPSxWuCrSNI3rIomQ80T4lIH+AwfnM7FnDKokIMEGieOCp7hZ7a6COdWeVgO8 xBmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NtrJNYPEiZir795tmif5LYJPP7L4fS6d11YP/Uv0kv0=; b=ndatUh/DS6PBBFtPE18Z82MGy4SpzNwVqt1ZnmgzcM8LWS6HrKm39GmsNvYpSHDQwW wkK9Ypw+7IXLNXmW69L6pg1UB/5h48mdPuXobVYAOHSewdTVlN0PavvPKeyZl0OX2a4O vAh85PD9+m7BaKhuyMcWvNiHUeVoYbQF/Z+V+5RDU3oWncFuTlSOrl1OvSzZWENx0Ex3 GCgiSncn1uGBOTFQhEdH+iUw47Ov3FF7gfeeaaWA1z3gPwn6khTwT0snN8F/5rbMw/MI YypLHG2Wo/c79q+r49v7CG/N23wvVJbI+w9aoY+fuR6yaOnn/D8pLjCy0ZLLcGgdfDRN W4QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=vwJVlTVW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c30si4819161pgn.52.2019.01.18.06.02.28; Fri, 18 Jan 2019 06:02:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=vwJVlTVW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727489AbfARN7t (ORCPT + 99 others); Fri, 18 Jan 2019 08:59:49 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:36908 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727234AbfARN7q (ORCPT ); Fri, 18 Jan 2019 08:59:46 -0500 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 Cc: max.krummenacher@toradex.com, marcel.ziswiler@toradex.com, dev@pschenker.ch, kernel@pengutronix.de, fabio.estevam@nxp.com, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Agner 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"; }; -- 2.20.1