Page MenuHomeFreeBSD

Use pmap_qenter in the N1SDP PCIe driver
ClosedPublic

Authored by andrew on Tue, Feb 23, 1:46 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Booted fine. All my PCI cards work fine.

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

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

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