[PATCH] powerpc/powernv: Fix vma page prot flags in opal-prd driver

Vaidyanathan Srinivasan svaidy at linux.vnet.ibm.com
Thu Jun 25 17:43:37 AEST 2015

* Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com> [2015-06-25 11:45:46]:

> Hi Ben,
> remap_pfn_range() is the correct method to map the firmware pages
> because we will not have struct page associated with this RAM area.
> We do a memblock_reserve() in early boot and take out this memory from
> kernel and avoid struct page allocation/init for these.

Kindly ignore the this comment.  memblock_reserve() does not
prevent/avoid struct page allocation.  We do have valid struct page
which can be used for mapping.


More information about the Linuxppc-dev mailing list