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
Unknown Object (File)
Fri, Apr 5, 9:23 PM
Unknown Object (File)
Fri, Mar 29, 1:46 PM
Unknown Object (File)
Dec 24 2023, 12:11 PM
Unknown Object (File)
Dec 20 2023, 7:02 AM
Unknown Object (File)
Dec 11 2023, 4:12 AM
Unknown Object (File)
Nov 20 2023, 9:41 AM
Unknown Object (File)
Nov 1 2023, 12:27 AM
Unknown Object (File)
Aug 27 2023, 4:26 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.