android_kernel_xiaomi_sm8350/drivers/serial
Josh Boyer 4f640efb31 Use resource_size_t for serial port IO addresses
At present, various parts of the serial code use unsigned long to define
resource addresses.  This is a problem, because some 32-bit platforms have
physical addresses larger than 32-bits, and have mmio serial uarts located
above the 4GB point.

This patch changes the type of mapbase in both struct uart_port and struct
plat_serial8250_port to resource_size_t, which can be configured to be 64
bits on such platforms.  The mapbase in serial_struct can't safely be
changed, because that structure is user visible.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-24 12:24:58 -07:00
..
cpm_uart [POWERPC] CPM_UART: Use inline function form of eieio 2007-07-10 00:33:19 -05:00
jsm PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
8250_accent.c
8250_acorn.c [ARM] ecard: add ecardm_iomap() / ecardm_iounmap() 2007-05-11 17:19:02 +01:00
8250_au1x00.c
8250_boca.c
8250_early.c Use resource_size_t for serial port IO addresses 2007-07-24 12:24:58 -07:00
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c
8250_hp300.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
8250_hub6.c
8250_mca.c
8250_pci.c
8250_pnp.c
8250.c Use resource_size_t for serial port IO addresses 2007-07-24 12:24:58 -07:00
8250.h
21285.c
68328serial.c
68328serial.h
68360serial.c 68360serial: remove broken optimisation 2007-07-16 09:05:51 -07:00
amba-pl010.c [ARM] Fix 4417/1: Serial: Fix AMBA drivers locking 2007-06-05 19:39:49 +01:00
amba-pl011.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
atmel_serial.c atmel_serial: fix break handling 2007-07-16 09:05:45 -07:00
atmel_serial.h
bfin_5xx.c Blackfin serial driver: supporting BF548-EZKIT serial port 2007-07-12 16:43:46 +08:00
clps711x.c
crisv10.c
dz.c
dz.h
icom.c icom: add new sub-device-id to support new adapter 2007-05-17 05:23:05 -07:00
icom.h
imx.c [ARM] 4481/1: Fix a bug when i.MX is compiled as a module 2007-07-20 09:55:14 +01:00
ioc3_serial.c
ioc4_serial.c
ip22zilog.c Update zilog timeout 2007-07-16 09:05:42 -07:00
ip22zilog.h
Kconfig zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00
m32r_sio_reg.h
m32r_sio.c
m32r_sio.h
Makefile zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00
mcfserial.c
mcfserial.h
mpc52xx_uart.c [POWERPC] Don't shutdown TX on mpc5200 serial port if it is a console 2007-05-07 20:31:15 +10:00
mpsc.c serial: clear proper MPSC interrupt cause bits 2007-06-28 11:38:29 -07:00
mux.c
netx-serial.c
of_serial.c [POWERPC] of_serial: add port type checking 2007-07-10 21:53:42 +10:00
pmac_zilog.c [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
pmac_zilog.h
pnx8xxx_uart.c
pxa.c
s3c2410.c [ARM] 4508/1: S3C: Move items to include/asm-arm/plat-s3c 2007-07-22 16:44:24 +01:00
sa1100.c
sb1250-duart.c sb1250-duart.c: SB1250 DUART serial support 2007-07-17 10:23:03 -07:00
serial_core.c Use resource_size_t for serial port IO addresses 2007-07-24 12:24:58 -07:00
serial_cs.c PCMCIA-NETDEV : add new ID of lan&modem multifunction card 2007-07-08 22:16:39 -04:00
serial_ks8695.c [ARM] 4411/1: KS8695: Another serial driver fix 2007-05-30 13:15:19 +01:00
serial_lh7a40x.c
serial_txx9.c serial_txx9: zap changelog from source code 2007-05-08 11:15:12 -07:00
sh-sci.c sh: Preliminary support for the SH-X3 CPU. 2007-06-20 18:27:10 +09:00
sh-sci.h sh: Preliminary support for the SH-X3 CPU. 2007-06-20 18:27:10 +09:00
sn_console.c sn_console section mismatch warning 2007-07-16 09:05:53 -07:00
suncore.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
suncore.h [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
sunhv.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
sunsab.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
sunsab.h
sunsu.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
sunzilog.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
sunzilog.h [SERIAL] sunzilog: Interrupt enable before ISR handler installed 2007-05-09 13:49:04 -07:00
uartlite.c
v850e_uart.c
vr41xx_siu.c [MIPS] separate platform_device registration for VR41xx serial interface 2007-07-12 17:41:13 +01:00
zs.c zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00
zs.h zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00