Page MenuHomeFreeBSD

Use pmap_qenter in the N1SDP PCIe driver
ClosedPublic

Authored by andrew on Feb 23 2021, 1:46 PM.
Tags
None
Referenced Files
F149080530: D28890.id84535.diff
Sun, Mar 22, 4:45 AM
Unknown Object (File)
Fri, Mar 20, 9:28 PM
Unknown Object (File)
Fri, Mar 20, 3:44 AM
Unknown Object (File)
Tue, Mar 17, 5:50 AM
Unknown Object (File)
Sun, Mar 15, 9:37 PM
Unknown Object (File)
Sun, Mar 15, 9:30 PM
Unknown Object (File)
Sun, Mar 1, 11:51 AM
Unknown Object (File)
Feb 7 2026, 8:46 PM
Subscribers

Details

Summary

In the Neoverse N1 SDP PCIe driver we need to map a page shared
between the firmware and the kernel. Previously we would use
pmap_kenter for this, however as this is not standardised between
architectures switch to the common pmap_qenter.

While here fix the error handling code to clean up on failure.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37304
Build 34193: arc lint + arc unit

Event Timeline

Booted fine. All my PCI cards work fine.

sys/dev/pci/controller/pci_n1sdp.c
124

No need to wrap. There is enough space on previous line for this.

This revision is now accepted and ready to land.Feb 23 2021, 6:30 PM
This revision was automatically updated to reflect the committed changes.