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

オープン
#469 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
c
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
C
スター
56
フォーク
29
平均マージ
3時間 43分
マージ済み PR(30日)
75

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenIPC/devourer のほかの issue

OpenIPC/devourer の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。