Benjamin Herrenschmidt <b...@kernel.crashing.org> writes:

> On Mon, 2017-02-20 at 09:02 +0530, Aneesh Kumar K.V wrote:
>> To avoid crashes like the one reported in the commit message due to 
>> buggy firmware ? 
>
> 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

Reply via email to