summaryrefslogtreecommitdiff
path: root/drivers/firmware/tegra/bpmp-debugfs.c
diff options
context:
space:
mode:
authorTimo Alho <talho@nvidia.com>2022-06-22 16:22:59 +0300
committerThierry Reding <treding@nvidia.com>2022-06-24 18:57:29 +0300
commita4740b148a04dc60e14fe6a1dfe216d3bae214fd (patch)
tree517aae3bdc0c1f08d7d76436722a1e410104b708 /drivers/firmware/tegra/bpmp-debugfs.c
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
downloadlinux-a4740b148a04dc60e14fe6a1dfe216d3bae214fd.tar.xz
firmware: tegra: bpmp: Do only aligned access to IPC memory area
Use memcpy_toio and memcpy_fromio variants of memcpy to guarantee no unaligned access to IPC memory area. This is to allow the IPC memory to be mapped as Device memory to further suppress speculative reads from happening within the 64 kB memory area above the IPC memory when 64 kB memory pages are used. Signed-off-by: Timo Alho <talho@nvidia.com> Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/firmware/tegra/bpmp-debugfs.c')
0 files changed, 0 insertions, 0 deletions