Re: [RFC PATCH v1 00/57] Boot-time page size selection for arm64

Petr Tesarik
2024-10-17T12:29:50Z

On Mon, 14 Oct 2024 11:55:11 +0100
Ryan Roberts <ryan.roberts@arm.com> wrote:

>[...]
> The series is arranged as follows:
>
> - patch 1: Add macros required for converting non-arch code to support
> boot-time page size selection
> - patches 2-36: Remove PAGE_SIZE compile-time constant assumption from all
> non-arch code

I have just tried to recompile the openSUSE kernel with these patches
applied, and I'm running into this:

CC arch/arm64/hyperv/hv_core.o
In file included from ../arch/arm64/hyperv/hv_core.c:14:0:
../include/linux/hyperv.h:158:5: error: variably modified ‘reserved2’ at file scope
u8 reserved2[PAGE_SIZE - 68];
^~~~~~~~~

It looks like one more place which needs a patch, right?

Petr T