1. 18 Mar, 2007 10 commits
    • Bernhard Walle's avatar
      [PATCH] Fix wrong /proc/iomem on SGI Altix · 64715725
      Bernhard Walle authored
      In sn_io_slot_fixup(), the parent is re-set from the bus to
      io(port|mem)_resource because the address is changed in a way that it's not
      child of the bus any more.
      
      However, only the root is set but not the parent/child/sibling relationship
      in the resource tree which causes 'cat /proc/iomem' to stop after this
      memory area.  Depding on the poition in the tree the iomem may be nearly
      completely empty.
      Signed-off-by: default avatarBernhard Walle <bwalle@suse.de>
      Cc: John Keller <jpk@sgi.com>
      Cc: Jay Lan <jlan@engr.sgi.com>
      Acked-by: default avatar"Luck, Tony" <tony.luck@intel.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      64715725
    • Adrian Bunk's avatar
      [PATCH] X86_P4_CLOCKMOD must select CPU_FREQ_TABLE · 4f78bb28
      Adrian Bunk authored
      CONFIG_CPU_FREQ=y
      CONFIG_CPU_FREQ_TABLE=m
      CONFIG_X86_P4_CLOCKMOD=y
      
      arch/x86_64/kernel/built-in.o: In function `cpufreq_p4_verify':p4-clockmod.c:(.text.cpufreq_p4_verify+0x8): undefined reference to `cpufreq_frequency_table_verify'
      arch/x86_64/kernel/built-in.o: In function `cpufreq_p4_cpu_exit':p4-clockmod.c:(.text.cpufreq_p4_cpu_exit+0x8): undefined reference to `cpufreq_frequency_table_put_attr'
      arch/x86_64/kernel/built-in.o: In function `cpufreq_p4_cpu_init':p4-clockmod.c:(.text.cpufreq_p4_cpu_init+0x13b): undefined reference to `cpufreq_frequency_table_get_attr'
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      Cc: David Rientjes <rientjes@google.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      4f78bb28
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://kvm.qumranet.com/home/avi/kvm · 10bd6b3f
      Linus Torvalds authored
      * 'linus' of git://kvm.qumranet.com/home/avi/kvm:
        KVM: MMU: Fix host memory corruption on i386 with >= 4GB ram
        KVM: MMU: Fix guest writes to nonpae pde
        KVM: Fix guest sysenter on vmx
        KVM: Unset kvm_arch_ops if arch module loading failed
      10bd6b3f
    • Linus Torvalds's avatar
      Merge branch 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa · 98ae6878
      Linus Torvalds authored
      * 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa:
        [ALSA] hda-intel - Fix HDA buffer alignment
        [ALSA] hda-codec - Add model for HP Compaq d5750
        [ALSA] hda-codec - Add support for MacBook Pro 1st generation
        [ALSA] version 1.0.14rc3
        [ALSA] hda-codec - Add model for HP Compaq d5700
        [ALSA] intel8x0 - Fix Oops at kdump crash kernel
        [ALSA] hda-codec - Fix speaker output on MacPro
        [ALSA] hda-codec - more systems for Analog Devices
        [ALSA] hda-intel - Fix codec probe with ATI contorllers
        [ALSA] hda-codec - Add suppoprt for Asus M2N-SLI motherboard
        [ALSA] intel8x0 - Fix speaker output after S2RAM
        [ALSA] ac97 - fix AD shared shared jack control logic
        [ALSA] soc - Fix dependencies in Kconfig files
      98ae6878
    • Avi Kivity's avatar
      KVM: MMU: Fix host memory corruption on i386 with >= 4GB ram · 27aba766
      Avi Kivity authored
      PAGE_MASK is an unsigned long, so using it to mask physical addresses on
      i386 (which are 64-bit wide) leads to truncation.  This can result in
      page->private of unrelated memory pages being modified, with disasterous
      results.
      
      Fix by not using PAGE_MASK for physical addresses; instead calculate
      the correct value directly from PAGE_SIZE.  Also fix a similar BUG_ON().
      Acked-by: default avatarIngo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
      27aba766
    • Avi Kivity's avatar
      KVM: MMU: Fix guest writes to nonpae pde · ac1b714e
      Avi Kivity authored
      KVM shadow page tables are always in pae mode, regardless of the guest
      setting.  This means that a guest pde (mapping 4MB of memory) is mapped
      to two shadow pdes (mapping 2MB each).
      
      When the guest writes to a pte or pde, we intercept the write and emulate it.
      We also remove any shadowed mappings corresponding to the write.  Since the
      mmu did not account for the doubling in the number of pdes, it removed the
      wrong entry, resulting in a mismatch between shadow page tables and guest
      page tables, followed shortly by guest memory corruption.
      
      This patch fixes the problem by detecting the special case of writing to
      a non-pae pde and adjusting the address and number of shadow pdes zapped
      accordingly.
      Acked-by: default avatarIngo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
      ac1b714e
    • Avi Kivity's avatar
      KVM: Fix guest sysenter on vmx · f5b42c33
      Avi Kivity authored
      The vmx code currently treats the guest's sysenter support msrs as 32-bit
      values, which breaks 32-bit compat mode userspace on 64-bit guests.  Fix by
      using the native word width of the machine.
      Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
      f5b42c33
    • Avi Kivity's avatar
      KVM: Unset kvm_arch_ops if arch module loading failed · ca45aaae
      Avi Kivity authored
      Otherwise, the core module thinks the arch module is loaded, and won't
      let you reload it after you've fixed the bug.
      Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
      ca45aaae
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 · b720a3be
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
        [SPARC64]: Use Kconfig.preempt
      b720a3be
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6 · 2f8dd850
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6:
        ide: remove CONFIG_IDEDMA_{ICS,PCI}_AUTO config options
        ide: don't allow DMA to be enabled if CONFIG_IDEDMA_{ICS,PCI}_AUTO=n
        scc_pata: dependency fix
        jmicron: make ide jmicron driver play nice with libata ones
        ide: remove static prototypes from include/asm-mips/mach-au1x00/au1xxx_ide.h
        ide: au1xxx: fix use of mixed declarations and code
        cmd64x: fix recovery time calculation (take 3)
      2f8dd850
  2. 17 Mar, 2007 30 commits