1. 17 Mar, 2011 13 commits
    • Avi Kivity's avatar
      KVM: VMX: Avoid leaking fake realmode state to userspace · a9179499
      Avi Kivity authored
      When emulating real mode, we fake some state:
      
       - tr.base points to a fake vm86 tss
       - segment registers are made to conform to vm86 restrictions
      
      change vmx_get_segment() not to expose this fake state to userspace;
      instead, return the original state.
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
      Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
      a9179499
    • Avi Kivity's avatar
      KVM: VMX: Save and restore tr selector across mode switches · d0ba64f9
      Avi Kivity authored
      When emulating real mode we play with tr hidden state, but leave
      tr.selector alone.  That works well, except for save/restore, since
      loading TR writes it to the hidden state in vmx->rmode.
      
      Fix by also saving and restoring the tr selector; this makes things
      more consistent and allows migration to work during the early
      boot stages of Windows XP.
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
      Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
      d0ba64f9
    • Peter Tyser's avatar
      KVM: PPC: Fix SPRG get/set for Book3S and BookE · bc9c1933
      Peter Tyser authored
      Previously SPRGs 4-7 were improperly read and written in
      kvm_arch_vcpu_ioctl_get_regs() and kvm_arch_vcpu_ioctl_set_regs();
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
      bc9c1933
    • Sedat Dilek's avatar
      KVM guest: Fix section mismatch derived from kvm_guest_cpu_online() · 775077a0
      Sedat Dilek authored
      WARNING: arch/x86/built-in.o(.text+0x1bb74): Section mismatch in reference from the function kvm_guest_cpu_online() to the function .cpuinit.text:kvm_guest_cpu_init()
      The function kvm_guest_cpu_online() references
      the function __cpuinit kvm_guest_cpu_init().
      This is often because kvm_guest_cpu_online lacks a __cpuinit
      annotation or the annotation of kvm_guest_cpu_init is wrong.
      
      This patch fixes the warning.
      
      Tested with linux-next (next-20101231)
      Signed-off-by: default avatarSedat Dilek <sedat.dilek@gmail.com>
      Acked-by: default avatarRik van Riel <riel@redhat.com>
      Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
      775077a0
    • Avi Kivity's avatar
      KVM: MMU: Don't flush shadow when enabling dirty tracking · 8234b22e
      Avi Kivity authored
      Instead, drop large mappings, which were the reason we dropped shadow.
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
      Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
      8234b22e
    • Linus Torvalds's avatar
      Merge branch 'mnt_devname' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 · 054cfaac
      Linus Torvalds authored
      * 'mnt_devname' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
        vfs: bury ->get_sb()
        nfs: switch NFS from ->get_sb() to ->mount()
        nfs: stop mangling ->mnt_devname on NFS
        vfs: new superblock methods to override /proc/*/mount{s,info}
        nfs: nfs_do_{ref,sub}mount() superblock argument is redundant
        nfs: make nfs_path() work without vfsmount
        nfs: store devname at disconnected NFS roots
        nfs: propagate devname to nfs{,4}_get_root()
      054cfaac
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k · dc113c1f
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
        m68k/block: amiflop - Remove superfluous amiga_chip_alloc() cast
        m68k/atari: ARAnyM - Add support for network access
        m68k/atari: ARAnyM - Add support for console access
        m68k/atari: ARAnyM - Add support for block access
        m68k/atari: Initial ARAnyM support
        m68k: Kconfig - Remove unneeded "default n"
        m68k: Makefiles - Change to new flags variables
        m68k/amiga: Reclaim Chip RAM for PPC exception handlers
        m68k: Allow all kernel traps to be handled via exception fixups
        m68k: Use base_trap_init() to initialize vectors
        m68k: Add helper function handle_kernel_fault()
      dc113c1f
    • Linus Torvalds's avatar
      Merge branch 'remove' of master.kernel.org:/home/rmk/linux-2.6-arm · 63a93699
      Linus Torvalds authored
      * 'remove' of master.kernel.org:/home/rmk/linux-2.6-arm:
        ARM: 6629/2: aaec2000: remove support for mach-aaec2000
        ARM: lh7a40x: remove unmaintained platform support
      
      Fix up trivial conflicts in
       - arch/arm/mach-{aaec2000,lh7a40x}/include/mach/memory.h (removed)
       - drivers/usb/gadget/Kconfig (USB_[GADGET_]LH7A40X removed, others added)
      63a93699
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm · 16d87757
      Linus Torvalds authored
      * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (91 commits)
        ARM: 6806/1: irq: introduce entry and exit functions for chained handlers
        ARM: 6781/1: Thumb-2: Work around buggy Thumb-2 short branch relocations in gas
        ARM: 6747/1: P2V: Thumb2 support
        ARM: 6798/1: aout-core: zero thread debug registers in a.out core dump
        ARM: 6796/1: Footbridge: Fix I/O mappings for NOMMU mode
        ARM: 6784/1: errata: no automatic Store Buffer drain on Cortex-A9
        ARM: 6772/1: errata: possible fault MMU translations following an ASID switch
        ARM: 6776/1: mach-ux500: activate fix for errata 753970
        ARM: 6794/1: SPEAr: Append UL to device address macros.
        ARM: 6793/1: SPEAr: Remove unused *_SIZE macros from spear*.h files
        ARM: 6792/1: SPEAr: Replace SIZE macro's with SZ_4K macros
        ARM: 6791/1: SPEAr3xx: Declare device structures after shirq code
        ARM: 6790/1: SPEAr: Clock Framework: Rename usbd clock and align apb_clk entry
        ARM: 6789/1: SPEAr3xx: Rename sdio to sdhci
        ARM: 6788/1: SPEAr: Include mach/hardware.h instead of mach/spear.h
        ARM: 6787/1: SPEAr: Reorder #includes in .h & .c files.
        ARM: 6681/1: SPEAr: add debugfs support to clk API
        ARM: 6703/1: SPEAr: update clk API support
        ARM: 6679/1: SPEAr: make clk API functions more generic
        ARM: 6737/1: SPEAr: formalized timer support
        ...
      16d87757
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · e3455133
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: (41 commits)
        m68knommu: external interrupt support to ColdFire intc-simr controller
        m68knommu: external interrupt support to ColdFire intc-2 controller
        m68knommu: remove ColdFire CLOCK_DIV config option
        m68knommu: fix gpio warnings for ColdFire 5407 targets
        m68knommu: fix gpio warnings for ColdFire 532x targets
        m68knommu: fix gpio warnings for ColdFire 5307 targets
        m68knommu: fix gpio warnings for ColdFire 527x targets
        m68knommu: fix gpio warnings for ColdFire 5272 targets
        m68knommu: fix gpio warnings for ColdFire 5249 targets
        m68knommu: fix gpio warnings for ColdFire 523x targets
        m68knommu: fix gpio warnings for ColdFire 520x targets
        m68knommu: fix gpio warnings for ColdFire 5206e targets
        m68knommu: fix gpio warnings for ColdFire 5206 targets
        m68knommu: fixing compiler warnings
        m68knommu: limit interrupts supported by ColdFire intc-simr driver
        m68knommu: move some init code out of unmask routine for ColdFire intc-2
        m68knommu: limit interrupts supported by ColdFire intc-2 driver
        m68knommu: add basic support for the ColdFire based FireBee board
        m68knommu: make ColdFire internal peripheral region configurable
        m68knommu: clean up definitions of ColdFire peripheral base registers
        ...
      e3455133
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · 242e5d06
      Linus Torvalds authored
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
        [IA64] tioca: Fix assignment from incompatible pointer warnings
        [IA64] mca.c: Fix cast from integer to pointer warning
        [IA64] setup.c Typo fix "Architechtuallly"
        [IA64] Add CONFIG_MISC_DEVICES=y to configs that need it.
        [IA64] disable interrupts at end of ia64_mca_cpe_int_handler()
        [IA64] Add DMA_ERROR_CODE define.
        pstore: fix build warning for unused return value from sysfs_create_file
        pstore: X86 platform interface using ACPI/APEI/ERST
        pstore: new filesystem interface to platform persistent storage
      242e5d06
    • Linus Torvalds's avatar
      Merge branch 'devicetree/next' of git://git.secretlab.ca/git/linux-2.6 · 4c5811bf
      Linus Torvalds authored
      * 'devicetree/next' of git://git.secretlab.ca/git/linux-2.6: (21 commits)
        tty: serial: altera_jtaguart: Add device tree support
        tty: serial: altera_uart: Add devicetree support
        dt: eliminate of_platform_driver shim code
        dt: Eliminate of_platform_{,un}register_driver
        dt/serial: Eliminate users of of_platform_{,un}register_driver
        dt/usb: Eliminate users of of_platform_{,un}register_driver
        dt/video: Eliminate users of of_platform_{,un}register_driver
        dt/net: Eliminate users of of_platform_{,un}register_driver
        dt/sound: Eliminate users of of_platform_{,un}register_driver
        dt/spi: Eliminate users of of_platform_{,un}register_driver
        dt: uartlite: merge platform and of_platform driver bindings
        dt: xilinx_hwicap: merge platform and of_platform driver bindings
        ipmi: convert OF driver to platform driver
        leds/leds-gpio: merge platform_driver with of_platform_driver
        dt/sparc: Eliminate users of of_platform_{,un}register_driver
        dt/powerpc: Eliminate users of of_platform_{,un}register_driver
        dt/powerpc: move of_bus_type infrastructure to ibmebus
        drivercore/dt: add a match table pointer to struct device
        dt: Typo fix.
        altera_ps2: Add devicetree support
        ...
      4c5811bf
    • Linus Torvalds's avatar
      Merge branch 'config' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl · f74b9444
      Linus Torvalds authored
      * 'config' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl:
        BKL: That's all, folks
        fs/locks.c: Remove stale FIXME left over from BKL conversion
        ipx: remove the BKL
        appletalk: remove the BKL
        x25: remove the BKL
        ufs: remove the BKL
        hpfs: remove the BKL
        drivers: remove extraneous includes of smp_lock.h
        tracing: don't trace the BKL
        adfs: remove the big kernel lock
      f74b9444
  2. 16 Mar, 2011 27 commits