On Thu, 16 May 2024 09:26:33 +0530 Dev Jain <dev.jain@xxxxxxx> wrote:
Post FEAT_LPA2, Aarch64 extends the 4KB and 16KB translation granule toWhich array is that? testcases[]? If so, we could keep if fairly nice
large virtual addresses. Currently, the test is being skipped for said
granule sizes, because the page sizes have been statically defined; to
work around that would mean breaking the nice array of structs used for
adding testcases.
by doing the array population at runtime. Something like:
static struct testcase *testcases;
static void init_thing()
{
struct testcase t[] = {
...
};
testcases = malloc(sizeof(t));
memcpy(testcases, t, sizeof(t));
}