[PATCH] ARM: use phys_addr_t in pfn_to_kaddr()

santosh shilimkar santosh.shilimkar at oracle.com
Thu Jun 25 11:43:50 PDT 2015

On 6/25/2015 9:33 AM, Nicolas Pitre wrote:
> On Wed, 24 Jun 2015, santosh shilimkar wrote:
>> On 6/23/2015 8:13 AM, Vitaly Andrianov wrote:
>>> This patch fixes pfn_to_kaddr() to use phys_addr_t.  Without this,
>>> this macro is broken on LPAE systems. For physical addresses above
>>> first 4GB result of shifting pfn with PAGE_SHIFT may be truncated.
>>> Signed-off-by: Vitaly Andrianov <vitalya at ti.com>
>>> ---
>> Looks a valid fix.
>> RMK, Nico, what you say ?
> Looks fine to me.
> Acked-by: Nicolas Pitre <nico at linaro.org>
Thanks Nico.

I suggest you to drop this patch into RMK's patch system with
mine and Nico's ack.


More information about the linux-arm-kernel mailing list