Commit Graph
672 Commits
Author SHA1 Message Date
Garvit Surana 0e458bf4e7 test(compiler): opt-in checks of every 32-bit word at five PCs that the direct integer path goes past no decoder of the lift or of the block parse that would take the word, where upstream PR #247's own tests sample a million words and its full check was never committed
every_direct_word_skips_every_decoder_before_the_integer_one and
every_direct_word_skips_the_block_decoders run on all host threads in
release, at PCs 0, 0x1000, a user and a kernel address and the highest
word, where branch and literal targets overflow. They are the proof to
rerun when a decoder is added before the integer one or to the parse.
2026-11-22 19:52:01 +00:00
Garvit Surana 5a81c900fd test(xtask): the oracle manifest names stela-engine's run_loop_costs, upstream PR #246's opt-in run loop timing, where manifest_covers_every_ignored_test_in_tracked_sources failed on its unbound #[ignore] 2026-11-22 19:03:22 +00:00
Garvit Surana a885a57b17 Merge upstream/main 140ffaf71 into fork/install for the macOS install build
The install build is the RTL8852CE Wi-Fi branch (wifi/rtw8852c-m3, 999c0d361)
with upstream's GPT slot, TRIM and 32 MiB log fixes.

One conflict, in crates/stela-boot/src/engine/network.rs (HostNetwork::open):
the Wi-Fi adapter's address wait still runs through network_link::address,
so its connection keeper's failures are retried until the cut, and upstream's
DHCP and DNS notes (Stack::take_notes) are logged after that wait, before the
keeper's retry line. This matches wifi/rtw8852c-m3-test, without its
host-check-only `pub(crate) mod security`.
2026-11-21 18:25:36 +00:00
Tyler Smith 140ffaf716 fix(gpu): the StelaGPU kext sets the length of a file it rewrites, since vnode_open leaves O_TRUNC to the open syscall and a shorter plugin kept the old one's tail, and a failed install stops naming its step and errno 2026-11-20 07:27:37 -05:00
Tyler Smith d21641a894 test(engine): a manual differential runs sampled regions of real kernel, TXM, SPTM and shared cache images against their linked blocks, behind guards as far as real code's accesses reach 2026-11-20 05:27:41 -05:00
Tyler Smith 6a385977bb test(engine): the pack, lock, reinstall and TTBR0 switch benches and replays are manual opt-in tests the oracle manifest lists 2026-11-20 01:31:50 -05:00
Tyler Smith 7c59518e53 test(engine): the region timing test is opt-in and the oracle manifest lists it 2026-11-19 19:45:23 -05:00
Tyler Smith 42a2b83123 test(xtask): the manifest names the ahead model test and lists the compositor replay bench once 2026-11-19 18:31:55 -05:00
Tyler Smith 3805b53f16 perf(gpu): a kernel's imageblock slice write that its thread makes last before a threadgroup barrier or the kernel's end is written by every thread there, where the one calling thread wrote each slice's pixels in a loop while its group waited, about 2 ms a dispatch in Core Animation's blur kernels 2026-11-19 17:37:03 -05:00
Tyler Smith 3694e2bd8e test(gpu): metal-suite cases hold every reader of a rendered two-plane extended-range surface and of a large sampled two-plane surface to its last write: CPU locks, readback, a second texture, another process, and an argument buffer with a residency set after CPU and GPU writes 2026-11-19 17:37:03 -05:00
Tyler Smith 16e14f7771 test(gpu): the compositor replay bench is a manual opt-in test the oracle manifest lists 2026-11-19 17:37:03 -05:00
Garvit Surana 19cf59c45a feat(wifi): program an RTL8852C's TX power by rate, offsets, shape, regulatory limits and SAR ceiling for a 20 MHz channel as rtw8852c_set_txpwr does, where its TX power registers kept their reset values 2026-11-19 19:49:49 +00:00
Garvit Surana 1e5c159ae4 feat(wifi): choose an RTL8852C's TX power regulatory index from its efuse country, then the network's, through the firmware's REGD map as rtw89_regd_setup does, where no regulatory index existed 2026-11-19 19:35:33 +00:00
Garvit Surana 605285b515 feat(wifi): read an RTL8852C firmware's TX power by-rate, limit, RU limit, TX shape and regulatory elements for its RFE type as rtw89_fw_recognize_txpwr_from_elm and rtw89_load_rfe_data_from_fw do, where those elements were walked past 2026-11-19 19:28:38 +00:00
Garvit Surana cd5c0b67b2 feat(wifi): program an RTL8852C's baseband for a 20 MHz channel with its firmware gain tables, efuse RX gain offsets, CCK filters, spur notches and TX path table as rtw8852c_set_channel_bb does, and run the whole of rtw89_set_channel, where its baseband kept the table defaults 2026-11-19 16:31:00 +00:00
Tyler Smith 66b673ccb1 test(xtask): the manifest names the wave's nine measurement tests 2026-11-19 11:26:12 -05:00
Garvit Surana e5e3a1ead5 feat(wifi): enable an RTL8852C's IQK/DPK clocks, wait for its NCTL block and load its firmware NCTL table as rtw89_phy_init_rf_nctl does, where calibration had no NCTL program 2026-11-19 13:26:36 +00:00
Garvit Surana befc02c033 feat(drivers): load an RTL8852CE's firmware PHY tables, send its RF register pages and grant its RF to Wi-Fi after the MAC init and report what was applied, where the bring-up stopped at the firmware's OFLD_CFG acknowledgement 2026-11-19 12:33:58 +00:00
Garvit Surana 316a869e0f feat(wifi): load an RTL8852C's firmware radio tables path B first and send their RF register pages to the firmware as rtw89_phy_init_rf_reg and rtw89_fw_h2c_rf_reg do, where its RF ran on reset values 2026-11-19 11:42:29 +00:00
Garvit Surana 080526faea feat(wifi): reset an RTL8852C's BB and RF, load its firmware BB table, set its TX power units, decode its BB gain table and reset its BB as rtw89_chip_reset_bb_rf and rtw89_phy_init_bb_reg do, where its BB ran on reset values 2026-11-19 11:29:44 +00:00
Garvit Surana 789b532c2b feat(wifi): select an rtw89 firmware table's branch by RFE type and cut and walk its IF/ELIF/ELSE/END bodies as rtw89_phy_sel_headline and rtw89_phy_init_reg do, where the element tables were found but never applied 2026-11-19 10:58:01 +00:00
Garvit Surana 02033e0c52 feat(wifi): find the BB, BB gain, radio and NCTL tables an rtw89 firmware file carries after its container, as rtw89_fw_recognize_elements does, where its trailing elements were held unread 2026-11-19 06:44:28 +00:00
Garvit Surana 9e43a92c6a feat(wifi): identify an RTL8852CE and select its rtw89 firmware image by cut, where 10ec:c852 had no identity and rtw89 parsing always preferred a CE image 2026-11-18 15:39:36 +00:00
Tyler Smith e219bc50d9 fix(xtask): gpu export writes back a patch file the series holds byte for byte while its commit makes the same change, so fetch then export changes nothing, where it gave each contributor's patch the configured author and a UTC date and lost its signature and short blob names 2026-11-18 07:48:09 -05:00
Promethium 5006c150e8 fix(disk): keep every partition in its GPT entry when the installer rewrites a table, where partitions after a gap or after the new one moved to other entries and were renumbered 2026-11-18 03:40:28 -05:00
Tyler Smith ecaee19338 fix(xtask): a release job's build or cargo xtask dist stops when STELA_VRAM_CAP_MIB is set, where it built the test-only memory cap into an image that ships 2026-11-17 19:46:05 -05:00
Tyler Smith 108014fe73 test(gpu): a boot built with STELA_VRAM_CAP_MIB set holds the Metal device to that much device memory, its heaps reporting no more and its allocations running out of memory there, so a GPU with much memory takes the paths of one with little 2026-11-17 19:46:05 -05:00
Daniel Brooks d90a67c676 fix(gpu): fail only a submission amdgpu refuses short of losing the context and keep a lost RADV device unreleased, where any refusal lost the device for every client and its reopen closed RADV's file in the turn every client waits on 2026-11-17 01:22:57 -05:00
Daniel Brooks 428c3cad80 feat(boot): a radv image whose Metal device runs on RADV over the GPU amdgpu binds, built by cargo xtask boot build --radv 2026-11-17 01:22:57 -05:00
LBNM-ONE 1d60fb9d4b feat(gpu): claim an RX 9070 for amdgpu without a reset at claim, from an image built with xtask boot build --amdgpu 2026-11-17 01:22:57 -05:00
Tyler Smith a6f494d7e3 fix(xtask): gpu compilers reads a thin archive's members from their own files and leaves the system's libraries out of the archives it inspects, where Meson 1.10's thin archives and its implicit inputs on libm.a and libdl.a stopped the run after its tests passed 2026-11-16 17:10:30 -05:00
Tyler Smith dd76724be3 test(gpu): a Metal suite case times eight frames sampling a 3840x2160 10-bit 4:2:0 video surface and checks the frames after a CPU write see it 2026-11-16 16:56:32 -05:00
Tyler Smith fda4ece2a2 perf(gpu): a large sampled two-plane IOSurface texture is kept in device memory and copied from its rows only in command buffers that use it after its surface's seed changed or the GPU wrote it, where every sample was a bus read of guest RAM and a 4K video wallpaper cost Mission Control 10-19 ms a frame 2026-11-16 16:56:32 -05:00
Tyler Smith 566b72cb8a fix(gpu): RADV builds a stage given as NIR in VkPipelineShaderStageNirCreateInfoMESA, as Mesa's common pipelines do, from a clone that takes the device's options, and radv-test builds such a pipeline through ACO on each of its 9 devices, where RADV skipped the stage and compiled zero words of SPIR-V for every Metal pipeline 2026-11-16 16:32:13 -05:00
Tyler Smith 823ae097a7 fix(intel): ANV reads storage images without a format below Gfx12.5 through its shader conversion by default, so Tiger Lake to Raptor Lake give Metal read-write texture tier 2, and anv-test builds a pipeline from NIR through BRW per platform, where the conversion was on only for Android and the Metal device refused Gen12.0 (Mesa patch 0030) 2026-11-16 16:32:13 -05:00
Tyler Smith b8e95bdcf8 test(gpu): cargo xtask gpu anv-test says per platform which of the Metal device's Vulkan requirements ANV lacks, where it created only a plain device and never showed that the Metal device refuses ANV on every platform 2026-11-16 16:32:13 -05:00
Tyler Smith bc1d8fbdbc fix(gpu): a release build (STELA_RELEASE) fails with the reason when the host cannot build a Vulkan driver the image gives its GPUs, named by each driver's released flag, where it built an image without that driver as a developer's build does 2026-11-16 13:17:46 -05:00
Tyler Smith 0404e30d26 fix(mesa): crates/stela-mesa is a workspace of its own, so cargo xtask check formats it and its std crate in a git worktree nested in the main checkout, where Cargo took that checkout's root as their workspace and both format steps failed 2026-11-16 13:17:46 -05:00
Tyler Smith 865c48e476 fix(gpu): a host whose mesa_clc build fails, as on a pkg-config file naming libdrm headers that are not there, builds the image without the Vulkan drivers that need it and names the first compiler error once, where the failure stopped cargo xtask gpu nvk 2026-11-16 10:57:56 -05:00
Tyler Smith d970f08f43 test(gpu): cargo xtask gpu radv-test builds RADV for the host with the image's options and runs it over Mesa's amdgpu no-op DRM shim through Stela's libdrm stand-in and libdrm_amdgpu from its unchanged sources, creating the device, compiling an ACO compute pipeline and submitting one dispatch for nine AMD GPUs from GFX8 to GFX12, each amdgpu ioctl counted and checked against Stela's amdgpu 2026-11-16 10:41:48 -05:00
Tyler Smith fb806f922a feat(gpu): the image's Mesa build adds RADV with ACO as one more entry of its driver table when the build host has the tools, with libdrm_amdgpu built from libdrm's unchanged sources over the DRM calls compat/mesa/drm.c serves, RADV's entry and its clashing symbols under their own names, and RADV's own NIR options for metal::amd::DRIVER, with tests; AMD's stack still gives no Vulkan driver 2026-11-16 10:41:48 -05:00
Tyler Smith 31f72536fb refactor(gpu): the host tests of the image's Vulkan drivers share one module for Mesa's host configuration, the test program's compile and link, the host's libdrm and the kernel driver's ioctl table, which ANV's test now uses, so a second driver's test is its driver, shim, program and devices alone 2026-11-16 10:41:48 -05:00
Tyler Smith ed4f478bac test(gpu): cargo xtask gpu anv-test builds ANV for the host with the image's options and runs it over an xe no-op DRM shim through Stela's libdrm stand-in, creating the device, compiling a BRW compute pipeline and submitting one dispatch for six xe platforms, each xe ioctl checked against Stela's xe 2026-11-16 10:41:48 -05:00
Tyler Smith 0e2bcf964a feat(gpu): the image's Mesa build adds ANV with BRW beside NVK when the build host has what its build runs, mesa_clc and vtn_bindgen2 built here for the host and glslang, with ANV's loader entry compiled under its own name and checked against NVK's symbols, and says once why ANV is not built otherwise; Intel's stack names ANV's entry only in an image that holds it 2026-11-16 10:41:48 -05:00
Tyler Smith 1a22c6e35d fix(gpu): the image's C library has dl_iterate_phdr, which finds no ELF object, imaxabs, openat in the current directory, a refusing mkfifoat and ENOBUFS, so Meson's probe finds dl_iterate_phdr and ANV's units compile, where ANV's configuration stopped and the build forced the probe's define 2026-11-16 10:41:48 -05:00
Tyler Smith 55731fcad6 build(gpu): a change of Meson's options configures Mesa again from its own record of them, and a unit whose compile command changed is compiled again, where the first removed every GPU build tree, LLVM's and the C library's included, and a new probe result kept a unit's old object 2026-11-16 10:41:48 -05:00
Tyler Smith 5a4b43b41f fix(oracles): the manifest binds the 570.211.01 live NVIDIA provisioning test to STELA_NVIDIA_570_211_TEST, where the ignored test was unbound and the oracle manifest check failed 2026-11-16 08:42:21 -05:00
Tyler Smith 104d6d9814 test(compiler): a manual host benchmark times one transfer through a stamped tail, a cell tail, an empty cell and a lookup tail of one to a thousand targets, in one native run or in short runs, where no benchmark compared the paths a transfer to another page takes 2026-11-16 04:58:04 -05:00
Tyler Smith b11703fb2c test(gpu): the Metal suite renders a pass shaped as a path coverage pass, with varyings without perspective and an output to color attachment 1 alone under early fragment tests, where no case covered the pipeline whose shader program header a GB203 refused 2026-11-16 03:20:59 -05:00
Tyler Smith 8bef08364c fix(gpu): a shared depth or stencil texture is made with a CPU copy that CPU writes reach the image from at the next commit and CPU reads copy the image out on the GPU, and a shared combined depth-stencil texture is made for blits alone, where every shared texture of a format without host image copy was refused and a pass with a shared Depth32Float target failed 2026-11-16 03:20:59 -05:00