[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qemu-xen stable-4.19] s390x/ap: fix missing subsystem reset registration



commit 0ef930a29f432320d979e227a305f927bb15eb09
Author:     Janosch Frank <frankja@xxxxxxxxxxxxx>
AuthorDate: Wed Aug 23 16:22:15 2023 +0200
Commit:     Michael Tokarev <mjt@xxxxxxxxxx>
CommitDate: Wed Sep 20 10:18:14 2023 +0300

    s390x/ap: fix missing subsystem reset registration
    
    A subsystem reset contains a reset of AP resources which has been
    missing.  Adding the AP bridge to the list of device types that need
    reset fixes this issue.
    
    Reviewed-by: Jason J. Herne <jjherne@xxxxxxxxxxxxx>
    Reviewed-by: Tony Krowiak <akrowiak@xxxxxxxxxxxxx>
    Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx>
    Fixes: a51b3153 ("s390x/ap: base Adjunct Processor (AP) object model")
    Message-ID: <20230823142219.1046522-2-seiden@xxxxxxxxxxxxx>
    Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
    (cherry picked from commit 297ec01f0b9864ea8209ca0ddc6643b4c0574bdb)
    Signed-off-by: Michael Tokarev <mjt@xxxxxxxxxx>
---
 hw/s390x/s390-virtio-ccw.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
index 0daf445d60..ea048e4667 100644
--- a/hw/s390x/s390-virtio-ccw.c
+++ b/hw/s390x/s390-virtio-ccw.c
@@ -109,6 +109,7 @@ static const char *const reset_dev_types[] = {
     "s390-flic",
     "diag288",
     TYPE_S390_PCI_HOST_BRIDGE,
+    TYPE_AP_BRIDGE,
 };
 
 static void subsystem_reset(void)
--
generated by git-patchbot for /home/xen/git/qemu-xen.git#stable-4.19



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.