Commit Graph
43 Commits
Author SHA1 Message Date
MassZero0andGitHub e00c8a7d38 linux: mts: fix NAPI poll storm that pins a CPU when the NIC MSI never fires (#14)
The PS5 GbE NIC has no INTx pin and its MSI sometimes never fires after a
cold boot. The driver already works around that with a 1 Hz link-poll
watchdog that kicks NAPI by hand.

But gbe_poll() re-checks GBE_REG_ISR after completing NAPI and reschedules
itself whenever a GBE_IER_MASK cause is still latched, without ever
acknowledging (W1C) the ISR -- only the hardware handler gbe_isr() does.
When the MSI is dead gbe_isr() never runs, so the latched cause (e.g.
RX_DONE) is never cleared, the re-check stays true forever, and NAPI
reschedules itself ~30k times/s, pinning ksoftirqd on that CPU at 100%.

Acknowledge the pending causes before re-kicking so a stale, undelivered
cause can no longer spin NAPI.

While the MSI is dead also poll the rings every GBE_POLL_FALLBACK_MS (10 ms)
instead of once per second, so interactive RX latency drops from ~1 s to a
few ms; fall back to HZ as soon as real IRQs start arriving.
2026-06-01 21:54:28 +02:00
Andy Nguyen 45c3a2ec19 linux: improve hdmi sequence in amdgpu dm 2026-05-31 21:47:54 +02:00
rmuxandGitHub 61eb7c0f71 Add buzzer driver for PS5 chassis piezo (#12)
thanks to cow for testing. legend as usual.
2026-05-30 23:11:28 +02:00
Andy Nguyen 5b0dc56c1b linux: fix cu unlock patches 2026-05-30 21:47:59 +02:00
Andy Nguyen bcf718f3d5 linux: improve icc code 2026-05-30 21:40:20 +02:00
Andy Nguyen e9424efb51 linux: add icc_device_power_* functions and fix black screen 2026-05-29 22:43:06 +02:00
eeplyandGitHub a833df9c73 Add PS5 adapted bc-250 patch to enable 40CUs (#10) 2026-05-28 01:58:33 +02:00
rmuxandGitHub ba4f29d40c Add ahci_salina driver for PS5 BD-ROM AHCI (0x104d:0x9105 / 0x9106) (#9)
thanks to cow for testing. legend as usual.
2026-05-28 01:58:06 +02:00
Andy Nguyen 2c46113af9 linux: clean up and fix blackscreen 2026-05-25 00:38:04 +02:00
Andy Nguyen 50cf28acb1 linux: refresh linux.patch 2026-05-24 18:32:09 +02:00
rmuxandGitHub 643e214d7b Add mts ethernet driver for PS5 GBE (0x104d:0x9104) (#8)
Credits:
- slidybat: shared his base, from which a few fixes were merged in
- cow: endless testing, corrections when I went wrong, catching the
  upload-under-load issue, and being an absolute legend
2026-05-24 16:52:22 +02:00
Andy Nguyen e6fb93f866 linux: add fan autoservo param update 2026-05-24 15:30:04 +02:00
Andy Nguyen 7d5d7976dd linux: re-add link training
Some monitors blackscreen without it.
2026-05-24 15:27:37 +02:00
Andy Nguyen d44cfeb934 linux: add spcie and tpcie shutdown 2026-05-18 20:37:16 +02:00
Andy Nguyen 99e816eccb linux: use bapm param set 2 2026-05-18 20:33:52 +02:00
Andy Nguyen 042599e9f5 config: update to 7.0.8 2026-05-17 12:07:48 +02:00
Andy Nguyen fe852d3cdb linux: fix link training failure 2026-05-17 12:04:36 +02:00
Andy Nguyen 874c43ebb6 linux: add spcie init 2026-05-11 00:05:10 +02:00
Andy Nguyen d8d6674e74 config: update to 7.0.5 2026-05-10 14:17:20 +02:00
Andy Nguyen e18eb668c7 linux: implement more hdmi and mp1 cmds 2026-05-08 20:13:33 +02:00
sleirsgoevyandGitHub 7169870a21 linux: fix shutdown 2026-05-08 16:00:12 +02:00
Andy Nguyen f221a7b224 linux: improve hdmi audio 2026-05-06 22:27:30 +02:00
Andy Nguyen 23375e091c linux: add 1080p120 support 2026-05-06 20:59:07 +02:00
Andy Nguyen c1ecd51139 linux: fix typo and increase delay 2026-05-06 11:37:03 +02:00
Andy Nguyen 520ccf7787 linux: rework hdmi patches 2026-05-06 11:21:29 +02:00