Follow-ups left open by the RTL8852CE PCIe port (#468)

Offen
#469 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
15/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
c
Bereich
backend

Rechercherichtung

This issue groups several independent follow-ups rather than one bounded task. Start with the relevant entry points it names: PcieDmaAx, PcieDma88xx, PcieTransport::Open, tests/pcie_rx_smoke.py, and the demo used by the receiver harness. First determine which item is still actionable; done criteria depend on that investigation, and the lab-box hang remains undiagnosed.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

Open items from #468 (RTL8852CE on the Kestrel HAL over vfio-PCIe), none of them blocking the merge:

  • MSI on the AX plane. PcieDmaAx polls the RXQ/RPQ hardware indices every 200 µs. The 88xx plane already wires the vfio MSI eventfd; the AX equivalent is R_AX_HAXI_HIMR00 (RXDMA | RPQDMA | RDU) plus the indirect R_AX_PCIE_HIMR00_V1 HCI_AXIDMA bit (rtw89 rtw89_pci_enable_intr_v1 / recognize_intrs_v1). Measure the CPU cost of polling first; it is only worth doing if a receiver on a small host shows it.
  • Card 05:00.0 TX delivery. On the lab box the E-key card loses ~30% of injected frames to either witness (1383/2000 and 1489/2000) while 09:00.0 delivers 1980/2000 with the same code. Confirm with a reseat / antenna swap / SDR duty read before anything in the driver is suspected; if it follows the slot rather than the module, look at the ASPM/L1 state of that root port.
  • The 8821CE plane was moved, not re-run. PcieDma88xx is a byte-identical move of the old ring code, but no 8821CE is on the box. Run tests/pcie_rx_smoke.py on the Radxa 8821CE once.
  • RTL8852BE. Refused at the factory and in PcieTransport::Open: its PCIe power sequence (mac_pwr_on_nic_pcie_8852b) and the single-BDRAM ring table (rtw89_bd_ram_table_single, non-V1 register set, 8-byte addr_info) are unported. The plane would need the 8852B register bank as a second table.
  • CAV-cut pre-init rows. l12_vmain / gen2_force_ib (rtw89, CAV only) are not transcribed; the lab modules are cut 1. Add them if a CAV module ever shows up.
  • timeout -s INT does not stop the PCIe rxdemo while kill -INT <pid> does (clean exit within 5 s). Understand why — a signal-delivery or process-group effect in the demo, not the driver — since every harness that uses timeout on the PCIe receiver silently measures a hard kill.
  • Lab box hang. During a hung-rxdemo investigation the box went unreachable (pings, sshd pre-auth timeouts) and needed a power cycle; the previous boot's kernel log shows nothing at the hang time (only the pre-fix CmpltAbrt AERs and one DMAR fault, both since fixed). Cause open. A serial console or PDU on that node would have turned this into a diagnosis.
  • MMIO alignment doctrine. The transport now splits misaligned accesses; the HALs still issue 32-bit RMWs on 16-bit registers (R_AX_SYS_FUNC_EN at 0x0002 is the canonical one). Consider a debug-build counter of split accesses so new ones are visible.

🤖 Generated with Claude Code

Vorherrschende Sprache
C
Sterne
56
Forks
29
Ø Merge
3 Std. 43 Min.
Gemergte PRs (30 T.)
75

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus OpenIPC/devourer

Alle Issues in OpenIPC/devourer

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.