[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 1/5] s390x: Don't do a normal reset on the initial cpu
|
From: |
Cornelia Huck |
|
Subject: |
Re: [PATCH v3 1/5] s390x: Don't do a normal reset on the initial cpu |
|
Date: |
Mon, 25 Nov 2019 14:11:46 +0100 |
On Mon, 25 Nov 2019 04:03:44 -0500
Janosch Frank <address@hidden> wrote:
> The initiating cpu needs to be reset with an initial reset. While
> doing a normal reset followed by a initial reset is not wrong per se,
> the Ultravisor will only allow the correct reset to be performed.
>
> Signed-off-by: Janosch Frank <address@hidden>
> Reviewed-by: David Hildenbrand <address@hidden>
> ---
> hw/s390x/s390-virtio-ccw.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
> index d3edeef0ad..c1d1440272 100644
> --- a/hw/s390x/s390-virtio-ccw.c
> +++ b/hw/s390x/s390-virtio-ccw.c
> @@ -348,6 +348,9 @@ static void s390_machine_reset(MachineState *machine)
> break;
> case S390_RESET_LOAD_NORMAL:
> CPU_FOREACH(t) {
> + if (t == cs) {
> + continue;
> + }
> run_on_cpu(t, s390_do_cpu_reset, RUN_ON_CPU_NULL);
> }
> subsystem_reset();
Reviewed-by: Cornelia Huck <address@hidden>
- [PATCH v3 0/5] s390x: Reset cleanup, Janosch Frank, 2019/11/25
- [PATCH v3 1/5] s390x: Don't do a normal reset on the initial cpu, Janosch Frank, 2019/11/25
- Re: [PATCH v3 1/5] s390x: Don't do a normal reset on the initial cpu,
Cornelia Huck <=
- [PATCH v3 2/5] s390x: Move reset normal to shared reset handler, Janosch Frank, 2019/11/25
- [PATCH v3 3/5] s390x: Move initial reset, Janosch Frank, 2019/11/25
- [PATCH v3 5/5] s390x: Beautify diag308 handling, Janosch Frank, 2019/11/25
- [PATCH v3 4/5] s390x: Move clear reset, Janosch Frank, 2019/11/25