From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73F9413849B for ; Thu, 15 Feb 2024 18:35:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708022115; cv=none; b=FZD+KgLeBErpTmmVEYUt1V/xJFaDMDKPf/UIJs6AF/Y8VKcVOAJOyNMAWv2ImNLNQixibWw9F2QnguEuMgSzcbSdLQGOtfT2KYLQ+Y+5qFbjDNawrkg/fDPp78kPmcnFErl0V6tkxT/1sovw0FwH9g/ny6NYjukjITBTsNfk35c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708022115; c=relaxed/simple; bh=g81JVGrqhrJ2V33PSZJocpyegFm3vz67wCbLi3eAcE0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r62UqilciyiSihc1iwSH0iLt58alzJuI76BUHH1Xd9cRxw9rxCiiOPxazRQ/67Gus5mCP7OlXvO4ZSMFuvMzDYzocB091yE+C/M7vwCzGpQ1THB6yVifEMsjYGKEUZZc0wEICzyFnSjeB+UTpWFaB8frNGpx1nkGK8+gH2l9eRg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EE5DC433F1; Thu, 15 Feb 2024 18:35:09 +0000 (UTC) Date: Thu, 15 Feb 2024 18:35:07 +0000 From: Catalin Marinas To: Ryan Roberts Cc: Will Deacon , Ard Biesheuvel , Marc Zyngier , James Morse , Andrey Ryabinin , Andrew Morton , Matthew Wilcox , Mark Rutland , David Hildenbrand , Kefeng Wang , John Hubbard , Zi Yan , Barry Song <21cnbao@gmail.com>, Alistair Popple , Yang Shi , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , linux-arm-kernel@lists.infradead.org, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 09/18] arm64/mm: Convert ptep_clear() to ptep_get_and_clear() Message-ID: References: <20240215103205.2607016-1-ryan.roberts@arm.com> <20240215103205.2607016-10-ryan.roberts@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240215103205.2607016-10-ryan.roberts@arm.com> On Thu, Feb 15, 2024 at 10:31:56AM +0000, Ryan Roberts wrote: > ptep_clear() is a generic wrapper around the arch-implemented > ptep_get_and_clear(). We are about to convert ptep_get_and_clear() into > a public version and private version (__ptep_get_and_clear()) to support > the transparent contpte work. We won't have a private version of > ptep_clear() so let's convert it to directly call ptep_get_and_clear(). > > Tested-by: John Hubbard > Signed-off-by: Ryan Roberts Acked-by: Catalin Marinas