]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/hvm/params: Add a new delivery type for event-channel in HVM_PARAM_CALLBACK_IRQ
authorShannon Zhao <shannon.zhao@linaro.org>
Thu, 7 Apr 2016 12:03:26 +0000 (20:03 +0800)
committerBob Liu <bob.liu@oracle.com>
Thu, 20 Oct 2016 07:55:16 +0000 (03:55 -0400)
commit901efa12a91aabbf69742ecdba1c0a68424aa442
treeaf225bab0262b6fbf952d666ee67c40d7214b31d
parentf1a6d062a7ef200e6ee1e9aee45505c9af1aae50
xen/hvm/params: Add a new delivery type for event-channel in HVM_PARAM_CALLBACK_IRQ

This new delivery type which is for ARM shares the same value with
HVM_PARAM_CALLBACK_TYPE_VECTOR which is for x86.

val[15:8] is flag: val[7:0] is a PPI.
To the flag, bit 8 stands the interrupt mode is edge(1) or level(0) and
bit 9 stands the interrupt polarity is active low(1) or high(0).

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Tested-by: Julien Grall <julien.grall@arm.com>
(cherry picked from commit 383ff518a79fe3dcece579b9d30be77b219d10f8)
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Orabug: 24820937
include/xen/interface/hvm/params.h