Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5641376imm; Mon, 27 Aug 2018 01:22:40 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYelwJ3Zurj10Uh5AN+UzKYwCE02Jriv29VZihogXQj0i74paQ/Dm5fVKBJ6QExYo+mxeKw X-Received: by 2002:a63:77ce:: with SMTP id s197-v6mr11561372pgc.172.1535358160759; Mon, 27 Aug 2018 01:22:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535358160; cv=none; d=google.com; s=arc-20160816; b=DhvXRg5Ef445flgx1J1AbNuxczg8YF15iKVyDNlaQyhPTL6Di/pWNcPXJg2YbxjFta Mndz7/gihEqvVthynDwiV90wjHJtXBt7hmXtFiQzh9eQonTZHqbWbLK1+IzHdL/aTjlq N7pAXnP/MRaGQo3HI9oAmSWMxLzlSaOIgHvBn2jqFB4XkUfn1xeiq/kyhGJYgJBv2U0D 7jSMFTHmajwUTZv75cmljmW73R46qtYGFQneyt8qzR2+2xuWBHIfA/qpFhl1WccJy9H9 m/NeP+fZIU2fCPGMQV942Q2BUm+JFedXeznDBMJbN90f69JS7IBmd64FSHX5vy8aemU3 JI6Q== 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=08NhBsgssFggdaqXAqAU6I7UbTl+bbSlkb8y+DaTiKs=; b=d9sSnmOhqn0fmV5//vaKs+i6Jhy10TRdrVfaoRT9UZMDr5g6G4+HHAyQyZXoiGkFB6 ZhWBzNsrKRElphjPiwboEGCovvnlaOzQPqtGB3LIau5CKSBQogPzyLZCiWsx3qQ0mzTG /4tgSnuhtpuTtWoyeRzdx/gPGZKMNVUyrCnakvOjU6WlKblNA8K8qBdaBR0rAWBgmG5H S2WhrQkJ7x3MUlxa7aTEquVv6n9ikPi2ylM3aiXUZ1u2Knm1KZdFtvGMFmLThOy/ToY2 YZwOqFygc6v8yQzuhgDC6zk9orIgxBkpUlOZdjpcPquAzQqEvEsnBF17B0IJYZ0liPXt MdOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=s35vu3DG; 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 s6-v6si13927717pgg.41.2018.08.27.01.22.23; Mon, 27 Aug 2018 01:22:40 -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=bombadil.20170209 header.b=s35vu3DG; 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 S1726895AbeH0MGo (ORCPT + 99 others); Mon, 27 Aug 2018 08:06:44 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58862 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726785AbeH0MGo (ORCPT ); Mon, 27 Aug 2018 08:06:44 -0400 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: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=08NhBsgssFggdaqXAqAU6I7UbTl+bbSlkb8y+DaTiKs=; b=s35vu3DGy7/U6OMwVZSY0VMqQ UJbL/XoJGDU/QdpFHb3RJ80UNnPyjQFSIjQ6KNKMa5Q9X9B/Bn5PX1GFmEaNmwBDKzRSlDtkhkVSW HVj3aNYFN/ovG1cpzYKef5JDMDz46tLbu5k6fSHdkdI7JUkGJTs10MwDTwHF8Cl4hf8Y4zz8m/iUS qzgt5NdsPBIOKvelPzo5biVEkkCuzbUHYIoXtHl6TyeIE6Ehj2IiYol28GlojT+Rt2famyByaReHm 3Z6qs+foYH/7XZK0wE8jhYg3d6M6ssRCbTYudhhpzZfZnVJRGFf9GXZ2CnSxZ9WM4XeCSeg528sle BCjIM3cwA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fuClS-0007R1-Ok; Mon, 27 Aug 2018 08:20:46 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 287E12029B105; Mon, 27 Aug 2018 10:20:45 +0200 (CEST) Date: Mon, 27 Aug 2018 10:20:45 +0200 From: Peter Zijlstra To: Benjamin Herrenschmidt Cc: Nicholas Piggin , Will Deacon , Linus Torvalds , Andrew Lutomirski , the arch/x86 maintainers , Borislav Petkov , Rik van Riel , Jann Horn , Adin Scannell , Dave Hansen , Linux Kernel Mailing List , linux-mm , David Miller , Martin Schwidefsky , Michael Ellerman Subject: Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE Message-ID: <20180827082045.GA24124@hirez.programming.kicks-ass.net> References: <776104d4c8e4fc680004d69e3a4c2594b638b6d1.camel@au1.ibm.com> <20180823133958.GA1496@brain-police> <20180824084717.GK24124@hirez.programming.kicks-ass.net> <20180824113214.GK24142@hirez.programming.kicks-ass.net> <20180824113953.GL24142@hirez.programming.kicks-ass.net> <20180827150008.13bce08f@roar.ozlabs.ibm.com> <20180827074701.GW24124@hirez.programming.kicks-ass.net> <20180827180458.4af9b2ac@roar.ozlabs.ibm.com> <4ef8a2aa44db971340b0bcc4f73d639455dd4282.camel@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ef8a2aa44db971340b0bcc4f73d639455dd4282.camel@kernel.crashing.org> 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 Mon, Aug 27, 2018 at 06:09:50PM +1000, Benjamin Herrenschmidt wrote: > Sadly our architecture requires a precise match between the page size > specified in the tlbie instruction and the entry in the TLB or it won't > be flushed. Argh.. OK I see. That is rather unfortunate and does seem to require something along the lines of tlb_remove_check_page_size_change().