[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/8] s390x/kvm: Implemented SIGP START
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH 5/8] s390x/kvm: Implemented SIGP START |
Date: |
Tue, 17 Dec 2013 15:30:57 +0100 |
On 17.12.2013, at 15:26, Thomas Huth <address@hidden> wrote:
>
> Hi Alex,
>
> On Tue, 17 Dec 2013 14:56:33 +0100
> Alexander Graf <address@hidden> wrote:
>
>>
>> On 17.12.2013, at 14:22, Jens Freimann <address@hidden> wrote:
>>
>>> From: Thomas Huth <address@hidden>
>>>
>>> This patch adds the missing START order to the SIGP instruction handler.
>>
>> Does the spec define what happens on START when the CPU is already running?
>
> As far as I can see, the spec does not explicitely defines the behavior
> in that case, it says only: "The order is effective only when the
> addressed CPU is in the stopped state". But according to my experiments
> (I wrote a test program that I ran without additional hypervisor), the
> START order is simply ignored when the CPU is already running and CC0 is
> returned.
>
> This is also what happens with the code below, since
> s390_add_running_cpu() only does something if the "halted" flag is set,
> and kicking a CPU that is already running does not hurt either, as far
> as I can see.
Yup :)
>
>> Does START modify any register state?
>
> No, the CPU simply continues running with the state where it has been
> stopped before.
Ok, great. Then it really does the same thing :)
Alex
- [Qemu-devel] [PATCH 2/8] s390x/kvm: Removed duplicated SIGP defines, (continued)
- [Qemu-devel] [PATCH 2/8] s390x/kvm: Removed duplicated SIGP defines, Jens Freimann, 2013/12/17
- [Qemu-devel] [PATCH 3/8] s390x/kvm: Removed s390_store_status stub, Jens Freimann, 2013/12/17
- [Qemu-devel] [PATCH 6/8] s390x/kvm: Simplified the calculation of the SIGP order code, Jens Freimann, 2013/12/17
- [Qemu-devel] [PATCH 8/8] s390x/ioinst: CHSC has to set a condition code, Jens Freimann, 2013/12/17
- [Qemu-devel] [PATCH 5/8] s390x/kvm: Implemented SIGP START, Jens Freimann, 2013/12/17
- [Qemu-devel] [PATCH 7/8] s390x/kvm: Fixed condition code for unknown SIGP orders, Jens Freimann, 2013/12/17
- Re: [Qemu-devel] [PATCH 0/8] s390 sigp, chsc and diag bugfixes/cleanups, Alexander Graf, 2013/12/18