mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
295454eda9
The kasan_init_phys_region() function maps shadow pages necessary for the ranges of the linear map backed by physical pages. Currently kasan_init_phys_region() is being passed physical addresses, but kasan_mem_to_shadow() expects virtual addresses. It works right now because the lower bits (12:64) of the kasan_mem_to_shadow() calculation are the same for the real and virtual addresses, so the actual PTE value is the same in the end. But virtual addresses are the intended input, so fix it. Signed-off-by: Benjamin Gray <bgray@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240212045020.70364-1-bgray@linux.ibm.com |
||
---|---|---|
.. | ||
8xx.c | ||
book3s_32.c | ||
init_32.c | ||
init_book3e_64.c | ||
init_book3s_64.c | ||
Makefile |