Commit Graph
7304 Commits
Author SHA1 Message Date
Tyler Smith 5df0579852 fix(gpu): run a deferred compile in slices of about 2 ms that any processor resumes, and let a job's DRM call wait without the 300 ms withdraw, where a job ran whole for seconds in one host step and its DRM calls failed with ETIMEDOUT 2026-11-15 07:34:58 -05:00
Tyler Smith 4154af8402 feat(boot-core): run a body as a fiber on its own stack that gives its processor back at points it chooses and resumes on any processor, and call a hook as each allocation begins 2026-11-15 07:34:58 -05:00
Tyler Smith c70faa5694 test(compiler): build the device-site boundary timing only on Linux, where its test runs 2026-11-15 07:34:46 -05:00
Tyler Smith 686ba6478a fix(net): log a Realtek adapter's registers, ring positions and receive events when it gets no address or a remote image range first fails, where those failures said nothing of the adapter's state 2026-11-15 07:10:22 -05:00
Tyler Smith 8553805c1c fix(net): drop a Realtek receive descriptor only when its error summary bit is set, as Linux rtl_rx does, where a set RWT, RUNT or CRC bit alone dropped the frame 2026-11-15 07:10:22 -05:00
Tyler Smith 1cad3804dc fix(net): advertise symmetric and asymmetric pause on Realtek PHYs, as r8169 does, so the MAC's hardware flow control holds a gigabit burst at its FIFO thresholds, where no pause was advertised and a burst could overflow the receive FIFO 2026-11-15 07:10:22 -05:00
Tyler Smith 0c4f1dfae1 fix(pci): refuse only the function a census defect concerns, the functions on its link that could be its VFs, or a failed bridge's subtree, and name the defect at the refused claim, where one defect anywhere on a segment left every function on it unverified, the GPU too 2026-11-15 07:10:22 -05:00
Tyler Smith 63b93d8180 fix(boot): keep the first stop's reason on the screen and in the record and end the step watchdog's watch at it, where the other processors kept watching the stopped boot processor's step and its NMI replaced the reason with a 30-second step timeout 2026-11-15 07:10:22 -05:00
Tyler Smith df0364f494 perf(soc): settle a write to a model that promises its writes reach only itself and its interrupt lines, the UART first, without stepping the DMA masters, where every write checked all seven, about 2.6 us per UART byte 2026-11-15 07:10:22 -05:00
Tyler Smith 347e2c112a perf(boot): run the beat's --profile reports of exits, transfers and hot blocks and the PES STAMPED line in three beat steps of their own, where they ran in the beat's first step with the processors' report, which took 4.3 to 5.5 ms on PE 0 2026-11-15 07:10:22 -05:00
Tyler Smith 237143238d perf(boot): queue the guest's console lines under the board lock and write them to the log and serial port from the home PE's reports, 250 us at a time, with a writer sending 32 bursts at most, where the PE whose UART write ended a line formatted and sent it, and the whole serial backlog before APs ran, under the lock 2026-11-15 07:10:22 -05:00
Tyler Smith 8bdb07940e test(compiler): time on the host a native entry into a device site's stub and its return, as the bare-metal entry makes them, which come to 2.7 ns 2026-11-15 07:10:22 -05:00
Tyler Smith 1674b6238a perf(boot): draw the running step's line and the guest console lines under it for at most 250 us at a time and finish the rest at the next ticks, where each scroll of those lines redrew them all at once and held PE 0 for up to 106 ms during boot 2026-11-15 07:10:22 -05:00
Tyler Smith e884765d29 perf(engine): borrow the own-lock registers for each access under their device's lock, where every access cloned and dropped their shared count, two atomic writes to a line all PEs share 2026-11-15 07:10:22 -05:00
Tyler Smith f0d97c85a4 perf(engine): complete an access at a device site with the instruction and page translation its last access there kept, valid while the native device reads' key holds, where every access decoded the word twice and walked the tables 2026-11-15 07:10:22 -05:00
Tyler Smith 06c6ea5f7b feat(restore): log an answer that has waited 30 s for its reads, and every 5 minutes after, with its request's type, its turns and the bytes it read and keeps, where an answer that never ended left only the guest's step lines 2026-11-15 05:40:36 -05:00
Tyler Smith b052b90a18 fix(restore): keep a pending read's cursor when the transfers end and when other reads need a cursor, evicting free ones first, where both dropped it and the read asked again inflated its member from the start 2026-11-15 05:40:36 -05:00
Tyler Smith 7d815c7e36 fix(restore): keep what an answer read, its heads, whole images and finished digests, while its request is asked again after a pending read, so each turn goes on from the last, where every turn read every head and digested the SEP image again and NORData from a slow stick never ended 2026-11-15 05:40:36 -05:00
Tyler Smith ec88d6a86e feat(gpu): log in GPU PIPELINE TURNS the pipeline jobs turns left with the time copying their NIR, and the pipelines turns created themselves 2026-11-15 05:29:51 -05:00
Tyler Smith 4c6a7ef7c9 fix(gpu): deserialize a deferring call's stored NIR in its compile job, where the call's turn deserialized it and held every process's GPU calls up to 58 ms for a large shader 2026-11-15 05:29:51 -05:00
Tyler Smith 1a785da867 feat(gpu): log the GPU's P-state and GPC and memory clocks from GSP-RM in GPU PERF at the first beat and when they change, where nothing read the GPU's performance state 2026-11-15 05:29:51 -05:00
Tyler Smith 43877738cb refactor(compiler): drop the products' tiny-status branch after the full path's AH check, which only AH set reached and so always skipped, and its claim that SSE finds tininess before rounding 2026-11-15 05:01:45 -05:00
Tyler Smith bf4d232c52 fix(compiler): send an S/D FMUL, FNMUL or FMULX lane rounded to the minimum normal to the helper on the full path, where the host's tininess after rounding left out UFC for an exact product below it and, under FZ, kept the minimum normal where Arm flushes to zero 2026-11-15 05:01:45 -05:00
Tyler Smith f744c54670 test(soc): bind the SPI NOR access timing test in the oracle manifest 2026-11-15 04:49:20 -05:00
Tyler Smith 32e877b0b8 fix(nor): serve the SPI NOR controller's registers under its own lock, so XNU's PIO loop takes the board lock only when the interrupt line moves, where each of an NVRAM sync's ~880k register accesses took the board-wide lock behind every other PE's device calls 2026-11-15 04:42:52 -05:00
Tyler Smith 095252c117 feat(engine): serve a device's registers under its own lock when it offers them, taking the board's lock only to hand on the interrupt line changes they queued, first in every hold, where every register access of every device took the board-wide lock 2026-11-15 04:42:52 -05:00
Tyler Smith 7782e73b28 test(compiler): bind the two host timing tests in the oracle manifest and build the flag model helpers only where their Linux test runs 2026-11-15 04:42:14 -05:00
Tyler Smith 13ee85bde4 style(engine): format the shadow fault-around fill 2026-11-15 04:42:14 -05:00
Tyler Smith 2440c0e0d1 fix(gpu): publish a finished Metal job before releasing the compile lock, where a job that ended let the next job start and then cleared its running mark, so a call parked on it ran again and queued its compilation twice 2026-11-15 04:22:37 -05:00
Tyler Smith b72f698d71 test(pci): keep a segment classified when a conventional function such as an Intel PCH SMBus answers at 0x100 with its first bytes 2026-11-15 04:22:37 -05:00
Tyler Smith f5f8121a28 fix(nvme): write CC with EN clear and read CAP again before setting EN, as Linux nvme_enable_ctrl does, where EN was set in the only write and the ready wait used CAP as read before CC was written 2026-11-15 04:22:37 -05:00
Tyler Smith 4be7247a8e fix(net): give each DNS server an 11 s turn at a query, up to the three smoltcp asks, where a 15 s bound on the whole query against smoltcp's 10 s per server never reached the third server and, on a link that signals, not even the second 2026-11-15 04:22:37 -05:00
Tyler Smith 0e6bcbc39e perf(compiler): keep a pinned setter's NZCV in the host flags past a side exit only where the fallthrough then drops it, storing it on the exit's own path out of line, where the fallthrough jumped around an inline store and stored the word again 2026-11-15 03:42:28 -05:00
Tyler Smith 3b8cdedf9b perf(compiler): materialize MOVZ, MOVN, MOVK and logical-immediate constants with mov r32,imm32 or a sign-extended mov r64,imm32 instead of movabs, guest addresses keeping their relocated movabs 2026-11-15 03:42:28 -05:00
Tyler Smith d4b855e29c perf(compiler): keep a pinned flag setter's NZCV in the host flags for the branches and selects that follow it, storing the word only before what may need it 2026-11-15 03:42:28 -05:00
Tyler Smith 4ec5a05a15 test(compiler): measure the host instructions and memory operations each block transfer kind runs 2026-11-15 03:42:28 -05:00
Tyler Smith c33f6e42cf test(compiler): record the host instructions, memory operations and NZCV operations of flag setters and readers on a block's fallthrough path 2026-11-15 03:42:28 -05:00
Tyler Smith ee29a136f5 feat(nor): log in the NOR SPI line the board lock time of the calls that accessed the NOR, their waits for the lock and their holds, where a slow NVRAM sync could not tell its own lock time from contention or the guest's code between accesses 2026-11-15 03:41:39 -05:00
Tyler Smith ca351933ff perf(compiler): the block table takes the power of two at or above one entry per 256 arena bytes, where it rounded down and a full arena kept about 70% of its blocks' entries 2026-11-15 03:38:33 -05:00
Tyler Smith 589025c0d1 perf(boot): a not-present shadow fill also maps the other guest leaves of its 64 KiB window, each from its own read walk and recorded for TLBIs as a demand fill is, and the SHADOW line counts them as around, where each of those leaves took its own fault 2026-11-15 03:38:33 -05:00
Tyler Smith 1e4d768398 feat(boot): the SHADOW line reports the fill handler's nanoseconds per fill, where a fill's cost was not measured 2026-11-15 03:38:33 -05:00
Tyler Smith 809d4c2e5b perf(engine): blocks on bare metal use the AVX-512F, VL, BW, CD, DQ, VBMI, VNNI, BITALG and VPOPCNTDQ recipes where every worker's CPUID has them and its XCR0 enables opmask and ZMM state, where the native target stopped at AVX2 2026-11-15 03:38:33 -05:00
Tyler Smith 55d9ccf62b perf(boot): every processor turns on the AVX-512 state in XCR0 where its CPUID has AVX-512F and XSAVE manages that state, as Linux does, where XCR0 held only x87, SSE and AVX state 2026-11-15 03:38:33 -05:00
Tyler Smith 338f9e6f19 perf(boot): each processor that runs a PE asks for full performance through Intel HWP or AMD's CPPC MSRs as Linux's performance policy does and the boot log counts the outcome, where cores ran at whatever request firmware left 2026-11-15 03:38:33 -05:00
Tyler Smith c769ba415b perf(net): signal igc, e1000e, igb and Realtek frames on the network vector too, where only virtio-net's made the host service due and the others' sent the disks looking for completions 2026-11-15 03:30:46 -05:00
Tyler Smith c610f641e5 fix(boot): give the guest only the NCM adapter, with no option for ECM, where --guest-network-ecm added a flag for a fallback nothing detects 2026-11-15 03:30:46 -05:00
Tyler Smith da5f5f33a0 fix(usb): queue at most 256 frames from one NCM OUT transfer and count the rest as overflowed, where a block naming one datagram thousands of times queued a frame for each 2026-11-15 03:30:46 -05:00
Louis-Philippe Gauthier 542fbfa5fe perf(net): wake a core for virtio-net receive instead of waiting for the host tick 2026-11-15 03:30:46 -05:00
Louis-Philippe Gauthier d72f84de03 perf(net): present the guest network as a USB NCM adapter 2026-11-15 03:30:46 -05:00
Tyler Smith 2e5f9d9de3 fix(engine): fire a deferred fast IPI at its countdown from its own PE, which wakes for it and advances the devices itself, where it fired only at the home machine's next advance of the devices, milliseconds later and behind the home PE's host work 2026-11-15 02:43:03 -05:00