Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ttyFDC: Fix to use native endian MMIO reads
The MIPS Common Device Memory Map (CDMM) is internal to the core and has native endianness. There is therefore no need to byte swap the accesses on big endian targets, so convert the Fast Debug Channel (FDC) TTY driver to use __raw_readl()/__raw_writel() rather than ioread32()/iowrite32(). Fixes: 4cebec6 ("TTY: Add MIPS EJTAG Fast Debug Channel TTY driver") Fixes: c2d7ef5 ("ttyFDC: Implement KGDB IO operations.") Signed-off-by: James Hogan <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/9905/ Acked-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
- Loading branch information