Received: by 10.213.65.68 with SMTP id h4csp618385imn; Wed, 28 Mar 2018 09:34:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx485jzx2hwC+bHqD5qBCver9ZIlJwkTkowrDGvUv2JBGNtRcSfagoh7/QniIylvEABAMd3Jb X-Received: by 10.98.71.76 with SMTP id u73mr3592964pfa.4.1522254883629; Wed, 28 Mar 2018 09:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522254883; cv=none; d=google.com; s=arc-20160816; b=GdbcisTUcUdj+hg6LEisNN3n+OmjIl8D3Ab7mLlUYYkByNxmswNVwnx82sRfJPQ/0t Z0yMOYINQBDJ64544FapeFRwvPrcIXYK7BO5vG1Ev4jlb4yH0XRQfaAluUQdlwncNnTG /QhbglZ2mNUpQs2hLtIMydPbUA0r0f/cs3RvKdpDsfNPrquU+1xYitJ3XxLa/yIdXv5g Tq0jf/U93JDjXJzVFqy7UQtN2+skRl0c6n+kM+rsoHAqDmAlMfvK6A/5S/rsJpFr8jIG ijZsQ6cKIfRbBG/bKEqr3w5LPaZTLp0IJq+xOGOsMfs4MU71zIDnwprWS/L0em5AceSt 2ydA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=j7ZPmd5S5YYR7dgoJcJuEeP7fqi8Ey22lGy852p34Q0=; b=V6unzxnVBXmF/Sdp1/0YjtQpMzxfFiwklbnG+Gh9qGgClq9cFUOndpBEnAn1TfRcjl AfDhsuWrwTJ8QvL4eqW19eBG7POlXxrDYDNPfZnNspJIohdijnz0Qc7/pUpX0XP8XOcx 50l9A28n7ut8mc9xElgyH7bGJo7RCtj3WRz+VSLpbucH5Wl1epZi0ol8vgUz7TEs+d/z UUbxUq62zq6SaRbTW60gBIiIaal8+VMmg+kdjudSVApSeepyYedVE5GOlmvwY+dwo86x es5JnVUSAEgBEQJD4p5BkVBfsH5x7hTqUx918xT2LFAAdTSpaX5xrFLro+GYxSajvA4a dm0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ThpNjo5T; 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 l85si898518pfb.231.2018.03.28.09.34.29; Wed, 28 Mar 2018 09:34:43 -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=ThpNjo5T; 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 S1753261AbeC1QdH (ORCPT + 99 others); Wed, 28 Mar 2018 12:33:07 -0400 Received: from mail-pl0-f51.google.com ([209.85.160.51]:43339 "EHLO mail-pl0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753072AbeC1QdG (ORCPT ); Wed, 28 Mar 2018 12:33:06 -0400 Received: by mail-pl0-f51.google.com with SMTP id f3-v6so1115897plr.10 for ; Wed, 28 Mar 2018 09:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=j7ZPmd5S5YYR7dgoJcJuEeP7fqi8Ey22lGy852p34Q0=; b=ThpNjo5TxVk+C/C0/LOucX8buc4BqQrhcik4SfJ/Ocp1Lj8G6JjWYg9Ir+26SQQ5ey z7rLl2yXTvxZT3CJqyrNu1rBlVj6h7ysDhwRqD1W52NOdn28mSj07wtPI4+qp1yg2BD2 lEffXgDQs0bMlK0krVVzWoPLn4sI5ZLhN2CeGO4Nu41Qk5F2TjnHM4gfdcnzthaPN9Ry QKcrM5qJdlgWN4MxXAhrIF/d/LorVsExd3foqUPGKgiKJK7NOmbT5xVsxTB7tVRD/CIP jtLqvFBXm0nUgva+hOa7H/GETjXQbNGLZn0MRRo0oIXEUX1Wmj9T+KCedQsUPpyX8LhS gD2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=j7ZPmd5S5YYR7dgoJcJuEeP7fqi8Ey22lGy852p34Q0=; b=tNTEDrZk1tINSO6FllhyYXtBhugagCUnMZ18uvtBn9DE5FfnEONcrz1gkIdTjKY/vg yA1mdt+hMmxQjjscwV0E38QhnNSY95oCE+26BL7W1/hegVm0MvhxPVTUN0qcxYdFTcWk CIqeOTvcvVxALj2/tXQf0EkzRST4d7qaAPKtiIVoPV6HCqg5t2JLeT4fwPP5CI3ibxGs 4lvLb6bi8wclrAzb5tyeBiUAvJTr/QwGhdPUo4ZwHKPvQhPTGoiGaCeBaUUBRYzyiPgE DeXw49556cOIcS01SDlIaMT2uV7LEsOUXhy/R6+EXuTXMSwGiffhBguq33yJtdQiKJGR +q+A== X-Gm-Message-State: AElRT7F+QyplUkOYmGWRaJzvQfuAnjkqDx9MpVE9VekLspj5xJF9FzRG Mf12v2Pg0liRI891cMuesUI= X-Received: by 2002:a17:902:9349:: with SMTP id g9-v6mr4418078plp.243.1522254786379; Wed, 28 Mar 2018 09:33:06 -0700 (PDT) Received: from ?IPv6:2620:15c:2c1:200:55c7:81e6:c7d8:94b? ([2620:15c:2c1:200:55c7:81e6:c7d8:94b]) by smtp.gmail.com with ESMTPSA id a4sm10603306pfj.107.2018.03.28.09.33.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Mar 2018 09:33:04 -0700 (PDT) Subject: Re: [PATCH] x86, msr: fix rdmsrl_safe_on_cpu() To: Borislav Petkov , Eric Dumazet Cc: x86 , lkml , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar References: <20180328032233.153055-1-edumazet@google.com> <20180328100844.GA20533@pd.tnic> From: Eric Dumazet Message-ID: Date: Wed, 28 Mar 2018 09:33:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180328100844.GA20533@pd.tnic> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/28/2018 03:08 AM, Borislav Petkov wrote: > I guess now that the rdmsr* side does this, you probably should convert > the wrmsr* side as well. Yes indeed, thanks for the reminder.