Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2172962imu; Thu, 29 Nov 2018 00:11:08 -0800 (PST) X-Google-Smtp-Source: AFSGD/W8/vx4pji2VflYyILyqjA6/cIPqLSLThUbXMIUSta5seAlU/hzBkh95cul+lfOXWxRcyti X-Received: by 2002:a63:7044:: with SMTP id a4mr389940pgn.359.1543479068255; Thu, 29 Nov 2018 00:11:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543479068; cv=none; d=google.com; s=arc-20160816; b=gSlITCA1N8ftXZffGAXTx0DFzLbbNlWUBtEV66CSoxmS76FZtubp/5/zpf174fUDUE ENvY5My/Ki6mIwtcgrj3VJg1k6Pz/oaMpRIbfmzk9yYf1VovjMNffyuNxtRGDN/VoiJb UdA5mqcHswrPtOrgHNBpTQ8cI+yVrs+nzxDnoB2Opsz2yiZRldjHH1pj6qx7uJzwduzg ztk+GgSjP2HjW6ubBt0VqMkg3L1mTHxkynA3Bp0MdGzqhIv19uKQLquB0YlGe51NNaeK 94L6x+Jjw3jI0kpvufi/SsL1NKXS53152YvFm5UkxwNe8C97fx9dNYFFg+T/QqBMhHjp rGWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:references :in-reply-to:message-id; bh=dH7/Lz0bOPByEfG241k+4vfC6ap/VgMEan+GI9KXyZc=; b=fgBpM4biF3q35pyKK6O48bliUbbTu8FnT6sGmq2UZTzxJCrQpavNA6szwRSBcamxX4 a2dMMHzA8nfq5Bnt3AAAeXz+XrEXZCiis48J6qWPYsOBCuH99DiIjh5emUXEQ0yecJba Ke2QHoRKHz5r2m2rCwUVo/bVl3aVk0gdqOYeV20vAXZ3fV4oAz4grfmtrG/pKRH3vfP1 6moWKhI8/uCa6x9r+eDyjkuYq0Cv7wVm4ZWHMFu8cLcxXZVrjw6JU0tGTqiVzpU66Egj 5rx4+wLrE385Dlhw8lmjup2Mc1hgAtXVHObn8E2oJYU3Zbrd3Afa4s9bkVEXYfPtgfNp 385g== ARC-Authentication-Results: i=1; mx.google.com; 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 f82si1525570pfa.221.2018.11.29.00.10.52; Thu, 29 Nov 2018 00:11:08 -0800 (PST) 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; 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 S1728090AbeK2TOl (ORCPT + 99 others); Thu, 29 Nov 2018 14:14:41 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:33513 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726789AbeK2TOk (ORCPT ); Thu, 29 Nov 2018 14:14:40 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4359Db2Ny2z9vGlk; Thu, 29 Nov 2018 09:10:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id 1PFFlfZdAOus; Thu, 29 Nov 2018 09:10:07 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4359Db1wc2z9vGlV; Thu, 29 Nov 2018 09:10:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 218D28B890; Thu, 29 Nov 2018 09:10:08 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id WIzZgmQEmCyr; Thu, 29 Nov 2018 09:10:08 +0100 (CET) Received: from po14163vm.idsi0.si.c-s.fr (unknown [192.168.232.3]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E2CA08B762; Thu, 29 Nov 2018 09:10:07 +0100 (CET) Received: by po14163vm.idsi0.si.c-s.fr (Postfix, from userid 0) id BD90969B13; Thu, 29 Nov 2018 08:10:07 +0000 (UTC) Message-Id: <9a6ee14e9ab57d1141f55db6593b349f761eef2d.1543478200.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v8 02/20] powerpc/8xx: Remove PTE_ATOMIC_UPDATES To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Thu, 29 Nov 2018 08:10:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit 1bc54c03117b9 ("powerpc: rework 4xx PTE access and TLB miss") introduced non atomic PTE updates and started the work of removing PTE updates in TLB miss handlers, but kept PTE_ATOMIC_UPDATES for the 8xx with the following comment: /* Until my rework is finished, 8xx still needs atomic PTE updates */ commit fe11dc3f9628e ("powerpc/8xx: Update TLB asm so it behaves as linux mm expects") removed all PTE updates done in TLB miss handlers Therefore, atomic PTE updates are not needed anymore for the 8xx Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/nohash/32/pte-8xx.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/powerpc/include/asm/nohash/32/pte-8xx.h b/arch/powerpc/include/asm/nohash/32/pte-8xx.h index 6bfe041ef59d..c9e4b2d90f65 100644 --- a/arch/powerpc/include/asm/nohash/32/pte-8xx.h +++ b/arch/powerpc/include/asm/nohash/32/pte-8xx.h @@ -65,9 +65,6 @@ #define _PTE_NONE_MASK 0 -/* Until my rework is finished, 8xx still needs atomic PTE updates */ -#define PTE_ATOMIC_UPDATES 1 - #ifdef CONFIG_PPC_16K_PAGES #define _PAGE_PSIZE _PAGE_SPS #else -- 2.13.3