login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
August
»
3
Re: REGRESSION: serial_cs broken by 8250 changes
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Yinghai Lu
Subject:
Re: REGRESSION: serial_cs broken by 8250 changes
Date: Thursday, August 2, 2007 - 5:18 pm
Andrew Morton wrote:
quoted text
> On Thu, 02 Aug 2007 16:24:42 -0700 > Yinghai Lu <Yinghai.Lu@Sun.COM> wrote: > >> Daniel Ritz wrote: >>> commit 18a8bd949d6adb311ea816125ff65050df1f3f6e breaks serial_cs badly >>> with an oops, completely killing PCMCIA. >>> >>> register_console() now calls console->early_setup(). which in case of >>> 8250.c (the only user anyway) is serial8250_console_early_setup() >>> which is __init, calling 8250_early.c:serial8250_find_port_for_earlycon() >>> which is __init as well. boom. >>> >>> the changelog mentions SERIAL_PORT_DFNS removal which happens to be >>> commit 7e92b4fc345f5b6f57585fbe5ffdb0f24d7c9b26. but this got reverted >>> by commit 57d4810ea0d9ca58a7bcc1336607f0cede0a2abf. so i'd suggest to >>> just revert the 8250 changes as well. >>> >>> rgds >>> -daniel >> Is there any flag or sign that init code has been released? > > Nope. > >> We could use that to prevent init code to be called after code is freed. > > If we can omit a function call without breaking anything then we shouldn't > have been calling that function at all ;) > > It sounds like making serial8250_console_early_setup() and > serial8250_find_port_for_earlycon() non-__init will fix this. >
yes, together update_console_cmdline in kernel/printk.c Daniel, can you test that in your setup? Thanks Yinghai Lu -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
REGRESSION: serial_cs broken by 8250 changes
, Daniel Ritz
, (Thu Aug 2, 4:06 pm)
Re: REGRESSION: serial_cs broken by 8250 changes
, Andrew Morton
, (Thu Aug 2, 4:15 pm)
Re: REGRESSION: serial_cs broken by 8250 changes
, Yinghai Lu
, (Thu Aug 2, 4:24 pm)
Re: REGRESSION: serial_cs broken by 8250 changes
, Andrew Morton
, (Thu Aug 2, 4:35 pm)
Re: REGRESSION: serial_cs broken by 8250 changes
, Yinghai Lu
, (Thu Aug 2, 5:18 pm)
Re: REGRESSION: serial_cs broken by 8250 changes
, Daniel Ritz
, (Fri Aug 3, 7:07 am)
Re: REGRESSION: serial_cs broken by 8250 changes
, Maciej W. Rozycki
, (Fri Aug 3, 9:54 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trent Waddington
Re: Gaming Interface
Takashi Iwai
Re: [PATCH] usb: usbmixer error path fix
Jeremy Fitzhardinge
Re: [patch 1/6] Re-enable VDSO by default with PARAVIRT
Paul E. McKenney
Re: [PATCH, RFC] v4 scalable classic RCU implementation
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
linux-driver-devel
:
xcbvaq
“手把手”教您运用股权期权这一独特的“创富机
Greg Kroah-Hartman
[PATCH 021/641] Staging: rtl8187se: remove support for older wireless extensions
Greg Kroah-Hartman
[PATCH 544/641] Staging: IIO: tsl2561 digital light sensor core support
Greg Kroah-Hartman
[PATCH 006/641] Staging: android: binder: cleanup some long lines
Greg KH
[PATCH 005/368] Staging: dream: fix memory leak in camera error path
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-btrfs
:
Yan, Zheng
Re: 2.6.33-rc2+ bug in fs/btrfs/ordered-data.c:672
Lex "x-demon" Rivera
Btrfs fails randomly
Yan Zheng
[PATCH] Update backrefs during dropping snapshot
Peter Grandi
Re: [Jfs-discussion] benchmark results
Tobias Oetiker
Benchmarking btrfs on HW Raid ... BAD
dragonflybsd-commit
:
Sascha Wildner
Re: cvs commit: src/test/test README
Simon 'corecode' Schubert
Re: cvs commit: src/bin/hostname hostname.1 src/bin/domainname domainname....
Sepherosa Ziehau
cvs commit: src/sys/dev/netif/ral rt2661.c rt2661reg.h
Joerg Sonnenberger
cvs commit: src/lib/libc/stdlib getopt_long.c
Max Okumoto
cvs commit: src/usr.bin/make Makefile
Colocation donated by:
Syndicate