Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp266172pxv; Wed, 14 Jul 2021 03:32:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9S5NK6m5XzgZRczS6MI3KyUz38srNyuL1mzNa1VBEWpvji2pQOOX/e+zu8c879VrNb5ls X-Received: by 2002:a17:907:1c8d:: with SMTP id nb13mr11770695ejc.155.1626258759158; Wed, 14 Jul 2021 03:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626258759; cv=none; d=google.com; s=arc-20160816; b=Rk+whYBgmz6gymP3qACncHDVzHtsR0Qiqx30hCuZvsW7HLlDp8mz4ywjDrTTDT2Doj J/T8GNevPrEDdXVbHc+sGZLfFrh1Ji1q27krKP3F9LgJWNPwG8NoWQno5fp5/HLcCjcf mWOeOTzRW06CkgWHiLya5ZVcpB0hX0jagUnpqae0/f9f6gHe9FsLdvZkdRWpO6eyT64C y/x6Dd+NxX8dGLpaHsnJ1pAVlqLEwUiXN7OVlJ+8IbCks5WMcX8+m2V1Bl209nuluI1K rE0M508sB369Xq1NNl2RtJ9UU9wr6CjvCldJr/aJfFPl4Ne1UZPT0OpRWLxZ4RY2OqRO jHBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=aMvi45gbpJSoRaiIcIqBkq7M/xz+yG1kS/cPkMPAaJA=; b=hqeLD8/K/CtqTTBxvp/9vlsIH8N+oYogsY4uwXkSklvfl6zNAiBdZh+TDcTI8nhlqz g8BZUNi4LPafdVagFogTGIbL+jhL2CsqvAiKgO/4Nf+uCnHFl0+jW04Gf/DY0TGqMIu0 vXyEukFqSZKUZs2l+5wFhLMWsIP1PGZ1herkzXbjZqOuL4Q2ufQVuE2OEfWU/FzOCk24 PJtmJJ7oKxqF9eD61wPZGhn4Ji1/VxTxf6JGS1tfaKrf/Nb4VfDyZI7CjW3VEYBU3f95 aTLOFD5ktQIaE31PsGkyQdRuVxTUeYoWdSIDAKJKaDuU4PUgaJyNkGntuBczuU/FzXCT S1Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=eHXtz8DB; 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 mp17si1994462ejc.449.2021.07.14.03.32.15; Wed, 14 Jul 2021 03:32:39 -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=eHXtz8DB; 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 S239180AbhGNKdE (ORCPT + 99 others); Wed, 14 Jul 2021 06:33:04 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:57456 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S239084AbhGNKdD (ORCPT ); Wed, 14 Jul 2021 06:33:03 -0400 X-UUID: 11ce90c742ac4fcc87812fa62567ad2a-20210714 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=aMvi45gbpJSoRaiIcIqBkq7M/xz+yG1kS/cPkMPAaJA=; b=eHXtz8DBbyuUZWQWH+qo31Gf1BSf+nCcjclfx1fyYJJGD5oMxQoYTtOenoM3z0R+N4B+q6Q3KsfT6lnVmtE52NlXaHcj6NY7YfmZH/82EcFR2/4PjfVp9JIo/+q8hZZXav1KSH0QFgfbck8kKXzrgUcHbKSm7IIsY9ARwzozxqA=; X-UUID: 11ce90c742ac4fcc87812fa62567ad2a-20210714 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1769286616; Wed, 14 Jul 2021 18:30:09 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 14 Jul 2021 18:30:08 +0800 Received: from [10.17.3.153] (10.17.3.153) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 14 Jul 2021 18:30:07 +0800 Message-ID: <1626258607.13880.9.camel@mhfsdcap03> Subject: Re: [PATCH v10 2/4] PCI: mediatek: Add new method to get shared pcie-cfg base address and parse node From: Chuanjia Liu To: Matthias Brugger CC: , , , , , , , , , , , Frank Wunderlich Date: Wed, 14 Jul 2021 18:30:07 +0800 In-Reply-To: References: <20210611060902.12418-1-chuanjia.liu@mediatek.com> <20210611060902.12418-3-chuanjia.liu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIxLTA3LTEzIGF0IDEzOjMyICswMjAwLCBNYXR0aGlhcyBCcnVnZ2VyIHdyb3Rl Og0KPiANCj4gT24gMTEvMDYvMjAyMSAwODowOSwgQ2h1YW5qaWEgTGl1IHdyb3RlOg0KPiA+IEZv ciB0aGUgbmV3IGR0cyBmb3JtY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