diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2017-09-13 07:51:24 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-15 01:41:18 +0300 |
commit | 1bc944cee663f232e3c37b15a6b2f9185bca413c (patch) | |
tree | ae728c691c85dbe244a163f02dc318e3871811c5 /firmware/yam | |
parent | bac65d9d87b383471d8d29128319508d71b74180 (diff) | |
download | linux-1bc944cee663f232e3c37b15a6b2f9185bca413c.tar.xz |
powerpc: Fix handling of alignment interrupt on dcbz instruction
This fixes the emulation of the dcbz instruction in the alignment
interrupt handler. The error was that we were comparing just the
instruction type field of op.type rather than the whole thing,
and therefore the comparison "type != CACHEOP + DCBZ" was always
true.
Fixes: 31bfdb036f12 ("powerpc: Use instruction emulation infrastructure to handle alignment faults")
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Tested-by: Michal Sojka <sojkam1@fel.cvut.cz>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'firmware/yam')
0 files changed, 0 insertions, 0 deletions