https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205178

--- Comment #2 from commit-h...@freebsd.org ---
A commit references this bug:

Author: alfredo
Date: Wed Feb  5 20:39:18 UTC 2020
New revision: 357596
URL: https://svnweb.freebsd.org/changeset/base/357596

Log:
  [virtio] Fix r/w to PCI configuration area on big endian platforms

  In legacy VirtIO drivers, the header must be PCI endianness (little) and the
  device-specific region is encoded in the native endian of the guest.

  This patch makes the access (read/write) to VirtIO header using the little
  endian order. Other read and write access are native endianness. This also
  sets the device's IO region as big endian if on big endian machine.

  PR:           205178
  Submitted by: Andre Silva <afscoe...@gmail.com>
  Reported by:  Kenneth Salerno <kennethsale...@yahoo.com>
  Reviewed by:  bryanv, bdragon, luporl, alfredo
  Approved by:  jhibbits (mentor)
  Differential Revision:        https://reviews.freebsd.org/D23401

Changes:
  head/sys/dev/virtio/pci/virtio_pci.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to