Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2831756imm; Thu, 18 Oct 2018 23:56:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV635+NQxfchknBUqs5u4DbixHmbFJLDgscRze0adXi1woS+db1wRFc7CGWKdLNmP+l161W1w X-Received: by 2002:a63:ba4e:: with SMTP id l14-v6mr7952555pgu.72.1539932188857; Thu, 18 Oct 2018 23:56:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539932188; cv=none; d=google.com; s=arc-20160816; b=r73ULJT20pkanX8CwS9tMmLShA+TnV/ftuM8ISN3ZisrBwlltLHosFq3MUFQ5c9S7H pV71+HC534eJIvexOcyrhURRfHQSzwnMA2elXINzihAA44AwS48qWS8Nb2JaVbaec6c/ uiPZQLqSbFz3Y2rvRjPDKTUUgv6UXuUtFCQPjA7ySlnCZgq8HqKdmRhNnXoJQbBzosSu R+UrJRNkzqGizbkTDG7d5jMMVIqlPmTRJCMaaGqQSbBb92oNXcoby+94TOY+xsFOm/hJ pta3nMBvooCE1YMBRVrcxFnVQ5wz9KjD81Ijk9Uyku/DPeWKxN6Ft9ni62T+iLjT7xxb cnZw== 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=f5egVZSjpipXw0ZZVD0IFD/QYtd4elzoF+yzu+8GvlJ9uxyYzl8F6AhnCRA/tQH+9G XBANkFdATOww3+nP36VnSEh9bxnW3ijzKB71dACG99hj7u5KWzZeVPOFcr4YlmdI4wOe 8So6QZqGAlgVpkZIMDaKI6AT2QsCTUjmJsrpDy0oDVoZb7YVVhBgHXShhJugMS7l/4k8 6hssykxEK0Gj63gt8PzZ42YlDffa15DGC8c2U4On2cCzBp8zZhYudLgc4qXPAj8KfGfR iPgZ1F5Opd1D30XFUeWfB8Ds/clfNv5wIIa39J9hXZWcrbNKpDIKRjJ4WY6eJ88dmEb7 GBew== 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 w11-v6si23205924pgf.587.2018.10.18.23.56.14; Thu, 18 Oct 2018 23:56:28 -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; 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 S1727623AbeJSPAR (ORCPT + 99 others); Fri, 19 Oct 2018 11:00:17 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:41838 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726784AbeJSPAQ (ORCPT ); Fri, 19 Oct 2018 11:00:16 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 42bxWQ1t6jz9ttFT; Fri, 19 Oct 2018 08:55:30 +0200 (CEST) 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 KVq2cHm4Beaw; Fri, 19 Oct 2018 08:55:30 +0200 (CEST) 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 42bxWQ1PMKz9ttFM; Fri, 19 Oct 2018 08:55:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 67A208B8DF; Fri, 19 Oct 2018 08:55:31 +0200 (CEST) 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 dIp3yUOh0Uek; Fri, 19 Oct 2018 08:55:31 +0200 (CEST) Received: from pc13168vm.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 0318F8B75B; Fri, 19 Oct 2018 08:55:31 +0200 (CEST) Received: by pc13168vm.idsi0.si.c-s.fr (Postfix, from userid 0) id B089E6F496; Fri, 19 Oct 2018 06:55:30 +0000 (UTC) Message-Id: In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v6 19/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: Fri, 19 Oct 2018 06:55:30 +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