1. 26 9月, 2007 2 次提交
    • J
      [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem · 1d7a8ee0
      Jochen Friedrich 提交于
      cpm_dpram_addr returns physical memory of the DP RAM instead of
      iomapped virtual memory. As there usually is a 1:1 MMU map of
      the IMMR area, this is often not noticed. However, cpm_dpram_phys
      assumes this iomapped virtual memory and returns garbage on the
      1:1 mapped memory causing CPM1 uart console to fail.
      
      This patch fixes the problem (copied from the powerpc tree).
      Signed-off-by: NJochen Friedrich <jochen@scram.de>
      1d7a8ee0
    • J
      [POWERPC] Fix copy'n'paste typo in commproc.c · c5552ca4
      Jochen Friedrich 提交于
      The powerpc version of commproc.c exports cpm_dpram_addr twice
      and cpm_dpram_phys not at all due to a typo. This patch fixes this
      problem.
      
      CC      arch/powerpc/sysdev/commproc.o
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kcrctab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kcrctab_cpm_dpram_addr' was here
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kstrtab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kstrtab_cpm_dpram_addr' was here
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__ksymtab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__ksymtab_cpm_dpram_addr' was here
      make[1]: *** [arch/powerpc/sysdev/commproc.o] Error 1
      make: *** [arch/powerpc/sysdev] Error 2
      Signed-off-by: NJochen Friedrich <jochen@scram.de>
      c5552ca4
  2. 25 9月, 2007 7 次提交
  3. 24 9月, 2007 4 次提交
  4. 23 9月, 2007 5 次提交
    • T
      clockevents: remove the suspend/resume workaround^Wthinko · b7e113dc
      Thomas Gleixner 提交于
      In a desparate attempt to fix the suspend/resume problem on Andrews
      VAIO I added a workaround which enforced the broadcast of the oneshot
      timer on resume. This was actually resolving the problem on the VAIO
      but was just a stupid workaround, which was not tackling the root
      cause: the assignement of lower idle C-States in the ACPI processor_idle
      code. The cpuidle patches, which utilize the dynamic tick feature and
      go faster into deeper C-states exposed the problem again. The correct
      solution is the previous patch, which prevents lower C-states across
      the suspend/resume.
      
      Remove the enforcement code, including the conditional broadcast timer
      arming, which helped to pamper over the real problem for quite a time.
      The oneshot broadcast flag for the cpu, which runs the resume code can
      never be set at the time when this code is executed. It only gets set,
      when the CPU is entering a lower idle C-State.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Tested-by: NAndrew Morton <akpm@linux-foundation.org>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b7e113dc
    • T
      ACPI: disable lower idle C-states across suspend/resume · b04e7bdb
      Thomas Gleixner 提交于
      device_suspend() calls ACPI suspend functions, which seems to have undesired
      side effects on lower idle C-states. It took me some time to realize that
      especially the VAIO BIOSes (both Andrews jinxed UP and my elfstruck SMP one)
      show this effect. I'm quite sure that other bug reports against suspend/resume
      about turning the system into a brick have the same root cause.
      
      After fishing in the dark for quite some time, I realized that removing the ACPI
      processor module before suspend (this removes the lower C-state functionality)
      made the problem disappear. Interestingly enough the propability of having a
      bricked box is influenced by various factors (interrupts, size of the ram image,
      ...). Even adding a bunch of printks in the wrong places made the problem go
      away. The previous periodic tick implementation simply pampered over the
      problem, which explains why the dyntick / clockevents changes made this more
      prominent.
      
      We avoid complex functionality during the boot process and we have to do the
      same during suspend/resume. It is a similar scenario and equaly fragile.
      
      Add suspend / resume functions to the ACPI processor code and disable the lower
      idle C-states across suspend/resume. Fall back to the default idle
      implementation (halt) instead.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Tested-by: NAndrew Morton <akpm@linux-foundation.org>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b04e7bdb
    • L
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 · 1f0cff6e
      Linus Torvalds 提交于
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
        ACPI: suspend: consolidate handling of Sx states addendum
        ACPI: suspend: consolidate handling of Sx states.
        ACPI: video: remove dmesg spam
        ACPI: video: _DOS=0 by default to prevent hotkey hang
      1f0cff6e
    • L
      Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6 · 6110e02b
      Linus Torvalds 提交于
      * 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6:
        [XFS] fix valid but harmless sparse warning
        [XFS] fix filestreams on 32-bit boxes
      6110e02b
    • A
      KVM: Fix virtualization menu help text · 36a74097
      Avi Kivity 提交于
      What guest drivers?
      
      Cc: Jan Engelhardt <jengelh@computergmbh.de>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      36a74097
  5. 22 9月, 2007 10 次提交
  6. 21 9月, 2007 12 次提交