From nobody Wed Aug 9 18:17:48 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RLdZj1vVSz4m6PP for ; Wed, 9 Aug 2023 18:17:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RLdZh5wj4z3Tvq for ; Wed, 9 Aug 2023 18:17:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691605068; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hS8YNNK5oEx7jtqg+CF0LdfNQxtYhLCvtrbEBqmOMT0=; b=cSARLwv30M539Gv/2/jzBMO3cIBOWr68x7qQj8fwGL++4/LHyHyBxK9CE5IAvpbdCcfuYz eeZx41oOmAMCtC9AGM3VbPoPpe/YgOjBo30m4/td5Qdm8GifDeIzQ3v9wNcDndAfQ6MKm7 HXMks6rKOZZkismQLa6r6mADtRzXBb2affrydmptajpTtibwR1rcSFqX/X5ZonKl3dgEZZ KtL55DADr5fgznUrIgXvuOZElCs/cCMa/Dvv8W6phYYUCZxOZP4NqsX6eH1DIP3KjGRW8O zVHEXE2Nh5kndnhiDhMpvO6o6lHu5dw/EmtzEtRZLLGtc8H4tR1braH5WaOfjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691605068; a=rsa-sha256; cv=none; b=QVcNeTNmhgzuAfwjv9Pnl0RFbkaOpwHaMcpCFPLHITk0FlYW3gfv9ZtKjTLragpWOmqAw+ 6plBLb+rWGWX0fCIWI/kARhEtNwqT1GcppIUZE390nGLP5+DfpR/xCIpHphzce8C94IT1w DZArY8zpbsyz9zv639QQSc9ag2rDh1awewZbnk1jKGifdDmGgzG+KLKMnQfzoV6OOmAywz WAZVDWdAITcurOZSm4uRCLcbE7gjZHv8c1T9sqP/qG7z4qj+P60/yD5BjiGpG/7ywsd4H+ A/4VNiKtkjed+C8ZLHGleEc1rNv1TvCzANLWZ0pnhkl5b1/5lV4u39lD75H44Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RLdZh51CTzB4q for ; Wed, 9 Aug 2023 18:17:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 379IHm0d052184 for ; Wed, 9 Aug 2023 18:17:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 379IHmZJ052183 for bugs@FreeBSD.org; Wed, 9 Aug 2023 18:17:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255 Date: Wed, 09 Aug 2023 18:17:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273022 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dcbf845052f1c2862a64e66dbaf38e887a= 7592474 commit cbf845052f1c2862a64e66dbaf38e887a7592474 Author: Ed Maste AuthorDate: 2023-08-08 23:42:09 +0000 Commit: Ed Maste CommitDate: 2023-08-09 17:52:43 +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 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.=