diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2020-05-08 14:33:58 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-05-18 21:58:45 +1000 |
commit | deb70f7a35a22dffa55b2c3aac71bc6fb0f486ce (patch) | |
tree | 496114130fa973cc3fa7952b493a9420121b385f /crypto/ahash.c | |
parent | 7368b38b21bfa39df637701a480262c15ab1a49e (diff) | |
download | linux-deb70f7a35a22dffa55b2c3aac71bc6fb0f486ce.tar.gz |
powerpc/pseries/ras: Fix FWNMI_VALID off by one
This was discovered developing qemu fwnmi sreset support. This
off-by-one bug means the last 16 bytes of the rtas area can not
be used for a 16 byte save area.
It's not a serious bug, and QEMU implementation has to retain a
workaround for old kernels, but it's good to tighten it.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Mahesh Salgaonkar <mahesh@linux.ibm.com>
Link: https://lore.kernel.org/r/20200508043408.886394-7-npiggin@gmail.com
Diffstat (limited to 'crypto/ahash.c')
0 files changed, 0 insertions, 0 deletions