I am using OpenOCD to debug a Cortex A53 (NXP LS1012A) cpu. When trying to read a byte wide uart register, I keep getting the wrong values from the memory mapped registers.
Looking into the aarch64.c code, this seems to be caused by aarch64_read_abp_ap_memory only being able to read issue 32 bit aligned reads.