Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1576812rdb; Wed, 31 Jan 2024 03:01:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVrtPa/Zmw1+VdLq8Y9vAJKxmt50IPAIvgaEgDXdiFFQeIHKiCK+h8fe+PPyVgLpvKNHEK X-Received: by 2002:a05:6358:72a4:b0:178:99ff:4f05 with SMTP id w36-20020a05635872a400b0017899ff4f05mr908130rwf.6.1706698875779; Wed, 31 Jan 2024 03:01:15 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUdWZc1irtpipUY19jGY3yrCkyWU3dKuUztKw6JzK265PKsKfCnYtXvLv6zzBXxZC6lce1t1m0dDfafwxH5sNqCBnOqLb4WQFYCHt7Rfg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s65-20020a635e44000000b005d8c0939d40si6614544pgb.855.2024.01.31.03.01.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 03:01:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46246-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-46246-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46246-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4EB752939B0 for ; Wed, 31 Jan 2024 10:40:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB31269DEB; Wed, 31 Jan 2024 10:40:38 +0000 (UTC) Received: from CHN02-SH0-obe.outbound.protection.partner.outlook.cn (mail-sh0chn02on2123.outbound.protection.partner.outlook.cn [139.219.146.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A61E69D0B; Wed, 31 Jan 2024 10:40:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=139.219.146.123 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706697637; cv=fail; b=o0/jZuTcbVsnk87E6sMj1r6LbLOeOIvgvdeSZDXWy/FJgBem44l8Praf6aG9c1ntlqC/DkGau5rueW6ytQzH2mb64lHVf8VskZXUGJtDAXs/I1bMgAKX3DSzFNd+jQE8B9dTj6JOnITzLwTQvGdq+JZehK6Lqh4dikcgYHJS25k= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706697637; c=relaxed/simple; bh=WrngU0cqJWE8iYOCGJHyDNFOSufIx64Og0cutRtDVtQ=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=ZL7cMMzcUoG7SqcL9QNYYZEef6ryZoVaxx4a1fRM9nZ93xj9El7hsYYRkgL0NRJ0qymt+Lw9Kg7g5u8o6ivjRol/6zIpO3moXCHWWddhiV/nHTzMoiZUeDs+jSLJCMiikIye1p6tr0xG6dAHuYZ6uT6a/Oo9VB4oMpVTL3AT83s= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com; spf=pass smtp.mailfrom=starfivetech.com; arc=fail smtp.client-ip=139.219.146.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QgrMSJsQyXDmroakVZPCF0/rQRm18XiCmXUyzsGJDCVepksxuOr0OlbLMg/31v9kRRAnJiRNkhe09FSlaWR5V7loSgduEx+MLOxkWNsUrGgBwAlkpyFAZQtKKwv7GXLV8Hwda7DUvOyQw4VkTPJ3cHIhUpvSqfRjIzsQRwxekuAJxR30/w80+/QDoTVKzyOSv2bn9wwobgeW767pTjt4dllOQhg6qIKdnSCQ7K1X3bDnUoyPsjKY1TlxwFliR9/XhlddWJIMrvbKe6Ou8pFORcYS9sOD5berVeZr/X20GAzDgnjaWeMg6MDX2XY1sASfs9xNB0+rbQzhGFH+IjwVWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zhADv0OpMlAftKwUCinfh10J8mx+tVIicHFmgxSwuQ0=; b=HtYn1sm/VdNtHAaCnCPnqXhfI4cKbmo5rSYUZ9um/A9tsXRkes5Jd+uWSXUhbETWx7eUV95blhsLFGhV5+SD+oU5BHsB9syoqlwuLq78ysjzRqrTtzv9AyQLgPFqJNQDzf9UX0mUzNsW/MIYlBQ5q2HGOgyb/iLSddIl1UnIqXibgS2ymvOA+YhOoZyfJK6nArOh4Nv4rSsDMlkXqGdhOAgk8DQGhpp5plqivcm6QyHj5nBBjBUd3JPcSxhyj56jwQnr08zDkL1TsElo1TYizyD/Myq1f7RkPx7JD3leWB6vE+m2ouh9zCAvIt6yA/hsadBAGGGLgdCi8CNAERakwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=starfivetech.com; dmarc=pass action=none header.from=starfivetech.com; dkim=pass header.d=starfivetech.com; arc=none Received: from SHXPR01MB0863.CHNPR01.prod.partner.outlook.cn (2406:e500:c311:25::15) by SHXPR01MB0797.CHNPR01.prod.partner.outlook.cn (2406:e500:c311:26::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 10:07:09 +0000 Received: from SHXPR01MB0863.CHNPR01.prod.partner.outlook.cn ([fe80::5a5a:fa59:15fd:63dc]) by SHXPR01MB0863.CHNPR01.prod.partner.outlook.cn ([fe80::5a5a:fa59:15fd:63dc%3]) with mapi id 15.20.7228.029; Wed, 31 Jan 2024 10:07:08 +0000 From: Minda Chen To: Rob Herring CC: Palmer Dabbelt , Lorenzo Pieralisi , Kevin Xie , Leyfoon Tan , Bjorn Helgaas , Krzysztof Kozlowski , "linux-pci@vger.kernel.org" , Daire McNamara , Philipp Zabel , "devicetree@vger.kernel.org" , =?iso-8859-2?Q?Krzysztof_Wilczy=F1ski?= , "linux-kernel@vger.kernel.org" , Mason Huo , Emil Renner Berthing , Conor Dooley , Paul Walmsley , Albert Ou , "linux-riscv@lists.infradead.org" Subject: Re: [PATCH v14,RESEND 19/22] dt-bindings: PCI: Add StarFive JH7110 PCIe controller Thread-Topic: [PATCH v14,RESEND 19/22] dt-bindings: PCI: Add StarFive JH7110 PCIe controller Thread-Index: AQHaUk7ANof4CuKrsESG58uORquI7LDxXlAAgAEciACAATsJUA== Date: Wed, 31 Jan 2024 10:07:08 +0000 Message-ID: References: <20240129010142.3732-1-minda.chen@starfivetech.com> <20240129010142.3732-4-minda.chen@starfivetech.com> <170656679886.3057.12378312489853176077.robh@kernel.org> <20240130151934.GA1636501-robh@kernel.org> In-Reply-To: <20240130151934.GA1636501-robh@kernel.org> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=starfivetech.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SHXPR01MB0863:EE_|SHXPR01MB0797:EE_ x-ms-office365-filtering-correlation-id: e20775ca-71d4-44bf-17d1-08dc224462b5 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +eTndG5e8ZDFNKThe/FTof5rojlAiIQkdBV1uom3wmhYjdEqyDh9q31jfne+V/uYMKKm41d0Zj0FIOZRiZHHKBbGSYA/GgmgWefgs8gQfecs8Btwut6MIpV8X+YSZeGGlabHulHaQukz5WjaVkN0NdRrAxKv1+38ttBSnwEngX5uGgi1jTAJ6ZgnEXXMRwwWoi4gJruxPQ54aZrrMPOAB/Lm4FAx7ifz2Q9iJfKBRy5DGdXx5rBRfykiIWPOdJZ5NM7BzFgNXV1dPAPpm/nqErqm/qUTDda8hRePOMOyn0GByh0jos2Zc/Bg73Za4AX4+Qxsbu+h8hXDD58vKiJNnqKnmH0l+HdYzcw8PQwn71KdHTqYMtmKK15mImWeCeskuSx73Dxrbis9f1DyZuRT/+Bi9sLMZhkMOcHD4v+ef4+dAebQAMB83IY/nwuTu2luO0UJVEMgsWfTZ8VVf+1xYlKgWFZobcqzVWQtI/f3DgDeWlAHmizJAHtGpkDoW1gp04b0Ol4g+XPICObJydUbrTWuilBmq6X3OYEG2/HtBFS6+XDsAVkHqhXYsbsBdcfKOkpvS05zEys8qDmT3w1UOnDppi4W295/fPVY8ykyfHg= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SHXPR01MB0863.CHNPR01.prod.partner.outlook.cn;PTR:;CAT:NONE;SFS:(13230031)(39830400003)(346002)(366004)(136003)(396003)(230922051799003)(230273577357003)(230173577357003)(64100799003)(1800799012)(451199024)(186009)(38070700009)(7416002)(41320700001)(2906002)(40180700001)(5660300002)(33656002)(41300700001)(86362001)(66446008)(64756008)(76116006)(54906003)(66476007)(83380400001)(66946007)(6916009)(966005)(508600001)(66556008)(71200400001)(7696005)(9686003)(55016003)(8676002)(26005)(44832011)(122000001)(4326008)(8936002)(38100700002)(40160700002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-2?Q?iZLFVnPiawQsG6dKofl+88tg8LdCLBrx1rwXDDCeO8mWCXcfBEkzVcybFi?= =?iso-8859-2?Q?MWcf8s9HRNLv1SVNn/9wHYbP0tEnfDOUk7e+YGR93zy4eUPOG4Z03jl8cd?= =?iso-8859-2?Q?TjNBb3J0wuQzS7aYjLJwY+OHMuM9kSjxOgz7NfY0cFziXVOW4ZwU231aUc?= =?iso-8859-2?Q?MdLSkBk7WpSc8AtvKIScwZUhdT8qWB9lDk4DvooSZ5lXmvXhsiMIZ9vqIL?= =?iso-8859-2?Q?gSCH9k8syA4maG97dil+BrkiNQa3dmL92h1xuwhVDDLdujL1IUypPH5qO9?= =?iso-8859-2?Q?AmRDOw4YZMGappm4HW+me8iRVo+z/7wtZUq96NuX1+eRtrzB9g7YQIH7/a?= =?iso-8859-2?Q?voxGaV1C6JtnwM+fdqWXuWgRBywXMyv199/QwZvU/opBhvSiMgQSW8Vam7?= =?iso-8859-2?Q?9a73/tIXKFWkssbp3g5OmW0xClt2zd4zd0tYSKvzTsgy4oOB254e/m8xEU?= =?iso-8859-2?Q?a8Ib4nlc4+vV7BraBLrZ/8N40neoMN2byv+ATciGnWl7lkDrCN3x1cxv72?= =?iso-8859-2?Q?MmTmAoJOOfurQU+crBUimYT+yCPkpcaSMfVoG+a8DRwUhOCktazyq69fd5?= =?iso-8859-2?Q?wCYRUW1110V6urdGWhhVPqpR3JIXMXiQa2DsbF3jp+cR5adqjdwMURJOqH?= =?iso-8859-2?Q?SmGzkmmPawgBg6bLubYvbIFyvPIBgsmizs447D3QlvKcyR6dpTwupqXBl2?= =?iso-8859-2?Q?gzqqQNZGJ40gzktT7Y2eGpnWz57eJDS/sPXcsKXyxtbqPiMoTugAnUYJab?= =?iso-8859-2?Q?zhEm0ZxkDEjO9vNUDExAiLer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Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: starfivetech.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SHXPR01MB0863.CHNPR01.prod.partner.outlook.cn X-MS-Exchange-CrossTenant-Network-Message-Id: e20775ca-71d4-44bf-17d1-08dc224462b5 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2024 10:07:08.8646 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 06fe3fa3-1221-43d3-861b-5a4ee687a85c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2tuRH9VHICaUrxhvK7y47hamdbhcTDak1DGM3lnBPqYKRGia89/pEEKhcnwsZzOUCivEXe26esJ/5ojoivphS1gbSRuSv9lOM9D06QyRQ44= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SHXPR01MB0797 >=20 > On Mon, Jan 29, 2024 at 04:21:12PM -0600, Rob Herring wrote: > > > > On Mon, 29 Jan 2024 09:01:39 +0800, Minda Chen wrote: > > > Add StarFive JH7110 SoC PCIe controller dt-bindings. JH7110 using > > > PLDA XpressRICH PCIe host controller IP. > > > > > > Signed-off-by: Minda Chen > > > Reviewed-by: Hal Feng > > > Reviewed-by: Conor Dooley > > > Reviewed-by: Rob Herring > > > --- > > > .../bindings/pci/starfive,jh7110-pcie.yaml | 120 ++++++++++++++++= ++ > > > 1 file changed, 120 insertions(+) > > > create mode 100644 > > > Documentation/devicetree/bindings/pci/starfive,jh7110-pcie.yaml > > > > > > > My bot found errors running 'make DT_CHECKER_FLAGS=3D-m > dt_binding_check' > > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > > > yamllint warnings/errors: > > > > dtschema/dtc warnings/errors: > > > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/p= ci/s > tarfive,jh7110-pcie.yaml: > > Error in referenced schema matching $id: > > http://devicetree.org/schemas/pci/plda,xpressrich3-axi-common.yaml > > > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/p= ci/s > tarfive,jh7110-pcie.example.dtb: pcie@940000000: False schema does not > allow {'compatible': ['starfive,jh7110-pcie'], 'reg': [[9, 1073741824, 0, > 268435456], [0, 721420288, 0, 16777216]], 'reg-names': ['cfg', 'apb'], > '#address-cells': [[3]], '#size-cells': [[2]], '#interrupt-cells': [[1]],= 'device_type': > ['pci'], 'ranges': [[2181038080, 0, 805306368, 0, 805306368, 0, 134217728= ], > [3271557120, 9, 0, 9, 0, 0, 1073741824]], 'starfive,stg-syscon': [[429496= 7295]], > 'bus-range': [[0, 255]], 'interrupts': [[56]], 'interrupt-map-mask': [[0,= 0, 0, 7]], > 'interrupt-map': [[0, 0, 0, 1, 2, 1], [0, 0, 0, 2, 2, 2], [0, 0, 0, 3, 2,= 3], [0, 0, 0, 4, 2, 4]], > 'msi-controller': True, 'clocks': [[4294967295, 86], [4294967295, 10], > [4294967295, 8], [4294967295, 9]], 'clock-names': ['noc', 'tl', 'axi_mst0= ', 'apb'], > 'resets': [[4294967295, 11], [4294967295, 12], [4294967295, 13], [4294967= 295, > 14], [4294967295, 15], [4294967295, 16]], 'perst-gpios': [[4294967295, 26= , 1]], > 'phys': [[4294967295]], 'interrupt-controller': {'#address-cells': [[0]], > '#interrupt-cells': [[1]], 'interrupt-controller': True, 'phandle': [[2]]= }, '$nodename': > ['pcie@940000000']} > > from schema $id: > > http://devicetree.org/schemas/pci/starfive,jh7110-pcie.yaml# > > > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/p= ci/s > tarfive,jh7110-pcie.example.dtb: pcie@940000000: Unevaluated properties a= re > not allowed ('#address-cells', '#interrupt-cells', '#size-cells', 'bus-ra= nge', > 'device_type', 'interrupt-controller', 'interrupt-map', 'interrupt-map-ma= sk', > 'interrupts', 'msi-controller', 'ranges', 'reg', 'reg-names' were unexpec= ted) > > from schema $id: > > http://devicetree.org/schemas/pci/starfive,jh7110-pcie.yaml# >=20 > These are probably due to only patches 16-22 showing up in lore. >=20 > Rob Yes. The plda,xpressrich3-axi-common.yaml file is not added to kernel. Error in referenced schema matching $id: > > http://devicetree.org/schemas/pci/plda,xpressrich3-axi-common.yaml