Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1266156lqm; Thu, 2 May 2024 09:31:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbwv5Yy3aNBPiIA5NGdEcBJURRPrsC7j1fQ441w5xY1YddFrVgamYa6SBH8Z9tDiT0RN8hCU6Cx/augSGZ9fKLcaN5wZmeUdghpeJQwQ== X-Google-Smtp-Source: AGHT+IFW/4p1jvYgn3GvrUWXVAfuMP/JyV1btvDq8TIqJXVTSo31U2tVd57RuYnv9ZQtb5dUH3Vy X-Received: by 2002:a05:6359:4114:b0:183:5c5d:ced7 with SMTP id kh20-20020a056359411400b001835c5dced7mr3192204rwc.11.1714667481171; Thu, 02 May 2024 09:31:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714667481; cv=pass; d=google.com; s=arc-20160816; b=rgViPLxKM4aTxEscSGSmmFuab3gd2mYwebzU6JSHTDk7kWjH3+uIh1iJ2z7BUxZkmp 7rMGQvxO9JSDPZhqqiQ2pJg0RGEghr0n1rRXnWbelYGPCv9fCYEUoikTXCKI+bXNnz/1 y0fvXLWl/VfTsKgSXsjU37mUi3lRXVqMHop9HuDjgcD7/rJZZzsy3tCqM0hDUjKyIW4R F8x23ZMqYCLsDSM0Cu0wvK3CKtClFupzB9wJK0sx7y7+Iug4qK3gJIDlPEhGfbPTXF+t AjmivCtEoD1IKOgN1BDevdspXkCRbFqWg6+BLN7jSyF3qmpAsQptSINwOfk9BZFjgbca Y08w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=2SQoQi7JeUwE5gXSWzDNdMZbjikWJj8zunkdgMusgJE=; fh=A/e4g+A2ihkGECEyYAzRjJE81ZNLiBkieuw3gf8dSc4=; b=qaZ28khLRaNEcZBW9XjVbeHkMaIkE9PebCy4iBriUfZv4lw+aqZUdlac4c80OzIDZi txGsdgPl31Ygd+WgbUVijZPz84us7myBwuMcPx1OjcpWV8nGr9lTlmRTf5D6xzmB05/M 3RjfLykMNXHaRbM2Uig0xaZ68KqYCdWD7K/CDG4Uh1yn5nLmehAIHYQ41R52UeTIUWVh qPJNW7skJnPD9liy9YJn/orTS4TbdO8LD7asNnvBUU2DWZJzsTTT06gF4AjggkEbuSFP 9zRevAGESHL+ijUxeovFoYPMIIN8yC8ytCeyOoGgNYdjovbQMnbWSiMKGaANd/MEDqAG U/VA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-166729-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id jf10-20020a05610217ca00b0047d8945b1a4si274393vsb.428.2024.05.02.09.31.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 09:31:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166729-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-166729-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D722E1C210D1 for ; Thu, 2 May 2024 16:31:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E379216C68C; Thu, 2 May 2024 16:30:58 +0000 (UTC) Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D472015F302 for ; Thu, 2 May 2024 16:30:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.58.86.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714667458; cv=none; b=iYKazIrkFWn5vLUulqhR0X8LyoB9WVg2SVBGdscsZpTIKcj/T5+X8bZ4ry1qXCQWrzcBcZ9Hsr7inASNJ8cc4hUKxOvmKSu/dGps80Dj/UdoDLACW/7JeQqHCDVF8PV9ek7/pddByQj/Sd09UeB5ukppPqXr61mMzRuuELFAz7M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714667458; c=relaxed/simple; bh=2SQoQi7JeUwE5gXSWzDNdMZbjikWJj8zunkdgMusgJE=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: MIME-Version:Content-Type; b=sRfrdpokqAJOssmjsyq5MMxAnxhzDCAyPWmWtrLld5fmClK3YuE1P8vpAnOnkvGc5CYu7PB9MKEzpIhoWQXhmFLKQLLRewKa/70ABErlMRQSNW7K/bBjrgCNtwSO7D3wbqnezn7OaYalCJZ+KxuHhG7b5A4xl6rtmGk3BVmgdCE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM; spf=pass smtp.mailfrom=aculab.com; arc=none smtp.client-ip=185.58.86.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aculab.com Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-209-5UzM5jnQMu62QQGL5yAXng-1; Thu, 02 May 2024 17:30:49 +0100 X-MC-Unique: 5UzM5jnQMu62QQGL5yAXng-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 2 May 2024 17:30:18 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Thu, 2 May 2024 17:30:18 +0100 From: David Laight To: "'H. Peter Anvin'" , Jules Irenge , "mingo@redhat.com" CC: "tglx@linutronix.de" , "bp@alien8.de" , "x86@kernel.org" , "peterz@infradead.org" , "rdunlap@infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 1/3] x86/tsc: Use div64_ul instead of do_div() Thread-Topic: [PATCH 1/3] x86/tsc: Use div64_ul instead of do_div() Thread-Index: AQHamaA+T554jBHA0E2zu7rxgunKsbGEKAzg Date: Thu, 2 May 2024 16:30:18 +0000 Message-ID: <5f30cab9917d4d46b581b06e00b792e9@AcuMS.aculab.com> References: <7EE9AB38-3103-4091-A558-BF0DEAF61E1D@zytor.com> In-Reply-To: <7EE9AB38-3103-4091-A558-BF0DEAF61E1D@zytor.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 RnJvbTogSC4gUGV0ZXIgQW52aW4gDQo+IFNlbnQ6IDI4IEFwcmlsIDIwMjQgMjA6MTMNCj4gDQo+ IE9uIEFwcmlsIDI4LCAyMDI0IDEwOjMxOjE2IEFNIFBEVCwgSnVsZXMgSXJlbmdlIDxqYmkub2N0 YXZlQGdtYWlsLmNvbT4gd3JvdGU6DQo+ID5kb19kaXYoKSB0cnVuY2F0ZXMgYSB1NjQgZGl2aXNv ciB0byAzMiBiaXQuDQo+ID5UaGlzIGNhbiBsZWFkIHRvIG5vbi16ZXJvIGJlaW5nIHRydW5jYXRl ZCB0byB6ZXJvIGZvciBkaXZpc2lvbi4NCj4gPg0KPiA+Rml4IGNvY2NpbmVsbGUgd2FybmluZw0K PiA+V0FSTklORzogZG9fZGl2KCkgZG9lcyBhIDY0LWJ5LTMyIGRpdmlzaW9uLCBwbGVhc2UgY29u c2lkZXIgdXNpbmcgZGl2NjRfdWwgaW5zdGVhZA0KPiA+DQo+ID5TaWduZWQtb2ZmLWJ5OiBKdWxl cyBJcmVuZ2UgPGpiaS5vY3RhdmVAZ21haWwuY29tPg0KPiA+LS0tDQo+ID4gYXJjaC94ODYva2Vy bmVsL3RzYy5jIHwgMiArLQ0KPiA+IDEgZmlsZSBjaGFuZ2VkLCAxIGluc2VydGlvbigrKSwgMSBk ZWxldGlvbigtKQ0KPiA+DQo+ID5kaWZmIC0tZ2l0IGEvYXJjaC94ODYva2VybmVsL3RzYy5jIGIv YXJjaC94ODYva2VybmVsL3RzYy5jDQo+ID5pbmRleCA1YTY5YTQ5YWNjOTYuLjJkYTM3ZjMzZGQx NyAxMDA2NDQNCj4gPi0tLSBhL2FyY2gveDg2L2tlcm5lbC90c2MuYw0KPiA+KysrIGIvYXJjaC94 ODYva2VybmVsL3RzYy5jDQo+ID5A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