From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web10.124.1611589079802788779 for ; Mon, 25 Jan 2021 07:37:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=I1qZgcSr; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: maurice.ma@intel.com) IronPort-SDR: tD3YDtCxB6YqdN+1sdXo+YSZ2wE0FcXUGps99WDdR87nSS6U7nlY5PbQ7Od8A/JzSSWXOJXCai M0pO0fvyfupw== X-IronPort-AV: E=McAfee;i="6000,8403,9875"; a="264569250" X-IronPort-AV: E=Sophos;i="5.79,373,1602572400"; d="scan'208";a="264569250" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2021 07:37:58 -0800 IronPort-SDR: N1XFwo8ky/UvTnRveM5Sex666nnkTcET4VWRejoxdMuvfiPKbPHOW7ZWBL4n/sXxOEnl9GjE91 5xysaLFJiQUg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,373,1602572400"; d="scan'208";a="577442860" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga005.fm.intel.com with ESMTP; 25 Jan 2021 07:37:53 -0800 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 25 Jan 2021 07:37:53 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 25 Jan 2021 07:37:53 -0800 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.55) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 25 Jan 2021 07:37:53 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZDY4ZNkBnLBIqHFMONSabo6T4BtOIeUfhDii/AjQr4X7jcpc772QTgxOGPX+f/phPJ2I64nNKQM91irxB5YDNbkfthw66P9/bnQ7o899OgJiopvSCpAwjaQgtARm7z+i2Sy34lXV2HsYqSS2RrHp2/CZei+/AKS70qyeZrRY8QNEESrVvZZ3Lbei1KWrFJahsBXF80OAjKYYxIZBKRlBvVbjyAKBjz1bUTVvxZEEpjxNtLFkkDFrDJykpEMDW2SyoWJ3AmfMqA6qJs9fpfrRJvacmaQK6J1JNDjZYdLi8Kius89FiF0nkF22XGtr6P65TuB9/z0ra9tZXSjTflzwQA== 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=ffWDQuZauRMmr2/rxE5S73HWm/a9B8pZnJalGtRmptA=; b=H3Y/2LcyeoDPFX9BX1iMh2yxsvcJQl1PHTRx3B8NumluO0tBrSbz4BCIEQPeL9K9xLd4qjgPWrgq8JXAPhtPx2RmioScTrpW9Kbu6dfMBelmr3E2zI8oYEl60VECGmWFwZfXaVKyjI9vfTQYIehuFv4ao3Iz4VLIvqM+eZx3ygQs2lf6jvfM43nq7h+cnenOQ4iWD38urN0bpp0qLE52VSK1JeUwZXNames4OvlgkSWNoFZSEF1rqkvnmGzCjXiYrTvZopm25sSeyV7YQ4/OCYe3crtCxfrM7t+HMToupYYehw6Y+1u81XZqR2aECQtalQ9BL0mNK8zfgtSU4no3WQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ffWDQuZauRMmr2/rxE5S73HWm/a9B8pZnJalGtRmptA=; b=I1qZgcSrMhxo7HbrnVYYWCOct5ZzlOrQyFpkMYbYylxBnu3cwYTGLhpYkAyV5ijPtpkE2bn9Nhnflo24GsalcpItBJZ0/NK05bY7kmMTHSHccC3Q/jD2D7ph9a9UVEsFKy6WnmaszXcZkTvk+gfNtmqlw/xy0ziarJrUO0BJrv8= Received: from DM6PR11MB2793.namprd11.prod.outlook.com (2603:10b6:5:c0::29) by DM6PR11MB2585.namprd11.prod.outlook.com (2603:10b6:5:ce::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.19; Mon, 25 Jan 2021 15:37:52 +0000 Received: from DM6PR11MB2793.namprd11.prod.outlook.com ([fe80::19ca:d5c5:d1d4:a22f]) by DM6PR11MB2793.namprd11.prod.outlook.com ([fe80::19ca:d5c5:d1d4:a22f%6]) with mapi id 15.20.3784.019; Mon, 25 Jan 2021 15:37:52 +0000 From: "Ma, Maurice" To: Patrick Rudolph , "devel@edk2.groups.io" CC: "Dong, Guo" , "You, Benjamin" Subject: Re: [PATCH] UefiPayloadPkg: Fix PciLib dependency on BlSupportDxe Thread-Topic: [PATCH] UefiPayloadPkg: Fix PciLib dependency on BlSupportDxe Thread-Index: AQHW8yuHpprQdAEmMUWDjCPfChtDkao4eSMQ Date: Mon, 25 Jan 2021 15:37:52 +0000 Message-ID: References: <20210125150506.3848562-1-patrick.rudolph@9elements.com> In-Reply-To: <20210125150506.3848562-1-patrick.rudolph@9elements.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.5.1.3 dlp-reaction: no-action authentication-results: 9elements.com; dkim=none (message not signed) header.d=none;9elements.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [104.153.200.60] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c09f1f41-54e1-4986-0737-08d8c1472da9 x-ms-traffictypediagnostic: DM6PR11MB2585: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1468; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0j96aERHY085pXIczv15poJ/HqSuO9DUb2BNC2vBDuPUAMT03UEGelLBvt4sBZex1RFVyKxpCTwy5a8Ie9ArPqPtpWBIVSJPG4cS6XqbwonCFVuGzGQc4j8KfederC/4xnGGgXlPUgy1JEngj2FuAFca6jwpM0x4NcwwUQWdll/4b+MeIUSv7j2dfht+SEwfTf2j1K3LqI+Kg9Oom+gTaQuTz/TH3u8rBQaxYUfRh6A+WZ0B3X4hhlrv4EemdNmSGxAON9e4IbcXCModTfy/rL05eg41R9JwdHCLWMGCFhp0AviRYG85g1/sxXJY2b/iw51wwYmT+69f9/cwiEG0SBazBmyZMbTZdE7/PwiDOsfdOv/Gk1c3A6lj+vOG/+IzCO6J6SGp7Lc9MDMZuwydBg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB2793.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(6029001)(4636009)(346002)(376002)(136003)(39860400002)(396003)(366004)(186003)(4326008)(86362001)(9686003)(8936002)(66556008)(64756008)(66946007)(76116006)(55016002)(26005)(66446008)(8676002)(52536014)(33656002)(7696005)(478600001)(66476007)(2906002)(107886003)(5660300002)(54906003)(6506007)(71200400001)(83380400001)(110136005)(53546011)(316002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-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dad+rDcDbb4SMW1g5MIO89?= =?us-ascii?Q?cFd1yVdJurkJAlFC7DqkBTOeZc8Ylm8Fcm+bAAYnCxlgeBqVuU7M1kaPllfv?= =?us-ascii?Q?YMHkUO7n/sFGwdP0qBFKos1R/Qtt4bLu1Vu6Uf/thSh7EcL+Bg6aIOPblRzl?= =?us-ascii?Q?3gAvvIbQALwdhAXYSCK4gIgtedTvs6Cy5jKhWjErH7BFbWCQyZ2mtGmOfsV/?= =?us-ascii?Q?nnNrULkR?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB2793.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c09f1f41-54e1-4986-0737-08d8c1472da9 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2021 15:37:52.5236 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7GvIjvg/BoCfesxUwRKoVnigqdZd/RIOarCJVzyQZSXylOg70SektzB8bMo+LCmGYuBwgwFv1uXszwBT4NEthA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2585 Return-Path: maurice.ma@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Maurice Ma Regards Maurice > -----Original Message----- > From: Patrick Rudolph > Sent: Monday, January 25, 2021 7:05 > To: devel@edk2.groups.io > Cc: Ma, Maurice ; Dong, Guo > ; You, Benjamin > Subject: [PATCH] UefiPayloadPkg: Fix PciLib dependency on BlSupportDxe >=20 > The PciLib depends on PCDs > - PcdPciExpressBaseAddress > - PcdPciExpressBaseSize > being updated by BlSupportDxe before MMCONF accesses are working. >=20 > Add BlSupportDxe to APRIORI to start it first and get the system into an > useable state where at least PCI accesses work reliable. >=20 > Fixes a bug where BlSupportDxe is scheduled too late and other DXEs fail = to > load due to broken PCI access. >=20 > Signed-off-by: Patrick Rudolph > --- > UefiPayloadPkg/UefiPayloadPkg.fdf | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf > b/UefiPayloadPkg/UefiPayloadPkg.fdf > index a97ace7395..1ae260c13a 100644 > --- a/UefiPayloadPkg/UefiPayloadPkg.fdf > +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf > @@ -80,6 +80,11 @@ READ_STATUS =3D TRUE > READ_LOCK_CAP =3D TRUE READ_LOCK_STATUS =3D TRUE +APRIORI DXE {+ > INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf+ INF > MdeModulePkg/Universal/PCD/Dxe/Pcd.inf+ INF > UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf+} # # DXE Phase modules-- > 2.26.2