diff options
author | Sherry Sun <sherry.sun@nxp.com> | 2020-09-29 11:11:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-02 15:57:29 +0200 |
commit | 675f0ad4046946e80412896436164d172cd92238 (patch) | |
tree | ecf650b3f3e2d67fa0857b2e2fd8b70dabba8ca8 /samples/ftrace | |
parent | misc: vop: add round_up(x,4) for vring_size to avoid kernel panic (diff) | |
download | linux-675f0ad4046946e80412896436164d172cd92238.tar.xz linux-675f0ad4046946e80412896436164d172cd92238.zip |
mic: vop: copy data to kernel space then write to io memory
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>
Diffstat (limited to 'samples/ftrace')
0 files changed, 0 insertions, 0 deletions