2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/drivers/serial
Andres Salomon 8f4ce8c32f serial: turn serial console suspend a boot rather than compile time option
Currently, there's a CONFIG_DISABLE_CONSOLE_SUSPEND that allows one to stop
the serial console from being suspended when the rest of the machine goes
to sleep.  This is incredibly useful for debugging power management-related
things; however, having it as a compile-time option has proved to be
incredibly inconvenient for us (OLPC).  There are plenty of times that we
want serial console to not suspend, but for the most part we'd like serial
console to be suspended.

This drops CONFIG_DISABLE_CONSOLE_SUSPEND, and replaces it with a kernel
boot parameter (no_console_suspend).  By default, the serial console will
be suspended along with the rest of the system; by passing
'no_console_suspend' to the kernel during boot, serial console will remain
alive during suspend.

For now, this is pretty serial console specific; further fixes could be
applied to make this work for things like netconsole.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Nigel Cunningham <nigel@suspend2.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-18 14:37:19 -07:00
..
cpm_uart [POWERPC] cpm: Describe multi-user ram in its own device node. 2007-10-04 15:47:05 -05:00
jsm jsm: Remove further unneeded crud 2007-10-17 08:42:52 -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 serial: fix 8250 early console setup 2007-08-03 15:02:56 -07:00
8250_exar_st16c554.c [PATCH] Exar quad port serial 2006-12-07 08:39:35 -08:00
8250_fourport.c
8250_gsc.c [PARISC] Clean up asm-parisc/serial.h 2006-10-04 06:47:03 -06:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
8250_pci.c 8250_pci: Autodetect mainpine cards 2007-10-16 09:42:50 -07:00
8250_pnp.c Add support for Wacom WACF007 and WACF008 to serial pnp driver 2007-10-16 09:42:50 -07:00
8250.c Serial 8250: handle saving the clear-on-read bits from the LSR and MSR 2007-08-22 19:52:44 -07:00
8250.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
21285.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
68328serial.c m68knommu: fix workqueues in 68328 serial driver 2007-07-25 11:05:01 -07:00
68328serial.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 [ARM] 4357/1: AT91: Support slower serial baud-rates 2007-05-03 14:12:45 +01:00
bfin_5xx.c Blackfin arch: update kgdb patch 2007-10-10 16:47:58 +08:00
clps711x.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
crisv10.c tty: bring the old cris driver back somewhere into the realm of new tty buffering 2007-10-16 09:43:04 -07:00
dz.c [PATCH] dz: remove struct pt_regs references 2007-03-05 07:57:51 -08:00
dz.h [PATCH] dz: Fixes to make it work 2006-12-07 08:39:41 -08:00
icom.c icom: add new sub-device-id to support new adapter 2007-05-17 05:23:05 -07:00
icom.h do not truncate irq number for icom adapter 2007-04-24 08:23:08 -07:00
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 [PATCH] serial: replace kmalloc+memset with kzalloc 2007-02-14 08:09:52 -08:00
ioc4_serial.c [PATCH] serial: replace kmalloc+memset with kzalloc 2007-02-14 08:09:52 -08:00
ip22zilog.c Update zilog timeout 2007-07-16 09:05:42 -07:00
ip22zilog.h
Kconfig [POWERPC] Optionally use new device number for pmac_zilog 2007-09-22 14:49:21 +10:00
m32r_sio_reg.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
m32r_sio.c m32r: serial: remove M32R_SIO_SHARE_IRQS 2007-10-16 09:43:04 -07:00
m32r_sio.h m32r: serial: remove M32R_SIO_SHARE_IRQS 2007-10-16 09:43:04 -07:00
Makefile zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00
mcfserial.c [PATCH] m68knommu: fix work queues in mcfserial.c driver 2007-03-06 18:08:38 -08:00
mcfserial.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mpc52xx_uart.c mpc52xx-uart: fix compile warning (format type mismatch) 2007-10-14 08:57:30 -07:00
mpsc.c serial: MPSC: Fix coding style and whitespace issues 2007-07-31 15:39:41 -07:00
mux.c Merge branch 'parisc' from /home/kyle/repos/parisc-2.6.git 2007-02-17 00:18:23 -05:00
netx-serial.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
of_serial.c [POWERPC] of_serial: add port type checking 2007-07-10 21:53:42 +10:00
pmac_zilog.c [POWERPC] Optionally use new device number for pmac_zilog 2007-09-22 14:49:21 +10:00
pmac_zilog.h [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
pnx8xxx_uart.c [PATCH] PNX8550 UART driver 2007-02-14 08:09:52 -08:00
pxa.c [ARM] pxa: update pxa serial driver to use clk support 2007-10-12 21:15:07 +01:00
s3c2410.c [ARM] 4508/1: S3C: Move items to include/asm-arm/plat-s3c 2007-07-22 16:44:24 +01:00
sa1100.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
sb1250-duart.c BCM1480 serial build fix 2007-09-11 17:21:19 -07:00
serial_core.c serial: turn serial console suspend a boot rather than compile time option 2007-10-18 14:37:19 -07:00
serial_cs.c Add support for PCMCIA card Sierra WIreless AC850 2007-10-16 09:42:50 -07:00
serial_ks8695.c [ARM] 4411/1: KS8695: Another serial driver fix 2007-05-30 13:15:19 +01:00
serial_lh7a40x.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
serial_txx9.c serial_txx9: Use UPF_FIXED_PORT 2007-10-16 09:42:50 -07:00
sh-sci.c serial: sh-sci: kgdb console build fixes. 2007-09-21 11:57:53 +09:00
sh-sci.h sh: Add SH7720 CPU support. 2007-09-21 11:57:49 +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 [SUNSAB]: Fix broken SYSRQ. 2007-09-25 22:49:37 -07:00
sunsab.h
sunsu.c [SERIAL]: Fix 32-bit warnings in sunzilog.c and sunsu.c 2007-08-26 18:49:11 -07:00
sunzilog.c [SERIAL]: Fix 32-bit warnings in sunzilog.c and sunsu.c 2007-08-26 18:49:11 -07:00
sunzilog.h [SERIAL] sunzilog: Interrupt enable before ISR handler installed 2007-05-09 13:49:04 -07:00
uartlite.c [POWERPC] Uartlite: Revert register io access changes 2007-10-03 07:37:41 -05:00
v850e_uart.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
vr41xx_siu.c serial: fix vr41xx_siu serial console support 2007-07-31 15:39:41 -07: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