Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3470285ybz; Mon, 20 Apr 2020 03:27:12 -0700 (PDT) X-Google-Smtp-Source: APiQypI91pN6CTUlx2dewtclGAJuPurMRRnsdKR6x/8eoexaj32zU3mpwRcFiY5JFfXWYRn3au9B X-Received: by 2002:a17:906:6856:: with SMTP id a22mr11222850ejs.115.1587378432444; Mon, 20 Apr 2020 03:27:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587378432; cv=none; d=google.com; s=arc-20160816; b=ik8iY3JYF4M2pmQnc2awouoF7Mi1X2i+J36+B00VKNfuTrpNVZzozHtq51TfJ95KLJ UZom5frSKCgg/ZdxuuJFhcCUPeSNOdBl05irJFybTIctxbfzQ1L0fFzBkycrJjo/aCur AVfQTtI0N6BHADDL/LpyM/GTa9RrPv2DFnCN7pyZoaYERDez6EfAmn3HqG7UQ07Lyzuf kFHSSUa6pmyrcm0LTTXSfDvlqN5ANFxzgOVMUZ2NdR5S7aJAhKhG89j6Pu6cOwLgDM9e L7k6oJyKI0YoILbDI7P1GhqOsj+jEBHgP8ZciaixKKwQ9i2ctdvJdQH/712PjIMiUUk6 6X+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=JpkWKCLdUo/1wRG/R5CCW8O5RQZJeGF0mmdsvEx6E0k=; b=WHSF19g+STeCI4eoLuy5WGVRnW8Jz64T7fq7+934ckeHQANbwA0k7c1J2AEMEWy927 zElK/uK8z+IyRGtyC4yy6bUmNajO+WHzQSZJ2tM2oUACXX6ADvM57qItpMJ71MTli/HG Yg2adV2LW5c8S7rU4qbY1S5zF5SBC07dOG4tBoixwZO7BTuaroKSHvU3L/0BkPWW4OeI UVVOK2VK8Hki6cLairsKYiDbKDwbnxnA1Q4Vq1j2236satfGaMMH6s4hBEQMn5p5AJZr 5gAdrOA5ZzI5Nvz9M5y2bKL6z7ZpbRqXo/WcKV6h4VoZkOpFDplPdFz6MQkHW+RyXD68 3xXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="LE/ela+F"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i35si287381edc.308.2020.04.20.03.26.49; Mon, 20 Apr 2020 03:27:12 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="LE/ela+F"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726020AbgDTKZw (ORCPT + 99 others); Mon, 20 Apr 2020 06:25:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725773AbgDTKZw (ORCPT ); Mon, 20 Apr 2020 06:25:52 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF64AC061A0C for ; Mon, 20 Apr 2020 03:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=JpkWKCLdUo/1wRG/R5CCW8O5RQZJeGF0mmdsvEx6E0k=; b=LE/ela+FhpjJCc2gpLHTwODAf6 6hDWzzjFmtaU2Vqv4nFUl/RURvFZlko7gdQWjYeDPKurAAQR6cZFw6kjSXEyM0anhRq2Ks/C7wALT IOLPyFZBAPf79sDftoOavDJ3nIXuQj5jjTdva/+lcssXuJVGDuz2YTP6AX7rrttbSQ0MuivYKPS2E obXLl+YgF6ef2xBYwOK2Cu8TjAGCO0/ug2XsSbOv9hGn6wEMinXzZmrrIuT6Hcjx8XOeor5r4uTYQ QW27Z5EHMvofdVLudaMIU4EgZMhu1t9J9uVukIPR+3+THsYnyskyGjvLXqU0nwfJW1lODBZ08smmj H6co1nzQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQTcP-000602-W9; Mon, 20 Apr 2020 10:25:38 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 658713012D8; Mon, 20 Apr 2020 12:25:35 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 215BC2B4E73E6; Mon, 20 Apr 2020 12:25:35 +0200 (CEST) Date: Mon, 20 Apr 2020 12:25:35 +0200 From: Peter Zijlstra To: Thomas Gleixner Cc: 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: <20200420102535.GB20696@hirez.programming.kicks-ass.net> References: <20200419203137.214111265@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200419203137.214111265@linutronix.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 19, 2020 at 10:31:37PM +0200, Thomas Gleixner wrote: > The per-CPU tlbstate contains sensitive information which should be really > only accessible in core code. It is exported to modules because some inline > functions which are required by KVM need access to it. > > The following series creates regular exported functions for the few things > which are needed by KVM and hides the struct definition and some low level > helpers from modules. > > The series is also available from git: > > git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel x86/tlb > Acked-by: Peter Zijlstra (Intel)