yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
6e7d01
From 6320b4e76965b1cf64da4307f4d313fe6b2aa971 Mon Sep 17 00:00:00 2001
6e7d01
From: Jon Maloy <jmaloy@redhat.com>
6e7d01
Date: Wed, 21 Apr 2021 22:30:01 -0400
6e7d01
Subject: [PATCH 2/7] libqos: usb-hcd-ehci: use 32-bit write for config
6e7d01
 register
6e7d01
MIME-Version: 1.0
6e7d01
Content-Type: text/plain; charset=UTF-8
6e7d01
Content-Transfer-Encoding: 8bit
6e7d01
6e7d01
RH-Author: Jon Maloy <jmaloy@redhat.com>
6e7d01
Message-id: <20210421223006.19650-2-jmaloy@redhat.com>
6e7d01
Patchwork-id: 101478
6e7d01
O-Subject: [RHEL-8.5.0 qemu-kvm PATCH v2 1/6] libqos: usb-hcd-ehci: use 32-bit write for config register
6e7d01
Bugzilla: 1842478
6e7d01
RH-Acked-by: Stefano Garzarella <sgarzare@redhat.com>
6e7d01
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
6e7d01
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
6e7d01
6e7d01
From: Paolo Bonzini <pbonzini@redhat.com>
6e7d01
6e7d01
The memory region ops have min_access_size == 4 so obey it.
6e7d01
6e7d01
Tested-by: Thomas Huth <thuth@redhat.com>
6e7d01
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
6e7d01
6e7d01
(cherry picked from commit 89ed83d8b23c11d250c290593cad3ca839d5b053)
6e7d01
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
6e7d01
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
6e7d01
---
6e7d01
 tests/usb-hcd-ehci-test.c | 2 +-
6e7d01
 1 file changed, 1 insertion(+), 1 deletion(-)
6e7d01
6e7d01
diff --git a/tests/usb-hcd-ehci-test.c b/tests/usb-hcd-ehci-test.c
6e7d01
index 5251d539e9..c51e8bb223 100644
6e7d01
--- a/tests/usb-hcd-ehci-test.c
6e7d01
+++ b/tests/usb-hcd-ehci-test.c
6e7d01
@@ -96,7 +96,7 @@ static void pci_ehci_port_1(void)
6e7d01
 static void pci_ehci_config(void)
6e7d01
 {
6e7d01
     /* hands over all ports from companion uhci to ehci */
6e7d01
-    qpci_io_writew(ehci1.dev, ehci1.bar, 0x60, 1);
6e7d01
+    qpci_io_writel(ehci1.dev, ehci1.bar, 0x60, 1);
6e7d01
 }
6e7d01
 
6e7d01
 static void pci_uhci_port_2(void)
6e7d01
-- 
6e7d01
2.27.0
6e7d01