Hi Michal, > -----Original Message----- > Subject: [PATCH] xen/arm: debug-pl011: Use 32-bit accessors for broader > compatibility > > There are implementations of the PL011 that can only handle 32-bit > accesses (i.e. no 16-bit or 8-bit), usually advertised by 'reg-io-width' > dt property set to 4. On such UARTs, the current early printk code for > arm64 does not work. To fix this issue, make all the accesses to be 32-bit > by using ldr, str without a size field. This makes it possible to use > early printk on such platforms, while all the other implementations should > generally cope with 32-bit accesses. In case they do not, they would > already fail as we explicitly use writel/readl in the runtime driver to > maintain broader compatibility and to be SBSAv2 compliant. Therefore, this > change makes the runtime/early handling consistent (also it matches the > arm32 debug-pl011 code). > > Signed-off-by: Michal Orzel <michal.or...@amd.com>
Reviewed-by: Henry Wang <henry.w...@arm.com> Kind regards, Henry