Received: by 2002:a05:6520:3645:b029:c0:f950:43e0 with SMTP id l5csp6262799lki; Thu, 4 Mar 2021 08:43:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1tMlq+owpFW034+XIs9dBKV1oJNSxXz6RrMk6phcSEMIbqOR1quYV9mPptNH/KY8JW6rO X-Received: by 2002:a17:906:aada:: with SMTP id kt26mr5105373ejb.137.1614876186734; Thu, 04 Mar 2021 08:43:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614876186; cv=none; d=google.com; s=arc-20160816; b=MixD3DPrGB/bY4rq2eI94o3yljz0WeFXSEZN217RfYxm15VDLcO/llm2RRequxbZou pBnF9LOV4/GqCTv8J0/1o5Sb/KxygB0fq/U2NxJGTUDW5KN6zECQrTXuD5ygrNUWrShj hrn6KDSlwCJV48XbnBu+kwylUnLrGcCe8otwCRnjbosgBzXXsQRSnBkRK/UyrxtAT8SE LRMES5E74G6dGsXJSYQibCCBD1E2c5B1MvphjMIsqVTiNrsT8E+sBgaPexY3FE/2Rv84 jnC3/UplB7HAgMjr0u5zL16gFtVAf9pnh4KR0PwJQ5hmWduubG6c7ILYmwkJ3HQ+byZM GMvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=J4jQxSQc2O+Dp19ZUEJeXtkJeo+b2+R/H3+DatoVNa8=; b=A6YOzcss8hU0iNmDql0z46NebDVfotVxErFLAMxjXRwcLERfqS1BPYkTqOrwodkN2j OaJMWmwlbjPTHICnAr0hCYQymzXCxF+LdNYcDvlpkN6GUr7J449ynDqkmwfAG+5sYO+p MlHQcXzuqbHPsvlWueENbWJGGmUzbvU4fo83Gv8x+s7QvZOd3mzID6Kzx2RoQ0ZkR/wf uT+SX32t61yz43rOPiTGYfCZqHo+KkQj3togYMlMuOIc6j+S4xFYMU5E/eB/zdl3ERC4 HSf/S74xZB53++97VmM61CsaAE1RZVaIpiOuz3tndc2C6EhCEN8PcQv3cD+8tLiQf9Sg XnuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="iibl/jgx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg13si18188553ejc.669.2021.03.04.08.42.43; Thu, 04 Mar 2021 08:43:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="iibl/jgx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239722AbhCDMAT (ORCPT + 99 others); Thu, 4 Mar 2021 07:00:19 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:57169 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239692AbhCDL7v (ORCPT ); Thu, 4 Mar 2021 06:59:51 -0500 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id B8AD722234; Thu, 4 Mar 2021 12:59:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1614859149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=J4jQxSQc2O+Dp19ZUEJeXtkJeo+b2+R/H3+DatoVNa8=; b=iibl/jgxTK3CDY2ohc7hOG1NwWctzi+rRAN8RJYyCXy/RJ16Q0ZOiRckVrOIUFG+vHGK3O s0AupfwFidBvPpzjVN5dHNf87dc9lL1Ac9LxBpyWIbq/6DzIykf3Kp4cnOKPs6YNRWN1Vc 6sXuJxnfQf871vlcZ7De6shCsk8DmvQ= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 04 Mar 2021 12:59:09 +0100 From: Michael Walle To: Shawn Guo Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Li Yang , Rob Herring , Vladimir Oltean Subject: Re: [PATCH] arm64: dts: ls1028a: add interrupt to Root Complex Event Collector In-Reply-To: <20210304113659.GQ15865@dragon> References: <20210209005259.29725-1-michael@walle.cc> <20210304113659.GQ15865@dragon> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <4d45ac1495eea68aca7d2b85063c2559@walle.cc> X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2021-03-04 12:37, schrieb Shawn Guo: > On Tue, Feb 09, 2021 at 01:52:59AM +0100, Michael Walle wrote: >> The legacy interrupt INT_A is hardwired to the event collector. RCEC >> is >> bascially supported starting with v5.11. Having a correct interrupt, >> will >> make RCEC at least probe correctly. >> >> There are still issues with how RCEC is implemented in the RCiEP on >> the >> LS1028A. RCEC will report an error, but it cannot find the correct >> subdevice. >> >> Signed-off-by: Michael Walle >> --- >> arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> index 262fbad8f0ec..c1f2f402ad53 100644 >> --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> @@ -1114,6 +1114,12 @@ >> full-duplex; >> }; >> }; >> + >> + rcec@1f,0 { > > Just curious how unit-address comes to '1f,0'? You mean that it's pci dev 1f func 0? 0x00f800 >> 11 == 0x1f See also: https://elixir.bootlin.com/linux/v5.12-rc1/source/scripts/dtc/checks.c#L916 -michael > > Shawn > >> + reg = <0x00f800 0 0 0 0>; >> + /* IEP INT_A */ >> + interrupts = ; >> + }; >> }; >> >> rcpm: power-controller@1e34040 { >> -- >> 2.20.1 >>