Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2020 06:26:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 245392] bhyve: PCI passthru built-in rtl8168 to OpenBSD no packets (AMD Ryzen 3 1200)
Message-ID:  <bug-245392-27103-yYLHlEB6k6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245392-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245392-27103@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=3D245392

--- Comment #13 from commit-hook@freebsd.org ---
A commit references this bug:

Author: grehan
Date: Mon May 25 06:25:32 UTC 2020
New revision: 361442
URL: https://svnweb.freebsd.org/changeset/base/361442

Log:
  Fix pci-passthru MSI issues with OpenBSD guests

  - Return 2 x 16-bit registers in the correct byte order
   for a 4-byte read that spans the CMD/STATUS register.
    This reversal was hiding the capabilities-list, which prevented
   the MSI capability from being found for XHCI passthru.

  - Reorganize MSI/MSI-x config writes so that a 4-byte write at the
   capability offset would have the read-only portion skipped.
    This prevented MSI interrupts from being enabled.

   Reported and extensively tested by Anatoli (me at anatoli dot ws)

  PR:   245392
  Reported by:  Anatoli (me at anatoli dot ws)
  Reviewed by:  jhb (bhyve)
  Approved by:  jhb, bz (mentor)
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D24951

Changes:
  head/usr.sbin/bhyve/pci_emul.c
  head/usr.sbin/bhyve/pci_emul.h
  head/usr.sbin/bhyve/pci_passthru.c

--=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-245392-27103-yYLHlEB6k6>