armv7-a/r:cp15_invalidate_dcache_all: fix Sets mask error.#5354
Conversation
As NumSets field is bits 13-27, use 0x7fff instead. And add way to get from CCSIDR.
|
@zhuyanlinzyl @xiaoxiang781216 If I revert this PR it works again. |
|
hi, @masayuki2009. I build sabre-6quad:smp and try in QEMU, but it still hang without this patch. Did I use the wrong command, Can you share the shell command with me?
|
Please refer the following link NOTE: If you just start the qemu without GDB, you can remove -s -S options. |
|
hi, @masayuki2009 It's my mistake, a4 register not save in cp15_invalidate_dcache_all. I fixed it in PR #5367 I verify in sabre-6quad:smp build. You can have a try. |
As NumSets field is bits 13-27, use 0x7fff instead.
And add way to get from CCSIDR.
Summary
Impact
No, bug fix
Testing