[LTP] [PATCH] crypto/af_alg05: add comment for a regression

Li Wang liwang@redhat.com
Thu Sep 19 06:57:01 CEST 2019


On Wed, Sep 18, 2019 at 9:09 PM Yang Xu <xuyang2018.jy@cn.fujitsu.com>
wrote:

> Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
> ---
>  testcases/kernel/crypto/af_alg05.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/testcases/kernel/crypto/af_alg05.c
> b/testcases/kernel/crypto/af_alg05.c
> index 419c65eab..964adffcc 100644
> --- a/testcases/kernel/crypto/af_alg05.c
> +++ b/testcases/kernel/crypto/af_alg05.c
> @@ -10,6 +10,12 @@
>   * block size, and where the destination buffer starts exactly at a page
>   * boundary.  Based on the reproducer from the commit message.  Note that
> this
>   * issue only reproduces on certain architectures, such as arm and arm64.
> + *
> + * On some older kernel without commit 160544075f2 ("crypto: scatterwalk
> - Hide
> + * PageSlab call to optimise away flush_dcache_page") , it doesn't use
> + * ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE macro. It can crash on all
> architectures.
> + * Without skcipher walk interface, it is also a regresstion test for
> commit
> + * 0868def3e410("crypto: blkcipher - fix crash flushing dcache in error
> path").
>

This is correct, thanks for debugging. Pushed~

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20190919/fb46b598/attachment.htm>


More information about the ltp mailing list