Benjamin Herrenschmidt [off-list ref] writes:
On Mon, 2017-02-20 at 09:02 +0530, Aneesh Kumar K.V wrote:
quoted
To avoid crashes like the one reported in the commit message due to=C2=A0
buggy firmware ?=20
I don't want Linux to make those assumptions. We should fix the FW.
I was not suggesting to not fix FW. The idea was two fold.
We cannot support different hugetlb page sizes. They need to
be supported at linux page table level. So a generic check like
is_power_of_2/4() may not be what we want. The second is to document
clearly what are the different page sizes supported by a platform.
-aneesh