Commit Graph
677 Commits
Author SHA1 Message Date
Garvit Surana e7b14d5887 feat(cli): name the setup tool stambha, with Stambha in its help, --version, examples, prompts, progress and errors, where every one said stela or Stela
The [[bin]] is stambha, xtask dist prints target/release/stambha, and the
release workflow packages, version-checks and names stambha-v* archives;
its INSTALL notes say ./stambha. --version prints "Stambha 0.5.0" through
clap's display_name. A binary renamed back to stela still runs: clap reads
nothing from argv[0].

On-stick names stay as they were: the STELA volume label, \EFI\stela\,
stela.efi, stela.cfg, the per-user stela cache and Stela temp folder, the
archive comments, the boot log's "Stela boot log: N boots" header and the
mount interface's own message.
2026-11-22 22:26:46 +00:00
Garvit Surana e6e0836e03 merge fork/upstream-prs: nine upstream PRs (#222 #223 #226 #244 #245 #246 #247 #248 #249): DesignWare I2C early STOP, PS/2 ACK before CTR, fixed-MTRR VGA hole, Raptor Lake HDA, TLB mailbox and ITLB fixes, a 1024-entry jump cache, faster block translation 2026-11-22 20:36:32 +00:00
Garvit Surana fd7b002b6d test(xtask): bind the AMX cost table's opt-in test to the oracle manifest where it now lives, costs in crates/stela-compiler/tests/amx_native/costs.rs, with the canonical manual: opt-in reason, where the manifest still named native_and_model_costs in src/amx/native.rs, which fork/amx removed, and manifest_covers_every_ignored_test_in_tracked_sources failed 2026-11-22 19:53:38 +00:00
Garvit Surana 8cd2398dbe merge fork/amx: AMX native kernels for most register-op forms (vecfp, matfp, mac16, fma16/32/64 modes), --amx-native on|off|off:OPS to leave all or named ops to the reference model, per-form counts under --profile 2026-11-22 19:53:27 +00:00
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 75104de5a6 fix(engine): --amx-native off leaves every AMX register operation to the reference model, copies and constants included, in blocks through an engine routine that runs the model alone (counted by form under --profile) and in the service, which skips the host paths, where the model tier's paths still completed fma32/fma64/fma16 modes 3, 5, 6 and 7 on the host and the AMX NATIVE off line was false
The service now also counts the register operations its host paths
complete, which it left out of amx_operations, and every PE fills its
published AMX form counts only under step timing, which alone counts
them, instead of copying 3 KiB twice at each run slice. The ties test
asserts that an F16C path ran, and the AMX native tests' module and the
check gate say to set STELA_AMX_OPTIONAL=avx512f on a host without
AVX-512.

Translator id: unchanged (no compiler source and no engine translation
input changed; the code blocks hold is the same whichever routine the
cell names).
2026-11-22 17:09:17 +00:00
Garvit Surana 13691d06db fix(xtask): refuse code that runs past the address space with an error, leave out a section that does, skip a cache missing a subcache or a file that cannot be read with a warning, warn of a dyld cache file with a dot and no main file beside it and read one named itself as a main file, where the symbolizer's sums could panic, one missing subcache or broken file aborted the run and a renamed main cache was skipped silently 2026-11-21 22:29:18 +00:00
Garvit Surana f1899c639a test(xtask): read a synthetic dyld cache of the shipping split layout, its main file naming a .01 that holds the image's __LINKEDIT and a .symbols by UUID, and have the real-cache oracle check an address inside each function, function starts for nearly every image and each start inside its image's code, where only the old one-file layout ever ran and the oracle named exact symbol addresses alone 2026-11-21 22:22:40 +00:00
Garvit Surana 3fcfd11de3 fix(xtask): name code outside an image's __text by its section, so stubs read as __auth_stubs or __objc_stubs, where the symbolizer gave them the name of the last __text function before them 2026-11-21 22:18:15 +00:00
Garvit Surana b86fd8f0c5 fix(xtask): keep the file each page key was found in and name its function only from that file's innermost image range, reading a file once and no dSYM, where the symbolizer searched one list of every file's ranges by address and named another kernel's, kext's or cache's symbol, or no image where ranges nested 2026-11-21 22:15:21 +00:00
Garvit Surana 9d98f9c94b fix(profile): trim the PES PC total at each beat to the blocks with the most cycles, folding the rest into other, and have symbolize warn when other holds a tenth of the cycles, where the total kept the first 65536 blocks it saw forever and a later workload's code landed only in the other that symbolize's default reads 2026-11-21 22:11:13 +00:00
Garvit Surana 0f8cbe8975 fix(xtask): skip a PES PC level line without its group's header, or a broken line, with a warning that names it, and apply a level line only whole, where one such line in a wrapped, dropped or cut log aborted the whole symbolize run 2026-11-21 22:06:46 +00:00
Garvit Surana ac070b749d fix(profile): print PES PC cycles whole and show them in the symbolizer's table as millions with a decimal, where each block's cycles were cut to whole millions, a one-sample block read 16M for 16.78M and --beats summed every cut 2026-11-21 22:04:11 +00:00
Garvit Surana 912aa6aed6 feat(xtask): add cargo xtask symbolize, which hashes the guest's dyld shared cache or Mach-O pages as the engine keys them and ranks a log's PES PC blocks by function and image, with an opt-in oracle test on a real cache, where no tool in the tree named a sampled guest PC 2026-11-21 21:33:19 +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