Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6876630ybi; Wed, 5 Jun 2019 07:45:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVccacu/7c0HRdhR6E4MUDM5lgFKoBlocsL649jnzhTUXrSRkP8mtHh5O3MCqMyyD0nQTZ X-Received: by 2002:a17:902:728a:: with SMTP id d10mr43329868pll.90.1559745955816; Wed, 05 Jun 2019 07:45:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559745955; cv=none; d=google.com; s=arc-20160816; b=YMlxL9SGGISnHcoDYFRNCNpVQcurCgWYcKzBen6l+O+9bSD3ciUjNPucoOI1D2cvW6 rtmbnhUd1UI52oIGCF9gWaH101hNix+IQI9PZ+eoCpiFUt+Cao8xIcItrymzGRcc5Snf Nu8b5VzkO05iw3EpVJCqXBMm8ButY0VxUdrg/erW2u8k4HfI2lc1XWZVMoo5BgURPMb7 764hkNWHQy8dkvVw67ceMOM9rqIgTvrLADvqMetkygLZs2rK/GONnij12FuTGxVCJr2e amU3pBoinCXiAgz5rJy82ckf4hWIQ65PyjC3YyZPU6VN5/sQUbBKC2+Wu3l5rV4Wmezu zTLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=rh9AJa/373eD+GS1BgxhOB8N4yh0gHDtlCXIBfkv7wU=; b=GA9RdQKXesmdDxP427GbVXRCKa46/T4uoNvKFW48nJ0Z97IKpVWvuJKLA27QZ6sdV8 18HpAGY1SBk4YBimHSWzfIZP/3pkwo5W0Tqs1mn0Ezgi0Qz+hDQS1yVaOcbo4JXlFN40 QGpm038GtCrMb6J5o5e4NnoTVztXGV46FcY++m0Rgkhvx5l6b9zHDUM2yxJCcnXgHgWN J06pHvC9xyu39jQrGt98AzAaaMjMLXIRqT9VkOXnLD5Qa21OdeSiISXJ9HZIgrnWpdcc aBYGjriuo8+rvgZOyOQWhpkJ/TSvpRwEpsJQ/+T2SwLTpL9M8CZtyrADxqJCN4AdeEYk YVRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-onmicrosoft-com header.b=QpkP70V0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o10si28254563pfo.196.2019.06.05.07.45.37; Wed, 05 Jun 2019 07:45:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-onmicrosoft-com header.b=QpkP70V0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728473AbfFEOlw (ORCPT + 99 others); Wed, 5 Jun 2019 10:41:52 -0400 Received: from mail-eopbgr30117.outbound.protection.outlook.com ([40.107.3.117]:58497 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726442AbfFEOlr (ORCPT ); Wed, 5 Jun 2019 10:41:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rh9AJa/373eD+GS1BgxhOB8N4yh0gHDtlCXIBfkv7wU=; b=QpkP70V0jxQq95/ujwVb908ioPHTHuhTdHOiETswIAAWQeC4zZ+WohdK9WTZtTS5UZeYPetAbPD36AxF5jUUQ+9o1FKtDzvi86HJF/6NhlrPiekMCV827vawBqqKmsIxab1kL0qig3PUUivKAGwNrQAt6pNjLDMIvq0UxeT49mQ= Received: from VI1PR07MB3165.eurprd07.prod.outlook.com (10.175.243.15) by VI1PR07MB6032.eurprd07.prod.outlook.com (20.178.124.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.10; Wed, 5 Jun 2019 14:41:44 +0000 Received: from VI1PR07MB3165.eurprd07.prod.outlook.com ([fe80::1403:5377:c11d:a41a]) by VI1PR07MB3165.eurprd07.prod.outlook.com ([fe80::1403:5377:c11d:a41a%7]) with mapi id 15.20.1965.011; Wed, 5 Jun 2019 14:41:44 +0000 From: "Sverdlin, Alexander (Nokia - DE/Ulm)" To: "x86@kernel.org" , "linux-kernel@vger.kernel.org" CC: "Sverdlin, Alexander (Nokia - DE/Ulm)" , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Thomas Gleixner , Jason Vas Dias , Andy Lutomirski Subject: [PATCH v3 1/2] x86/vdso: Move mult and shift into struct vgtod_ts Thread-Topic: [PATCH v3 1/2] x86/vdso: Move mult and shift into struct vgtod_ts Thread-Index: AQHVG6zLWVr+SmJGqUG78zQ8oYIU5w== Date: Wed, 5 Jun 2019 14:41:44 +0000 Message-ID: <20190605144116.28553-2-alexander.sverdlin@nokia.com> References: <20190605144116.28553-1-alexander.sverdlin@nokia.com> In-Reply-To: <20190605144116.28553-1-alexander.sverdlin@nokia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [131.228.32.181] x-mailer: git-send-email 2.21.0 x-clientproxiedby: HE1PR06CA0156.eurprd06.prod.outlook.com (2603:10a6:7:16::43) To VI1PR07MB3165.eurprd07.prod.outlook.com (2603:10a6:802:21::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=alexander.sverdlin@nokia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 42fa2f2f-299f-4041-5e7c-08d6e9c3edfb x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VI1PR07MB6032; x-ms-traffictypediagnostic: VI1PR07MB6032: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 00594E8DBA x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(376002)(39860400002)(366004)(346002)(136003)(199004)(189003)(486006)(256004)(11346002)(476003)(2616005)(14444005)(53936002)(66556008)(64756008)(25786009)(54906003)(36756003)(50226002)(71200400001)(26005)(446003)(6512007)(4326008)(186003)(8936002)(6486002)(66066001)(508600001)(6436002)(8676002)(1076003)(81156014)(316002)(86362001)(2906002)(2501003)(5660300002)(71190400001)(110136005)(66476007)(66446008)(52116002)(76176011)(3846002)(6506007)(102836004)(68736007)(7736002)(305945005)(66946007)(14454004)(99286004)(73956011)(81166006)(6116002)(386003);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR07MB6032;H:VI1PR07MB3165.eurprd07.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: FdvoO7eRDgH11tVz/9hT0MuneEh73/ofPRc+NUwpX6XIyh0IboxRs98a6l3S1jriH6ZylzlZ6fFXy7h7cTbywjn7/BeEsC8lU3SsKHDaDpLU2VSwuvwznNEYZn4x/nha/6i9Sy4h43fZpQqPB+m1Oi1Cs5QptDD3E98Hlmo+j8luh8X0Ck7v/qcg8Nk04+AdVTLEkDM9i3EusA9WGhaLs8b/dJ3tjGaLeVsdZVpThnAy0DtXQ7qtVoksS4ppLjO4A48q8N7kSX1cmhChWfJQXUQ/VE66N6pVBypggr4rwT+Omkof0EAtdks1fnODOJWjNCClFOrEh5FwMkS0YACh9vwR+1BEs9UkoHHaH9Zj05+CCKeH8MPn0jNq58kGrvUN3Jm8vsANnekJylw63tfv6yNKSUUvs2KXfM1YMB+GlM0= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 42fa2f2f-299f-4041-5e7c-08d6e9c3edfb X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2019 14:41:44.1841 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: alexander.sverdlin@nokia.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB6032 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQWxleGFuZGVyIFN2ZXJkbGluIDxhbGV4YW5kZXIuc3ZlcmRsaW5Abm9raWEuY29tPg0K DQpUaGlzIGlzIGEgcHJlcGFyYXRpb24gZm9yIENMT0NLX01PTk9UT05JQ19SQVcgdkRTTyBpbXBs ZW1lbnRhdGlvbi4NCkNvaW5jaWRlbnRhbGx5IGl0IGhhZCBhIHNsaWdodCBwZXJmb3JtYW5jZSBp bXByb3ZlbWVudCBhcyB3ZWxsOg0KDQotLS0tIFRlc3QgY29kZSAtLS0tDQogI2luY2x1ZGUgPGVy cm5vLmg+DQogI2luY2x1ZGUgPHN0ZGlvLmg+DQogI2luY2x1ZGUgPHN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