On Fri, Apr 3, 2020 at 1:59 PM Joao Martins <joao.m.martins(a)oracle.com> wrote:
Add a couple tests which exercise the new sysfs based
interface for Soft-Reserved regions (by EFI/HMAT, or
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
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.
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?