Commit Graph
7012 Commits
Author SHA1 Message Date
Tyler Smith 696b3d2c8e test(gpu): begin Core Animation's compositor passes with readable memoryless attachments beside own and IOSurface targets, deferring once for surface memory 2026-11-14 01:34:00 -05:00
Tyler Smith b43273235c fix(gpu): note a refused render pass with its error and tile memory, and never a pass that only deferred for a job 2026-11-14 01:34:00 -05:00
Tyler Smith eab945d98b fix(pci): recheck each bridge page by page before it forwards, where the whole-space view could not map beside the first bridge already forwarding and withheld every later one 2026-11-14 01:34:00 -05:00
Tyler Smith 9907f0ab2b fix(ans): send the discards a shutdown waits for at once and several commands together, and give up what still waits after 10 s, where a fresh install's queue outlasted the 25 s macOS gives its disk controller and the restart panicked 2026-11-14 01:34:00 -05:00
Tyler Smith bb170b8344 fix(restore): bound a service's restore read ahead to 20 ms past its first job, reading for the jobs it left first at the next service, instead of every job's read in one turn 2026-11-14 01:34:00 -05:00
Tyler Smith 6582261179 fix(block): let a shared disk's window look without waiting while another owner holds the disk, answering no result, no room or a put-off commit, so a service turn's NOR store never waits behind an owner that waits for the host drivers 2026-11-14 01:34:00 -05:00
Tyler Smith abcd457d8f fix(usb): let a storage device's owner begin commands and end them at later looks, with its UNIT ATTENTION and port reset retries, so a shared USB disk's start returns once the wrapper is submitted instead of running the whole command under the host drivers' lock 2026-11-14 01:34:00 -05:00
Tyler Smith 55f301b728 fix(usb): settle a Bulk-Only reset by polling the timer's minimum interval and clear a stalled status at once, as Linux does, instead of a disk look waiting six seconds under the host drivers' lock 2026-11-14 01:34:00 -05:00
Tyler Smith e7f5b9b4f7 feat(iommu): give a device's domain each requester ID a bridge above it forwards its DMA under, on VT-d by claimed alias contexts and on AMD-Vi through the IVRS aliases 2026-11-14 01:33:59 -05:00
Tyler Smith df9c1d4211 fix(iommu): stop every taken AMD-Vi unit when a blocked fabric falls short with every unit off, so the machine settles untranslated 2026-11-14 01:33:59 -05:00
Tyler Smith 4d06632f84 fix(storage): start an NVMe controller whose CAP.MQES is below 16, shortening the I/O queue to it as Linux does, since MQES does not bound the admin queue 2026-11-14 01:33:59 -05:00
Tyler Smith 0e71c0d9c4 fix(storage): use an NVMe controller whose CSTS.CFS still stands once CSTS.RDY rises, as Linux reads no more of CSTS before its commands, resetting it only at a command timeout 2026-11-14 01:33:59 -05:00
Tyler Smith 55eed344a9 feat(gpu): log each process's accelerator open result and the plugin's pre-gate failure step to the guest console once 2026-11-14 01:33:59 -05:00
Tyler Smith 318f91592a feat(boot): reset a cold requester's bus through its forwarding root or downstream port, re-parking its unclaimed siblings and rechecking the bridge's forwarding and routing seal 2026-11-14 01:33:59 -05:00
Tyler Smith 55ec561063 fix(gpu): reset an untranslated GPU without FLR or a D3hot reset through its bridge's secondary bus instead of refusing it 2026-11-14 01:33:59 -05:00
Tyler Smith 75ffe8b3cd feat(pci): offer a cold requester's driver a bus reset that restores the device's contained sibling functions through exactly their saved writes 2026-11-14 01:33:59 -05:00
Tyler Smith af898f1775 feat(pci): reset a function and its own sibling functions by Secondary Bus Reset on the routing-sealed bridge above it, as Linux pci_parent_bus_reset with pciehp's event masking 2026-11-14 01:33:59 -05:00
Tyler Smith adc1a2bdda feat(boot): split a slow restore read turn into its read ahead and its answer work in the HOST SERVICE SLOW line 2026-11-14 01:33:59 -05:00
Tyler Smith 04c55b8c8c fix(boot): let the boot log and NOR stores of a service turn put a disk look off while another processor holds the host drivers, instead of a PE waiting hundreds of milliseconds for the lock inside one exit 2026-11-14 01:33:59 -05:00
Tyler Smith 1f301b5299 fix(gpu): take a display that appears after start once a second on the boot CPU when the firmware's screen is gone, restore one replugged while macOS runs, and wait for the one bound GPU when the screen's owner is unknown 2026-11-14 01:33:59 -05:00
Tyler Smith 08539ed6e0 fix(gpu): read DRM connectors as last detected without a probe and set an output's mode again when it returns after an unplug 2026-11-14 01:33:59 -05:00
Tyler Smith 957c99cdb4 fix(iommu): stop the taken VT-d units when a blocked fabric does not qualify with every unit off, and keep a takeover refused before any write from marking the machine uncertain 2026-11-14 01:33:59 -05:00
Tyler Smith a1b9728e27 fix(iommu): leave every unit untranslated when all are off and they cannot all start blocked, as a window or uncovered requester left no IOAPIC or native device 2026-11-14 01:33:59 -05:00
Tyler Smith 7d3f321543 fix(boot): tell the screen at the next start that the last start stopped, why, and where its kept lines are 2026-11-14 01:33:59 -05:00
Tyler Smith ccb4d75f51 fix(boot): store the USB's log at a stop inside the GPU's start and keep its last lines in the firmware before the screen is drawn 2026-11-14 01:33:59 -05:00
Tyler Smith f5a639d3f6 fix(nouveau): end the GSP unload wait when GSP reports a fatal state by its HALT interrupt, and report how far its logs advanced 2026-11-14 01:33:59 -05:00
Tyler Smith 08438d2b06 fix(vmd): keep the stopped requester and attachment when reserving or mapping a VMD BAR fails 2026-11-14 01:33:59 -05:00
Tyler Smith cad5ade48c fix(vmd): stop each child firmware left mastering or signalling while the VMD's own Bus Master is clear, refusing only a child whose bits stay set 2026-11-14 01:33:59 -05:00
Tyler Smith 49fb79a80d fix(pci): attach VMD through cold preparation and claim SMBus and LPSS I2C hosts with Bus Master sealed, replacing the stopped claim that always refused 2026-11-14 01:33:59 -05:00
Tyler Smith e8de5a9561 fix(pci): walk each function's capability list in the census as Linux does and refuse only the function whose control cannot be stopped, where one odd list kept the GPU refused 2026-11-14 01:33:59 -05:00
Tyler Smith 35054dd6ee fix(gpu): say every 2 s where a long wait in the GPU's Linux start is, by the counter and by Linux's clock, store the USB's log with it, and end the wait by the counter when Linux's clock stands still 2026-11-14 01:33:59 -05:00
Tyler Smith 6f0e1f26cb fix(boot): leave out unset root bridge windows and end a window whose maximum lies below its minimum at its length, where either kept every BAR outside the root windows 2026-11-14 01:33:59 -05:00
Tyler Smith 93d8cc4e4f fix(iommu): step over DMAR and IVRS parts Linux skips, report each once, and settle untranslated when a table is not fully understood but every unit reads off 2026-11-14 01:33:59 -05:00
Tyler Smith 64e5b6b20f fix(irq): keep MADT NMI source pins masked and unrouted, as Linux ignores them, instead of refusing every IOAPIC 2026-11-14 01:33:59 -05:00
Tyler Smith d5c29a0d48 fix(pci): recheck each bridge with its own bus just before it forwards, and forward empty ports too, so one changed function withholds only its branch 2026-11-14 01:33:59 -05:00
Tyler Smith 84d6a17781 fix(pci): forward through every Type 1 bridge as Linux does, and refuse only a remapped function below a bridge that may substitute its own requester ID 2026-11-14 01:33:59 -05:00
Tyler Smith 7f9a1baf0f fix(ioapic): contain each pin as Linux clear_IO_APIC_pin does, leaving SMI pins alone, releasing a stuck Remote IRR, comparing only defined bits, and withholding a pin that stays pending by itself instead of refusing every IOAPIC line 2026-11-14 01:33:59 -05:00
Tyler Smith 01010759f2 fix(iommu): decide on each AMD-Vi unit from the IVRS before any starts, start only the units the policy keeps and only read the others off, and admit a kept unit as Linux does, masking reserved feature bits, SNPSup and control flags the unit hard-wires 2026-11-14 01:33:59 -05:00
Tyler Smith 6f5e27f540 fix(pci): skip idle functions with vendor ID 0000 or 0001, CardBus or unknown headers and repeats of single-function devices, and accept odd bridge classes and wrong primary bus fields in the census as Linux does 2026-11-14 01:33:59 -05:00
Tyler Smith 580b548d97 fix(pci): refuse only the function whose stop does not read back, as Linux carries on past INTx Disable, a held Secondary Bus Reset and transactions still pending after 700 ms, clear an endpoint's Initiate FLR bit instead of refusing, and take no IOMMU unit while a refused function keeps bus mastering on, where one such function failed containment for the whole PC 2026-11-14 01:33:59 -05:00
Tyler Smith 62e3be3ab8 fix(gpu): take a GPU without FLR through a D3hot reset, or unreset as nouveau starts it when its DMA is translated 2026-11-14 01:33:59 -05:00
Tyler Smith ebc109da89 feat(pci): reset a function without FLR through D3hot when No_Soft_Reset is clear, as Linux pci_pm_reset 2026-11-14 01:33:59 -05:00
Tyler Smith 5c6a6d0795 fix(boot): find the firmware screen's PCI function from every GOP handle or by its BAR, and start a GPU after stopping the firmware screen when none is found 2026-11-14 01:33:59 -05:00
Tyler Smith 649372886a fix(iommu): leave every IOMMU unit off when one is left and all are off, as a unit taken beside a left one kept the IOAPICs and the GPU refused on PCs with several units 2026-11-14 01:33:59 -05:00
Tyler Smith 4a5b7511bf fix(pci): check only the capabilities that can make a stopped function send requests or interrupts and ignore the rest, where VPD, SSVID, TPH, PTM, DPC, DVSEC, DOE and other passive capabilities refused the function 2026-11-14 01:33:59 -05:00
Tyler Smith 05bd99053a fix(setup): resume a firmware download a cut connection broke with a Range request, time out only an idle transfer, and name the transfer's cause 2026-11-14 01:33:59 -05:00
Tyler Smith 6eef15dcad fix(net): leave Realtek multiple descriptor fetch off, since an RTL8168H with it wrote frames into other slots of the packed receive buffers and returned empty ones 2026-11-14 01:33:59 -05:00
Tyler Smith 816bb3c272 fix(gpu): wait a bounded time for the display of the GPU that showed the firmware's picture, which a monitor searching its inputs after the GPU's reset reports late, and report what each connector detected when no display is taken 2026-11-14 01:33:59 -05:00
Tyler Smith 1bcf355cf8 fix(boot): name the firmware entry this start came from as the next one before a restart macOS asked for, where the firmware's own order started another system and the restart never came back 2026-11-14 01:33:59 -05:00
Tyler Smith 88eb7eef2f fix(iommu): say whether an AMD-Vi unit that did not start reads off again and keep the PC untranslated when it does, clear the hardware errors the firmware saw with the unit's other leftovers, and take a unit whose rings run beside a set event bit, where each of these kept the GPU refused 2026-11-14 01:33:59 -05:00