Add restricted AMD xHCI IMOD module - #111
Conversation
|
Changed this to draft, only mark as ready once tested on actual hardware. |
|
Understood — I’ll keep this draft until it has been exercised on the actual target controllers. The hardware is available here: one Would you be willing to provide a test-signed AMX from commit |
No. It's in the name, its production trust. It's not meant to run test code. If you really want this, you can start an LLC, purchase an EV code signing certificate, apply to the Microsoft Hardware Developer program, build PawnIO with your own key (or unrestricted build), upload it to Hardware Dev Center for signing, and load it. I think enabling test mode is easier, but each to their own. |
|
A five-device allowlist handoff is ready at Ravinity#1 (commit Evidence boundaries remain explicit:
The five-ID source was built twice with Pawn 4.1.7152 and the repository flags. Both 21,808-byte outputs were identical: SHA-256 The local AMX is development evidence only and is not a substitute for maintainer signing. @Ravinity, please review/merge the handoff branch when satisfied. @namazso, maintainer review and an official signed module release remain the production gate after live coverage is accepted. |
Summary
Adds a restricted PawnIO module for inspecting AMD xHCI controller layout and reading or updating the per-interrupter IMOD interval.
The module currently allowlists the AMD PCI device IDs
1022:15B7and1022:43FD.Safety boundaries
CAPLENGTH,HCSPARAMS1.MaxIntrs, andRTSOFFfrom the controller rather than using fixed offsetsValidation
-C64 -;+ -(+ -p15B7and two43FDcontrollersLive register execution is not claimed yet: the production PawnIO driver correctly requires a maintainer-signed module, so this contribution remains a draft pending actual hardware testing.
The motivation is to provide a narrow alternative to generic RW-Everything-style kernel/MMIO access for xHCI interrupt-moderation experiments.