Received: by 10.213.65.16 with SMTP id m16csp247641imf; Mon, 12 Mar 2018 02:18:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELtd7zmpYcTPbl5hlw9odmKBbx1ckYXDAwNgPu2vTe4RMmw94NqYj9Oww3LsOBdT4rbL+97j X-Received: by 10.99.189.82 with SMTP id d18mr6036865pgp.172.1520846311512; Mon, 12 Mar 2018 02:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520846311; cv=none; d=google.com; s=arc-20160816; b=BGA26tQip91ZT06AtCSs44knD0H6wEK8Q7rtFRvkErKny+6qM/2TIDx0ig2btJHwJN DK9Btx6izpG3fSDE6KK7u5hoQHaXDDEqCDMegkPzzIX+GygBPfMnyJZH/q8kU8SAJPnT gIdq7JTEogH4wBAHIZxy7HkqSwTMgu2UfvLBVnDxHSZHFUHowrMA6uBiW3V8xTWiuvYc +9U+PkW9reHxX4Ew3m/mnip4ouzu4t5gNyvS/ktPzcJc3Yl7DwKPDcpOanwetHSO7qIP aFTF3DwrRceoNgIH8WhhJu7RwXzAwEuohrxKXitdvV2kAKxhO9iyXty5Hu5lJ2omJEWR L0CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=lSPsUn0Mlnt22i9oWy8SJNUubtC3o+2UgBm+Y/kiBAw=; b=uUouqzoC6rbvFdgZC15QMD5U3cagod4gYKe/w7XFdEG9xBQmG3evfOTgZfq5UUC4Dh UqETigCdtXqmT83v6lRoHuTfwLzSQGfN+61asj4RKS5hupRXGX5cchWbNsdHoOYPs9gP mbQmAgu+q4Bvonh9j/PZQ2WmblNTZGwJbn1/rn24u4DhoM/x+8xgZv/cFWt8MtvNizDp tpOct1z8kT/i/JU4+RzVLpsRw+AFUn12+iK7/1I6YYP9GIUWvD18giNEW5iuKSEa34sX 3cX0PoEstFMjok9Ax3FBjXmA2FWAvjKSv+jUI0oSsC4GxgMVYQiIaMZlw+EJsuSqnbOe 6FtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UPqJOgky; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q11si5446553pfi.35.2018.03.12.02.18.15; Mon, 12 Mar 2018 02:18:31 -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=@gmail.com header.s=20161025 header.b=UPqJOgky; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751618AbeCLJRO (ORCPT + 99 others); Mon, 12 Mar 2018 05:17:14 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:38271 "EHLO mail-oi0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750811AbeCLJRN (ORCPT ); Mon, 12 Mar 2018 05:17:13 -0400 Received: by mail-oi0-f53.google.com with SMTP id h23so11714046oib.5 for ; Mon, 12 Mar 2018 02:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=lSPsUn0Mlnt22i9oWy8SJNUubtC3o+2UgBm+Y/kiBAw=; b=UPqJOgky0vuEUK2NbLOre6mE1vaJBLI6whclZ8UdVGOaXR76BsRDwGtuIacmiXug47 5KZJWZrk9huGICzeSythO5CxM+phiIq5wHR7CqrqZKz8t/ijowkzO/5oEmb/aPNizTEg Z3aFt/IKW0nGw3WZ9T68nmdjH178EKOk1xoTFsoUchCiITjIHhsrGjK6WnrHOpSlv5Fr Y7axYPEIS9VtdHW6yzME0evt1ZfLoMumks3K2fyMwr0pzCkrfQBPPwiydfwNSwopl6UL WILpP3yBRzBNaBteNVR3VrSkiSaYKChkf5Dfshfq48EWeyLRcesyRhG2fCSEdQ/68/pX bC4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=lSPsUn0Mlnt22i9oWy8SJNUubtC3o+2UgBm+Y/kiBAw=; b=TpQCe5QMMrNyJgs6a/QkvIUkuZ/xVt5NIbtfX9CSc8uG84ZEztrnIxk+bFj3pD1yid KxaDDkZ943HTl6C1FDA6tzeM0Xjze1aPuF5uVg9/5Q/FMmLIEEGlA3x8HPjIpzNCNLNL gHYuUdbCF+e0KjQCAL+xIJR6nvEGU7ILExgiD3sMGmPlVp5TsTdVdCjLOhRqf1gAca4D nBmwcyGW1KicReg4mRGaZZQ9/uWEL8CuElHnT49FkcxPIjUEYR7WtdItDZt7Bz4zvey0 XAngTIN5GyTt+5arqTeTgeyH6ysDEW+AdQXcGDKgsFb/mRMk1gHhjgc3V0vpSLiKlPQj XI6g== X-Gm-Message-State: AElRT7Gfw+lGBNjm7lTrwCy1ND82FN+aWcMiS7uJndthejiMfSR2ehDj rul7czRU7/O0Wj/jHSmVKWlysG+tJOnzG2tT1ks= X-Received: by 10.202.75.4 with SMTP id y4mr4234906oia.17.1520846232972; Mon, 12 Mar 2018 02:17:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.82.85 with HTTP; Mon, 12 Mar 2018 02:17:10 -0700 (PDT) In-Reply-To: References: <20180312072413.toyd5ztkgaah35xg@gmail.com> From: Jason Vas Dias Date: Mon, 12 Mar 2018 09:17:10 +0000 Message-ID: Subject: Re: [PATCH v4.16-rc4 1/2] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW To: x86@kernel.org, LKML , Thomas Gleixner , andi , Peter Zijlstra Content-Type: multipart/mixed; boundary="001a113de11a79943a0567339b87" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --001a113de11a79943a0567339b87 Content-Type: text/plain; charset="UTF-8" The split patches with no checkpatch.pl failures are attached and were just sent in separate emails to the mailing list . Sorry it took a few tries to get right . This will be my last send today - I'm off to use it at work. Thanks & all the best, Jason --001a113de11a79943a0567339b87 Content-Type: application/octet-stream; name="vdso_vclock_gettime_CLOCK_MONOTONIC_RAW-4.16-rc5#1.patch" Content-Disposition: attachment; filename="vdso_vclock_gettime_CLOCK_MONOTONIC_RAW-4.16-rc5#1.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: file1 ZGlmZiAtdXAgbGludXgtNC4xNi1yYzUuMS9hcmNoL3g4Ni9lbnRyeS92ZHNvL3ZjbG9ja19nZXR0 aW1lLmMuNC4xNi1yYzUgbGludXgtNC4xNi1yYzUuMS9hcmNoL3g4Ni9lbnRyeS92ZHNvL3ZjbG9j a19nZXR0aW1lLmMKLS0tIGxpbnV4LTQuMTYtcmM1LjEvYXJjaC94ODYvZW50cnkvdmRzby92Y2xv Y2tfZ2V0dGltZS5jLjQuMTYtcmM1CTIwMTgtMDMtMTIgMDA6MjU6MDkuMDAwMDAwMDAwICswMDAw CisrKyBsaW51eC00LjE2LXJjNS4xL2FyY2gveDg2L2VudHJ5L3Zkc28vdmNsb2NrX2dldHRpbWUu YwkyMDE4LTAzLTEyIDA4OjEyOjE3LjExMDEyMDQzMyArMDAwMApAQCAtMTgyLDYgKzE4MiwxOCBA QCBub3RyYWNlIHN0YXRpYyB1NjQgdnJlYWRfdHNjKHZvaWQpCiAJcmV0dXJuIGxhc3Q7CiB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19jeWNsZV9sYXN0OworCXU2NAlyYXdfbWFzazsKKwl1MzIJcmF3X211bHQ7CisJdTMy CXJhd19zaGlmdDsKIAogCS8qIG9wZW4gY29kZWQgJ3N0cnVjdCB0aW1lc3BlYycgKi8KIAl1NjQJ CXdhbGxfdGltZV9zbnNlYzsKQEAgLTMyLDYgKzM2LDggQEAgc3RydWN0IHZzeXNjYWxsX2d0b2Rf ZGF0YSB7CiAJZ3RvZF9sb25nX3QJd2FsbF90aW1lX2NvYXJzZV9uc2VjOwogCWd0b2RfbG9uZ190 CW1vbm90b25pY190aW1lX2NvYXJzZV9zZWM7CiAJZ3RvZF9sb25nX3QJbW9ub3RvbmljX3RpbWVf Y29hcnNlX25zZWM7CisJZ3RvZF9sb25nX3QJbW9ub3RvbmljX3RpbWVfcmF3X3NlYzsKKwlndG9k X2xvbmdfdAltb25vdG9uaWNfdGltZV9yYXdfbnNlYzsKIAogCWludAkJdHpfbWludXRlc3dlc3Q7 CiAJaW50CQl0el9kc3R0aW1lOwo= --001a113de11a79943a0567339b87 Content-Type: application/octet-stream; name="vdso_vclock_gettime_CLOCK_MONOTONIC_RAW-4.16-rc5#2.patch" Content-Disposition: attachment; filename="vdso_vclock_gettime_CLOCK_MONOTONIC_RAW-4.16-rc5#2.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: file2 ZGlmZiAtdXAgbGludXgtNC4xNi1yYzUvYXJjaC94ODYvZW50cnkvdmRzby92Y2xvY2tfZ2V0dGlt ZS5jLjQuMTYtcmM1LXAxIGxpbnV4LTQuMTYtcmM1L2FyY2gveDg2L2VudHJ5L3Zkc28vdmNsb2Nr X2dldHRpbWUuYwotLS0gbGludXgtNC4xNi1yYzUvYXJjaC94ODYvZW50cnkvdmRzby92Y2xvY2tf Z2V0dGltZS5jLjQuMTYtcmM1LXAxCTIwMTgtMDMtMTIgMDg6MTI6MTcuMTEwMTIwNDMzICswMDAw CisrKyBsaW51eC00LjE2LXJjNS9hcmNoL3g4Ni9lbnRyeS92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