Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4481253ybz; Tue, 21 Apr 2020 01:10:28 -0700 (PDT) X-Google-Smtp-Source: APiQypLwsthYmDrBUz+G4QwEwU2FML4HeTPfywRWP5zqasYpwe66S9R5g13D1XugdWEm2TAVGhQL X-Received: by 2002:a05:6402:17f1:: with SMTP id t17mr6247486edy.239.1587456628551; Tue, 21 Apr 2020 01:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587456628; cv=none; d=google.com; s=arc-20160816; b=QVRvmWy3S13ceTXso1U4r4EXdcIfboq0xPrOSHb2rhazximCcF+s3eIRwT6daAi004 o68k76on4fx2K8QbH/omCMbuNoFEtd1ps7VgGwPsw6+yYW+85YxMKZBw3yTlBDvV6ZT0 t/NUgFDzN+RhipdM0dYFqOM/tgOVoWx//MJcve8Bz9kLTHr/ajg8nRmjuJNjwu/kgXLz 04BuOI3Xlxqmq7HOGtsx43jHGk/Plt8kHlkXM/Y7G4WRqAtjunAFoUlGLRnrVWoGzgcm s43uGVcozXzOsPDzLJopYQKEWzdi4pSz9cYbBlrQva4wzYIEjTbNVlGgKb2frJ/5taiF Nayg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=J0Xba1Rd7RrTOUiaSF3ZQ7yasLTYrT4tyPXZCvcghlU=; b=YD64jwkbThG/UWcLLKVwueyD38pPRCJ7k3TqnrF1868a+LIWxa5+tJc3BKQH5p5wuK ib0RGNkQsL4Zxp0sh+UGyFX5Ez/yez47y7WeDx88vbi1QSMvXYx3pCKcmJIw+dpVrqnp nAbBZaY6CD8Q9wz6cnUQD7oPjxaAX2YyqXMOsWcEm/NNEbcZ6OyEL22uJ4D1bskcnRnT fdbr7PIPKa/z+47cbxbRf9/0LWr2MYq8bJVLYkXRvvkttsxJkvXnawvgjkw/yYXU+evy yFH6yWHvaLt8qqXq+vdxW1BA8pi0Jkb2+PaMnzqJbKsmDg6d3bGeiHK4tZXp6B8VTqkr RAYA== ARC-Authentication-Results: i=1; mx.google.com; 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 co4si1149160edb.83.2020.04.21.01.10.05; Tue, 21 Apr 2020 01:10:28 -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; 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 S1727801AbgDUIJH (ORCPT + 99 others); Tue, 21 Apr 2020 04:09:07 -0400 Received: from mga05.intel.com ([192.55.52.43]:14077 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726052AbgDUIJG (ORCPT ); Tue, 21 Apr 2020 04:09:06 -0400 IronPort-SDR: MlP1MZixv4WdHj4EWLcwozdvC+cyKGBd3ovzECBIhb1T8fYUAk2k9KmjlZEMPnqbLryMaFMr9a GtwtDpq693iA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2020 01:09:06 -0700 IronPort-SDR: 6R6W7FYAkTDl4rIJxBPrUxAx9i56JC1zpCUeD+Fhj8dRcIXP3VOpOfcV0RebEMTIfJ9T3i7Cc2 MkZDBuHsaljQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,409,1580803200"; d="scan'208";a="456680852" Received: from sjchrist-coffee.jf.intel.com (HELO linux.intel.com) ([10.54.74.202]) by fmsmga006.fm.intel.com with ESMTP; 21 Apr 2020 01:09:05 -0700 Date: Tue, 21 Apr 2020 01:09:05 -0700 From: Sean Christopherson To: Thomas Gleixner Cc: Christoph Hellwig , LKML , x86@kernel.org, Kees Cook , Paolo Bonzini , Thomas Lendacky , Juergen Gross , Boris Ostrovsky Subject: Re: [patch 00/15] x86/tlb: Unexport per-CPU tlbstate Message-ID: <20200421080905.GF11134@linux.intel.com> References: <20200419203137.214111265@linutronix.de> <20200420092045.GC24518@infradead.org> <87sggyax05.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sggyax05.fsf@nanos.tec.linutronix.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 20, 2020 at 07:27:06PM +0200, Thomas Gleixner wrote: > Christoph Hellwig writes: > > Just looking over some exports at the end of the series (and thus > > ignoring bisection issues): > > > > - Is there any good reason to keep __flush_tlb_all inline vs moving it > > out of line and kill the flush_tlb_local and flush_tlb_global exports. > > Also there is just a single modular users in SVM, I wonder if there is > > any way to get rid of that one as well. > > I'll have a look again. Regarding the SVM case, the only usage is for a TLB errata. At a glance, svm_init_erratum_383() and is_erratum_383() don't use any KVM hooks, i.e. I don't see anything that would prevent moving those to .../kernel/cpu/amd.c.