From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755394AbdKAVHC (ORCPT ); Wed, 1 Nov 2017 17:07:02 -0400 Received: from mga07.intel.com ([134.134.136.100]:15861 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755305AbdKAVHA (ORCPT ); Wed, 1 Nov 2017 17:07:00 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,330,1505804400"; d="scan'208";a="144815714" Subject: Re: [PATCH 21/23] x86, pcid, kaiser: allow flushing for future ASID switches To: Andy Lutomirski References: <20171031223146.6B47C861@viggo.jf.intel.com> <20171031223224.B9F5D5CA@viggo.jf.intel.com> <38b34f81-3adb-98c5-c482-0d53b9155d3b@linux.intel.com> <5bc39561-b65e-82fd-3218-d91a4d22613a@linux.intel.com> Cc: "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , moritz.lipp@iaik.tugraz.at, Daniel Gruss , michael.schwarz@iaik.tugraz.at, Linus Torvalds , Kees Cook , Hugh Dickins , X86 ML From: Dave Hansen Message-ID: <233ff2e6-92a8-d0e6-d456-7e71991f6aef@linux.intel.com> Date: Wed, 1 Nov 2017 14:06:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/01/2017 02:04 PM, Andy Lutomirski wrote: > Aha! That wasn't at all clear to me from the changelog. Can I make a > totally different suggestion? Add a new function > __flush_tlb_one_kernel() and use it for kernel addresses. I'll look into this.