Skip to content

Commit

Permalink
s390x/ap: fix missing subsystem reset registration
Browse files Browse the repository at this point in the history
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@linux.ibm.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Fixes: a51b315 ("s390x/ap: base Adjunct Processor (AP) object model")
Message-ID: <20230823142219.1046522-2-seiden@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
  • Loading branch information
frankjaa authored and huth committed Sep 12, 2023
1 parent 9ef4977 commit 297ec01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/s390x/s390-virtio-ccw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 297ec01

Please sign in to comment.