Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3802856ybz; Mon, 20 Apr 2020 09:42:54 -0700 (PDT) X-Google-Smtp-Source: APiQypKppVYdjZwJacR9JZO+2nEZ/MwUNpPQgNA0HRharV32z/c7HvkyOne/Pdrw88nn6qOyNCGz X-Received: by 2002:a17:906:b253:: with SMTP id ce19mr17919128ejb.341.1587400974821; Mon, 20 Apr 2020 09:42:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587400974; cv=none; d=google.com; s=arc-20160816; b=L9DP0k/va3Hua/dgpLbNSM4ozzGBS+hqJ+uH+ozL0Q4hM33L0xl19okd12J7OvdU67 w2efVp/nRCR5sD00CnBWWIbSxgejEJ+lDIiLLEFwhZf4xyHeVSdOWlDSv29oOkQF6MBJ daJLFOk0+iR6XuOluawJWwpaxKwpBmspKbYvc9BkC8eJW0mLYQ35+B6xAjulxwHJO19U auW6WqrRg8dS6SWE3h9yTxbKimw5SspkwV5kMyrosn/+A2SYua3i7XGlu9y8fmIGT0K+ pb+D2+CkS82e2DCSZfC8Lyiv8hNHxKeHixj5KOpyT3ZRUtyt6txESKKSxmyjBcFOR0nw kJlA== 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; bh=vaowHN1wYK+HPlBhnAmToCjB2mfzdaKTJsxFeKtQV/w=; b=se9hunIzGu7hxECUTYUN85hFWWtdTudY655RqDxGFFI3bCMZHWYnLhT35J2OnXhDm2 0dwXtv6kjOZILLMCA8CRkGPvFPdzMUZApIhnQ56L8OA6tkqkwdnhRlVdHIzV97BTfT65 xvOZK5l8nqY0JRB9IJ5622nEqs4tK45RcBJbkm5aOFnC8lnyy4V9/foD/uuXOE3zdqIQ iznHkGAvlOyaObguxP3PRG2O532nta3jMipjaqDZhz8Q8Gf8nUfJzwqgivFR5mmZEGVC hdOUUKRBqdlL1XLz6gH6MWOeeVrfsOnG9pZAHxw9cZCV7kWeFNZtpUwAjoSS6kri+EuV zJPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="0dASc/nX"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s4si849278ejq.495.2020.04.20.09.42.31; Mon, 20 Apr 2020 09:42:54 -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=@oracle.com header.s=corp-2020-01-29 header.b="0dASc/nX"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726025AbgDTQ3k (ORCPT + 99 others); Mon, 20 Apr 2020 12:29:40 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:42948 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725271AbgDTQ3j (ORCPT ); Mon, 20 Apr 2020 12:29:39 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03KGIRrK097179; Mon, 20 Apr 2020 16:29:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=vaowHN1wYK+HPlBhnAmToCjB2mfzdaKTJsxFeKtQV/w=; b=0dASc/nXEa8RpOpZQvXqmgXZXIEN6oc6b+2XX7OZFRB/ZBe6oSu84+c3XbxPG4jWlALT SIZG79KJDRBfyWMyLXx2V6IkiLBiLYpOfMgL0PKJxfNeNQA6fVxDgQMwwFSTJ7GIDVjI VGh/o+vBsQx4nInPwt0Xn67kwMH3GyknBMPHAwWmHhIa6yofIRIW16ttkRvOaKgRW/iA NzpUulDJvOdUOrclk19A80q31tNNzeOQL5KEalEG+SzVL0PEKAyw8NoiuW0zqWlj/zZc kpMsmwElf/uSRkd8ocql5imLV1G/NaUc9+JFYBDYAYuhhSsrTHPFRwNc0mZEsZ7NI2S6 pQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 30grpgcs6c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 Apr 2020 16:29:17 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03KGCOeU051492; Mon, 20 Apr 2020 16:29:17 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 30gbbb144c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 Apr 2020 16:29:16 +0000 Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 03KGTF0w017518; Mon, 20 Apr 2020 16:29:15 GMT Received: from linux-1.home (/92.157.36.49) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 20 Apr 2020 09:29:15 -0700 Subject: Re: [patch 00/15] x86/tlb: Unexport per-CPU tlbstate To: Thomas Gleixner , LKML Cc: x86@kernel.org, Kees Cook , Paolo Bonzini , Thomas Lendacky , Juergen Gross , Boris Ostrovsky References: <20200419203137.214111265@linutronix.de> From: Alexandre Chartre Message-ID: <860bf6a4-e0c9-92a8-065d-780f4a5794c1@oracle.com> Date: Mon, 20 Apr 2020 18:33:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200419203137.214111265@linutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9597 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 suspectscore=0 mlxlogscore=911 adultscore=0 mlxscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004200133 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9597 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=963 mlxscore=0 lowpriorityscore=0 adultscore=0 suspectscore=0 bulkscore=0 clxscore=1011 malwarescore=0 phishscore=0 spamscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004200133 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/19/20 10:31 PM, 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 > > Thanks, > > tglx > Reviewed-by: Alexandre Chartre For all patches. alex.