Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2024 20:56:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277211] panic: Unhandled external data abort - handle_el1h_sync - --- exception, esr 0x96000410 - wait_fw_init - mlx5_load_one
Message-ID:  <bug-277211-227-LFQrXtwHES@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277211-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277211-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277211

--- Comment #8 from John Baldwin <jhb@FreeBSD.org> ---
Created attachment 248936
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248936&action=
=3Dedit
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 =3D=3D CPU addr), but it was matching on the wrong range and tran=
slating
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 >=3D start=
, and
the end value of 0 in the old code violated this assumption.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277211-227-LFQrXtwHES>