WSL2-Linux-Kernel/include/xen/interface
Stefano Stabellini f5079a9a2a xen/arm: introduce XENFEAT_direct_mapped and XENFEAT_not_direct_mapped
Newer Xen versions expose two Xen feature flags to tell us if the domain
is directly mapped or not. Only when a domain is directly mapped it
makes sense to enable swiotlb-xen on ARM.

Introduce a function on ARM to check the new Xen feature flags and also
to deal with the legacy case. Call the function xen_swiotlb_detect.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20210319200140.12512-1-sstabellini@kernel.org
Signed-off-by: Juergen Gross <jgross@suse.com>
2021-04-23 11:33:50 +02:00
..
hvm xen: Move xen_setup_callback_vector() definition to include/xen/hvm.h 2020-06-11 15:15:19 +02:00
io xen: branch for v5.9-rc1b 2020-08-14 13:34:37 -07:00
callback.h ia64/xen: Remove Xen support for ia64 2013-12-10 16:11:07 -08:00
elfnote.h xen/pvh: Import PVH-related Xen public interfaces 2017-02-07 08:07:01 -05:00
event_channel.h xen: Use evtchn_type_t as a type for event channels 2020-04-07 12:12:54 +02:00
features.h xen/arm: introduce XENFEAT_direct_mapped and XENFEAT_not_direct_mapped 2021-04-23 11:33:50 +02:00
grant_table.h scripts/spelling.txt: add "an union" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
memory.h x86/xen: Move pv specific parts of arch/x86/xen/mmu.c to mmu_pv.c 2018-09-03 16:50:33 +02:00
nmi.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
physdev.h xen: add support for MSI message groups 2014-03-18 14:40:09 +00:00
platform.h xen: introduce XENPF_settime64 2015-12-21 14:40:57 +00:00
sched.h xen: Sync xen header 2016-09-05 13:52:37 +02:00
vcpu.h x86/xen/time: setup vcpu 0 time info page 2017-11-08 16:33:14 -05:00
version.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xen-mca.h xen/mcelog: add PPIN to record when available 2019-11-14 10:01:57 +01:00
xen.h xen: add wc_sec_hi to struct shared_info 2021-02-04 14:19:38 +00:00
xenpmu.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00