From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.11764.1645196218014514559 for ; Fri, 18 Feb 2022 06:56:59 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=KSc2fvsw; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: maurice.ma@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645196218; x=1676732218; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=2F68/a4z2BdOo2DIxGZWdJ2i3TTK4J5i5lo6XJzY58U=; b=KSc2fvswCa0vcYgyDxMbcbF3XBqLy+v1XbqjBEUAu/FgAy0Tv2bbRTWB jiTbpXTa8Vceatsw5NBLt9Cqh3P40FXFBK6VaXPyJO3q1JEWYWx8sSR8W umH9P2vo53s1QQJsGChM2raz+Dburn7KzI0owLEPI95dlQWNwjAX1GLlN YeQYvLO0tiKLHzGwsPAGkTKm0hRzNgHvrsEn+WlI/+i2UJ/3E7jhcnYzh 1sYgcFl8+WIHsS0cDodMsg7d0HIFpTKOz/5SPsrzoQSRg71T8NhkNlHmE PHIv5ZwEv5PEo/kFBmpxReMrSo23BM2H9AKuDA0MElDZpP4az8vTO+4S4 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10261"; a="234671747" X-IronPort-AV: E=Sophos;i="5.88,379,1635231600"; d="scan'208";a="234671747" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2022 06:56:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,379,1635231600"; d="scan'208";a="775306397" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga006.fm.intel.com with ESMTP; 18 Feb 2022 06:56:56 -0800 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 18 Feb 2022 06:56:55 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 18 Feb 2022 06:56:55 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Fri, 18 Feb 2022 06:56:55 -0800 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.43) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Fri, 18 Feb 2022 06:56:55 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X8u1jWjPLnjUCuamTtGnyEpeZ73716x/d5hOp+RGQ8nxRHCw54qoOvgZpSejHNsbv+CYefim2/9+9Ev7T5EVk92Wjjc2AA9XLoNv2Ai3KAA5RroMYgJsyP4UnQjO8RMoXBE7DZ6sk4aB2SfOyKYbxTS1pcNTzPqbLf22G5FLUKhwmc7HIDhQ/DKPUOJ8GJmU9T0vnyK69uMGVvAYBhReapcIYED1I2si9pCsMK4lmFDDfJNorfbv/boHQyJx6ziv53PvrhGZQTC8E+eALBXkYNg5n/z3Ecla6pvRAAq+YZhM/EWMNnq6bP1gFbrN79o3ar7ucBquOg/PuBpDUSah1g== 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=HYYRjTbKj6lEHPAq6f2xD7CABbLuaDHkdKXYczaAlFQ=; b=JYL6cTvJA41gY3Cz8cYoQj/2EJEhRjPfD3mB7SckqiPkEDcpZWejf9PGjm8yuls9HnOmhvFuW7h5YHMPwHURf+o9MuqUk9VTGem9cDnMK7ZTDe5kG/L50OuR7C6DweQph8v2X5GM0+oy/CETbr+qQAK/sc8XdG5YggY5m4Gemwf4TKO9wLSFmsiDkECQmuY23rrvnygGoknx7dQQQTk2nAD5CO+AB982DiSiyCS+O6mHF30IV8biK3KKhfVED9m5lbeDWwR4G+04obfbZi/jPQqCUTZVxTTmj3kcLbAUEa5D2G70oc68LgBKDwIZXhfZ95IYNyUJopRmtGTr86Efhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from CO1PR11MB4945.namprd11.prod.outlook.com (2603:10b6:303:9c::8) by BYAPR11MB3190.namprd11.prod.outlook.com (2603:10b6:a03:7b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.17; Fri, 18 Feb 2022 14:56:53 +0000 Received: from CO1PR11MB4945.namprd11.prod.outlook.com ([fe80::c9d4:be7:7abc:48c0]) by CO1PR11MB4945.namprd11.prod.outlook.com ([fe80::c9d4:be7:7abc:48c0%4]) with mapi id 15.20.4995.014; Fri, 18 Feb 2022 14:56:53 +0000 From: "Ma, Maurice" To: "Rhodes, Sean" , "devel@edk2.groups.io" CC: "Dong, Guo" , "Rhodes, Sean" , "Ni, Ray" , "You, Benjamin" Subject: Re: [PATCH 2/2] UefiPayloadPkg: Hookup SD/MMC timeout Thread-Topic: [PATCH 2/2] UefiPayloadPkg: Hookup SD/MMC timeout Thread-Index: AQHYJNcxdjxFfFaB9kmQl/ws9c167qyZZbLA Date: Fri, 18 Feb 2022 14:56:53 +0000 Message-ID: References: <2ce8d4ce357939010fbae1465640ffee038b9045.1645195926.git.sean@starlabs.systems> In-Reply-To: <2ce8d4ce357939010fbae1465640ffee038b9045.1645195926.git.sean@starlabs.systems> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.200.16 dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 63bb6035-54bd-4d82-de03-08d9f2eee6cf x-ms-traffictypediagnostic: BYAPR11MB3190:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:256; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yv6hvfdhLxfRlnWp6rsfGbXaDjoO/XVjVRQHqGfa2gw80ZTFgmaDKEs95EZuJCWfFXk7ahu7pO1VMOW32TkQTTwN/S3J6m9Pea/YdZDvNkWwFje4WG/1QiB3PYMXu80lOKo0dG1bdlyrdAVDkDOUguX1XRWxGwPujnE32o9Nh6n24XhPk2mVxc+mWBK/MFdKQ1OlfhESahGQG1Ol9oPy3+I9nQpEhmS0Htwgx9ZIOmhA47NWs5pGgxBmZ7RonGGIFE6PeA97nZsj+n1ptE5YpLrgrUNNTO6MHOWLLt//n7xTSUfv5T0Gbi/gxKJ1J2FHjC/duUbRlHAyY4cbsa/mhDcOJnXAHPQ36rK0Ptwcrv0YZqzfStqtlhbCUh9Em6BD7BXuZZ7b6cTmq7sR4II3ZgOFfbVKCt3bk0CGiiqAyVR7ac4mepLb4oszCgjiFZvhPB4pZvJjaX+ePJTTd2k1AYfQLFRm//kwdT9H4+l3FVmX+KkfKFcfQSc767L+g94M7H9P8jc5iu26wFIY1cUkMToW2v4gkQq+qkhdUIcr3LxtzHuHEAX8ziZ7XMn8iBhauZlzonEA6BYuZ35gLXuuCGWUXERSPOW32sQBj1DjKle4scg4mrqG0W/vfRlWsVk8FHOrFOOeElnwWYKz7zjqSJucZcYVbDQCjuIw74OxlRWx2H81UzlCaDmu77qWz6cvwPrxT7LSeONmRtltbD7o+bz92qGHagAJhZ1l22uRWHKt7KZXRcPw75K8XazjM4EBFGL6ZfVGXSWaWgLkPIyZtw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR11MB4945.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(8676002)(66946007)(82960400001)(38070700005)(4326008)(83380400001)(76116006)(107886003)(7696005)(508600001)(2906002)(6506007)(9686003)(64756008)(186003)(26005)(66476007)(71200400001)(66446008)(53546011)(66556008)(54906003)(8936002)(52536014)(86362001)(55016003)(33656002)(38100700002)(5660300002)(122000001)(316002)(110136005)(52103002)(158003001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GOEUOWPZF+L5ZYKhk1deEJUIvJag9iGcW0uPXn3GcMf6um6shrqp9YQlTu8F?= =?us-ascii?Q?1QQc3m2tQwcceit/Q3ooRtvRZQHKxJDgcSLXerV8z//P7hWgv5ofDJO2YoIi?= =?us-ascii?Q?W1FBhV+9LcOZqaXg/RIOnEAdbZSCGXXV6SZXH0nuP3ypLf6nmDjjitFH/UaQ?= =?us-ascii?Q?WI2ojrcUqze11DXwH0yEFl2Z3OMnBvgZxxw0HHtYbUj/at3Rg8T238hBFvoz?= =?us-ascii?Q?AcowCALHZRDHgTTPgy7yNHWoMdPw/Jsk8m7koZkGoSBacN3iRwSHTdVTX8Rw?= =?us-ascii?Q?A3mjIMoNs4BhEococv/QhJqjLsHs8U0+K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?Q?Dz52qZeDSGBPaRgMQMqfBeykQFLqaguVHrDCOyeIZDttz9OxdTcObuRdyNHC?= =?us-ascii?Q?5Gqie+Jc55iWrhh6w3ENKIEIb6SaToaixu+qUZZBiClBjVpJgu1cuEJkENZK?= =?us-ascii?Q?fNMbkQOkiynNAcZ1h5I9L+3XM5EgnskYXRn7rKuw0HfFyr23a0p+U14DzSoI?= =?us-ascii?Q?ElJbP4YX20Yir+cgjYoDk3rPCG7Fc8pB1jdg9324EkVLE+XTh/N7wU2h14JQ?= =?us-ascii?Q?NVn0ZjBPjmH6k16zwovN+3bOBwvPvRIQjEERfcdjrMocUu1KaxwFtYdNNgeo?= =?us-ascii?Q?sptiEYGZyOIeYTwm/QlDDILpGokIvGUc1/+wGtn8OZGJAJfj8PvNy+qx/bxN?= =?us-ascii?Q?K58frX7OpOPWQJDXf1DY47gIoTZpBYF3SRyNQW9Vy47xue0MLuaoLrxKm2AP?= =?us-ascii?Q?FQSnpvQGS+Si4nkY3Y6+aMI=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4945.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63bb6035-54bd-4d82-de03-08d9f2eee6cf X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2022 14:56:53.6906 (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: oARgLX9bZY0ylHL6Ihcz2FKTuFurfIe9TQr2XUZiJ/7Tb6doU6yxnGBBns4clvViI2E8jOf5H9et1C6wTjP9/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3190 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 > -----Original Message----- > From: Sean Rhodes > Sent: Friday, February 18, 2022 6:52 > To: devel@edk2.groups.io > Cc: Dong, Guo ; Rhodes, Sean ; > Ni, Ray ; Ma, Maurice ; You, > Benjamin > Subject: [PATCH 2/2] UefiPayloadPkg: Hookup SD/MMC timeout >=20 > Hook SD_MMC_TIMEOUT build option to SdMmcGenericTimeoutValue PCD. >=20 > Cc: Guo Dong > Cc: Ray Ni > Cc: Maurice Ma > Cc: Benjamin You > Signed-off-by: Sean Rhodes > --- > UefiPayloadPkg/UefiPayloadPkg.dsc | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc > b/UefiPayloadPkg/UefiPayloadPkg.dsc > index 1ce96a51c1..23c2787a94 100644 > --- a/UefiPayloadPkg/UefiPayloadPkg.dsc > +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc > @@ -33,6 +33,7 @@ > DEFINE UNIVERSAL_PAYLOAD =3D FALSE >=20 > DEFINE SECURITY_STUB_ENABLE =3D TRUE >=20 > DEFINE SMM_SUPPORT =3D FALSE >=20 > + DEFINE SD_MMC_TIMEOUT =3D 1000000 >=20 > # >=20 > # SBL: UEFI payload for Slim Bootloader >=20 > # COREBOOT: UEFI payload for coreboot >=20 > @@ -398,6 +399,7 @@ > !if $(PERFORMANCE_MEASUREMENT_ENABLE) >=20 > gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask | 0x1 >=20 > !endif >=20 > + > gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcGenericTimeoutValue|$(SD_MM > C_TIMEOUT) >=20 >=20 >=20 > [PcdsPatchableInModule.X64] >=20 >=20 > gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER) >=20 > -- > 2.32.0