lkml.org 
[lkml]   [2007]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Bug 9528] x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM


On Sun, 23 Dec 2007, Ingo Molnar wrote:
>
> This script will probe all unused ports as per /proc/ioports and will
> list "suspect" IO port areas: ones that do not produce the expected 0xff
> default reply from unclaimed IO ports. Magic chipset register areas can
> potentially be mapped this way.

This probably won't work, if the APCI ports aren't reserved.

The way suspend-to-ram works is that there's a magic port that the CPU
reads from, which just basically turns the CPU off.

Same goes for C-states, and while we should recover from that gracefully
(ie the CPU comes back at wakeup events), if you don't do the right setup,
that can also just hang the machine..

So this script sounds rather dangerous for this case (while it probably
tends to work fine for the case of the ACPI ports being properly reserved:
*most* IO devices tend to try to avoid having too many side effects on
normal reads - the most common one tends to be to reset any pending
interrupts from a device, but that one won't matter if we don't have a
driver listening to that device).

Linus


\
 
 \ /
  Last update: 2007-12-23 20:35    [W:0.279 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site