[PATCH 0/2] MIPS: CDMM big endian fixes for v4.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 MMIO
accesses on big endian targets. This patchset converts the CDMM bus
driver and Fast Debug Channel (FDC) TTY driver to use __raw_readl() and
__raw_writel() when accessing the CDMM so they work on big endian
targets too.

I guess it makes sense for this to go via the MIPS tree since thats
where the original patches were applied. Please apply for v4.1.

James Hogan (2):
  MIPS: Fix CDMM to use native endian MMIO reads
  ttyFDC: Fix to use native endian MMIO reads

 drivers/bus/mips_cdmm.c      |  4 ++--
 drivers/tty/mips_ejtag_fdc.c | 17 +++++++++--------
 2 files changed, 11 insertions(+), 10 deletions(-)

Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Jiri Slaby <jslaby@xxxxxxx>
Cc: linux-mips@xxxxxxxxxxxxxx
-- 
2.0.5






[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux