On 7/12/20 4:04 PM, Dan Williams wrote:
> On Fri, Apr 3, 2020 at 1:59 PM Joao Martins <[email protected]> wrote:
>>
>> Add a couple tests which exercise the new sysfs based
>> interface for Soft-Reserved regions (by EFI/HMAT, or
>> efi_fake_mem).
>>
>> The tests exercise the daxctl orchestration surrounding
>> for creating/disabling/destroying/reconfiguring devices.
>> Furthermore it exercises dax region space allocation
>> code paths particularly:
>>
>> 1) zeroing out and reconfiguring a dax device from
>> its current size to be max available and back to initial
>> size
>>
>> 2) creates devices from holes in the beginning,
>> middle of the region.
>>
>> 3) reconfigures devices in a interleaving fashion
>>
>> 4) test adjust of the region towards beginning and end
>>
>> The tests assume you pass a valid efi_fake_mem parameter
>> marked as EFI_MEMORY_SP e.g.
>>
>> efi_fake_mem=112G@16G:0x40000
>>
>> Naturally it bails out from the test if hmem device driver
>> isn't loaded/builtin or no region is found.
>
> So, I finally have the kernel passing this test. Thank you! I did
> notice that I need to make sure that there is only one hmem range
> defined otherwise the test gets confused and fails. I expect it spills
> over to other regions when the test expects that the region should be
> full. Could you take a look at adjusting the test to constrain its
> allocations to a single region?
>
Yeap, will fix and send v2.
_______________________________________________
Linux-nvdimm mailing list -- [email protected]
To unsubscribe send an email to [email protected]