From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web11.2475.1672966169348539999 for ; Thu, 05 Jan 2023 16:49:29 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=enmrx6zR; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: min.m.xu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672966169; x=1704502169; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=v+IO/sGmGmxoZEsKrG2W2eaxl2HhuWkzjAxkriQCg5I=; b=enmrx6zRY9A+M8J91tPktEuDUWwiIKxzlmyyJN/4japXlvGbB2SHWIdW C/UyWKjK9MayjoPS/fStRSD7ruNa2288vytavtkAo7+6YmW8jBqXjbCSR PgY85GZP4QBFnBTAXCMzG6XyA9yqBhEhRgvIodiFodfF4I6kB5axkOpzk MrKF3LW6OffWLkt/pBkBZ/2fH6azJg1dG0ioJRVu7GyaLyNqXFxsdObTB 1py/eAy2B34Y57AUt/0aNFcgzmpmt3OwGGZ2TDOmmiSfAow+ytKtDbppK n/CBzVT8lfKc3saccX8dDNIBL8cvnZ/+JZJSWkdxfIH3M+oFHla/VKHnt w==; X-IronPort-AV: E=McAfee;i="6500,9779,10581"; a="302732466" X-IronPort-AV: E=Sophos;i="5.96,303,1665471600"; d="scan'208";a="302732466" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2023 16:49:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10581"; a="633339642" X-IronPort-AV: E=Sophos;i="5.96,303,1665471600"; d="scan'208";a="633339642" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga006.jf.intel.com with ESMTP; 05 Jan 2023 16:49:28 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 5 Jan 2023 16:49:27 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2507.16 via Frontend Transport; Thu, 5 Jan 2023 16:49:27 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.107) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Thu, 5 Jan 2023 16:49:25 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XdnsJuftjbCJqCJzjdaxoAX2v25SNZiAZ8w9+zZD9p+pN9bMpMG9usafupAEUEAxJrFZvp7HFi3nZUBASIGjilFLaA3Kt9Vj5vDGbkBI8eFFhpiAurvsHREqXkhZHlD5+g+Fhc5tvNOVo5bGkZNeELx6nWSgOhvK8W/FW0kSbKMYfT0p678+bTm7FxJbjgQxqkgd9Q6Ti0uZQdlOlqTpo3bJ+E9Nw5nPN/J0qbdIUK731nAr+WbEjP9s6rzo8GupSvMB+DhwS4fE1a1sXipBGkHU6XLHJyuxbKkpEZzhmHwLCi38q4MtmmbGJonsed8NwyS2CwPAom2LqsJU97QW2w== 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=qGvbXsGDKPY/1CCadTWXAv0yZB7zbW+SPUIYIE9SgMI=; b=JigJ67DytkT8V92iUJBAoJTXla5vpIVmj/44s34tRxhuCLGNt+LpXh6FoYyymoBPW7cJB32lDRA7VYlA2tGMPwIGufnSlt4UDTdWfx8wF7PRQIAAA45zV5rXQ/S4/5ACTc5WcKU9GTxHRbYY9Nu3LJQJ8FthqPo9E2+8IHxhUdlZb/VuckfeB2C+DDIQJKB5pB+tYJiFpTYX2KjNY6WkUruTb+/Q/VrUH/X8ob5GlvpVtkZESy+AvZfKGtXe3pQHbQzYFquimp5fTcwwqcWunrZEAYS4Db93z07X5E1S5HgyYvg3WjT3IKdlWRx911+JqrTyPJImcien8CltQZmymQ== 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 Received: from PH0SPR01MB0012.namprd11.prod.outlook.com (2603:10b6:510:1e::13) by CH0PR11MB5379.namprd11.prod.outlook.com (2603:10b6:610:ba::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Fri, 6 Jan 2023 00:49:23 +0000 Received: from PH0SPR01MB0012.namprd11.prod.outlook.com ([fe80::5a1a:1730:249a:a7af]) by PH0SPR01MB0012.namprd11.prod.outlook.com ([fe80::5a1a:1730:249a:a7af%3]) with mapi id 15.20.5944.019; Fri, 6 Jan 2023 00:49:21 +0000 From: "Min Xu" To: Gerd Hoffmann CC: "devel@edk2.groups.io" , Anthony Perard , Ard Biesheuvel , Brijesh Singh , "Aktas, Erdem" , James Bottomley , "Yao, Jiewen" , "Justen, Jordan L" , Julien Grall , Laszlo Ersek , Peter Grehan , Rebecca Cran , "Boeuf, Sebastien" , Tom Lendacky Subject: Re: [PATCH V1 1/1] OvmfPkg/IntelTdxX64: Raise DXEFV size to 13MB Thread-Topic: [PATCH V1 1/1] OvmfPkg/IntelTdxX64: Raise DXEFV size to 13MB Thread-Index: AQHZINZTvS1ckRnbpkCFZKPe2gmnj66PsPcAgADa18A= Date: Fri, 6 Jan 2023 00:49:21 +0000 Message-ID: References: <20230105072105.144-1-min.m.xu@intel.com> <20230105113158.lq5r5zxuyrgapqjy@sirius.home.kraxel.org> In-Reply-To: <20230105113158.lq5r5zxuyrgapqjy@sirius.home.kraxel.org> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0SPR01MB0012:EE_|CH0PR11MB5379:EE_ x-ms-office365-filtering-correlation-id: 01a9f591-4c8e-42cd-9549-08daef7fd9c2 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7jmk8hqYzta0Exvf5zM4w9QZ881++Q/2WzMlrn5Q7YkFooPx/F+txSDKF6m/PV33IBOVU4DGHLN2Zbvgqk2yc4qy/CjWu5uCLzM4OPNTaj2aSpXspb6yDLfT4yIRXyLKx88ytlxVIQhOpxguSxMZAM/rfa1L5jfB1On+E2E6GmpDUkgqbhJ6sEm0fTLYex6ir/Hx3Q6sNrD0WIoY4wqKILLuDmllGU7/2UGMDBzfk0iQkIGaKkeeo/Zhvnn9k0KKDSf2stF+mABHQcPbS322ODNbBvOvcNBQuEHSgO7NIF6IRPRTxf3dqS6tn0flCP+ElH7buNbYlsvmfu8oBgLH9MV/mW1bieqUz7AOQKDO355saB/8d6MgJOQkKjkVsBaPB6UcjQImrISFw4OYgelb1FsA+gwEFXOh9eFTgCYeFsZrlvJQ8RCRntPn31fIbBfokLas98UPp5L5cLNdJY16UFuq0cTF4DixvXto2SIzKigm9XYY6Hezb1ctKUPd9YQaxx/Jbtt4S4orv+p0vR0QoHf4Yn7zPvKOWMda85WNDvZ+UHjJda+5CeU4DHmTXWEfW+VBLgEHS9ocnSAJ+4/F9F85dyeFse+IHaBI4JoHM6UpUnOzVYvH2dra6Geml3L94tqMv9X7ncGr8O+aiSOzQhlW2zHHnYqIk8vSLuBDMFEzGLTFdiIA08XhPiK8SqL9wZfWR8cm80PdekD0Y+1uN8W3N6nL+iIRB+QRu1FuV5s= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0SPR01MB0012.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(366004)(346002)(39860400002)(376002)(396003)(136003)(451199015)(2906002)(5660300002)(7416002)(52536014)(8936002)(41300700001)(478600001)(316002)(4326008)(8676002)(54906003)(66556008)(76116006)(66476007)(66946007)(66446008)(64756008)(6916009)(71200400001)(966005)(9686003)(26005)(33656002)(6506007)(55016003)(7696005)(186003)(122000001)(38100700002)(82960400001)(86362001)(38070700005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?34B/0SKIZUpsRCvXH/ZWXC89W7pbHMnIheGRZPCUFraeIjciI34g69K0J645?= =?us-ascii?Q?i0loNriIema9ww38e/KckgeUhDvXhixlu/NBdgDardbCjT2gVXvA6RkRvwem?= =?us-ascii?Q?IzpD79o6QqEQ2rOlnLxu45j8YwuVPfEmfAy4jev0BMZAJWINNZ/kRNlf1dmo?= =?us-ascii?Q?IqAxB6hLCu9N9QtlzuDtuok/gluJyOr4lV37cQIq3PvD8wlu1ykToEEykx6e?= =?us-ascii?Q?8hjowL4pqyveg6MfLuMmJ9+5Rug2cZeUTQCSgilIn8NSIzeX5x6tChXHZhhu?= =?us-ascii?Q?M79mn6zu6Cf/8QchWEYqOPOUsIUdr5S3NUc0A6+UddTgWkfcytwFFxj8Ocin?= =?us-ascii?Q?K81eF0ea+Xdbzy/FQ5x1ljVqTTZ4YONUyIG+m/SzznlM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MBZrAXpbtM+nAweOcUQv33pLoOqXIdS4kTU5CN5taYniy?= =?us-ascii?Q?xciMRvAhMCSbRWuLk6ef9mW2G7oGINzv9UofZtKqNh+krpWsTdXKWUxL1wDy?= =?us-ascii?Q?0xQ49k2NKuilxdR0H6z5BmC2bDAodqxKG9wyF4xjUeSfAQ8karYVBDsOQ3ox?= =?us-ascii?Q?W4cUjC89nlhxYxGZqjITum2eYlMAQEVup5OayjkLeOqwkzDKU8mH18cwEaa4?= =?us-ascii?Q?W+zg3faRf7cI+2GgZ+ht1ZWINOmFwMUGx+aERyzTLhId/1Xyq1vY6q9cnoi0?= =?us-ascii?Q?G5N7N14lP8tdtlfWCclw5cRIYJXUUDBwKgcaNjY9?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0SPR01MB0012.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01a9f591-4c8e-42cd-9549-08daef7fd9c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2023 00:49:21.9170 (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: BO6QNtgAyfEqXwabxatnrkaT5oXKf9f4uET43XoxEekEV4dK/3Y0z/98ry2OBhAJ3Fc2kJWd4mMz87Uh4Y/4Lw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5379 Return-Path: min.m.xu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On January 5, 2023 7:32 PM, Gerd Hoffmann wrote: >=20 > On Thu, Jan 05, 2023 at 03:21:05PM +0800, Min Xu wrote: > > From: Min M Xu > > > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4236 > > > > Similarly to the "cadence" mentioned in commit d272449 ("OvmfPkg: > > raise DXEFV size to 11 MB", 2018-05-29), it's been ~1.75 years since > > commit 5e75c4d ("OvmfPkg: raise DXEFV size to 12 MB", 2020-03-11), and > > we've outgrown DXEFV again (with NOOPT builds). Increase the DXEFV > > size of IntelTdxX64 to 13MB now. >=20 > Not sure this makes sense given that you want split DXEFV into two smalle= r > volumes for IntelTdx (patch series sent in december IIRC). >=20 Thanks Gerd for the comments. I think raising DXEFV size and split DXEFV into 2 FVs are for different pur= pose and they're not conflicted. The purpose of raising DXEFV size is to enlarge the FV so that more drivers= can be hosted. The purpose of splitting DXEFV are: 1) Reduce the attack surface in CC guest. 2) Improve boot perf in CC guest. I think IntelTdxX64 needs both 2 changes. Thanks Min