Received: by 10.192.165.148 with SMTP id m20csp731119imm; Fri, 4 May 2018 05:38:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrkrYEoXlHIJ1cNvEDw0pzS/dYXmGyNAjm/+Aeeu1wwb2d6U3ynRyq1+yqk6PCitWqCXhbB X-Received: by 10.98.141.201 with SMTP id p70mr26713361pfk.72.1525437530919; Fri, 04 May 2018 05:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525437530; cv=none; d=google.com; s=arc-20160816; b=JwbzsCps+79hbEkMFWKvyMUk5/I0VIjNclyq8f7d8bwLoV9Q6lWzQhH3cb0bhhJXtk dMJq7f7iUtrPQp4Q4TEZrho1WbnvIOcaWDkwpubN6ZZWwarEgXYuOC7BBfuBt5pX2Djp cZTPtoztyvRtl1T2d2FXIVx7CoGLnTVMW2ZBoiORUCA0r1j/bnYaW79QyoslE5cMd2Mo wuUiGsehhwuxIPKSG2d2TgwPjO+woJEdr+w6aVhCfDPvSEwg6b8MI8A4c1Q/FtEkiS1l Se41I1FPNVv4Cka9Bv1Lz2wOrnzaumLGLyO53z5mS34JDf3uLdmUtxiYt9TsM8DHKvaD b1Vg== 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:arc-authentication-results; bh=bBm0Uc75O9roOHBGeJVDmVbh3alKr/Lj801h6nLQdZU=; b=miTIY7ONyjoxgS4tJ7ppktjo0pnHszg2MH9VyWUSq7m+5TlmcPXZu/m6w6zYqMQjLL JGH2Dz6w0HfFHrT8h/G4Jc+50fsq3V+wTd2YKOBLCRt7QSrcL2dofQ9Db1i+8NDZ8L7s 2gfNhp9XsCwJStTaoVWp2bDpq/R80tgodH2x/dQvfYYfO0bo4Rsj3YTRpOQ6v3Js5CQ+ o/UBygOMLdxBpvBRyKXmh3t/xhuWALVGBsqPQ9d+2LYWOxZ3LA/xUZTgr+RX0CHzLyOR d72w8cKKIBFche2dOIKUZ4btFC8PcEK9sktCc6ZpnBu6lGvRZs0R8fHkC/EkjML59tLm T7iA== 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 p23-v6si12746091pgv.153.2018.05.04.05.38.36; Fri, 04 May 2018 05:38:50 -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 S1751706AbeEDMeS (ORCPT + 99 others); Fri, 4 May 2018 08:34:18 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:10249 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751654AbeEDMeQ (ORCPT ); Fri, 4 May 2018 08:34:16 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 40crzl3kmmz9txg3; Fri, 4 May 2018 14:34:11 +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 rr5AUn-2lXsR; Fri, 4 May 2018 14:34:11 +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 40crzl36Myz9ttC1; Fri, 4 May 2018 14:34:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 2BEB98B975; Fri, 4 May 2018 14:34:15 +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 Hvqjudnvz6SS; Fri, 4 May 2018 14:34:15 +0200 (CEST) Received: from po14934vm.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 09C908B972; Fri, 4 May 2018 14:34:15 +0200 (CEST) Received: by po14934vm.idsi0.si.c-s.fr (Postfix, from userid 0) id D35BD6CF2D; Fri, 4 May 2018 14:34:14 +0200 (CEST) Message-Id: <3ece8e0d69f3016111cdb9d643dfc4a158849ae0.1525435203.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH 12/17] powerpc/8xx: Remove PTE_ATOMIC_UPDATES To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , aneesh.kumar@linux.vnet.ibm.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Fri, 4 May 2018 14:34:14 +0200 (CEST) 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 a9a2919251e0..31401320c1a5 100644 --- a/arch/powerpc/include/asm/nohash/32/pte-8xx.h +++ b/arch/powerpc/include/asm/nohash/32/pte-8xx.h @@ -54,9 +54,6 @@ #define _PMD_GUARDED 0x0010 #define _PMD_USER 0x0020 /* APG 1 */ -/* 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_HUGE #endif -- 2.13.3