Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2021 18:04:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 253990] NTB driver causes panic: page fault
Message-ID:  <bug-253990-7501-AII0DpTXzw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253990-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253990-7501@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=3D253990

--- Comment #2 from Alexander Motin <mav@FreeBSD.org> ---
I am definitely agree that ntb->hw_info->db_count assignment in
amd_ntb_init_isr() is logically incorrect.  May be it could be per-instance=
.  I
have documentation not hardware for the AMD NTB, but I guess the proper
solution may instead be to implement multiple doorbells with single/few
interrupt vectors instead of reducing their count.  For example, PLX NTB dr=
iver
uses single legacy IRQ to implement 16 doorbells.  Changing number of doorb=
ells
depending on attach errors may cause a problem for upper layers, when they =
try
to use expected number of doorbells and won't find them.

--=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-253990-7501-AII0DpTXzw>