From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD63DC433DF for ; Wed, 17 Jun 2020 13:04:46 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 92BD9207DD for ; Wed, 17 Jun 2020 13:04:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b="pOBB48QN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 92BD9207DD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 228426B0006; Wed, 17 Jun 2020 09:04:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1D9F96B0007; Wed, 17 Jun 2020 09:04:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0EF056B000A; Wed, 17 Jun 2020 09:04:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0066.hostedemail.com [216.40.44.66]) by kanga.kvack.org (Postfix) with ESMTP id ECFA06B0006 for ; Wed, 17 Jun 2020 09:04:45 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 97FF88245571 for ; Wed, 17 Jun 2020 13:04:45 +0000 (UTC) X-FDA: 76938723330.24.sleet57_4e11c0726e07 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin24.hostedemail.com (Postfix) with ESMTP id 4518B3BEAB for ; Wed, 17 Jun 2020 13:04:45 +0000 (UTC) X-HE-Tag: sleet57_4e11c0726e07 X-Filterd-Recvd-Size: 2994 Received: from ozlabs.org (ozlabs.org [203.11.71.1]) by imf18.hostedemail.com (Postfix) with ESMTP for ; Wed, 17 Jun 2020 13:04:44 +0000 (UTC) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49n4zB03pYz9sRf; Wed, 17 Jun 2020 23:04:37 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1592399078; bh=lMWVaP+IJqwxYXx0XCxsVq12dX+k4WTJuX55RHp3h1g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=pOBB48QNNv+NWyG+uTcUl0oO3zQAIjTArOPfy/VLqEuTmAGX5fFF7C50tT8P+62Er rGr/wuxLv+MsvwOdScWGvovUwgSJWKWf0Brmnr82YrLuq1MBQJhWzADu0Id83GqrmO eJZCKgX3rCGFuz4Hmlh09Tq6EFKZSpG78NpgrW9Q0kGqFOsHigTTDxSBXAWMpDJHmG zgLICJUjpfsu+8NpJ+rAbJWEUTxeDljV+Oti9Ds+DIRIy8f7yrNsQxpjy0khgVcP67 yT5gCbn6VB2VjjsvwWMCBksgkFJ9ZBVv/ET6ToZ29c6h0cD/nBS36rufuUldzrUrYa GfmuXSQvkDwJg== From: Michael Ellerman To: Mike Rapoport Cc: Andrew Morton , Christophe Leroy , linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: Re: [PATCH] powerpc/8xx: use pmd_off() to access a PMD entry in pte_update() In-Reply-To: <20200617041617.GA6571@kernel.org> References: <20200615092229.23142-1-rppt@kernel.org> <20200616124304.bbe36933fcd48c5f467f4be9@linux-foundation.org> <87o8piegvt.fsf@mpe.ellerman.id.au> <20200617041617.GA6571@kernel.org> Date: Wed, 17 Jun 2020 23:05:04 +1000 Message-ID: <875zbpetbz.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4518B3BEAB X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Mike Rapoport writes: > On Wed, Jun 17, 2020 at 09:21:42AM +1000, Michael Ellerman wrote: >> Andrew Morton writes: >> > On Mon, 15 Jun 2020 12:22:29 +0300 Mike Rapoport wrote: >> > >> >> From: Mike Rapoport >> >> >> >> The pte_update() implementation for PPC_8xx unfolds page table from the PGD >> >> level to access a PMD entry. Since 8xx has only 2-level page table this can >> >> be simplified with pmd_off() shortcut. >> >> >> >> Replace explicit unfolding with pmd_off() and drop defines of pgd_index() >> >> and pgd_offset() that are no longer needed. >> >> >> >> Signed-off-by: Mike Rapoport >> >> --- >> >> >> >> I think it's powerpc material, but I won't mind if Andrew picks it up :) >> > >> > Via the powerpc tree would be better, please. >> >> I'll take it into next for v5.9, unless there's a reason it needs to go >> into v5.8. > > I consider it a fixup for 5.8 merge window conflicts. Besides, mering it > now may avoid new conflicts in 5.9 ;-) OK, I'll pick it up for v5.8. cheers