From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web10.4389.1650599734653099158 for ; Thu, 21 Apr 2022 20:55:35 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=hmpu7hqz; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650599734; x=1682135734; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Nx0LAQXP/XAtkYA/9ImjC1yA+0SP+kzSsGhUgkIarAo=; b=hmpu7hqzsawZg+ZDBmZA2E/xNAMaJj8x8PZhvpU7F8q1CM1bYPzibLPJ i6uokDNT4qZopGgxdLuAkG45mUMWzvRj2rI9kLmgruOI2eKd8BH+tMQaJ yKnF8GVv1kCCWmEXvqpge6NHZ7w97P3PbM8hvTW0sCHf+AcS/9VhD6h/3 hAim32Lb7dupIo4YndvFl3TWViVunN3rpkUUtIKIHOpPsoPq0ptMWcjZ9 UEOiiegU+KVnhZMtN5VCaOH38iAWNAKwajEK4XGaEuNjjQoCOmsMf5vS+ C54sm+P7P9SSkvMgeaEvogJyI3Y+Sbs1ywdZTTLO06kxkRD+V7mRoQXc/ w==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="264335999" X-IronPort-AV: E=Sophos;i="5.90,280,1643702400"; d="scan'208";a="264335999" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 20:55:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,280,1643702400"; d="scan'208";a="658832015" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga002.fm.intel.com with ESMTP; 21 Apr 2022 20:55:33 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 21 Apr 2022 20:55:33 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Thu, 21 Apr 2022 20:55:33 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.171) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Thu, 21 Apr 2022 20:55:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YOgjG5/TXd4xKA6KnQtpvP4S+zhuhaypegXz+bfJBUkkAlEiloi+RauwtuZbVOJIsT/vU8uUKOEP9QQlr5c7V/muMZiyGH2PB4znLav+F5eL5+ElaDpS0FG28cJf5/I4cpc1AnlKG6oOaRsgYKFjCgXFF0xkLE/0sEs34uh/L88rnmh4p1TFog2GmeLKdclabDbVGnFIp4ewpI6Ia5pmpLQmGqXZnLjM5OY964uDXNVkcjK5B5IZiSjoPACU/NXfP83aFejhoXxrTIRMQxsoTDkTVMtExoDbAXRU0doT3qAxTJYyxFYVBeJKe7uhU+H90cAMZPxpvQ8CYPv/3Upuyg== 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=F6M4dNMkaZdoby/smH5Z586LtoxIawtR6Baj62WsXVw=; b=Qy9Ymo3bURwuKO9TtjP2ZJ9hlrxtFCPEO5WEAF179wQLZHLlzoQVxle0dw9m25k9cJqehhLSNvIsewYOu/a/oVTCqh9jcGutANtMrgP0ZZsBGe46e6Nn1OuTS3TXqjkQdNZG68jh+NJTbOI24H7THJlcypwKYmK0fFxyc6e4dFlw7w82k4CRPaRkwxFwnUaUS/Z2g+M94ElXx3EFoVlMTrMihWayhDwUWEAAwey72nU5PgEkeHhVTawoM1fItPPxFfLG8lWka9wkE3VksTom+xTmbtgZkJBn3VjuK+MTfZmzZmiXgEVe6ZX6kH76b/mOf8XqkPW/0z08Tyn11ttL8A== 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 MWHPR11MB1631.namprd11.prod.outlook.com (2603:10b6:301:10::10) by BN6PR11MB0033.namprd11.prod.outlook.com (2603:10b6:405:63::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Fri, 22 Apr 2022 03:55:31 +0000 Received: from MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::a88a:3f13:4d9:3127]) by MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::a88a:3f13:4d9:3127%11]) with mapi id 15.20.5164.026; Fri, 22 Apr 2022 03:55:30 +0000 From: "Ni, Ray" To: "Tan, Dun" , "devel@edk2.groups.io" CC: "Dong, Guo" , "You, Benjamin" , "Rhodes, Sean" , "Liu, Zhiguang" Subject: Re: [PATCH] UefiPayloadPkg: Add definition for LinuxCommandLine HOB Thread-Topic: [PATCH] UefiPayloadPkg: Add definition for LinuxCommandLine HOB Thread-Index: AQHYVfw2P0SvLbSGgUils6lZfwCf6qz7TZdg Date: Fri, 22 Apr 2022 03:55:30 +0000 Message-ID: References: <20220422035047.1130-1-dun.tan@intel.com> In-Reply-To: <20220422035047.1130-1-dun.tan@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.401.20 dlp-reaction: no-action dlp-product: dlpe-windows 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: ed2c984e-063b-4397-d0d5-08da2413f204 x-ms-traffictypediagnostic: BN6PR11MB0033:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SeYO3jcgvDr9x8P/FHM0uHbhgfwgebPQ7+xH4YVy71Mbo5Ot/qi+Xb/gpxGBW4Yx0CS68yz5fOM1Vg/ZKZIDAPi0Lqe7sRR8KlLJx4UiDpTolZjEm9B8/+7/JGSAWj8eQhy9ASrYBCUsWtGHiDjyYwYWY4Ky7/aoTHq7AKpQjm2KWYsFEyu1uyUmotclFdHep8aIQy+8NGWgCE+nLOMWfYeSe/jJQqnprzoe4NxtENGrVwKV4u4etkrA5Q1uXXP6sfPtnkKI2dFaXJ4qEM+0jOiNyFKBiKhBWymGi8idaF22f9Q/z9K0OK23lLgA/eqEqJNP/HuB5cBL1GZ2tBzBWIzuCcDHAt0nckztxLdcRLjDYB21X16AtFs7eaKQlGkSPkfV0dz1okxlN6rMwxW/Ci54UIA7dlfEs7Dy8wCgQ4FIbZCoHYebLnJ+T+dBLOb5r4+SY9kRulpaHGovvIftr+Nn7VAVtTI9SuPFDZXUQxc92oAyuED6h52sxt4XT28WvwZT7T57iHncoFeGdUNyPf+pIoNEA0YLRB2nBKJuDSkjaBtWzma3YFoKIK8u58ZLSUoq/OtZVkguKLBaOKBDlxxt1sfanOfmHPaHj7F3sCMMwrAafUBR+VktTDvvRpzrgMOz0WOL9fP+GNPxRra+b2juEA2UYyCYcDaeQLlsNnyP8qjwrbIAk8CKmVDkSME4iDyBviZu3tCUkTFUVe7Dcg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1631.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(316002)(8676002)(76116006)(66556008)(64756008)(66476007)(66446008)(508600001)(83380400001)(33656002)(55016003)(52536014)(2906002)(9686003)(6506007)(66946007)(26005)(71200400001)(54906003)(7696005)(110136005)(82960400001)(8936002)(122000001)(53546011)(186003)(107886003)(86362001)(5660300002)(4326008)(38070700005)(38100700002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Ob2gn4R4WKxZyfB7rejy/de6KwKrvFLqqUIAK1jqypZ6U62vpQNVmOB42Lq2?= =?us-ascii?Q?5abi/MIJicMJQ1z5vDRLI+s2JxJj9VjQnsiYyZeAtni4yZJzOSE2Pkt5vLCt?= =?us-ascii?Q?jjpVw5yBYQFWAv30YpKMGof+ZTsRnHl1Xgl/gebaWNfZef0kTJDoQ/DqG8ls?= =?us-ascii?Q?guL1jUHmyaazgJl7qjhjUke4ooVY+ipqrVXPIRzfMZN5yeN5M6TGuYLfMlEj?= =?us-ascii?Q?P3nKSfd8mxh7BbRJj85ys87cyrWysLyi/nRDphfc6XTPE8wKG9hncqW/HlgD?= =?us-ascii?Q?2HMORFDjrsS95gr0Bw+hyyIBI+Eqw8nJOmogdi1ZkhwfyYxZJuWeriqKHyKX?= =?us-ascii?Q?S7Pjlbbq9Rc9HTx4wpMQuMIbSVyWaXI3IeJ9zzrrYgLuWgQCWGFvldemdWPL?= =?us-ascii?Q?oAX7A5W+RRF1TBAqdSBboz4ijyCsgf1KB9Eiv0WTC29B9NjLh22hFcfAAmXY?= =?us-ascii?Q?JkZgii/6QYUS9YP2VnOZg/aZW2fibKapOty/5dxVbOdcZ4DUp+hLqO9dM4w5?= =?us-ascii?Q?S5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ylwP?= =?us-ascii?Q?18SLYNHnVGG6yoNt8Cwz25nH/mFjKIgaIMDY2a7HxpkiREFxFWBiSngQKCPj?= =?us-ascii?Q?9eeRox/tlb3BYLqvuTR5E38dIW2gRvEaYWyXdE0ruuyy/pgqqyu49NZYUHun?= =?us-ascii?Q?06IDrnILOAdOtC1AD51Jq9B8sef4dvUtNsDgK1/lhiX+8y+Yjh8jzZQAOKEu?= =?us-ascii?Q?cFqIJq9g4B5+MTlfGfyHto7zzvZXLWD8BzCSJw175Bj2wIBVhts+oZqU22B8?= =?us-ascii?Q?ukeoptbtoCRwf6Z1Fln5EMpMTdyBtrLPxNd3/Na8+LYq9ONPksMbfA0hPZTz?= =?us-ascii?Q?rU5WHZlHaw=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1631.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed2c984e-063b-4397-d0d5-08da2413f204 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2022 03:55:30.8633 (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: VpiZiC1HHt2VN/oGqGKrSrNnL/6pa9gzJsNUBVTICRxnc5RZiwMtHJM/K+iKGRvVPGWDH31Yv5L58/YP+7Cgkw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB0033 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: Tan, Dun > Sent: Friday, April 22, 2022 11:51 AM > To: devel@edk2.groups.io > Cc: Ni, Ray ; Dong, Guo ; You, Benj= amin ; Rhodes, Sean > ; Liu, Zhiguang > Subject: [PATCH] UefiPayloadPkg: Add definition for LinuxCommandLine HOB >=20 > Add definition for UNIVERSAL_PAYLOAD_LINUX_COMMAND_LINE Hob. > This Hob is used to pass Linux Kernel command Line to Payload >=20 > Signed-off-by: Dun Tan > Cc: Ray Ni > Cc: Guo Dong > Cc: Benjamin You > Cc: Sean Rhodes > Cc: Zhiguang Liu > Signed-off-by: Dun Tan > --- > UefiPayloadPkg/Include/Guid/LinuxCommandLine.h | 28 ++++++++++++++++++++= ++++++++ > UefiPayloadPkg/UefiPayloadPkg.dec | 1 + > 2 files changed, 29 insertions(+) >=20 > diff --git a/UefiPayloadPkg/Include/Guid/LinuxCommandLine.h b/UefiPayload= Pkg/Include/Guid/LinuxCommandLine.h > new file mode 100644 > index 0000000000..0bb75238e7 > --- /dev/null > +++ b/UefiPayloadPkg/Include/Guid/LinuxCommandLine.h > @@ -0,0 +1,28 @@ > +/** @file > + Define the structure for the Linux command line Hob. > + > +Copyright (c) 2022, Intel Corporation. All rights reserved.
> +SPDX-License-Identifier: BSD-2-Clause-Patent > + > +**/ > + > +#ifndef LINUX_COMMAND_LINE_GUID_H_ > +#define LINUX_COMMAND_LINE_GUID_H_ > + > +#include > +#include > + > +#pragma pack (1) > + > +typedef struct { > + UNIVERSAL_PAYLOAD_GENERIC_HEADER Header; > + UINT32 Count; > + CHAR8 CommandLine[0]; > +} UNIVERSAL_PAYLOAD_LINUX_COMMAND_LINE; > + > +#pragma pack() > + > +#define UNIVERSAL_PAYLOAD_LINUX_COMMAND_LINE_REVISION 1 > + > +extern GUID gEdkiiLinuxCommandLineGuid; > +#endif > diff --git a/UefiPayloadPkg/UefiPayloadPkg.dec b/UefiPayloadPkg/UefiPaylo= adPkg.dec > index 5c1aeb8235..494ef94932 100644 > --- a/UefiPayloadPkg/UefiPayloadPkg.dec > +++ b/UefiPayloadPkg/UefiPayloadPkg.dec > @@ -35,6 +35,7 @@ > gUefiAcpiBoardInfoGuid =3D {0xad3d31b, 0xb3d8, 0x4506, {0xae, 0x71, = 0x2e, 0xf1, 0x10, 0x6, 0xd9, 0xf}} > gUefiSerialPortInfoGuid =3D { 0x6c6872fe, 0x56a9, 0x4403, { 0xbb, 0x9= 8, 0x95, 0x8d, 0x62, 0xde, 0x87, 0xf1 } } > gLoaderMemoryMapInfoGuid =3D { 0xa1ff7424, 0x7a1a, 0x478e, { 0xa9, 0xe= 4, 0x92, 0xf3, 0x57, 0xd1, 0x28, 0x32 } } > + gEdkiiLinuxCommandLineGuid =3D {0xb5aeb34f, 0x3047, 0x4955, {0xb8, 0x8= 0, 0xad, 0xd3, 0x6d, 0x86, 0xdc, 0x0f}} >=20 > # SMM variable support > gNvVariableInfoGuid =3D { 0x7a345dca, 0xc26, 0x4f2a, { 0xa8, 0x9= a, 0x57, 0xc0, 0x8d, 0xdd, 0x22, 0xee } } > -- > 2.31.1.windows.1