Commit b2a82da3 authored by Elliot Berman's avatar Elliot Berman Committed by Treehugger Robot
Browse files

BACKPORT: FROMLIST: arch/mm: Export direct {un,}map functions

Firmware and hypervisor drivers can donate system heap memory to their
respective firmware/hypervisor entities. Those drivers should unmap the
pages from the kernel's logical map before doing so.

Export can_set_direct_map, set_direct_map_invalid_noflush, and
set_direct_map_default_noflush.

Bug: 338347082
Link: https://lore.kernel.org/all/20240222-gunyah-v17-19-1e9da6763d38@quicinc.com/


Change-Id: Ib94aa30156db3a6b9a755228ed7c20c910caaf65
Signed-off-by: default avatarElliot Berman <quic_eberman@quicinc.com>
Signed-off-by: default avatarSreenad Menon <quic_sreemeno@quicinc.com>
parent ee334bab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment