mirror of https://gitee.com/openkylin/linux.git
bf4407f081
This patch fixes the Inside Secure driver which uses a memtset() call to
set an MMIO area from the cryptographic engine to 0. This is wrong as
memset() isn't guaranteed to work on MMIO for many reasons. This led to
kernel paging request panics in certain cases. Use memset_io() instead.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
safexcel.c | ||
safexcel.h | ||
safexcel_cipher.c | ||
safexcel_hash.c | ||
safexcel_ring.c |