Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2845871imu; Thu, 29 Nov 2018 11:08:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/UiAjA91G4kG3PbssPV67ZSH6YiRjsXci+pFwbgddHMioOeAqxeJfAKqto5hHFmby7TSaux X-Received: by 2002:a63:1204:: with SMTP id h4mr2252448pgl.51.1543518506499; Thu, 29 Nov 2018 11:08:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543518506; cv=none; d=google.com; s=arc-20160816; b=1FKyS/TxZk2jO5OmXbVPfQxwuXRlQn1QxnFuZ/7gfVytrRmbKVd9uULVzPVIMaPN+U EYmAMJSflVcZRq5gWfEZ3LW+td2KnHsgDJpN4TlxAZfWUMV4CAd9tD+z8YaRHU16qLwl U+DkRx9q32DGuC+xcd7C0zqA/fQ1snSXEV7UjflPnEmNOjy6CWF2IawK5wtK2eSW2R/U dzqkOiynhxd86Yt8731xXvTP5leWF5Cdp7thFI/lpT/LAaY4T5O6ORJtOs5a1kqNBF49 w13Bi+d71pF55ZmxFEudEtvqmmbSeNpLatyu4fpGGEABtsV0wxnREkDKNvePFWdOtKbX j3uQ== 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=QSAXeXE20a0Bww3Kyk9cGrVwyif3mHs0tk3ri2g70Igae5aifj7PTjNXhEfODCkCQe C47detmyXm+zENvEzkhC2c9ktge+S/ifCx7mDLrd75MVULVCtdjC26nDTOCznhnyPSpH BN59lfMYb8TZfKGMsttwdrCDFBCaDLvQeq0LIXR6iVjYbM+OFLP2J4rQNcip60pnkIn8 0GS6UymyCFMuM+7ncxle9pV3hmikS1D3FXyDRRuT9XbgspQjQOC8kjvemmkNuovGH34/ zl3S8AfvVEKv6jEDGV+gaqHme4BYZS5qfKl17HE+AUCQUVS1kWFk7H4/dLghTxurrp+2 gcnw== 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 r17si2642479pgh.299.2018.11.29.11.08.02; Thu, 29 Nov 2018 11:08:26 -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 S1728552AbeK3BMT (ORCPT + 99 others); Thu, 29 Nov 2018 20:12:19 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:27369 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728492AbeK3BMT (ORCPT ); Thu, 29 Nov 2018 20:12:19 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 435K884wC9z9vFvg; Thu, 29 Nov 2018 15:06:48 +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 miDpdrOEHbRC; Thu, 29 Nov 2018 15:06:48 +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 435K884Q7Tz9vFvb; Thu, 29 Nov 2018 15:06:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id D8F2C8B89E; Thu, 29 Nov 2018 15:06:49 +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 lYpGbTnbVPzu; Thu, 29 Nov 2018 15:06:49 +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 B20188B899; Thu, 29 Nov 2018 15:06:49 +0100 (CET) Received: by po14163vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 8F56A69AE8; Thu, 29 Nov 2018 14:06:49 +0000 (UTC) Message-Id: <9a6ee14e9ab57d1141f55db6593b349f761eef2d.1543499861.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v9 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 14:06:49 +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