On Tue, 7 Apr 2020 at 08:41, Peter Maydell <peter.mayd...@linaro.org> wrote: > > On Mon, 6 Apr 2020 at 23:55, Cameron Esfahani <di...@apple.com> wrote: > > > > NRF51_GPIO_REG_CNF_END doesn't actually refer to the start of the last > > valid CNF register: it's referring to the last byte of the last valid > > CNF register. > > > > This hasn't been a problem up to now, as current implementation in > > memory.c turns an unaligned 4-byte read from 0x77f to a single byte read > > and the qtest only looks at the least-significant byte of the register. > > > > But, when running with Cedric Le Goater's <c...@kaod.org> pending fix for > > unaligned accesses in memory.c, the qtest breaks. > > Do you have a link to this patch, please? I had a quick search through > my mailing list articles but couldn't see anything obviously relevant.
There is a reference in this thread: https://lore.kernel.org/qemu-devel/dd8fc1f7-56d9-4d9f-96a4-0fdcafdc8...@www.fastmail.com/ The patch is here: https://lore.kernel.org/qemu-devel/20170630030058.28943-1-and...@aj.id.au/