From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web12.25166.1641773774131664715 for ; Sun, 09 Jan 2022 16:16:14 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=aEq/d/HY; spf=pass (domain: intel.com, ip: 192.55.52.120, 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=1641773774; x=1673309774; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=AcKqEA2LB2GW3+ExGRyPwg++pTghSSxWEQKq5WA+sYE=; b=aEq/d/HY8le/Vefv/rX6wRbKIt6Ats/Vqcz/gfWLyg1RJtJclCVjtqGa YiIc0TboWmdRUciwd8vwebetcN3ohMXX/HrzMMfJrOnbpw4g78CFMm8wW 2pSnP6L+qrQVxeAAJPjXuyYYc9Q8kQSJNFFDB7cdikQ8fDEuJfmuYkffy Cg2a8aLAedALoxRJmeM+2EADrnGjRpkHKZI4pKBMp9eOGJjTkUslj1DBE NOXh49j0JXu7gjLRpPjPch1raDc++W7kum/HyhQarLIuBg54yMa+/GkeR 3D1mE4oqNr0v+6Ne7GMhGQ/tXD53y+TrYIU79CoS5TgFGYXnwS6lVtFHw w==; X-IronPort-AV: E=McAfee;i="6200,9189,10222"; a="241938117" X-IronPort-AV: E=Sophos;i="5.88,275,1635231600"; d="scan'208";a="241938117" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jan 2022 16:16:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,275,1635231600"; d="scan'208";a="764366615" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga005.fm.intel.com with ESMTP; 09 Jan 2022 16:16:13 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Sun, 9 Jan 2022 16:16:12 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Sun, 9 Jan 2022 16:16:12 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Sun, 9 Jan 2022 16:16:12 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Sun, 9 Jan 2022 16:16:10 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ayZ4lM3RVdewJo661JuFP6LHny4qqEQKAEW19xEDVyB42NjpqYyXKHO1yPRqWVgOMcZJ7INC3YCfqbNE8CtT10L3dgeqt7EakMKLxp7SnJ0//uCsiLcPNQr1IpbQq3z5zjFOY7EvHbs0AYO4QQcCk72CBWrwtz2EaMJw48luJCCqbeeiz0HYc1sbEq6ZnyGPa+xjba1d435HtrbusnxsK2oiQc3lPlZvwreqiXKx+6T5FWzFP8YgmC+m5Ld9MXSmU1cWtmHU1TnDt5mPMqkcpuJMKjYynHcqwU7mCDjwA11DzFjb8o5j9UlSR8XcYzwtk6LTMNDe618dHE7yvTEBtg== 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=HmFYkj/OxnWPwV8x3SLxC7NgVdQeS59PZFBVZ5LQK0g=; b=ZkHVR5ZWR89/KDRwVHxtxvqScktdiP3dZ7F71R4S8MLYmp6C/qqlFPztTBwm1Rd4xJVpqlhm8OHoHRhkwguAntnrvt0239j5sGCQdQchaFp/2mXffg4JFRPT3SMjQEfOXF88z8BMmRiEjckMnDCWISEKFK6aCnFsjzn2+OlCC+mPI9qTtDp2hNQu9NKTCa6JOH9Yim3e1kt+3GJvmFyJdCWhE3l+tjCpWpPW/q2LWhW+hl5g5z9/netY5QlzVHgU+KjDYLsFNdSzEl99mSa6VMi/N4Nc5hzzVy3x7e/kvn0HGgHp8ceZF1voko9pm8BAa/POCzxQdUv+22wOJ6tEUg== 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 PH0PR11MB5064.namprd11.prod.outlook.com (2603:10b6:510:3b::15) by PH7PR11MB5887.namprd11.prod.outlook.com (2603:10b6:510:136::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.9; Mon, 10 Jan 2022 00:16:10 +0000 Received: from PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::fd42:b334:5030:af8d]) by PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::fd42:b334:5030:af8d%5]) with mapi id 15.20.4867.011; Mon, 10 Jan 2022 00:16:10 +0000 From: "Min Xu" To: "kraxel@redhat.com" , "Boeuf, Sebastien" CC: "devel@edk2.groups.io" Subject: Re: EFI shell with microvm Thread-Topic: EFI shell with microvm Thread-Index: AQHYA8vD6BLnbEkJakGQEscpdGHBqaxbZPNQ Date: Mon, 10 Jan 2022 00:16:09 +0000 Message-ID: References: <20220106124401.btcx5ykka2k37sae@sirius.home.kraxel.org> <6abb6308f466cc68d4e643469d973b369f12a5b5.camel@intel.com> <20220107120724.3pq4s4xybskjhxta@sirius.home.kraxel.org> <20220107133727.gky4tmrhe7rchtfb@sirius.home.kraxel.org> In-Reply-To: <20220107133727.gky4tmrhe7rchtfb@sirius.home.kraxel.org> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 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: 82165b65-0bf7-42de-a3bc-08d9d3ce6768 x-ms-traffictypediagnostic: PH7PR11MB5887:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NMLBUVKRTiGyYC62IFmuWnCCNjuxFjF9Z8xAbbtE/SttRyeykZrFN25qVZA2NyB+EPsXt1E+JGGfgej4leu4YFyfkS/nSNK2gLQZIIYjQCzKlijiBqG57lcS8bkWpJKcP76Bx4nV51RKundqNdeujCRx11w4XBhYJ5BiKTDhIcQYhFkMqekA6F6BaqzLgOamYJmaPPnUbyyfmZCHtIPiwRZp9U9AxTVUY2AXqqxme2xaUEVh6lG/uNSmqP0wzTd43BCWhs2oT5VVbAZdnhLhYf1XI3zx8DgXCii7r3csZpIDWG2IhFR6Naic3nAS6IpyglK/bbPSuprD2ZADrW/UFzg+0qYl/rY/GS3AKYTVmqQ+had91hyn8Hta7ZhDbsnFsJlHRs9IhWtFD4S8ryKEfRpu4DqSwWjqYwJQTKkGzLYb2jN1LZzRUklxnCp0l0r4NSWGGY1K3hoPQMXEcdZhzzz/eewM0b6cJ6RvSoWAIj1dGaWwLAC6zI35oHSv/ynGXrGWmytdsIhhFbnx35WlqUCmOgJ27mnW7CmOH1PicZDkemNT0eIFSjUCe1YauABTyNqOsLoVjs7gevGr9j6QvYoofi/u385blzPdjmzZG991mXlS9/i7cEn1DYg50mTlpD5VWUuRtsyrnhJX2ebHmVDDSee62MR8pUzvf6HLn/bp1mcHBhY9M21VEGdt69QVe/2zyWzfLt9jA8hRcWsdqvyxGjYdWiaLDxKt5lJ6R4RY2Uzb9YyJtv2Y2Zk1YmmbkPYRBQg1VZscgVSCgdNJ8plAi4/HRPusGCBAKOuXPo/J+0cy3TLdpfpagzvrowXrZPq5tA/fnHatArSBwwOTZw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5064.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(52536014)(55016003)(38070700005)(38100700002)(316002)(9686003)(8936002)(4744005)(66946007)(66476007)(26005)(8676002)(76116006)(33656002)(71200400001)(66446008)(66556008)(3480700007)(4326008)(186003)(64756008)(5660300002)(2906002)(82960400001)(6506007)(122000001)(86362001)(83380400001)(966005)(7696005)(110136005)(6636002)(508600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KqDwp4tCHVutSS37IkqEJQAMg49TURnid9goJi1eXkOX/ZmZb1hSzTDmHFSU?= =?us-ascii?Q?OjuSG5XzYC8XUxzSKtZZ7XZduFiFU20cgOGLR9SMuKQiQLxlsIf53GEuAQYl?= =?us-ascii?Q?AOKEqioBOy+HwI87fkvCcE8OQ0Ov5pT84uB4eTk5glI3WSQT2t0B1omUpbco?= =?us-ascii?Q?AQHYP7/s3Sv9fGG9Akk+7DGaD89qrZ3PJfu6+NrIqSB9nClm92+WAvTgZ7sx?= =?us-ascii?Q?uIQZqstyK/QyO9QZKOCTesJxSelumPvOEgaUrU/fa6NDD7FZYbvpOelDh9/b?= =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MR+o9ogS8S+UPgvc5FtyTFGkIvW?= =?us-ascii?Q?7FWkww00aAa5mJ0t3iEKuFXaSjiU70RNLF54V+/g6fIoDxHScT0s3gERv4Py?= =?us-ascii?Q?050ejRWmh1kf6o+RhLd4A2zVG5JIC71XfEGKM54nRuDyGpgl5m/tt7qDEO1L?= =?us-ascii?Q?xpY47raQK31Otur5XzYGOieCWYRUTLCk77vi5hzoCBTMpA63DykzAFJ06nH7?= =?us-ascii?Q?KN+BdV57n2Rbvspihpp1eo1SWnm2ZbI2rPbGpCEnskuINB/++I1eg2qny3GN?= =?us-ascii?Q?W5KfvAtulv82K6xfa2/jIGtFv585HssBuLt5tRFO3tVO6fiO/VZTXUqIOtmd?= =?us-ascii?Q?QAjY7Ss258eenyHt/5tcfBRQKg8KVIPryse4K3KFkr+XHzikN/LBdsAj3zot?= =?us-ascii?Q?eo+PcZTW0bpxVm0gtxAdBhzP7QVFFTeKtSmS4h0hRUajf3jN+zgsOK0R2k/g?= =?us-ascii?Q?Ho3eNwXvNBQBh5YzMSx68io=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5064.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 82165b65-0bf7-42de-a3bc-08d9d3ce6768 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2022 00:16:09.9667 (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: MDdGLTQN2O0oq6vCssj0FpBelBhC24We9iysjp6X3KZ8OnOHJEtwhUGwH56i86mNS+fGH71e4QLPQiseEXnOCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5887 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 7, 2022 9:37 PM, Gerd Hoffmann wrote: >=20 > > > tianocore doesn't use interrupts (other than timer). > > > > Yes I realized that by diving into the code. I can see microvm using > > the Xen timer while OvmfPkgX64 uses 8254 PIT. >=20 > Min, what happened to the patch series changing that? Hi Gerd, What do you mean "the patch series"? Is this one? https://edk2.gro= ups.io/g/devel/message/83488 It is still in review and hasn't been merged. >=20 > (the plan is to always use the lapci except when compiling with csm enab= led > because pit/pic support is needed for backward compatibility reasons the= n). Yes, we use CSM_ENABLE to switch the lapic timer or 8254 timer in build tim= e. This is the v3 which has been reviewed. https://github.com/tianocore/edk2/p= ull/2167 >=20 Thanks Min