From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9532BC3815B for ; Mon, 20 Apr 2020 10:25:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6BD5120A8B for ; Mon, 20 Apr 2020 10:25:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="LE/ela+F" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726055AbgDTKZw (ORCPT ); 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)