[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 8e8ee8: standard-headers: add drm/drm_fourcc.
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 8e8ee8: standard-headers: add drm/drm_fourcc.h |
Date: |
Fri, 16 Mar 2018 03:47:38 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 8e8ee8509a0d2d5a65d7533e6e9179b6f3b0a0d4
https://github.com/qemu/qemu/commit/8e8ee8509a0d2d5a65d7533e6e9179b6f3b0a0d4
Author: Gerd Hoffmann <address@hidden>
Date: 2018-03-13 (Tue, 13 Mar 2018)
Changed paths:
A include/standard-headers/drm/drm_fourcc.h
M scripts/update-linux-headers.sh
Log Message:
-----------
standard-headers: add drm/drm_fourcc.h
So we can use the drm fourcc codes without a dependency on libdrm-devel.
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
Commit: a5127bd73f77b90b50d63014be10cef467c1c3f9
https://github.com/qemu/qemu/commit/a5127bd73f77b90b50d63014be10cef467c1c3f9
Author: Gerd Hoffmann <address@hidden>
Date: 2018-03-13 (Tue, 13 Mar 2018)
Changed paths:
M include/ui/qemu-pixman.h
M ui/qemu-pixman.c
Log Message:
-----------
ui/pixman: add qemu_drm_format_to_pixman()
Map drm fourcc codes to pixman formats.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed by: Kirti Wankhede <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
Commit: 9588d67e72f853349dbb318503368ad01b12feb6
https://github.com/qemu/qemu/commit/9588d67e72f853349dbb318503368ad01b12feb6
Author: Gerd Hoffmann <address@hidden>
Date: 2018-03-13 (Tue, 13 Mar 2018)
Changed paths:
M include/ui/console.h
M ui/console.c
M ui/trace-events
Log Message:
-----------
console: minimal hotplug suport
This patch allows to unbind devices from QemuConsoles, using the new
graphic_console_close() function. The QemuConsole will show a static
display then, saying the device was unplugged. When re-plugging a
display later on the QemuConsole will be reused.
Eventually we will allocate and release QemuConsoles dynamically at some
point in the future, that'll need more infrastructure though to notify
user interfaces (gtk, sdl, spice, ...) about QemuConsoles coming and
going.
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
Commit: fc70514ccfde4c55ccc2a8e66ed2f2e4194b17b2
https://github.com/qemu/qemu/commit/fc70514ccfde4c55ccc2a8e66ed2f2e4194b17b2
Author: Gerd Hoffmann <address@hidden>
Date: 2018-03-13 (Tue, 13 Mar 2018)
Changed paths:
M hw/display/vga-pci.c
Log Message:
-----------
secondary-vga: properly close QemuConsole on unplug
Using the new graphic_console_close() function.
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
Commit: 92f86bff088dc6f0c0ed93b8e82d4d2459c35145
https://github.com/qemu/qemu/commit/92f86bff088dc6f0c0ed93b8e82d4d2459c35145
Author: Gerd Hoffmann <address@hidden>
Date: 2018-03-13 (Tue, 13 Mar 2018)
Changed paths:
M hw/vfio/common.c
Log Message:
-----------
vfio/common: cleanup in vfio_region_finalize
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed by: Kirti Wankhede <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
Commit: a9994687cb9b5f72399398a0985419f4d2b95dc5
https://github.com/qemu/qemu/commit/a9994687cb9b5f72399398a0985419f4d2b95dc5
Author: Gerd Hoffmann <address@hidden>
Date: 2018-03-13 (Tue, 13 Mar 2018)
Changed paths:
M hw/vfio/Makefile.objs
A hw/vfio/display.c
M hw/vfio/pci.c
M hw/vfio/pci.h
Log Message:
-----------
vfio/display: core & wireup
Infrastructure for display support. Must be enabled
using 'display' property.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed By: Kirti Wankhede <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
Commit: 00195ba710a004af02a711239324d7137f0b189a
https://github.com/qemu/qemu/commit/00195ba710a004af02a711239324d7137f0b189a
Author: Gerd Hoffmann <address@hidden>
Date: 2018-03-13 (Tue, 13 Mar 2018)
Changed paths:
M hw/vfio/display.c
M hw/vfio/pci.h
M include/hw/vfio/vfio-common.h
Log Message:
-----------
vfio/display: adding region support
Wire up region-based display.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed By: Kirti Wankhede <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
Commit: 8b818e059bf071749f96fa4a10934eb533777f9a
https://github.com/qemu/qemu/commit/8b818e059bf071749f96fa4a10934eb533777f9a
Author: Gerd Hoffmann <address@hidden>
Date: 2018-03-13 (Tue, 13 Mar 2018)
Changed paths:
M hw/vfio/display.c
M include/hw/vfio/vfio-common.h
Log Message:
-----------
vfio/display: adding dmabuf support
Wire up dmabuf-based display.
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
Commit: 567b5b309abe744b1098018a2eb157e7109c9f30
https://github.com/qemu/qemu/commit/567b5b309abe744b1098018a2eb157e7109c9f30
Author: Alexey Kardashevskiy <address@hidden>
Date: 2018-03-13 (Tue, 13 Mar 2018)
Changed paths:
M hw/vfio/common.c
Log Message:
-----------
vfio/pci: Relax DMA map errors for MMIO regions
At the moment if vfio_memory_listener is registered in the system memory
address space, it maps/unmaps every RAM memory region for DMA.
It expects system page size aligned memory sections so vfio_dma_map
would not fail and so far this has been the case. A mapping failure
would be fatal. A side effect of such behavior is that some MMIO pages
would not be mapped silently.
However we are going to change MSIX BAR handling so we will end having
non-aligned sections in vfio_memory_listener (more details is in
the next patch) and vfio_dma_map will exit QEMU.
In order to avoid fatal failures on what previously was not a failure and
was just silently ignored, this checks the section alignment to
the smallest supported IOMMU page size and prints an error if not aligned;
it also prints an error if vfio_dma_map failed despite the page size check.
Both errors are not fatal; only MMIO RAM regions are checked
(aka "RAM device" regions).
If the amount of errors printed is overwhelming, the MSIX relocation
could be used to avoid excessive error output.
This is unlikely to cause any behavioral change.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
[aw: Fix Int128 bit ops]
Signed-off-by: Alex Williamson <address@hidden>
Commit: ae0215b2bb56a9d5321a185dde133bfdd306a4c0
https://github.com/qemu/qemu/commit/ae0215b2bb56a9d5321a185dde133bfdd306a4c0
Author: Alexey Kardashevskiy <address@hidden>
Date: 2018-03-13 (Tue, 13 Mar 2018)
Changed paths:
M hw/vfio/common.c
M hw/vfio/pci.c
M include/hw/vfio/vfio-common.h
Log Message:
-----------
vfio-pci: Allow mmap of MSIX BAR
At the moment we unconditionally avoid mapping MSIX data of a BAR and
emulate MSIX table in QEMU. However it is 1) not always necessary as
a platform may provide a paravirt interface for MSIX configuration;
2) can affect the speed of MMIO access by emulating them in QEMU when
frequently accessed registers share same system page with MSIX data,
this is particularly a problem for systems with the page size bigger
than 4KB.
A new capability - VFIO_REGION_INFO_CAP_MSIX_MAPPABLE - has been added
to the kernel [1] which tells the userspace that mapping of the MSIX data
is possible now. This makes use of it so from now on QEMU tries mapping
the entire BAR as a whole and emulate MSIX on top of that.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a32295c612c57990d17fb0f41e7134394b2f35f6
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: David Gibson <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
Commit: fcad0d2121976df4b422b4007a5eb7fcaac01134
https://github.com/qemu/qemu/commit/fcad0d2121976df4b422b4007a5eb7fcaac01134
Author: Alexey Kardashevskiy <address@hidden>
Date: 2018-03-13 (Tue, 13 Mar 2018)
Changed paths:
M hw/ppc/spapr.c
M hw/vfio/pci.c
Log Message:
-----------
ppc/spapr, vfio: Turn off MSIX emulation for VFIO devices
This adds a possibility for the platform to tell VFIO not to emulate MSIX
so MMIO memory regions do not get split into chunks in flatview and
the entire page can be registered as a KVM memory slot and make direct
MMIO access possible for the guest.
This enables the entire MSIX BAR mapping to the guest for the pseries
platform in order to achieve the maximum MMIO preformance for certain
devices.
Tested on:
LSI Logic / Symbios Logic SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02)
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: David Gibson <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
Commit: a57946ff2acb9c0d95c9f127914540586b0b8c21
https://github.com/qemu/qemu/commit/a57946ff2acb9c0d95c9f127914540586b0b8c21
Author: Peter Maydell <address@hidden>
Date: 2018-03-16 (Fri, 16 Mar 2018)
Changed paths:
M hw/display/vga-pci.c
M hw/ppc/spapr.c
M hw/vfio/Makefile.objs
M hw/vfio/common.c
A hw/vfio/display.c
M hw/vfio/pci.c
M hw/vfio/pci.h
M include/hw/vfio/vfio-common.h
A include/standard-headers/drm/drm_fourcc.h
M include/ui/console.h
M include/ui/qemu-pixman.h
M scripts/update-linux-headers.sh
M ui/console.c
M ui/qemu-pixman.c
M ui/trace-events
Log Message:
-----------
Merge remote-tracking branch 'remotes/awilliam/tags/vfio-update-20180313.0'
into staging
VFIO updates 2018-03-13
- Display support for vGPUs (Gerd Hoffmann)
- Enable new kernel support for mmaps overlapping MSI-X vector table,
disable MSI-X emulation on POWER (Alexey Kardashevskiy)
# gpg: Signature made Tue 13 Mar 2018 19:48:49 GMT
# gpg: using RSA key 239B9B6E3BB08B22
# gpg: Good signature from "Alex Williamson <address@hidden>"
# gpg: aka "Alex Williamson <address@hidden>"
# gpg: aka "Alex Williamson <address@hidden>"
# gpg: aka "Alex Williamson <address@hidden>"
# Primary key fingerprint: 42F6 C04E 540B D1A9 9E7B 8A90 239B 9B6E 3BB0 8B22
* remotes/awilliam/tags/vfio-update-20180313.0:
ppc/spapr, vfio: Turn off MSIX emulation for VFIO devices
vfio-pci: Allow mmap of MSIX BAR
vfio/pci: Relax DMA map errors for MMIO regions
vfio/display: adding dmabuf support
vfio/display: adding region support
vfio/display: core & wireup
vfio/common: cleanup in vfio_region_finalize
secondary-vga: properly close QemuConsole on unplug
console: minimal hotplug suport
ui/pixman: add qemu_drm_format_to_pixman()
standard-headers: add drm/drm_fourcc.h
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/58888f8cdd19...a57946ff2acb
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 8e8ee8: standard-headers: add drm/drm_fourcc.h,
GitHub <=