Received: by 10.223.164.202 with SMTP id h10csp2783439wrb; Sun, 12 Nov 2017 18:36:47 -0800 (PST) X-Google-Smtp-Source: AGs4zMblcOQ2jbr55UJwUcSWzntfT8jjT7oErEAD+nyLqxwhnk9B10tv5CqnowcmTAzvrdTbiMkK X-Received: by 10.99.127.25 with SMTP id a25mr3348818pgd.10.1510540607424; Sun, 12 Nov 2017 18:36:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510540607; cv=none; d=google.com; s=arc-20160816; b=dgP/3xdF3aqYUDQEXl8Sb4/ZfrWMn8nNG+Ce+LcjDpiufiJKdT3mGR1V7880eX+RIK 7E+msQmL9Uifu1PmhrQAi1U5ooYR+XRq/AAyfC8Zpk1zAIbmPKEQmDKFTRc4MIbgu4R9 n+7Yia47h/r51qtXEHGa4jmgH71ycsR4j6gverTZqV40GEqMJ/v/aTe/1lIDgg9NmNeL QbohpeeH1zHpTNEwhb50nMWH/SJwOwrOGPkaIKsxicst5mc6UOAhec6en9Q7ezjdu795 OjG+0iAYW6Nj0Yce1MJPRKqwBJ0baXxm+iupweYw26I6wxVaTuDr9SzW//39puNu5yIk PTDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from:dkim-signature :arc-authentication-results; bh=5N5Z1hwMly0lUphuRuQvbLJtRUVRCbVmmmXD3ryJuLA=; b=UxSWIaBIyeY9jP17eK/0OZpBFFqMpMZn6BDzAOwUrdJ/5Jr1t2kjGK4rllT+1/2DmM 7hpm5PLkqScEQTtoT21YhDaIo+nlvpCe45v9dniz4Blt80XObxysLF16DUSK+xjCz0Oc 6pkAUolW38mT8tCbzoizMcrbzRNqlyfn4WBrLKBxXapJ2Ys0iHd41+kok/VjZyRLKeFg IqegHeSAMYp9LW63/55Ma4RL73lae6OdM3kP8HLtozyqC8nhTIAPQyk8mQmL1wWtXE8l UhMEgQwYVG4yONCwWEwRYukf7I7ihJvPu+Wt5aJMtpbsfIlvyWlzroIZwd0Z0Xy8B3ye mWIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=IKJBFPdw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v187si8912394pfv.227.2017.11.12.18.36.35; Sun, 12 Nov 2017 18:36:47 -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=@nxp.com header.s=selector1 header.b=IKJBFPdw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751534AbdKMCfz (ORCPT + 87 others); Sun, 12 Nov 2017 21:35:55 -0500 Received: from mail-eopbgr30060.outbound.protection.outlook.com ([40.107.3.60]:7862 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751107AbdKMCfx (ORCPT ); Sun, 12 Nov 2017 21:35:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=5N5Z1hwMly0lUphuRuQvbLJtRUVRCbVmmmXD3ryJuLA=; b=IKJBFPdwvlAZqW+Sy77bblpHNvGCPORX19sH0S8qBtWlw06g38WDOrGSNqreVO9XdosByyIZEDff4pLmhClfZOxNLlIKm+rIqBlQsEEEO2jl7KlVkR1SXTmz9er6Z6EIgDa7QbX5B4rQ1UVD3R05lOr4ZaC1+kas+y5B0yQONz0= Received: from VI1PR04MB1615.eurprd04.prod.outlook.com (10.164.84.149) by VI1PR04MB3119.eurprd04.prod.outlook.com (10.170.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.218.12; Mon, 13 Nov 2017 02:35:48 +0000 Received: from VI1PR04MB1615.eurprd04.prod.outlook.com ([fe80::18d5:5f7c:e04f:3bd2]) by VI1PR04MB1615.eurprd04.prod.outlook.com ([fe80::18d5:5f7c:e04f:3bd2%13]) with mapi id 15.20.0197.017; Mon, 13 Nov 2017 02:35:48 +0000 From: "M.h. Lian" To: Leo Li , Kishon Vijay Abraham I , Xiaowei Bao , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "bhelgaas@google.com" , "shawnguo@kernel.org" , Madalin-cristian Bucur , "Sumit Garg" , "Y.b. Lu" , Andy Tang , "jingoohan1@gmail.com" , "pbrobinson@gmail.com" , "songxiaowei@hisilicon.com" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "Z.q. Hou" , "Mingkai Hu" Subject: RE: [PATCHv4 1/3] ARMv8: dts: ls1046a: add the property of IB and OB Thread-Topic: [PATCHv4 1/3] ARMv8: dts: ls1046a: add the property of IB and OB Thread-Index: AQHTWdlvPz5UcqenbEesNuj1VI+v6qMNJNSAgAD68oCAA3eYIA== Date: Mon, 13 Nov 2017 02:35:48 +0000 Message-ID: References: <20171110034847.17891-1-xiaowei.bao@nxp.com> <20171110034847.17891-2-xiaowei.bao@nxp.com> <20b8f1d2-f817-469f-afbf-66f25d6f8c46@ti.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=minghuan.lian@nxp.com; x-originating-ip: [192.158.241.86] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR04MB3119;6:H6N+J+cMat5zKSbllVoqUQWm0JWE5nUZlfYcNgDuqZ69ye4i1+KsvzBS2EQL6/1ulzSS7vpUo06X+ZlcS7I2nddq0WpfDeH7+TYoiUUT36QurcofI8c5zLu9tfFVGlXXTFP2GURriS2lUp88vp6FIn1Q1HaIPlULrbLro8ybmgX07rFPTbBFcNGKSKoprpx8D6Jc+6KI2PU83CHejnvryUWQ/WndoT34wOQ0hsGzzeSbwZz9KjjxQexYxkmlWk0Js+4kIpSToJfBg32grH/hNmROaERMJPCBgNpXAeiGnaHtuu4pmz/2fgn7gLXlbQ+HwWdu0K6X0ho/U1d48jqAVPuLhLQ0B17p0ULdIWXFFto=;5:kUuWD0W9iqpk+sxfq0yjXJiKK7Ot05DWWsq9kpJ1S/geQmC2pRopOv2VKsVTHYoPLde/fms8NDIKRrzI7VDXI6pLgOX+btrcJsRAvQJ0l54LJC0jHZKjVehIm5hcJldzwdrYNU3RS7XDNpEXs9F7EqToZyxkKgLc5FpKXWTOxjQ=;24:L6haUgFcZJPuTMb5ZDVMmeMKRdKqKSzsiSohStp+SYoLcacI33BUSAqaQxDUuzbnjaLXxsn2r2R+iKb06nWpx/6pKtOgp6yxtBIZrk+Alhg=;7:9CDESkhE+oE0tv4789/8ylMMycPYxdMtKJV9rejToCfJY4ps5Euu/CNkgJQvP82KJ8rXw1UwyrpioE4+UTD47//bCKXDHRYx4eTbdMUYbymeNdKTjF4i0ZEW+QzvPhA5kku9QjdHmZY2/ScBueAX5Dgi/3zTFoSBx+1Iib4oupvT+XLX+j06WMJ53GwEBigqgqb/C5AgJhJMbRvOxhPdL/24fp+UkaTWnUmbymnwzg76qvl1QqRU1s4xH6pAwBGM x-ms-office365-filtering-correlation-id: 2e54deca-3401-4676-0844-08d52a3f3fe5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603258);SRVR:VI1PR04MB3119; x-ms-traffictypediagnostic: VI1PR04MB3119: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(31051911155226)(9452136761055)(65623756079841)(185117386973197)(258649278758335)(211936372134217); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(3231022)(920507027)(6055026)(6041248)(20161123564025)(20161123560025)(20161123558100)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:VI1PR04MB3119;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:VI1PR04MB3119; x-forefront-prvs: 0490BBA1F0 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(346002)(376002)(39860400002)(199003)(24454002)(189002)(13464003)(2906002)(25786009)(3660700001)(478600001)(55016002)(93886005)(9686003)(68736007)(229853002)(81166006)(8936002)(2201001)(14454004)(81156014)(8676002)(53936002)(6506006)(105586002)(101416001)(6246003)(33656002)(6436002)(53546010)(3280700002)(106356001)(2900100001)(86362001)(189998001)(76176999)(39060400002)(54356999)(50986999)(2501003)(305945005)(6636002)(102836003)(3846002)(5250100002)(99286004)(316002)(97736004)(7416002)(2950100002)(7736002)(110136005)(6116002)(74316002)(66066001)(34040400001)(7696004)(5660300001)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB3119;H:VI1PR04MB1615.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2e54deca-3401-4676-0844-08d52a3f3fe5 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2017 02:35:48.4198 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3119 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Leo Li > Sent: Saturday, November 11, 2017 5:21 AM > To: Kishon Vijay Abraham I ; Xiaowei Bao > ; robh+dt@kernel.org; mark.rutland@arm.com; > catalin.marinas@arm.com; will.deacon@arm.com; bhelgaas@google.com; > shawnguo@kernel.org; Madalin-cristian Bucur ; > Sumit Garg ; Y.b. Lu ; Andy Tang > ; jingoohan1@gmail.com; pbrobinson@gmail.com; > songxiaowei@hisilicon.com; devicetree@vger.kernel.org; linux-arm- > kernel@lists.infradead.org; linux-kernel@vger.kernel.org; linux- > pci@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Z.q. Hou > ; Mingkai Hu ; M.h. Lian > > Subject: RE: [PATCHv4 1/3] ARMv8: dts: ls1046a: add the property of IB an= d OB >=20 >=20 >=20 > > -----Original Message----- > > From: Kishon Vijay Abraham I [mailto:kishon@ti.com] > > Sent: Friday, November 10, 2017 12:22 AM > > To: Xiaowei Bao ; robh+dt@kernel.org; > > mark.rutland@arm.com; catalin.marinas@arm.com; will.deacon@arm.com; > > bhelgaas@google.com; shawnguo@kernel.org; Madalin-cristian Bucur > > ; Sumit Garg ; Y.b. Lu > > ; hongtao.jia@nxp.com; Andy Tang > > ; Leo Li ; > > jingoohan1@gmail.com; pbrobinson@gmail.com; songxiaowei@hisilicon.com; > > devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; > > linux- kernel@vger.kernel.org; linux-pci@vger.kernel.org; linuxppc- > > dev@lists.ozlabs.org; Z.q. Hou ; Mingkai Hu > > ; M.h. Lian > > Subject: Re: [PATCHv4 1/3] ARMv8: dts: ls1046a: add the property of IB > > and OB > > > > Hi Bao, > > > > On Friday 10 November 2017 09:18 AM, Bao Xiaowei wrote: > > > Add the property of inbound and outbound windows number for ep driver= . > > > > > > Signed-off-by: Bao Xiaowei > > > Acked-by: Minghuan Lian > > > --- > > > v2: > > > - no change > > > v3: > > > - modify the commit message > > > v4: > > > - no change > > > > > > arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++++++ > > > 1 file changed, 6 insertions(+) > > > > $subject should start with something like > > arm64: dts: ls1046a: ** > > > > > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi > > > b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi > > > index 06b5e12d04d8..f8332669663c 100644 > > > --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi > > > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi > > > @@ -674,6 +674,8 @@ > > > device_type =3D "pci"; > > > dma-coherent; > > > num-lanes =3D <4>; > > > + num-ib-windows =3D <6>; > > > + num-ob-windows =3D <6>; > > > > EP specific properties shouldn't be added in RC dt node. Ideally you > > should have a separate dt node for RC and EP. >=20 > It is a single PCIe controller which can be configured to either RC mode = or EP > mode. Wouldn't it conflict with the device tree principles to have two d= evice > tree nodes for the same PCIe controller? And obviously the two modes can= not > be used at the same time so we cannot have two drivers both probe on the > same hardware. >=20 [Minghuan Lian] There is only one PCIe dts node in the dts file. PCIe dts = node describes the PCIe controller's hardware properties and does not have = work mode. The new properties "num-ib-windows " and "num-ob-windows" are = used to describe the inbound/outbound window number included in the PCIe ha= rdware. These windows are used in both RC and EP mode. We can change work = mode when resetting via RCW(reset configuration word). > Regards, > Leo From 1583715591983318046@xxx Fri Nov 10 21:21:24 +0000 2017 X-GM-THRID: 1583646864494093955 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread