https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277211

--- Comment #8 from John Baldwin <j...@freebsd.org> ---
Created attachment 248936
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248936&action=edit
fix.patch

Please try this patch.  Looking at the dmesg, the address was translated
incorrectly.  It matches this range which requires no translation:

pcib0: PCI addr: 0x10100000000, CPU addr: 0x10100000000, Size: 0x7f00000000,
Type: memory

(PCI addr == CPU addr), but it was matching on the wrong range and translating
the address as if it belonged to the first range:

pcib0: PCI addr: 0x0, CPU addr: 0x10010000000, Size: 0x10000, Type: I/O port

The code I changed in commit d79b6b8ec267 expected the end to be >= start, and
the end value of 0 in the old code violated this assumption.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to