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 193C5257845; Thu, 13 Nov 2025 19:11:42 +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=1763061103; cv=none; b=jkUlulYbcUcqD3hddvllZEk7F7rfov5xX0fx92rgrZTUTTrJAElKN5sHDA9nXM4ypVoqy9EEk6U204SQFoB+tYtZ+/pCJEQA+w/KS/+KYvLSl7rVCShHL8thLcKyMdBPHYXTEiobG6rFlFNsGWfKT9yWz5gTNoxXsJV8e5ClpY4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763061103; c=relaxed/simple; bh=XPlHEOw1uPJQDazcMEywsx61CVGNF/VpjcTn8wMkkCo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=L9BMk4y1l/H/Ln4AS05gm82sH0+qwzE4OFZ0xIB7bTr2mTnM93Q4pJQ/R+BIhBVLRr5Xfld8v1BFJQABm0aFxgAN+ZhJimgwjUUvP+XXzht2gzEznHYVG+6a+k7y9c/nfrenxsER9CdoOe6elA3RYCigsk4f5Et8YvfNKBOA/Ic= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Oitpd3Zd; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Oitpd3Zd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0ED57C4CEF7; Thu, 13 Nov 2025 19:11:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763061102; bh=XPlHEOw1uPJQDazcMEywsx61CVGNF/VpjcTn8wMkkCo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Oitpd3ZdicpxqLH3v5bMK5Dlw1A1IeaK/f+tMTgfSeNLv6snibjasCa8fSqZIGDFS ilaoa+y3l2jQcb+qTJocZRgmlzNYJaDn3EAu9DGDHd/qKIxK0tmkyjhU2Txd2cqisv aNhkpdWedumHkSV5hFInFMMbkv3zrJuy4L/pysJQMAwj2LyuHGxfPnws2ZY1hL6Cwa V1Ic0ZewDvDwdHjuxn5G151CvWFhEP6vH3mkDkXNug+MjJ0B4RzaKCWG0UOQtkjWVF lSaCMtY9s73rD13zCeObAXRd10IO48NtEimwc7JrnRCNLaeilmBAOmnUfHvaE+uupq eH2Mloms0G7lA== Message-ID: Date: Thu, 13 Nov 2025 20:11:36 +0100 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 05/22] mm: Move the fallback definitions of pXXp_get() To: Samuel Holland , Palmer Dabbelt , Paul Walmsley , linux-riscv@lists.infradead.org, Andrew Morton , linux-mm@kvack.org Cc: devicetree@vger.kernel.org, Suren Baghdasaryan , linux-kernel@vger.kernel.org, Mike Rapoport , Michal Hocko , Conor Dooley , Lorenzo Stoakes , Krzysztof Kozlowski , Alexandre Ghiti , Emil Renner Berthing , Rob Herring , Vlastimil Babka , "Liam R . Howlett" References: <20251113014656.2605447-1-samuel.holland@sifive.com> <20251113014656.2605447-6-samuel.holland@sifive.com> From: "David Hildenbrand (Red Hat)" Content-Language: en-US In-Reply-To: <20251113014656.2605447-6-samuel.holland@sifive.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 13.11.25 02:45, Samuel Holland wrote: > Some platforms need to fix up the values when reading or writing page > tables. Because of this, the accessors must always be used; it is not > valid to simply dereference a pXX_t pointer. > > Move these definitions up by a few lines, so they will be in scope > everywhere that currently dereferences a pXX_t pointer. > > Signed-off-by: Samuel Holland > --- Acked-by: David Hildenbrand (Red Hat) -- Cheers David