Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1117102pxb; Tue, 17 Aug 2021 04:20:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpaPtStVjGo3WRC6LXCLxecj0i2NJZtHV+l2nx9mbcD6k/45b6A1txAeFmnaXbtuFio4QX X-Received: by 2002:a92:7b10:: with SMTP id w16mr2181679ilc.241.1629199240994; Tue, 17 Aug 2021 04:20:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629199240; cv=pass; d=google.com; s=arc-20160816; b=fnBgI/r+Ud59UpPBlSyaXb8KmM3SjfAtxDBPfJNulCV8QRDEKJSZkIyKcTWs3tjLHV QxF7Dj5EaGdHfuQ+/MHOt7rg78JuCDRK1J2J7+75xoOctUFkxqMD8X29iXZRJzzm28h/ 0ar6G4oS+Aq7B6uql3zfSQ8JVOwiXe6kQJQY3fZIvU7NXoKmXw43CI6+RzXQXIDykpUc kwfmzWqyG7G1J3pwMX1PoEfoDR8wwZXN6vQZANkjXRgLmQcRf0ngd4uQTZkReI68c8kk 0iMnbnI/aTplYXlUa8OKJ1FeOQUR3cSuA6hzJFSZ1AAjvRAdTPLelqUjPO/PFLTJGs1M wCeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=Tr7tuitzJilGkvLYD5l+l36XytZgtqS/B3bOfn2WYkQ=; b=zd40A4aTKN4nr+iW2UKmsbi+5Eb4B4YdkZpzdysIAR+4D+0uIZpIcq8Iiedmc/jnzk OFJq+Wu8JAxqJFrl9NslHnx3pGJjIHM+Fy2B4OFFyRUUs3IE0AH4KChJXndrWGKAJkNn K9izn1C7N1bQy6vsZNo6n7g9dUFTX/8ZK1JDvtr6ZQtKC3Q2zYsp/QNSE6yQdmF6y81l tURVhEpXbUW/V74iLa+s9+hCsq0T1/NnbSQdRwyZg9v+CjfXgDBp8lxKTlHVCLl10BIf 4yzsmyNLoQQjgBwY+13ISuFZJbedEYZIFVhymXALg+V+BlWpJm8H4frI3MW6wE4PfQ9m AhxA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=XZMTFL5y; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=YRfmusK8; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v20si2782943jas.98.2021.08.17.04.20.30; Tue, 17 Aug 2021 04:20:40 -0700 (PDT) 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=@mediatek.com header.s=dk header.b=XZMTFL5y; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=YRfmusK8; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236713AbhHQLTv (ORCPT + 99 others); Tue, 17 Aug 2021 07:19:51 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:55890 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231515AbhHQLTu (ORCPT ); Tue, 17 Aug 2021 07:19:50 -0400 X-UUID: dbcb470c89a149709a094139ebe5c298-20210817 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=MIME-Version:Content-Transfer-Encoding:Content-ID:Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From; bh=Tr7tuitzJilGkvLYD5l+l36XytZgtqS/B3bOfn2WYkQ=; b=XZMTFL5yPQkLgfMVFXrd9TkJJyMtmpIDNbkuu3eq9BAKqN1o9Bpol/r1S+m+aS4d6zw78N3cQqiNB7CFULZpCI/P6tIFlQYjbdfQWCV9wzFIL0FRwDur2/bkIGaq60U9U24cX5KmduFnaKRBG2YbNc0Gspkm4iyfoeFaBWZhEpI=; X-UUID: dbcb470c89a149709a094139ebe5c298-20210817 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1960029609; Tue, 17 Aug 2021 19:19:10 +0800 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 17 Aug 2021 19:19:09 +0800 Received: from APC01-SG2-obe.outbound.protection.outlook.com (172.21.101.239) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 17 Aug 2021 19:19:09 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HtYTQhEJ3NxGNHd/AuTA8o+/2SdZctCArnljiIIf73SJsryGVd4zIUM8SQLO87A+azPDKqRXtC46v3O9C86bgaLuK6B/OhWfAO12SrX2lmPs/k7fqeH9YAjIft2Tb6YDdQtpXVQpgJMWSOUwljFrJsGgCtDUWohdiViQIKiXwyH0P0cBU0+42pj/yzOwJ0HHgGugmR6ELgWCY2NNRfQz6J3LI7FTkE2pqsTf9ayiCz1kLuOTlqbO2dOXpgq5SJ5BTcUehG4rVjTc5PMPcfFio4J+zjPhKz2uwTGqIlQZV/PjQz2AT4JxTaFSiRsI4FHjpVygLKPANNgRg8R+0jOHXg== 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-SenderADCheck; bh=Tr7tuitzJilGkvLYD5l+l36XytZgtqS/B3bOfn2WYkQ=; b=eFjhxfyoEHSorjTIN5Mj63G/CPZQlg7d3ddiPBPpS/a0rY29ZO8uuYvxGy5oq4I+lqn8O8wxcydp0PS8N4lssn1Up1NrcbjztT/FTo9dxlj1sEa7YtytZJ2C5DP+H7qA/amRoNbFnFrxFlkCHZLJQyZzUx34vlROGVlKc/c7qOgcFmgVpaYA6QQU/2R5FjwXp9/WDsCFOmP0DX4L2kewsUCv4vU/YvRT4evs70YqwSY4Gax5lpviptTm1u5rs/cUn16S181O7rNSqTgFmQu+IWucZOa8jstocGL1SYV4BHCVDBDHrObajpMeVKieEVXzjjAjypgEpa1+qkk79rkLmQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mediatek.com; dmarc=pass action=none header.from=mediatek.com; dkim=pass header.d=mediatek.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediateko365.onmicrosoft.com; s=selector2-mediateko365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Tr7tuitzJilGkvLYD5l+l36XytZgtqS/B3bOfn2WYkQ=; b=YRfmusK8oA5GBufw0yBP+rtpoOICHB7mRVP1X2ZZrQvneA4HrmLZ5okKVjY6BLGa5zQW3gzx2PWx37PnX0uD6Pl5YjKR4uSAh5pAIav+C82Mk9pSeDO8x0H249CnWEwsoCiEtJan8dBx2Udt60qnPNh1uYqg15A+yVSZxCoOOxQ= Received: from KL1PR03MB4694.apcprd03.prod.outlook.com (2603:1096:820:12::14) by KL1PR0302MB5380.apcprd03.prod.outlook.com (2603:1096:820:33::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.14; Tue, 17 Aug 2021 11:18:55 +0000 Received: from KL1PR03MB4694.apcprd03.prod.outlook.com ([fe80::88a8:25ac:66d5:5ec1]) by KL1PR03MB4694.apcprd03.prod.outlook.com ([fe80::88a8:25ac:66d5:5ec1%7]) with mapi id 15.20.4436.018; Tue, 17 Aug 2021 11:18:55 +0000 From: =?utf-8?B?Q2h1YW5qaWEgTGl1ICjmn7PkvKDlmIkp?= To: "lorenzo.pieralisi@arm.com" , "helgaas@kernel.org" CC: "linux-mediatek@lists.infradead.org" , "robh+dt@kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "frank-w@public-files.de" , =?utf-8?B?WW9uZyBXdSAo5ZC05YuHKQ==?= , =?utf-8?B?Smlhbmp1biBXYW5nICjnjovlu7rlhpsp?= , "linux-arm-kernel@lists.infradead.org" , "linux-pci@vger.kernel.org" , "matthias.bgg@gmail.com" , "bhelgaas@google.com" , =?utf-8?B?UnlkZXIgTGVlICjmnY7luproq7op?= Subject: Re: [PATCH v11 2/4] PCI: mediatek: Add new method to get shared pcie-cfg base address and parse node Thread-Topic: [PATCH v11 2/4] PCI: mediatek: Add new method to get shared pcie-cfg base address and parse node Thread-Index: AQHXfHE58Vwso+DZ00iND05GAYdwVqttRusAgARuTgCABgU5gA== Date: Tue, 17 Aug 2021 11:18:54 +0000 Message-ID: <55495cac6a6f7bd3efc2e2932a2a4b4a76789e94.camel@mediatek.com> References: <20210719073456.28666-3-chuanjia.liu@mediatek.com> <20210810194250.GA2276275@bjorn-Precision-5520> <20210813152239.GA15515@lpieralisi> In-Reply-To: <20210813152239.GA15515@lpieralisi> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=mediatek.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: dfd1c974-ed0a-4ac2-5368-08d96170cce4 x-ms-traffictypediagnostic: KL1PR0302MB5380: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NJntBDBL3xejjw9Oxw+Vy3UbZ8KF82QztAuQ0ouOu8LKAXuc2U/GfQOpJqaELPZjhMqz5X6XSMbKhSwo6Z36NplBFiAgdE0cA54GNnNbbtM1Q/3QAsQCY2yptOr+jeDwbtZZkfF/7WNhFG8h1bvQfVOjcqiGuQ6BWb9VDHJYbHR3kErnE+Ye/8PI6dRcKYe99m1igmdQQjsM78J4fNn0SyIwSXnZsZDh1SrRgSy13ErGl3uwg9o9nKFxx9JAMMLJJXWcJ2CiiEGKF1JERhc5Dqhs1Ou+NK/Eu/4rol5Xj+wmTVyV5kU7OyFMYZc0LwxBaHXFdSvO2RkI+17pz0pOuQmYTlze+1lms8Kr+KjlKPb7j5hAxrm8z4im1WVz48bOe2zbxZhOHa6vT3ccchsx/Fg2UJH2o3wflwi5+AT4MCyjJ7/cYOTQonN6scP3jH08h0STBn9zPw/6Aje+YJvCnV84veAW9FiSuie65uzmAgr/opdP+Zoqt8b+iedjMOREoLHZg5dDO57kzmLFf2l57OyctQZB8CVqgdifz1mLL+4P6FX6T1VvgT+ThVpXZ7CEOF4gcRDxbVd/NTaeg25XOkdBfMRbeit/gspgFwIxsMlVN8b29A1cC+Ze9Dp74mcw+pDkpcJaE1sOSOzGbPsypU9xsmu+mzC8JuA5nH3MQekdeHdyCztH1p5eA9lvXvPGBF9sBR442fQAcUxuTXcUiA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:KL1PR03MB4694.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(66476007)(38070700005)(2906002)(5660300002)(6506007)(36756003)(6486002)(38100700002)(7416002)(6512007)(508600001)(83380400001)(76116006)(91956017)(66446008)(64756008)(66556008)(186003)(8936002)(26005)(2616005)(107886003)(71200400001)(316002)(8676002)(4326008)(86362001)(110136005)(66946007)(122000001)(85182001)(54906003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MjZzZGxmaDNLbEdVUmdmRnhwaU9Ic0g3Y25tRlAzLzZudVVodm1pTDRkU0dJ?= =?utf-8?B?MnhQR1lmNmlwZEVOcjlqQzQ3RlFTNkY2Vmx0c2drL25laHhqK2NFMUhsdjg2?= =?utf-8?B?eWt6SXRpd1p2YkJ6c0g1dk9nVFd1UHBWN3EwVTdIWlN5VTZVV3IrckZoR2p4?= =?utf-8?B?b1VsNDNoVW9HcENLU3Zjb3FHZDdEQ0czL3NsZTVDdDRPOUtxYmlQWkNncmc5?= =?utf-8?B?Z0ZlY2IvazluQkJ6U2RuYTJEZUNxWDJXSjVoNS8rdzVWaE5DblEwMUtmeFA0?= =?utf-8?B?T0hSL0R1d2tFYXppN3VDQzlHV3pYdTE0aCt1TFZTdWJDTGpadXdPUW52SEJl?= =?utf-8?B?bjJML0NOa2RXZGtab1Yrd05veDUyWU4rTGtTS1pNSTB2NTIrTEd1OVZKZU5P?= =?utf-8?B?MHFzTmpNT2FFc1FTemZYTUZlWWxLRXAyODFCbFY3ZVlwUitzb0YzRkxvZmZo?= =?utf-8?B?WThTVTlOdVpqcWNzczJuazhyY1dIZ0FIRHFVVzdtR0VLT3UxQmlRajFEQkE0?= =?utf-8?B?NEE2aXRHVm5TWWVRenpLdVlOSkNLa1pZakM0V0U3L2pOejJwdmFt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UloT3BtVWptZUh3ckt0dTZj?= =?utf-8?B?UFZKNnBBUVRZVWFLMG5ncE00blZwa2labDZuQ1dycXRYemZiN01wTStlMjhs?= =?utf-8?B?NC9nbzY1THdvQ3JILzN1a1ZJbFE4QnVmbys3c2YyVFczVGtJTlcyNHIzWWdV?= =?utf-8?B?ZDhZa2dISE0yYldldGZHZEJsMXhHN3dmSllMalFZZ0dQNTMxUHBxK2lQWmpk?= =?utf-8?B?WlppajJYMDVoZHZkMzgxTitaeG5wdGgyUnNISHZsV3pOL01SMXh3TXJxL3Ro?= =?utf-8?Q?um1R/oQwP1lhRB3cYwPFAshnHMQV6JQAmFumh+4?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: KL1PR03MB4694.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dfd1c974-ed0a-4ac2-5368-08d96170cce4 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2021 11:18:55.0063 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a7687ede-7a6b-4ef6-bace-642f677fbe31 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4dbWT4rY90MZVbFV4ddg/cqcOS4HrwwE4d30zS20y19cDY6IKzgk45QcsSifwBKCBjQJDcwvKptv4mInWF24aT5aBMroYeNWMk0d1zoSiXQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0302MB5380 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIxLTA4LTEzIGF0IDE2OjIyICswMTAwLCBMb3JlbnpvIFBpZXJhbGlzaSB3cm90 ZToNCj4gT24gVHVlLCBBdWcgMTAsIDIwMjEgYXQgMDI6NDI6NTBQTSAtMDUwMCwgQmpvcm4gSGVs Z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