Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84AEAC61DA4 for ; Mon, 13 Mar 2023 17:42:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230293AbjCMRmz (ORCPT ); Mon, 13 Mar 2023 13:42:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230284AbjCMRmv (ORCPT ); Mon, 13 Mar 2023 13:42:51 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70DA96C689 for ; Mon, 13 Mar 2023 10:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678729371; x=1710265371; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=rzbDXWosBok7WouJsharnuMVlZFzUoKx25OjnU/PPiU=; b=Kc5aoGK2+V4CLaM7xam5Dh1kz736ePhnlXVfjvR7LbQr0whDN3orQUCx 6MqFa7HJhz7HmTalYmfpVF74dFagMWHMYJ2cbw+nA0BIR/ooWYoJQQtNG Ag1kqb9aLiRyS7u759gCl4egueQcPWF//ZnnButVS1O+ybzMoDg32GcsW /MIwce+ZOwCoP6uYdFENfeUQfataf/Tj9O/QYeayqV9NsjyYOYrsKm/nA rCTWxXDCFVKr+9qk2bmQmDIKS5dWVFuU/1H7xbeMwOyZAA5bU4Z7FFgfk btsRwXwrY0XbL9zmGShBkSEIlo0jw2uhzE4e5EaQ4Xep8zAoHAXiQ+Uhe A==; X-IronPort-AV: E=McAfee;i="6500,9779,10648"; a="334692390" X-IronPort-AV: E=Sophos;i="5.98,257,1673942400"; d="scan'208";a="334692390" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2023 10:42:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10648"; a="708965403" X-IronPort-AV: E=Sophos;i="5.98,257,1673942400"; d="scan'208";a="708965403" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga008.jf.intel.com with ESMTP; 13 Mar 2023 10:42:50 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 13 Mar 2023 10:42:50 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Mon, 13 Mar 2023 10:42:50 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) 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.2507.21; Mon, 13 Mar 2023 10:42:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RKfHAaeza6d/BTMQ1F/6HBFwBTvOn3IgptBpv4bNMfvZF9DPOX1HqLsCayPlWovfwFuSvBlebmQmKZp+sQs2f6uj1TTuBPbwsPI/7PkOxWdOuvCwQuU7g8nVNT+wASmAeVeh/CwA822F0VNCymAB+0PsiDdWRP1tk9OsZ+ZIkh+mRfOzII/PtI9KHrxU7EfsJzuU03NF92ZDY34AwyhCYN+W2SP3KhZgwWVdIlIkyE4wHnmiM53b+6PAWw56XhyC9NGRME8Fxxk1pWAQgAo9SWcVj/ArFkXqNo4HVocnz0NkuRKY/0X1Y7kzJRNjHAY6LqKDx9PcaFFSJEOGWXE5Lw== 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=rzbDXWosBok7WouJsharnuMVlZFzUoKx25OjnU/PPiU=; b=eU4Gkk4nmYgJCTrMwdTqGuWde7JFq0+yfKjWLb9++YwKjMK+alaiEULvztnQVy8lgYDDQDhQGywdFrOZzL5WO5KKB5LXkyz+xpLaUyL6BxcaHXtIDEeGp7IB8CCZoW9HIFn4W4+6O18OpA7JRAE3KZWeUiICznuK8U0lL78lGQOY5Uuj9Ypw1ZFljDyj5noGREOZvVA+4emUZHcW8XpKKh3vCYyu4zJHAIc51/Z3zVByZVJ9Zk5FkOJLMesdnjhENJuFsJ4Tid3mK9gOtiA4hiSVzXO0xk894d++WCymMDvyHLqn4T8ilwTO+cYAZ4d7Fs5dTMf7ZgqIDRC1ugj8Kg== 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 SA1PR11MB6734.namprd11.prod.outlook.com (2603:10b6:806:25d::22) by CY8PR11MB7291.namprd11.prod.outlook.com (2603:10b6:930:9b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.24; Mon, 13 Mar 2023 17:42:46 +0000 Received: from SA1PR11MB6734.namprd11.prod.outlook.com ([fe80::7576:1f4a:2a6c:72f7]) by SA1PR11MB6734.namprd11.prod.outlook.com ([fe80::7576:1f4a:2a6c:72f7%2]) with mapi id 15.20.6178.024; Mon, 13 Mar 2023 17:42:46 +0000 From: "Li, Xin3" To: "Hansen, Dave" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" CC: "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "dave.hansen@linux.intel.com" , "hpa@zytor.com" , "bigeasy@linutronix.de" , "Liu, Yujie" , "Kang, Shan" Subject: RE: [PATCH 1/1] x86/vdso: use the right GDT_ENTRY_CPUNODE for 32-bit getcpu() on 64-bit kernel Thread-Topic: [PATCH 1/1] x86/vdso: use the right GDT_ENTRY_CPUNODE for 32-bit getcpu() on 64-bit kernel Thread-Index: AQHZU/pnrQNA4Qs8TE+zA+Udtp/Txa74104AgAAkKCA= Date: Mon, 13 Mar 2023 17:42:46 +0000 Message-ID: References: <20230311084824.2340-1-xin3.li@intel.com> <5e84fd48-459d-8850-d26f-860c6d34a9ad@intel.com> In-Reply-To: <5e84fd48-459d-8850-d26f-860c6d34a9ad@intel.com> Accept-Language: en-US Content-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: SA1PR11MB6734:EE_|CY8PR11MB7291:EE_ x-ms-office365-filtering-correlation-id: 4d082876-c6dd-427f-ab76-08db23ea5b2c 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: IU09mMLSZbCqLKmsEQ2AOCLhGr8ZKK49e+pkN9OmqNek5iCti4hVwI/WLlVNAMT9YSfpjE0zf1Lp23o36k9WJ28TvY2FKecCvnuK7Sn2wgB4b+LyXp5+wJAJP0JjZqEzB880WozTA5h1hBwO1IyJ8/cRzKyaDprmgaO0zyNH/+7Unxv2oUXW57wXIK8Y6ZXMuuhlEd8BNerbaTjpZecaDYCctZZeDHbWTkgxkr4eouW9QNF+fzvzF9iZwasA4S50Eb3+8O7L1zqlW+HCsap9VOimTLkxqwp38d4zdt/SmjC1D2vGXdeKJuXkxhtO/xIMNd0PtF5med1184fNuzDWqk4I2ZAx9karPj5LAaNBdIFYnHcw4Vmdbw1zkPyavoc6ZSSFK1Xgh0RUiksO+MCc/EZisnGSyj8wo5qUQw9ZhT3cM3yH1/vzYfYSfywQsIH44VJgz5pcy4C+FixWvzOcGOO7+iOQWcX661hHdHgtfCBirJexv/qN+WjMMOOGTHMchOOu/HMO7pTO31gT2LJdyxSzf7FirQgFdYOyZDh+rLpjWGeXwqqRNhVqpepyqSy6AHJaRbPO3tUJ7sTxBo7WW/GlIeyU0gRLJahI1TnVt1znoy99JSSAbh3eegZY8JEvBIKLrf4wLcg8RzYAf45S3PsZm6QKQadUkZr2q/UH0UKBGnVl6vkOK5aalx5m8rDwjb+epltlK98fo+9rjN7m6g== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR11MB6734.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(376002)(366004)(136003)(396003)(346002)(39860400002)(451199018)(7696005)(82960400001)(83380400001)(110136005)(38100700002)(316002)(478600001)(122000001)(54906003)(8936002)(186003)(33656002)(52536014)(71200400001)(55016003)(8676002)(4744005)(6506007)(9686003)(26005)(5660300002)(66446008)(4326008)(66476007)(66556008)(66946007)(76116006)(64756008)(86362001)(41300700001)(38070700005)(2906002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MXhWU2kzN3dWMjVmSkgxb29OM21Sams0S0Q3ZzNHYXljTk4vc2kwSVV6bldj?= =?utf-8?B?bkRYdTNkR3Rmd2pUMUVzWkxGUTBSS3lKejZPRFFxV0ZsM1E3eWg4SUVacTNx?= =?utf-8?B?dkpQTFd6RVBNeFNHYSs5MGdrNktNT2JJRktkcm81bldYMW14UmkzYmF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TTUwRGJzK0V2OHYzYm1hcUJxTmZWamZxWVdkN2Ri?= =?utf-8?B?T0NYSEdzNmN3QnlxSGhsN2lkbVRNbTBqQmVVdmVudFNaRUpXR093Z05xbFhx?= =?utf-8?B?bXNvZkdMMHU0Q3p3REVVeU9jV1JjOWtEemV5V2NFZFBVWithd05Ea0xDY3FB?= =?utf-8?Q?Mwjk=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR11MB6734.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d082876-c6dd-427f-ab76-08db23ea5b2c X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2023 17:42:46.1717 (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: DW9LKNFvxJC/FOg5nnEGiipLb/6GcpLwGXZ3egGRuIz9GMwkqQtvf/fEXDqveZYjri2gw2cR9IjkLmVUD92ssg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7291 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiA+ICsjaWZuZGVmIEJVSUxEX1ZEU08zMl82NA0KPiA+ICAjZGVmaW5lIEdEVF9FTlRSWV9DUFVO T0RFCQkyOA0KPiA+ICsjZWxzZQ0KPiA+ICsjZGVmaW5lIEdEVF9FTlRSWV9DUFVOT0RFCQkxNQ0K PiA+ICsjZW5kaWYNCj4gDQo+IElzbid0IHRoaXMga2luZGEgYSBoYWNrPw0KPiANCj4gRmlyc3Qs IGl0IG1lYW5zIHRoYXQgd2UnbGwgbm93IGhhdmUgdHdvIGR1cGxpY2F0ZSB2ZXJzaW9ucyBvZiB0 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