[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<PAXPR04MB85107963A54F916FFACAE7B28866A@PAXPR04MB8510.eurprd04.prod.outlook.com>
Date: Thu, 29 May 2025 02:43:54 +0000
From: Wei Fang <wei.fang@....com>
To: Frank Li <frank.li@....com>
CC: "robh@...nel.org" <robh@...nel.org>, "krzk+dt@...nel.org"
<krzk+dt@...nel.org>, "conor+dt@...nel.org" <conor+dt@...nel.org>,
"shawnguo@...nel.org" <shawnguo@...nel.org>, "s.hauer@...gutronix.de"
<s.hauer@...gutronix.de>, "kernel@...gutronix.de" <kernel@...gutronix.de>,
"festevam@...il.com" <festevam@...il.com>, "devicetree@...r.kernel.org"
<devicetree@...r.kernel.org>, "imx@...ts.linux.dev" <imx@...ts.linux.dev>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 3/3] arm64: dts: imx95: add SMMU support for NETC
> > diff --git a/arch/arm64/boot/dts/freescale/imx95-15x15-evk.dts
> b/arch/arm64/boot/dts/freescale/imx95-15x15-evk.dts
> > index 9f4d0899a94d..e9a5fb36f5d0 100644
> > --- a/arch/arm64/boot/dts/freescale/imx95-15x15-evk.dts
> > +++ b/arch/arm64/boot/dts/freescale/imx95-15x15-evk.dts
> > @@ -494,6 +494,14 @@ &netc_bus0 {
> > <0x60 &its 0x66 0x1>, //ENETC1 VF1
> > <0x80 &its 0x64 0x1>, //ENETC2 PF
> > <0xc0 &its 0x67 0x1>;
> > + iommu-map = <0x0 &smmu 0x20 0x1>,
> > + <0x10 &smmu 0x21 0x1>,
> > + <0x20 &smmu 0x22 0x1>,
> > + <0x40 &smmu 0x23 0x1>,
> > + <0x50 &smmu 0x25 0x1>,
> > + <0x60 &smmu 0x26 0x1>,
> > + <0x80 &smmu 0x24 0x1>,
> > + <0xc0 &smmu 0x27 0x1>;
>
> Do you need iommu-map-mask to mask bus id in case difference probe order
> with pcie node?
>
No, the bus id is fixed for NETC devices.
Powered by blists - more mailing lists