Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Feb 2020 20:40:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 205178] virtio-blk not working correctly in powerpc
Message-ID:  <bug-205178-227-1eK2tmN7K7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205178-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205178-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=3D205178

--- Comment #2 from commit-hook@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 <afscoelho@gmail.com>
  Reported by:  Kenneth Salerno <kennethsalerno@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

--=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-205178-227-1eK2tmN7K7>