tmp_suning_uos_patched/drivers/tty/hvc
Laurent Dufour 480798044e powerpc/hvsi: Fix endianness issues in the HVSI driver
This patch fixes several endianness issues detected when running the HVSI
driver in little endian mode.

These issues are raised in little endian mode because the data exchanged in
memory between the kernel and the hypervisor has to be in big endian
format. This exhibits as errors such as:

  irq: (null) didn't like hwirq-0x1000a00 to VIRQ16 mapping (rc=-22)
  hvsi_console_init: couldn't create irq mapping for 0x1000a00

The data structures already have endian annotations, and sparse is
generating numerous warnings based on those. This commit fixes all of
them.

Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: Jiri Slaby <jslaby@suse.cz>
CC: linuxppc-dev@lists.ozlabs.org
CC: linux-kernel@vger.kernel.org
[mpe: Flesh out change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-08-20 18:19:08 +10:00
..
hvc_bfin_jtag.c
hvc_console.c tty: hvc_console.c: move assignment out of if () block 2015-05-10 19:04:17 +02:00
hvc_console.h
hvc_dcc.c
hvc_irq.c
hvc_iucv.c kernel/params: constify struct kernel_param_ops uses 2015-05-28 11:32:10 +09:30
hvc_opal.c hvc: Convert to using interrupts instead of opal events 2015-05-22 15:14:38 +10:00
hvc_rtas.c
hvc_tile.c drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN 2015-05-11 11:22:20 -04:00
hvc_udbg.c
hvc_vio.c
hvc_xen.c hvc_xen: avoid uninitialized variable warning 2015-05-28 12:23:12 +01:00
hvcs.c tty: hvcs.c: move assignment out of if () block 2015-05-10 19:04:17 +02:00
hvsi_lib.c
hvsi.c powerpc/hvsi: Fix endianness issues in the HVSI driver 2015-08-20 18:19:08 +10:00
Kconfig tty/hvc: remove celleb-only beat driver 2015-05-10 19:19:06 +02:00
Makefile tty/hvc: remove celleb-only beat driver 2015-05-10 19:19:06 +02:00