[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 2/6] s390x: Move reset normal to shared reset handler
From: |
Thomas Huth |
Subject: |
Re: [PATCH v4 2/6] s390x: Move reset normal to shared reset handler |
Date: |
Thu, 28 Nov 2019 07:32:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 27/11/2019 18.50, Janosch Frank wrote:
Let's start moving the cpu reset functions into a single function with
a switch/case, so we can use fallthroughs and share more code between
resets.
Nit: I'd add a "later" in above sentence, since you don't use
fallthroughs yet.
This patch introduces the reset function by renaming cpu_reset() and
cleaning up leftovers.
Hmm, which leftovers? I can mainly see the renaming here...
Signed-off-by: Janosch Frank <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
---
target/s390x/cpu-qom.h | 6 +++++-
target/s390x/cpu.c | 19 +++++++++++++------
target/s390x/cpu.h | 2 +-
target/s390x/sigp.c | 2 +-
4 files changed, 20 insertions(+), 9 deletions(-)
Anyway,
Reviewed-by: Thomas Huth <address@hidden>
- [PATCH v4 0/6] s390x: Cleanup, Janosch Frank, 2019/11/27
- [PATCH v4 2/6] s390x: Move reset normal to shared reset handler, Janosch Frank, 2019/11/27
- Re: [PATCH v4 2/6] s390x: Move reset normal to shared reset handler,
Thomas Huth <=
- [PATCH v4 3/6] s390x: Move initial reset, Janosch Frank, 2019/11/27
- [PATCH v4 5/6] s390x: Beautify diag308 handling, Janosch Frank, 2019/11/27
- [PATCH v4 6/6] s390x: kvm: Make kvm_sclp_service_call void, Janosch Frank, 2019/11/27