[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/7] s390/kvm: Support for I/O interrupts.
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/7] s390/kvm: Support for I/O interrupts. |
Date: |
Wed, 05 Sep 2012 10:28:53 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 09/04/2012 06:13 PM, Cornelia Huck wrote:
> Add support for handling I/O interrupts (standard, subchannel-related
> ones and rudimentary adapter interrupts).
>
> The subchannel-identifying parameters are encoded into the interrupt
> type.
>
> I/O interrupts are floating, so they can't be injected on a specific
> vcpu.
>
> diff --git a/include/linux/kvm.h b/include/linux/kvm.h
> index d808694..5a36e65 100644
> --- a/include/linux/kvm.h
> +++ b/include/linux/kvm.h
> @@ -396,6 +396,12 @@ struct kvm_s390_psw {
> #define KVM_S390_INT_SERVICE 0xffff2401u
> #define KVM_S390_INT_EMERGENCY 0xffff1201u
> #define KVM_S390_INT_EXTERNAL_CALL 0xffff1202u
> +#define KVM_S390_INT_IO(ai,cssid,ssid,schid) \
> + (((schid)) | \
> + ((ssid) << 16) | \
> + ((cssid) << 18) | \
> + ((ai) << 26))
> +
>
Documentation?
--
error compiling committee.c: too many arguments to function
- [Qemu-devel] [RFC PATCH v2 0/7] s390: virtual css host support., Cornelia Huck, 2012/09/04
- [Qemu-devel] [PATCH v2 3/7] s390/kvm: In-kernel handling of I/O instructions., Cornelia Huck, 2012/09/04
- [Qemu-devel] [PATCH v2 4/7] s390: Move css limits from drivers/s390/cio/ to include/asm/., Cornelia Huck, 2012/09/04
- [Qemu-devel] [PATCH v2 1/7] s390/kvm: Support for I/O interrupts., Cornelia Huck, 2012/09/04
- Re: [Qemu-devel] [PATCH v2 1/7] s390/kvm: Support for I/O interrupts.,
Avi Kivity <=
- [Qemu-devel] [PATCH v2 5/7] s390: Make some css-related structures usable by non-cio code., Cornelia Huck, 2012/09/04
- [Qemu-devel] [PATCH v2 6/7] s390/kvm: Base infrastructure for enabling capabilities., Cornelia Huck, 2012/09/04
- [Qemu-devel] [PATCH v2 7/7] s390/kvm: In-kernel channel subsystem support., Cornelia Huck, 2012/09/04
- [Qemu-devel] [PATCH v2 2/7] s390/kvm: Add support for machine checks., Cornelia Huck, 2012/09/04