diff options
author | Sherry Sun <sherry.sun@nxp.com> | 2020-09-29 12:11:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 11:07:16 +0300 |
commit | 8ac30068590443ece87acc39c2229a1a7523562a (patch) | |
tree | c074c72df368ccc74f79ba2a9651034729592876 /samples/bpf/tcp_synrto_kern.c | |
parent | a07e3351c42d43612f39645e3739980233fb35bb (diff) | |
download | linux-8ac30068590443ece87acc39c2229a1a7523562a.tar.xz |
mic: vop: copy data to kernel space then write to io memory
[ Upstream commit 675f0ad4046946e80412896436164d172cd92238 ]
Read and write io memory should address align on ARCH ARM. Change to use
memcpy_toio to avoid kernel panic caused by the address un-align issue.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Link: https://lore.kernel.org/r/20200929091106.24624-5-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples/bpf/tcp_synrto_kern.c')
0 files changed, 0 insertions, 0 deletions