Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2023 14:07:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255
Message-ID:  <bug-273022-227-hEeryOeDoN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273022-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273022-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=3D273022

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D044dfb356bb6481af4de4ed0f7ef04c3b=
638bf71

commit 044dfb356bb6481af4de4ed0f7ef04c3b638bf71
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-08-08 23:42:09 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-08-17 14:06:39 +0000

    msi: report error for attempt to use APIC ID > 255

    The MSI/MSI-X address includes 8 bits to encode the Destination ID.
    Previously IDs over 255 overlapped with the fixed portion of the
    address, resulting in an invalid value (and a nonfunctional interrupt).

    Instead, print an error message and return EINVAL.  The interrupt will
    still not work, but the user will have a clue as to why.

    PR:             273022
    Reviewed by:    jhb
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D41395

    (cherry picked from commit cbf845052f1c2862a64e66dbaf38e887a7592474)

 sys/x86/x86/msi.c | 5 +++++
 1 file changed, 5 insertions(+)

--=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-273022-227-hEeryOeDoN>