From mboxrd@z Thu Jan 1 00:00:00 1970 From: peter@hurleysoftware.com (Peter Hurley) Date: Tue, 30 Sep 2014 16:27:46 -0400 Subject: [PATCH 02/13] tty: serial: 8250: make serial8250_console_setup() non _init In-Reply-To: <1412014009-13315-3-git-send-email-bigeasy@linutronix.de> References: <1412014009-13315-1-git-send-email-bigeasy@linutronix.de> <1412014009-13315-3-git-send-email-bigeasy@linutronix.de> Message-ID: <542B1242.1010609@hurleysoftware.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 09/29/2014 02:06 PM, Sebastian Andrzej Siewior wrote: > if I boot with console=ttyS0 and the omap driver is module I end up with > > | console [ttyS0] disabled Note to self: make ISA config optional. > | omap8250 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a 8250 > | Unable to handle kernel paging request at virtual address c07a9de0 > | Modules linked in: 8250_omap(+) > | CPU: 0 PID: 908 Comm: modprobe Not tainted 3.17.0-rc5+ #1593 > | PC is at serial8250_console_setup+0x0/0xc8 > | LR is at register_console+0x13c/0x3a4 > | [] (register_console) from [] (uart_add_one_port+0x3cc/0x420) > | [] (uart_add_one_port) from [] (serial8250_register_8250_port+0x298/0x39c) > | [] (serial8250_register_8250_port) from [] (omap8250_probe+0x218/0x3dc [8250_omap]) > | [] (omap8250_probe [8250_omap]) from [] (platform_drv_probe+0x2c/0x5c) > | [] (platform_drv_probe) from [] (driver_probe_device+0x104/0x228) > ? > | [] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x30) > | Code: 7823603b f8314620 051b3013 491ed416 (44792204) > > because serial8250_console_setup() is already gone. > > Signed-off-by: Sebastian Andrzej Siewior Reviewed-by: Peter Hurley