On 6/24/19 8:08 PM, Joel Sing wrote: > From 8ef31a2ce8ef1cbeee92995a0b2994f480e9bb6d Mon Sep 17 00:00:00 2001 > From: Joel Sing <j...@sing.id.au> > Date: Tue, 25 Jun 2019 02:44:24 +1000 > Subject: [PATCH] Clear load reservations on qemu riscv target > > This prevents a load reservation from being placed in one context/process, > then being used in another, resulting in an SC succeeding incorrectly and > breaking atomics. > > Signed-off-by: Joel Sing <j...@sing.id.au>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > + /* Clear the load reservation - otherwise a reservation placed in one Excepting this line, which will fail checkpatch.pl. Needs to be formatted as /* * Clear the load... r~