summaryrefslogtreecommitdiffstats
path: root/include/xen/tmem.h
diff options
context:
space:
mode:
authorStefano Stabellini2012-01-30 17:21:48 +0100
committerKonrad Rzeszutek Wilk2012-03-20 20:34:07 +0100
commit9846ff10af12f9e7caac696737db6c990592a74a (patch)
treef0b047fedc93c820ed63657fd5c9bb28457b69ce /include/xen/tmem.h
parentxen/acpi-processor: Do not depend on CPU frequency scaling drivers. (diff)
downloadkernel-qcow2-linux-9846ff10af12f9e7caac696737db6c990592a74a.tar.gz
kernel-qcow2-linux-9846ff10af12f9e7caac696737db6c990592a74a.tar.xz
kernel-qcow2-linux-9846ff10af12f9e7caac696737db6c990592a74a.zip
xen: support pirq_eoi_map
The pirq_eoi_map is a bitmap offered by Xen to check which pirqs need to be EOI'd without having to issue an hypercall every time. We use PHYSDEVOP_pirq_eoi_gmfn_v2 to map the bitmap, then if we succeed we use pirq_eoi_map to check whether pirqs need eoi. Changes in v3: - explicitly use PHYSDEVOP_pirq_eoi_gmfn_v2 rather than PHYSDEVOP_pirq_eoi_gmfn; - introduce pirq_check_eoi_map, a function to check if a pirq needs an eoi using the map; -rename pirq_needs_eoi into pirq_needs_eoi_flag; - introduce a function pointer called pirq_needs_eoi that is going to be set to the right implementation depending on the availability of PHYSDEVOP_pirq_eoi_gmfn_v2. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen/tmem.h')
0 files changed, 0 insertions, 0 deletions