Name: uke-gunyah-source-check Version: 7.3.5 Release: 2%{?dist} Summary: Compile-check the MiCode Gunyah guest stack on Linux 7.3.5 License: GPL-2.0-only AND MIT URL: https://github.com/MCC45TR/senemos-uke-kernel-mainline Source0: micode-gunyah-5712080.tar.xz Source1: prepare-gunyah-source.sh Source2: linux-7.3.5.tar.sign Source3: linux-stable.asc Source4: status.cpp ExclusiveArch: aarch64 BuildRequires: bash binutils bison curl elfutils-libelf-devel findutils flex BuildRequires: gcc gcc-c++ gnupg2 make openssl-devel perl tar xz BuildRequires: bc diffutils gawk grep sed %description Source qualification of the Uke Gunyah guest stack and native virtualization status. The output is a compile result with no kernel, module, or boot payload. %prep export LC_ALL=C printf '%s %s\n' d492254d094a989de728593c258542f382a3b1f6a075e12e7b8b55ff7249b749 '%{SOURCE0}' | sha256sum -c --strict mkdir -p donor verification tar -xJf %{SOURCE0} -C donor curl --proto '=https' -fL --retry 3 --max-time 240 \ https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.3.5.tar.xz -o linux-7.3.5.tar.xz printf '%s %s\n' 8f293f83d54f0b7b9be56863ebc5e4ea79d73e530b4ae55c572be97ef39f0990 linux-7.3.5.tar.xz | sha256sum -c --strict chmod 0700 verification gpg --batch --homedir "$PWD/verification" --import %{SOURCE3} xz -cd linux-7.3.5.tar.xz | gpg --batch --homedir "$PWD/verification" --verify %{SOURCE2} - tar -xJf linux-7.3.5.tar.xz bash %{SOURCE1} "$PWD/linux-7.3.5" "$PWD/donor" %build g++ -std=c++17 %{optflags} -Wall -Wextra -Werror %{build_ldflags} %{SOURCE4} -o uke-el2-status cd linux-7.3.5 make ARCH=arm64 defconfig scripts/config --enable ARM64 --enable ARCH_QCOM --enable MAILBOX --enable QCOM_SCM --enable GUNYAH make ARCH=arm64 olddefconfig grep -Fx 'CONFIG_GUNYAH=y' .config make ARCH=arm64 -j4 W=1 \ arch/arm64/gunyah/ drivers/mailbox/gunyah-msgq.o drivers/virt/gunyah/ for object in arch/arm64/gunyah/gunyah_hypercall.o drivers/mailbox/gunyah-msgq.o \ drivers/virt/gunyah/{rsc_mgr,rsc_mgr_rpc,vm_mgr,vm_mgr_mm,gunyah_vcpu,gunyah_irqfd,gunyah_ioeventfd,gunyah_platform_hooks,gunyah_qcom}.o; do readelf -h "$object" | grep -E 'Machine:[[:space:]]+AArch64' done cd .. printf 'MiCode 5712080 guest stack and Linux 7.3.5 AArch64 objects compiled.\n' > gunyah-source-check.txt %check set +e ./uke-el2-status --invalid result=$? set -e test "$result" -eq 64 ./uke-el2-status > virtualization.json grep -F '"gunyah_rm_resources":false' virtualization.json grep -F '"gunyah_device_registered":false' virtualization.json %install install -Dpm644 gunyah-source-check.txt %{buildroot}%{_datadir}/%{name}/result.txt %files %{_datadir}/%{name}/ %changelog * Sun Nov 22 2026 Uke contributors - 7.3.5-2 - Qualify the exact MiCode Resource Manager donor with Linux 7.3.5.