[PATCH v2 0/2] KVM: selftests: Use $(SRCARCH) and share definition with top-level Makefile

David Matlack dmatlack at google.com
Mon Sep 15 10:57:10 PDT 2025


On Thu, Jul 24, 2025 at 2:31 PM David Matlack <dmatlack at google.com> wrote:
>
> This series switches the KVM selftests Makefile to use $(SRCARCH)
> instead of $(ARCH) to fix a build issue when ARCH=x86_64 is specified on
> the command line.
>
> v1: https://lore.kernel.org/kvm/20250430224720.1882145-1-dmatlack@google.com/
>  - Split out the revert of commit 9af04539d474 ("KVM: selftests:
>    Override ARCH for x86_64 instead of using ARCH_DIR") from the rename
>    to SRCARCH
>
> David Matlack (2):
>   Revert "KVM: selftests: Override ARCH for x86_64 instead of using
>     ARCH_DIR"
>   KVM: selftests: Rename $(ARCH_DIR) to $(SRCARCH)

Gentle ping. Paolo and Sean do you think this could get merged
upstream at some point?

Google's kernel build tools unconditionally set ARCH=x86_64 when
building selftests, which causes the KVM selftests to fail to build.



More information about the linux-riscv mailing list