History

KVM: s390: Support for I/O interrupts.

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.

Cornelia Huck committed 13 years ago

Commit d8346b71 parent b1c571a4 files · +116 −2Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/kvm.h+9−0
@@ -401,6 +401,15 @@ struct kvm_s390_psw { · 400 unmodified lines
401#define KVM_S390_INT_SERVICE 0xffff2401u401#define KVM_S390_INT_SERVICE 0xffff2401u
402#define KVM_S390_INT_EMERGENCY 0xffff1201u402#define KVM_S390_INT_EMERGENCY 0xffff1201u
403#define KVM_S390_INT_EXTERNAL_CALL 0xffff1202u403#define KVM_S390_INT_EXTERNAL_CALL 0xffff1202u
404/* Anything below 0xfffe0000u is taken by INT_IO */
405#define KVM_S390_INT_IO(ai,cssid,ssid,schid) \
406 (((schid)) | \
407 ((ssid) << 16) | \
408 ((cssid) << 18) | \
409 ((ai) << 26))
410#define KVM_S390_INT_IO_MIN 0x00000000u
411#define KVM_S390_INT_IO_MAX 0xfffdffffu
412
404 413
405struct kvm_s390_interrupt {414struct kvm_s390_interrupt {
406 __u32 type;415 __u32 type;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t