[PATCH] selftests/powerpc/mm: Add a test for virtual address mapping
Michael Ellerman
mpe at ellerman.id.au
Tue Apr 18 13:47:54 AEST 2017
Anshuman Khandual <khandual at linux.vnet.ibm.com> writes:
> On 04/15/2017 01:48 AM, Michal Suchanek wrote:
>> Hello,
>>
>> On Wed, 12 Apr 2017 15:11:12 +0530
>> Anshuman Khandual <khandual at linux.vnet.ibm.com> wrote:
>>
>>> This verifies virtual address mapping below and above the
>>> 128TB range and makes sure that address returned are within
>>> the expected range depending upon the hint passed from the
>>> user space.
>>
>> This description does not mention anything PPC specific. Can this be
>> generalized to work with Intel L5 enabled kernel as well?
>
> Hmm, I am not completely aware about the proposed mmap interface
> for 128TB and beyond till 512TB by Kirill on x86. If both powerpc
> and x86 will have the same semantics, then this test is generic
> enough to cover both the architectures and will move it into
> selftests/vm/ instead of current selftests/powerpc/mm.
I think it can be made generic, maybe it needs a few #ifdefs, but that's
fine for a selftest.
So yeah if you can move it to selftests/vm I think that would be better.
cheers
More information about the Linuxppc-dev
mailing list