aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/hyperv_timer.c
diff options
context:
space:
mode:
authorStefano Stabellini <[email protected]>2021-03-19 20:01:40 +0000
committerJuergen Gross <[email protected]>2021-04-23 09:33:50 +0000
commitf5079a9a2a31607a2343e544e9182ce35b030578 (patch)
tree845187f971beecc8c97874a6789a4661e3951056 /drivers/clocksource/hyperv_timer.c
parentxen-pciback: simplify vpci's find hook (diff)
downloadkernel-f5079a9a2a31607a2343e544e9182ce35b030578.tar.gz
kernel-f5079a9a2a31607a2343e544e9182ce35b030578.zip
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 <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/clocksource/hyperv_timer.c')
0 files changed, 0 insertions, 0 deletions