omega-gpu-driver
aien-dev/omega-gpu-driver
Brought by drakestapleton
GitHub aien-dev/omega-gpu-driver#8 (code only)
Apply it
git checkout -b patch-21756e500081da58 07781415c72719468f3cc2d76d10b4360bdb6979 curl -fsSL https://interplane.io/drakestapleton/omega-gpu-driver/patches/21756e500081da58.patch | git am
Provenance
github-import 1
aien-dev/omega-gpu-driver
8
8ceff8dec681bb630282ed56c90feb1bb6ca7c47
{"kind":"github-import","owner":"aien-dev","repo":"omega-gpu-driver","number":8,"url":"https://github.com/aien-dev/omega-gpu-driver/pull/8","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:49Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/README.md b/README.md index 4581f13..43af3f7 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,11 @@ transcript: edu reads `0x010000ed` at BAR0 0x0 through both the map and pread; w edu, a virtio device, an access at the BAR0 size and a misaligned access are all refused. `qemu/mutant-*.log` show two compiler mutants (MAP_PRIVATE, wrong device-fd request) failing there. +Every QEMU boot and test command runs under `nice -n 19 taskset -c "${AIEN_TEST_CPUS:-0-9,15-19}"`. +`AIEN_TEST_CPUS` is the one CPU list the scripts pin to. The default `0-9,15-19` keeps them off +cores 10-14, which the shared Spark reserves for its live service; set it to use other cores, +e.g. `AIEN_TEST_CPUS=0-3 KERNEL=... sh qemu/test.sh`. + Host tools in the build and test path (disclosed; not part of the driver): `sh`, `git`, `sha256sum`, QEMU 8.2.2, busybox, zstd, cpio, gzip. The driver itself is `w0.om` only. diff --git a/qemu/bench/run.sh b/qemu/bench/run.sh index 598d5bd..d7415c0 100755 --- a/qemu/bench/run.sh +++ b/qemu/bench/run.sh @@ -15,7 +15,7 @@ mkdir "$T/x"; cp "$1" "$T/x/w0"; chmod +x "$T/x/w0"; cp "$2" "$T/x/cmds" cp $B/initramfs.cpio.gz "$T/initrd" (cd "$T/x" && printf 'w0\ncmds\n' | cpio -o -H newc --quiet) | gzip >> "$T/initrd" boot() { # $1 = accel args - nice -n 19 taskset -c 10-14 timeout ${TIMEOUT:-180} qemu-system-aarch64 \ + nice -n 19 taskset -c "${AIEN_TEST_CPUS:-0-9,15-19}" timeout ${TIMEOUT:-180} qemu-system-aarch64 \ -M virt,iommu=smmuv3 $1 -smp 2 -m 1G -nographic -no-reboot \ -kernel $K -initrd "$T/initrd" -append 'console=ttyAMA0 rdinit=/init panic=-1' \ ${DEVICES:--device edu -device edu}