Skip to content
Commit 0b47a6bd authored by Jiandi An's avatar Jiandi An Committed by Stefano Stabellini
Browse files

Xen: ARM: Zero reserved fields of xatp before making hypervisor call



Ensure all reserved fields of xatp are zero before making
hypervisor call to XEN in xen_map_device_mmio().
xenmem_add_to_physmap_one() in XEN fails the mapping request if
extra.res reserved field in xatp is not zero for XENMAPSPACE_dev_mmio
request.

Signed-off-by: default avatarJiandi An <anjiandi@codeaurora.org>
Reviewed-by: default avatarStefano Stabellini <sstabellini@kernel.org>
parent f9751a60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment