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
F153236163: D20884.id61694.diff
Sun, Apr 19, 11:58 PM
Unknown Object (File)
Wed, Apr 8, 4:23 PM
Unknown Object (File)
Sat, Apr 4, 11:47 AM
Unknown Object (File)
Fri, Apr 3, 9:01 PM
Unknown Object (File)
Mon, Mar 30, 1:13 PM
Unknown Object (File)
Sun, Mar 29, 1:18 AM
Unknown Object (File)
Mon, Mar 23, 9:50 PM
Unknown Object (File)
Mon, Mar 23, 12:23 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?