login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
December
»
23
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM
view
thread
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Rafael J. Wysocki
Subject:
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM
Date: Sunday, December 23, 2007 - 9:30 am
On Sunday, 23 of December 2007, Carlos Corbacho wrote:
quoted text
> Fix suspend-to-RAM on nForce 4 (CK804) boards by increasing > PCIBIOS_MIN_IO. > > Fixes kernel bugzilla #9528 > > Problem: > > Linus' patch (52ade9b3b97fd3bea42842a056fe0786c28d0555) to re-order > suspend (and fix fall out from Rafael's earlier suspend reordering work) > broke suspend-to-RAM on nForce 4 (CK804) boards. > > Why: > > After debugging _PTS() in the DSDT, it turns out these nVidia boards are > trying to write to an IO port > 0x1000 (0x142E) during suspend. Before the > re-ordering, we got away with this. > > After the afore mentioned commit, we started hitting the PCIBIOS_MIN_IO > limit and suspend then broke on these machines (the machine simply hangs > when it reaches the 0x142E IO port write during suspend-to-RAM). > > There was some previous work in the PCIBIOS_MIN_IO area over two years ago > (71db63acff69618b3d9d3114bd061938150e146b) which bumped this to 0x4000, > but this was reverted (2ba84684e8cf6f980e4e95a2300f53a505eb794e) after > causing new and entirely different problems on another nForce board. > > 0x1500 has been picked here as a nice, round and more conservative value > than 0x4000, and which covers 0x142E.
The patch is fine by me, so if anyone has objections, please speak up. Thanks, Rafael
quoted text
> Tested on x86-64. > > Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk> > CC: Rafael J. Wysocki <rjw@sisk.pl> > CC: Linus Torvalds <torvalds@linux-foundation.org> > CC: Greg KH <gregkh@suse.de> > CC: Ingo Molnar <mingo@elte.hu> > CC: Thomas Gleixner <tglx@linutronix.de> > CC: Len Brown <lenb@kernel.org> > --- > Since it's not entirely clear who is responsible for what in this file, > and given what it fixes, I'm CC'ing you all in the hope that someone > will handle this. > > include/asm-x86/pci.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > > diff --git a/include/asm-x86/pci.h b/include/asm-x86/pci.h > index e883619..03cb123 100644 > --- a/include/asm-x86/pci.h > +++ b/include/asm-x86/pci.h > @@ -46,7 +46,7 @@ extern unsigned int pcibios_assign_all_busses(void); > #define pcibios_scan_all_fns(a, b) 0 > > extern unsigned long pci_mem_start; > -#define PCIBIOS_MIN_IO 0x1000 > +#define PCIBIOS_MIN_IO 0x1500 > #define PCIBIOS_MIN_MEM (pci_mem_start) > > #define PCIBIOS_MIN_CARDBUS_IO 0x4000
--
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:
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Rafael J. Wysocki
, (Sun Dec 23, 9:30 am)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Ingo Molnar
, (Sun Dec 23, 10:57 am)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Linus Torvalds
, (Sun Dec 23, 11:00 am)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Rafael J. Wysocki
, (Sun Dec 23, 3:20 pm)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, H. Peter Anvin
, (Sun Dec 23, 4:12 pm)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Carlos Corbacho
, (Sun Dec 23, 5:09 pm)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Linus Torvalds
, (Sun Dec 23, 5:56 pm)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Linus Torvalds
, (Sun Dec 23, 6:14 pm)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Carlos Corbacho
, (Sun Dec 23, 8:05 pm)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Rafael J. Wysocki
, (Mon Dec 24, 6:44 am)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Linus Torvalds
, (Mon Dec 24, 11:34 am)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Carlos Corbacho
, (Mon Dec 24, 2:53 pm)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Pavel Machek
, (Tue Dec 25, 5:12 am)
Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 ...
, Carlos Corbacho
, (Tue Dec 25, 5:28 am)
Re: Suspend code ordering (again) (was: Re: x86: Increase ...
, Linus Torvalds
, (Tue Dec 25, 9:11 pm)
Re: Suspend code ordering (again) (was: Re: x86: Increase ...
, Rafael J. Wysocki
, (Wed Dec 26, 8:07 am)
Re: Suspend code ordering (again)
, Alexey Starikovskiy
, (Wed Dec 26, 8:24 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Jesse Barnes
Re: PCI probing changes
git
:
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Marcus Griep
Re: [PATCH 1/3] Git.pm: Add faculties to allow temp files to be cached
Junio C Hamano
Re: [JGIT PATCH 2/2] Decrease the fetch pack client buffer to the lower minimum
git-commits-head
:
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
ropers
Re: Real men don't attack straw men
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate