274. Apple Silicon's own core is untested, and not for the reason first recorded
Measurement, not a design fork.
Why the default run does not answer the question
cargo xtask test --arch aarch64 without --hvf does not run under HVF. The suite takes the HVF
leg only when --hvf is passed (xtask/src/suite.rs, let hvf = std::env::args().any(|a| a == "--hvf")); without it, the aarch64 leg runs under TCG's default cortex-a72, which
notes/entropy.md documents as predating FEAT_RNG. So that run's RNDR skip and PMUv3 pass
measure QEMU's emulated cortex-a72, not the physical core.
The HVF leg boots this kernel on a GICv3, the runner's HVF default, through the driver that
milestone 227 (a GICv3 driver, because GICv2 boots and silently loses every interrupt) built;
notes/hvf-leg.md has its runs. This block holds no HVF reading of FEAT_RNG.
What this milestone is
- The
neoverse-n2leg of this test has passed once, by hand..github/workflows/ci.yml'stestjob runsscript/ci-buildonubuntu-24.04-armover QEMU/TCG with noNIFE_CPUset, so it takes the defaultcortex-a72. Thecpu-matrixjob that does sweep CPU models is riscv64-only by its own name. Milestone 162 (real hardware entropy on x86_64 and aarch64), which built this test, recorded that the default skips it, and its correctness claim rests on one manualscript/test --arch aarch64 --cpu neoverse-n2run.321 passed, 3 skipped(or328 passed, 2 skippedon riscv64) reads as clean in CI and on this dev machine, and nothing compares the skip count against a baseline to notice that one of them is never exercised as designed. - Whether Apple Silicon implements
FEAT_RNGis unknown, not "confirmed absent". The HVF leg is where it is read.
What this needs
- Give aarch64's TCG leg the same CPU-matrix coverage riscv64 has, so
neoverse-n2runs on every CI merge instead of having run once, by hand. - Correct
entropy_tests.rs's comment, which reads as though--cpu neoverse-n2reliably fixes the skip. It fixes the TCG case only. - Read
FEAT_RNGon the physical core from the HVF leg (cargo xtask test --arch aarch64 --hvf). Checking radon (the JH7110's own core) is a separate question about a different chip and stays open regardless.
BUGS
- A skip that stands in for a pass is caught by no gate.
script/lintand CI's own required-check machinery both consider321 passed, 3 skippeda clean run, and nothing compares the skip count against a baseline the way other counted-claims checks in this tree do. Same shape as milestone 268's finding 4 (the tour's checks report failure by printing a word and continuing): a real assertion existed, and nothing was reading its result.
Follow-on
- Milestone 227. Its GICv3 driver is what lets the HVF leg boot, so the physical core can be measured from this machine.
- Milestone 222. Milestone 222 (the one command a person runs before pushing has a leg that fails instead of skipping) covers HVF's silent-failure shape; this is a second instance of the same class.
- Milestone 268. The same class of defect as this block's BUGS entry: a real check whose verdict nothing enforces. Worth reading together rather than as coincidence.
Index row
The aarch64 default run measures TCG's cortex-a72, not the physical core, and the neoverse-n2
leg of this test has passed once, by hand. Whether Apple Silicon implements FEAT_RNG is unknown;
the HVF leg, which boots on a GICv3 since milestone 227, is where it gets read.