1. 05 5月, 2008 3 次提交
    • L
      Merge branch 'kvm-updates-2.6.26' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm · 8dcf5782
      Linus Torvalds 提交于
      * 'kvm-updates-2.6.26' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm:
        x86: KVM geust: make setup_secondary_clock definition dependent on local apic
        KVM: MMU: Allow more than PAGES_PER_HPAGE write protections per large page
        KVM: avoid fx_init() schedule in atomic
        KVM: Avoid spurious execeptions after setting registers
        KVM: PIT: support mode 4
        KVM: x86 emulator: disable writeback on lmsw
        KVM: ppc: deliver INTERRUPT_FP_UNAVAIL to the guest
        KVM: ppc: Handle guest idle by emulating MSR[WE] writes
        KVM: x86: task switch: fix wrong bit setting for the busy flag
        KVM: VMX: Enable EPT feature for KVM
        KVM: VMX: Prepare an identity page table for EPT in real mode
        KVM: Export necessary function for EPT
        KVM: MMU: Remove #ifdef CONFIG_X86_64 to support 4 level EPT
        KVM: MMU: Add EPT support
        KVM: Add kvm_x86_ops get_tdp_level()
        KVM: MMU: Move some definitions to a header file
        KVM: VMX: EPT Feature Detection
      8dcf5782
    • I
      sysfs: build fix · e73b65f1
      Ingo Molnar 提交于
      x86.git testing found the following build failure on v2.6.26-rc1:
      
        In file included from include/linux/kobject.h:22,
                         from include/linux/module.h:17,
                         from include/linux/crypto.h:22,
                         from arch/x86/kernel/asm-offsets_32.c:8,
                         from arch/x86/kernel/asm-offsets.c:3:
        include/linux/sysfs.h:201: error: redefinition of 'sysfs_update_group'
        include/linux/sysfs.h:195: error: previous definition of 'sysfs_update_group' was here
        make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
        make: *** [prepare0] Error 2
      
      with the following config:
      
          http://redhat.com/~mingo/misc/config-Sun_May__4_07_09_30_CEST_2008.bad
      
      the reason for the build failure is the duplicate definition of the
      sysfs_update_group() inline function in include/linux/sysfs.h.
      
      The duplication was a merge error: it was added via -mm by commit
      v2.6.25-7262-g2850699c, "sysfs: sysfs_update_group stub for
      CONFIG_SYSFS=n" a day before v2.6.26-rc1, but a day before that the same
      commit was already merged upstream via the sysfs tree, with commit
      v2.6.25-7211-g1cbfb7a5.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e73b65f1
    • L
      Make forced module loading optional · 826e4506
      Linus Torvalds 提交于
      The kernel module loader used to be much too happy to allow loading of
      modules for the wrong kernel version by default.  For example, if you
      had MODVERSIONS enabled, but tried to load a module with no version
      info, it would happily load it and taint the kernel - whether it was
      likely to actually work or not!
      
      Generally, such forced module loading should be considered a really
      really bad idea, so make it conditional on a new config option
      (MODULE_FORCE_LOAD), and make it default to off.
      
      If somebody really wants to force module loads, that's their problem,
      but we should not encourage it.  Especially as it happened to me by
      mistake (ie regular unversioned Fedora modules getting loaded) causing
      lots of strange behavior.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      826e4506
  2. 04 5月, 2008 31 次提交
  3. 03 5月, 2008 6 次提交