Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp625382imm; Fri, 3 Aug 2018 08:52:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdJ5nvUj5CEgT6T5CrLrdbNFZZWFv6POo431j61GBeCa+BHuiicIgqIoc5HPFgO7lwGzvdI X-Received: by 2002:a63:e355:: with SMTP id o21-v6mr4408666pgj.251.1533311566099; Fri, 03 Aug 2018 08:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533311566; cv=none; d=google.com; s=arc-20160816; b=KvjYY/0LhxtzDMeDg2WfUrbv1lTmN8rncr/lwyRtDseasHtamzLhYxzMETHMxGZWDX pDrFKD9+hFW1sim2l3b6VBTd1b9AK5y+YiBbRmHsDfl/JFAapkcnh256+GOSuA1Wx8FC c+/SJLjdAU4MNAlHoX4xyouMM+3uDkr4zJ1Fg8Giv8qZaK8WRAcTyURr22pnApIZr2T1 vGj16WsZ6arVii89zwLwSe5El2hXV1Giokidzkp+Lyp4CER41aOzf0xMnRS7Z3pOgsp5 VhmiF/U8jdKecUQqszYw3OOhhvzIsvrObc96mf4+l7tk6TTkV7oj0KVfNQNvaVNox31u g4BQ== 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:dkim-signature:arc-authentication-results; bh=zIT2p2+d9OFDxCvEpm23B3eicecu9yq6ED8hD7wibLk=; b=YHlWOWBNAwMwHUBHc7P8IWhm09nbbXthecrb5GCqLJhDnBjKH4vMcGkP+rGVhKPfYb 1bHC/aDhfnRi+9mBC8srWuEtuxpa46WKTYhNd8ZmmZqkBWxuWXUVORz2WT+Bb5Gjf0Rl o8EDDfFM22JGV2VuymWSV6Y5kGQ6anZSY6CHGUGxzYjbib7x4OKUzm0P2lBlvrqA1K6W 6utRQpO/R3jaEFZHo3PKDasQhPBUjOtunTn+iJBly0AXR8pbJCvqp7lDf+mKy1Kf6if7 RsHcS72ZleCnvsWef8mo7NlUXRj/bf73az8egCzx7fxFppSoj+t9we7POnyG31bpHKc4 Hc+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=rzHQ6qxh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p21-v6si3970554plo.182.2018.08.03.08.52.31; Fri, 03 Aug 2018 08:52:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=rzHQ6qxh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728282AbeHCRse (ORCPT + 99 others); Fri, 3 Aug 2018 13:48:34 -0400 Received: from merlin.infradead.org ([205.233.59.134]:43530 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727339AbeHCRse (ORCPT ); Fri, 3 Aug 2018 13:48:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zIT2p2+d9OFDxCvEpm23B3eicecu9yq6ED8hD7wibLk=; b=rzHQ6qxhdk+I5oHXlUt+gnZZ4 wrbJlbA9A0D1b1s1KeXoH8GUmsmcPQoOKPvMh4m5pxd63xjv54iAHAR1vHbshH0BNtRASR3mevFz0 1rCJ+BgTU7Q8zKJnUKduAHFmraebOdLAe+wa8Qn7iS7wTGNjQzaPm2B/BeMaWmc/8buCtAsDOH/CJ MLRkKH8bjAN3oKjCJdhNcD1FlHgrLVcFL9cXRjJ5dc3iSWa7mr8eho9U9Wio2XCBxUymMBNA/Qw3r l3h1BnsWjxGd+DBOkYrA6zT273yxCZJx0tReUTkPQvricNRS/3XbJI3J9Y0ZjKDQyy97rk11yMMhx oI17ttwMw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1flcMX-00072T-T2; Fri, 03 Aug 2018 15:51:34 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 9428520267E51; Fri, 3 Aug 2018 17:51:31 +0200 (CEST) Date: Fri, 3 Aug 2018 17:51:31 +0200 From: Peter Zijlstra To: Reinette Chatre Cc: Thomas Gleixner , fenghua.yu@intel.com, Tony Luck , vikas.shivappa@linux.intel.com, gavin.hindman@intel.com, jithu.joseph@intel.com, dave.hansen@intel.com, mingo@redhat.com, "H. Peter Anvin" , x86@kernel.org, LKML Subject: Re: [RFC PATCH 0/7] x86/intel_rdt: Restoration of Cache Pseudo-Locked regions Message-ID: <20180803155131.GZ2476@hirez.programming.kicks-ass.net> References: <05a621ec-adce-42b1-ea99-3bd8bac00e16@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05a621ec-adce-42b1-ea99-3bd8bac00e16@intel.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 03, 2018 at 08:40:25AM -0700, Reinette Chatre wrote: > > Can we just get rid of WBINVD? > > While directed at me I am not able to answer this. native_wbinvd() is > used in a few areas that appear important to me. Some, like the crusty AGP gart or boot time mem_encrypt usage is fine, the former nobody cares about, the latter is not interresting because boot-time. But others like the drm_cache usage is utter nonense and should really be replaced like we already do in cpa_flush_array() for PREEMPT, and this should really be made unconditional.