Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1043997imu; Wed, 28 Nov 2018 03:49:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/WueqUyeo+I+s+xNowwzl1yxkKI2Sv569UKzTL1mL7g+j6OFs6Z8stJX+6OcgSDBueg8NEu X-Received: by 2002:a63:d301:: with SMTP id b1mr33092119pgg.61.1543405787032; Wed, 28 Nov 2018 03:49:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543405787; cv=none; d=google.com; s=arc-20160816; b=EKlTtWax21SFYw36GDBR4SUoEejxS3NTVqLrIaCwc1yOC5wcUOQ3bWAk5pmljxxinw dKQy4dczGveMWVd2m0fhQQaZB3UE8Fpcr9YhLnQrkIOc68Hu3YoH7dN4/ALD5XsmZnL0 67oNqsh9nS8pBdNB4pv+aAgkMG9WVTShcJR6Gueg5vAJx6/iQoGVeQ6rs9TMqhRRePQH s3wpYCzz1F2dPA3JRuCNCTr/2HyqZ8ZC8JptJZ+Pia3f716LAX+hvtygejIkkNtuWLf+ z/Dat2EOxjRuwWvo42SHH2xQlEc4cFiz3HOFVoefB5BLouvXQBLolUT1HhMfkDaW9XMi YAXw== 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=WiK900X3okZzlacCMQh52+59ZzU95aBkTFZleULzdEw/ZRUwHyXWfD4DVIESd8TRbE SZ4Eo/1Wczi2l/H1BspgX1d/TKYs1M9jzXHXtqo81LYlEClJHqPjKXanCAbZ9/0nS5oN QDHkKpApO6T6BHicH0rgiD53CPoq4S+ezw0AMplBD41H2+CAsGqYeRaOgvZWP7PQSXTs IrdYUCo/nebsXiRPhn2Cm/On3yCp43GImYdJ7Ddejc+M16Uc5BI/fd+SxRB4fzMHt+mH NpXQPVBF94qw+iHWjfxXDJYbmNNGgLD3XeP6KhrLuNEGdkAt4ldJiGYEB4mE99KoWNwN LDAQ== 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 x9si7046751pge.76.2018.11.28.03.49.32; Wed, 28 Nov 2018 03:49:47 -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 S1728786AbeK1Wr5 (ORCPT + 99 others); Wed, 28 Nov 2018 17:47:57 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:38410 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728736AbeK1Wrz (ORCPT ); Wed, 28 Nov 2018 17:47:55 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 434f4j6zC1z9v09t; Wed, 28 Nov 2018 12:46:29 +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 hhnOQS7TcJ3v; Wed, 28 Nov 2018 12:46:29 +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 434f4j6X7fz9v09s; Wed, 28 Nov 2018 12:46:29 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id F2FE58B867; Wed, 28 Nov 2018 12:46:25 +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 kBGIKJGmNZxQ; Wed, 28 Nov 2018 12:46:25 +0100 (CET) Received: from po14163vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [172.25.231.2]) by messagerie.si.c-s.fr (Postfix) with ESMTP id BCA068B853; Wed, 28 Nov 2018 12:46:25 +0100 (CET) Received: by po14163vm.idsi0.si.c-s.fr (Postfix, from userid 0) id AEEB969B1B; Wed, 28 Nov 2018 11:46:25 +0000 (UTC) Message-Id: <66ac546242226a4cecaf910876bea0377520c6ae.1543405086.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v7 02/16] 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: Wed, 28 Nov 2018 11:46:25 +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