]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Clear load reservations while restoring hart contexts
authorPalmer Dabbelt <palmer@sifive.com>
Wed, 25 Sep 2019 00:15:56 +0000 (17:15 -0700)
committerPaul Walmsley <paul.walmsley@sifive.com>
Tue, 1 Oct 2019 20:16:40 +0000 (13:16 -0700)
commit073596d3696ff6e368b6489ede772fbeac71c11b
tree2d52b920be2bb0dc54bb4ad0dd88413a7be5fcee
parentf5c4776cd5b591eea4e9be9f421e34f61b98ebb2
RISC-V: Clear load reservations while restoring hart contexts

This is almost entirely a comment.  The bug is unlikely to manifest on
existing hardware because there is a timeout on load reservations, but
manifests on QEMU because there is no timeout.

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/riscv/include/asm/asm.h
arch/riscv/kernel/entry.S