Page MenuHomeFreeBSD

Return an error if a matching resource is not found.
ClosedPublic

Authored by markj on Jul 8 2019, 11:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 11, 10:13 AM
Unknown Object (File)
Fri, Jul 10, 8:41 PM
Unknown Object (File)
Tue, Jul 7, 6:41 PM
Unknown Object (File)
Tue, Jul 7, 4:48 PM
Unknown Object (File)
Sat, Jul 4, 4:59 PM
Unknown Object (File)
Fri, Jul 3, 5:13 AM
Unknown Object (File)
Thu, Jul 2, 5:23 PM
Unknown Object (File)
Tue, Jun 30, 7:41 AM
Subscribers

Details

Summary

I am hitting this on the Cavium ThunderX during boot when the ThunderX
MDIO driver tries to attach. We fail to activate a memory resource, but
the method returns success anyway, leading to a data abort shortly
after.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jul 17 2019, 3:57 PM
sys/dev/pci/pci_host_generic.c
369 ↗(On Diff #59556)

Shouldn't it be using rman_get_end() in the second part of this condition?