Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3047922pxj; Mon, 10 May 2021 17:23:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdLFNqvPwYJ8xsHCxZwAi5t0bFt63duvuUu20p4oBHA6+DPc5Hxk8xzHgYtacritNr6yZf X-Received: by 2002:a05:6e02:10cf:: with SMTP id s15mr24470864ilj.302.1620692607007; Mon, 10 May 2021 17:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620692607; cv=none; d=google.com; s=arc-20160816; b=QwvZEuHWC5BR7NxMcSJT5juIldNyMLKdVhNQ01YaZM3g+D23L+Smivyaz/pj7k+3z9 2FL2ye/Cw6dBMCIqfl7WBSnNTmwkcCh/EYe9FbGJxNlmaaSgy88c4vonZwfgpVtm3c43 AEFK/RG7g39UdwWju/G+IjmZ2m2/DDG1hN8bJAxcpZMcTECRS448pyQMZ82JTmFcWYen ge3SZmNXBKA6Piu/CSHEf1Lj3D2IM7oYAVDoDg4g4ct5m3h6ixVuCmZx45UUBcUUYVCz 8NZw1NeC+Ys+WHSQXyLfdC7hUc3qnOlmcGQsmB/7eoErdsn76jvOvFX2gxCroZZYwEcn mZaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=AmqQHamBWKF2KK1CSpJZAYhmnOwKSYe9EM0AwwcGsyc=; b=VS/lTxXs4uPl0rQO3oixbnEXqJha5Qf2KvlXwx0Gn3VJxQ6aMPlDkeUoNwrKxuC33T RWmoqlVaie245nnY767z+tBm9Wr29ztmvZk4G9PZAfgOmQJuUWn46QKXwhkab7t0beXm i9xHGEf+wAW3lX9oNQ0KD1AAhbLK245NTj0wKnlyKTK7XDPb5IgyYcKPQdj5xviOLP3V t7dbQmi9EeLsVubnfCS0nbokLWhupwmW7ld3RHJdVOj22wQAvpD98AmTWn8qt3AiyG5w YyiqofSb9LZl1XUHU5+K79qqc0bRMtFuimyBmTNlaMADGzANYKdmQPTziVX3jrFRqZGU 9cmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=rN2e1ATH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r5si18880086ilc.82.2021.05.10.17.23.13; Mon, 10 May 2021 17:23:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=rN2e1ATH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230011AbhEKAWe (ORCPT + 99 others); Mon, 10 May 2021 20:22:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229642AbhEKAWd (ORCPT ); Mon, 10 May 2021 20:22:33 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E0EEC061574 for ; Mon, 10 May 2021 17:21:28 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id n25so20782369edr.5 for ; Mon, 10 May 2021 17:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AmqQHamBWKF2KK1CSpJZAYhmnOwKSYe9EM0AwwcGsyc=; b=rN2e1ATHqRN75z5KQ+yHv/lMXSNSgx9nBUQuRsS8KrRtB4hZvYgr1KctWg9kzwkxJ6 XMi6NUtDBSCgxCvElvZ8bJ/EJgDE6MZnalHOCZz3H/QvBR87SMiKA3gQ2bjEuK7Kb5kd 7Vslgwzq6u/pFxFtfZKGxHWvwPzc5pAXpuqbgCQ4ZDhjrK0qLZDvIdXbb6LaDcwka8sl DUSvpQQYFaGrhzNX2rsrhZyI189Mk5VpL7gFse2gkC2+IfKihWlovslP/dWlJwAGaR+j bQ1RedCTvDeNB0oTQgwzQWlpiwLwrQYjZUHmiQQ5pxx9733C2gJxjvhAsGKTbOeu7qAq GeMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AmqQHamBWKF2KK1CSpJZAYhmnOwKSYe9EM0AwwcGsyc=; b=hRYhakoyjbGGNZgLscTc7H1etf7BxI2XdgMcaT0ZLRbL5vXSuvM9XKUuciVhL7ir+j WKoYZUDHsLMMlvaahdgNDLSxr2de6l9D9Z8eRWZrf8DZzmkHCQ9xon16HK37kuZtEmbX 9t0IxRmwdID9avrzH+8Q2f2E+e8hEapo60DBBrxuqy8gE57FhKbRxvRzwazSLvR40JTB 9yYwQ3WttwopFli0gJRjpLvueuzTEGhVWdBR2brxKXy2ie8YoMAW0fLiiSaGJ3RhT1JM 4SDSk34g/wJwrorGuJjk69utKEnrHmA81dN5OK8SaSkZ3DmLjYKMYJRw/IrvpLdpxsmA a7ag== X-Gm-Message-State: AOAM533Rnlr6agJgnTx+rWmGW5g/xyxgLLhwNe0yUIVnCjgQPWJ2eaJB ZKMQ5CqMTMK7fy1LxOlv6IDH9/x2zKD/sOZZDpwtYQ== X-Received: by 2002:a05:6402:54e:: with SMTP id i14mr33637872edx.210.1620692486832; Mon, 10 May 2021 17:21:26 -0700 (PDT) MIME-Version: 1.0 References: <0e7e94d1ee4bae49dfd0dd441dc4f2ab6df76668.1619458733.git.sathyanarayanan.kuppuswamy@linux.intel.com> <20210511000119.GV4032392@tassilo.jf.intel.com> In-Reply-To: <20210511000119.GV4032392@tassilo.jf.intel.com> From: Dan Williams Date: Mon, 10 May 2021 17:21:16 -0700 Message-ID: Subject: Re: [RFC v2 14/32] x86/tdx: Handle port I/O To: Andi Kleen Cc: Kuppuswamy Sathyanarayanan , Peter Zijlstra , Andy Lutomirski , Dave Hansen , Tony Luck , Kirill Shutemov , Kuppuswamy Sathyanarayanan , Raj Ashok , Sean Christopherson , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 10, 2021 at 5:01 PM Andi Kleen > I.e. shouldn't port-io instruction escapes > > that would cause #VE be precluded at build-time? > > You mean in objtool? That would seem like overkill for a more theoretical > problem. Oh, sorry, no, I was not implying objtool overkill, just that the mainline kernel should not be surprised by spurious instruction usage.