1. 23 Mar, 2011 1 commit
    • Richard Henderson's avatar
      MN10300: gcc 4.6 vs am33 inline assembly · 5a4b65ab
      Richard Henderson authored
      GCC 4.6 explicitly represents the MDR register.  It may be accessed
      via the "z" constraint.  Perhaps more importantly, it tracks when
      the MDR register is clobbered and uses the RETF instruction if the
      incoming value is still valid.
      
      Thus it is important to (at least) clobber the MDR register in
      relevant inline assembly fragments, lest RETF be used incorrectly.
      
      The only instances I could find are here.  There are reads of the
      MDR register in kernel/gdb-stub.c, but that's harmless.  Although,
      frankly, __builtin_return_address(0) might be a better thing in
      those cases.  Certainly MDR isn't going to contain anything else
      that might be useful...
      Signed-off-by: default avatarRichard Henderson  <rth@redhat.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      5a4b65ab
  2. 18 Mar, 2011 39 commits
    • David Howells's avatar
      MN10300: Deprecate gdbstub · 1a8d59e5
      David Howells authored
      Deprecate the MN10300 arch's gdbstub in favour of KGDB, which is more capable
      in some areas (such as SMP) and almost as capable in others (it's I/O is not as
      decoupled and it can't start as early).  gdbstub will be removed in a later
      version when we're satisfied with KGDB's working.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      1a8d59e5
    • David Howells's avatar
      MN10300: Allow KGDB to use the MN10300 serial ports · 52885b32
      David Howells authored
      Allow KGDB to use the MN10300 serial ports through the polled I/O interface
      provided via the TTY/serial layer and the kgdboc driver.  This allows the
      kernel to be started with something like:
      
      	kgdboc=ttySM0,115200
      
      added to the command line.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      52885b32
    • David Howells's avatar
      MN10300: Emulate single stepping in KGDB on MN10300 · 5141c46c
      David Howells authored
      Emulate single stepping in KGDB on MN10300 by way of temporary breakpoint
      insertion.  These breakpoints are never actually seen by KGDB, and will overlay
      KGDB's own breakpoints.
      
      The breakpoints are removed by switch_to() and reinstalled on switching back so
      that if preemption occurs, the preempting task doesn't hit them (though it will
      still hit KGDB's regular breakpoints).  If KGDB is reentered for any reason,
      then the single step breakpoint is completely erased and must be set again by
      the debugger.
      
      We take advantage of the fact that KGDB will effectively halt all other CPUs
      whilst this CPU is single-stepping to avoid SMP problems.
      
      If the single-stepping task is preempted and killed without KGDB being
      reinvoked, then the breakpoint(s) will be cleared and KGDB will be jumped back
      into.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      5141c46c
    • David Howells's avatar
      MN10300: Generalise kernel debugger kernel halt, reboot or power off hook · 044264bb
      David Howells authored
      Generalise the kernel debugger hook for notification of halt, reboot or power
      off.  This is used by gdbstub to tell the debugger it is exiting.  This will be
      useful for KGDB too.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      044264bb
    • David Howells's avatar
      KGDB: Notify GDB of machine halt, reboot or power off · d57f078b
      David Howells authored
      Notify GDB of the machine halting, rebooting or powering off by sending it an
      exited command (remote protocol command 'W').  This is done by calling:
      
      	void gdbstub_exit(int status)
      
      from the arch's machine_{halt,restart,power_off}() functions with an
      appropriate exit status to be reported to GDB.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      d57f078b
    • David Howells's avatar
      MN10300: Use KGDB · e460d644
      David Howells authored
      e460d644
    • David Howells's avatar
      MN10300: Create generic kernel debugger hooks · 67ddb405
      David Howells authored
      Create generic kernel debugger hooks in the MN10300 arch and make gdbstub use
      them.  This is a preparation for KGDB support.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      67ddb405
    • David Howells's avatar
      MN10300: Create general kernel debugger cache flushing · 7f386ac3
      David Howells authored
      Create general kernel debugger cache flushing for MN10300 and get rid of the
      old stuff that gdbstub was using.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      7f386ac3
    • David Howells's avatar
      MN10300: Introduce a general config option for kernel debugger hooks · 792576b1
      David Howells authored
      Introduce a general config option for kernel debugger hooks so that both
      gdbstub and kgdb can use it and add a header file for both debuggers to use.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      792576b1
    • David Howells's avatar
      MN10300: The icache invalidate functions should disable the icache first · b75bb236
      David Howells authored
      The icache invalidate functions should disable the icache on AM33 and wait for
      it to quiesce before attempting to invalidate it, and should then wait for it
      to quiesce again before reenabling it, but on AM34 they should invalidate
      directly.  The same goes for the dcache invalidation, but this isn't used much.
      
      Whilst we're at it, this can be wrapped in assembler macros to remove duplicate
      code.
      
      The AM33 manual states that:
      
      	An operation that invalidates the cache, switches the writing mode, or
      	changes the way mode must be performed after disabling the cache,
      	checking the busy bit, and confirming that the cache is not in
      	operation.
      
      for the dcache [sec 2.8.3.2.1].  This is not stated so for the icache [sec
      2.8.3.1.1] but the example code there suggests that it is.
      
      Whilst the AM34 manual states that the cache must be disabled for both the
      icache [sec 1.8.3.2.1] and the dcache [sec 1.8.3.2.1], the Panasonic hardware
      engineers say the manual is wrong and that disabling the caches for
      invalidation is wrong.
      
      Furthermore, they say that disabling the caches on the AM34 whilst running an
      SMP kernel can lead to incoherency between the various CPU caches and should
      thus be avoided.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      b75bb236
    • David Howells's avatar
      MN10300: gdbstub: Restrict single-stepping to non-preemptable non-SMP configs · 9ee21723
      David Howells authored
      Restrict single-stepping through the kernel using gdbstub to non-preemptable
      non-SMP configs as gdbstub has to do software single-stepping by means of
      temporary breakpoints.  Hardware single-stepping is unavailable as Panasonic
      have not sufficiently documented the interface to it.
      
      Software single-stepping through preemptable or SMP kernels runs into problems
      as it makes it much more likely that the wrong thread will hit the temporary
      breakpoints.  It seems impractical to work around the problem for the most
      part.  It could be possible to make a UP preemptable kernel switch temporary
      breakpoints in and out in switch_to().
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      9ee21723
    • David Howells's avatar
      MN10300: Clear ASB2364 peripheral interrupt masks before enabling interrupts · ddb7d1e9
      David Howells authored
      Clear the interrupt mask registers of ASB2364 peripherals before enabling
      interrupts so that any peripherals that weren't dealt with by the bootloader
      after a reboot (if there was one) won't cause an interrupt storm when
      interrupts are first enabled before the drivers are initialised.
      
      Also, attempt to reset the peripherals attached to the FPGA.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      ddb7d1e9
    • David Howells's avatar
      MN10300: Fix the ASB2364 gdbport UART register defs · 02b2944c
      David Howells authored
      Fix the ASB2364 gdbport UART register definitions.  These registers are
      actually 2 bytes apart, not 4 (which the ASB2303 and ASB2305 are).
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      02b2944c
    • David Howells's avatar
      MN10300: Fix ASB2364 FPGA register defs · 5f91a1af
      David Howells authored
      Fix the definition of the ASB2364 FPGA IRQ detect registers.  They accidentally
      got defined to be the same as the mask registers when the patches were being
      ported to the upstream kernel.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      5f91a1af
    • Thomas Gleixner's avatar
      MN10300: Select GENERIC_HARDIRQS_NO_DEPRECATED · df43b86b
      Thomas Gleixner authored
      All chips converted.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      df43b86b
    • David Howells's avatar
      MN10300: Select HAVE_GENERIC_HARDIRQS rather than GENERIC_HARDIRQS · 4692edbd
      David Howells authored
      Select HAVE_GENERIC_HARDIRQS rather than GENERIC_HARDIRQS in MN10300's main
      Kconfig file to avoid this warning:
      
      warning: (MN10300) selects GENERIC_HARDIRQS which has unmet direct dependencies (HAVE_GENERIC_HARDIRQS)
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      4692edbd
    • Thomas Gleixner's avatar
    • Thomas Gleixner's avatar
      3ba65467
    • Thomas Gleixner's avatar
    • Thomas Gleixner's avatar
    • Thomas Gleixner's avatar
      MN10300: Remove unused mn10300_intc_* functions · a494d3df
      Thomas Gleixner authored
      No users.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      a494d3df
    • Thomas Gleixner's avatar
      MN10300: Remove stale irq_chip.end - V2 · e61645a0
      Thomas Gleixner authored
      irq_chip.end is obsolete with the removal of __do_IRQ().
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      e61645a0
    • Thomas Gleixner's avatar
      MN10300: Use clockevents_calc_mult_shift() · dc7daf33
      Thomas Gleixner authored
      Use clockevents_calc_mult_shift() instead of the homebrewn function in
      mn10300/kernel/time.c.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarJohn Stultz <johnstul@us.ibm.com>
      Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
      Cc: Mark Salter <msalter@redhat.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      dc7daf33
    • Thomas Gleixner's avatar
      MN10300: Use clocksource_register_hz() · 817890ba
      Thomas Gleixner authored
      clocksource_register_hz() calculates the shift/mult pair for the
      clocksource. Remove the mn10300 duplicate implementation.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarJohn Stultz <johnstul@us.ibm.com>
      Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
      Cc: Mark Salter <msalter@redhat.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      817890ba
    • Thomas Gleixner's avatar
      MN10300: Remove stale code · 73a173a4
      Thomas Gleixner authored
      mn10300 implements clocksource and clockevents and selects them
      unconditionally in Kconfig. Remove the stale code which seems to be a
      leftover of the conversion. Cleanup the configuration switches as well.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarJohn Stultz <johnstul@us.ibm.com>
      Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
      Cc: Mark Salter <msalter@redhat.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      73a173a4
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile · 08351fc6
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile: (27 commits)
        arch/tile: support newer binutils assembler shift semantics
        arch/tile: fix deadlock bugs in rwlock implementation
        drivers/edac: provide support for tile architecture
        tile on-chip network driver: sync up with latest fixes
        arch/tile: support 4KB page size as well as 64KB
        arch/tile: add some more VMSPLIT options and use consistent naming
        arch/tile: fix some comments and whitespace
        arch/tile: export some additional module symbols
        arch/tile: enhance existing finv_buffer_remote() routine
        arch/tile: fix two bugs in the backtracer code
        arch/tile: use extended assembly to inline __mb_incoherent()
        arch/tile: use a cleaner technique to enable interrupt for cpu_idle()
        arch/tile: sync up with <arch/sim.h> and <arch/sim_def.h> changes
        arch/tile: fix reversed test of strict_strtol() return value
        arch/tile: avoid a simulator warning during bootup
        arch/tile: export <asm/hardwall.h> to userspace
        arch/tile: warn and retry if an IPI is not accepted by the target cpu
        arch/tile: stop disabling INTCTRL_1 interrupts during hypervisor downcalls
        arch/tile: fix __ndelay etc to work better
        arch/tile: bug fix: exec'ed task thought it was still single-stepping
        ...
      
      Fix up trivial conflict in arch/tile/kernel/vmlinux.lds.S (percpu
      alignment vs section naming convention fix)
      08351fc6
    • Linus Torvalds's avatar
      Merge branch 'omap-for-linus' of... · 0df0914d
      Linus Torvalds authored
      Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
      
      * 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (258 commits)
        omap: zoom: host should not pull up wl1271's irq line
        arm: plat-omap: iommu: fix request_mem_region() error path
        OMAP2+: Common CPU DIE ID reading code reads wrong registers for OMAP4430
        omap4: mux: Remove duplicate mux modes
        omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flag
        omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is set
        omap2+: mux: Fix compile when CONFIG_OMAP_MUX is not selected
        omap4: board-omap4panda: Initialise the serial pads
        omap3: board-3430sdp: Initialise the serial pads
        omap4: board-4430sdp: Initialise the serial pads
        omap2+: mux: Add macro for configuring static with omap_hwmod_mux_init
        omap2+: mux: Remove the use of IDLE flag
        omap2+: Add separate list for dynamic pads to mux
        perf: add OMAP support for the new power events
        OMAP4: Add IVA OPP enteries.
        OMAP4: Update Voltage Rail Values for MPU, IVA and CORE
        OMAP4: Enable 800 MHz and 1 GHz MPU-OPP
        OMAP3+: OPP: Replace voltage values with Macros
        OMAP3: wdtimer: Fix CORE idle transition
        Watchdog: omap_wdt: add fine grain runtime-pm
        ...
      
      Fix up various conflicts in
       - arch/arm/mach-omap2/board-omap3evm.c
       - arch/arm/mach-omap2/clock3xxx_data.c
       - arch/arm/mach-omap2/usb-musb.c
       - arch/arm/plat-omap/include/plat/usb.h
       - drivers/usb/musb/musb_core.h
      0df0914d
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://codeaurora.org/quic/kernel/davidb/linux-msm · 68996085
      Linus Torvalds authored
      * 'for-linus' of git://codeaurora.org/quic/kernel/davidb/linux-msm: (46 commits)
        msm: scm: Check for interruption immediately
        msm: scm: Fix improper register assignment
        msm: scm: Mark inline asm as volatile
        msm: iommu: Enable HTW L2 redirection on MSM8960
        msm: iommu: Don't read from write-only registers
        msm: iommu: Remove dependency on IDR
        msm: iommu: Use ASID tagging instead of VMID tagging
        msm: iommu: Rework clock logic and add IOMMU bus clock control
        msm: iommu: Clock control for the IOMMU driver
        msm: mdp: Set the correct pack pattern for XRGB/ARGB
        msm_fb: Fix framebuffer console
        msm: mdp: Add support for RGBX 8888 image format.
        video: msmfb: Put the partial update magic value into the fix_screen struct.
        msm: clock: Migrate to clkdev
        msm: clock: Remove references to clk_ops_pcom
        msm: headsmp.S: Fix section mismatch
        msm: Use explicit GPLv2 licenses
        msm: iommu: Enable IOMMU support for MSM8960
        msm: iommu: Generalize platform data for multiple targets
        msm: iommu: Create a Kconfig item for the IOMMU driver
        ...
      68996085
    • Linus Torvalds's avatar
      Merge branch 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm · 411f5c7a
      Linus Torvalds authored
      * 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm: (289 commits)
        davinci: DM644x EVM: register MUSB device earlier
        davinci: add spi devices on tnetv107x evm
        davinci: add ssp config for tnetv107x evm board
        davinci: add tnetv107x ssp platform device
        spi: add ti-ssp spi master driver
        mfd: add driver for sequencer serial port
        ARM: EXYNOS4: Implement Clock gating for System MMU
        ARM: EXYNOS4: Enhancement of System MMU driver
        ARM: EXYNOS4: Add support for gpio interrupts
        ARM: S5P: Add function to register gpio interrupt bank data
        ARM: S5P: Cleanup S5P gpio interrupt code
        ARM: EXYNOS4: Add missing GPYx banks
        ARM: S3C64XX: Fix section mismatch from cpufreq init
        ARM: EXYNOS4: Add keypad device to the SMDKV310
        ARM: EXYNOS4: Update clocks for keypad
        ARM: EXYNOS4: Update keypad base address
        ARM: EXYNOS4: Add keypad device helpers
        ARM: EXYNOS4: Add support for SATA on ARMLEX4210
        plat-nomadik: make GPIO interrupts work with cpuidle ApSleep
        mach-u300: define a dummy filter function for coh901318
        ...
      
      Fix up various conflicts in
       - arch/arm/mach-exynos4/cpufreq.c
       - arch/arm/mach-mxs/gpio.c
       - drivers/net/Kconfig
       - drivers/tty/serial/Kconfig
       - drivers/tty/serial/Makefile
       - drivers/usb/gadget/fsl_mxc_udc.c
       - drivers/video/Kconfig
      411f5c7a
    • Linus Torvalds's avatar
      Merge branches 'defcfg', 'drivers' and 'cyberpro-next' of master.kernel.org:/home/rmk/linux-2.6-arm · 6d7ed21d
      Linus Torvalds authored
      * 'defcfg' of master.kernel.org:/home/rmk/linux-2.6-arm:
        ARM: 6647/1: add Versatile Express defconfig
        ARM: 6644/1: mach-ux500: update the U8500 defconfig
      
      * 'drivers' of master.kernel.org:/home/rmk/linux-2.6-arm:
        ARM: 6764/1: pl011: factor out FIFO to TTY code
        ARM: 6763/1: pl011: add optional RX DMA to PL011 v2
        ARM: 6758/1: amba: support pm ops
        ARM: amba: make amba_driver id_table const
        ARM: amba: make internal ID table handling const
        ARM: amba: make probe() functions take const id tables
        ARM: 6662/1: amba: make amba_bustype non-static
        ARM: mmci: add dmaengine-based DMA support
        ARM: mmci: no need for separate host->data_xfered
        ARM: mmci: avoid unnecessary switch to data available PIO interrupts
        ARM: mmci: no need to call flush_dcache_page() with sg_miter API
        ARM: mmci: avoid reporting too many completed bytes on fifo overrun
        ALSA: AACI: make fifo variables more explanitory
        ALSA: AACI: no need to call snd_pcm_period_elapsed() for each period
        ALSA: AACI: use snd_pcm_lib_period_bytes()
        ALSA: AACI: clean up AACI announcement printk
        ALSA: AACI: fix channel mask selection
        ALSA: AACI: fix number of channels for record
        ALSA: AACI: fix multiple IRQ claiming
      
      * 'cyberpro-next' of master.kernel.org:/home/rmk/linux-2.6-arm:
        VIDEO: cyberpro: remove unused cyber2000fb_get_fb_var()
        VIDEO: cyberpro: remove useless function extreg pointers
        VIDEO: cyberpro: update handling of device structures
        VIDEO: cyberpro: add support for video capture I2C
        VIDEO: cyberpro: make 'reg_b0_lock' always present
        VIDEO: cyberpro: add I2C support
        VIDEO: cyberpro: select lowest multipler/divisor for PLL
      6d7ed21d
    • Linus Torvalds's avatar
      Merge branch 'kvm-updates/2.6.39' of git://git.kernel.org/pub/scm/virt/kvm/kvm · ec0afc93
      Linus Torvalds authored
      * 'kvm-updates/2.6.39' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (55 commits)
        KVM: unbreak userspace that does not sets tss address
        KVM: MMU: cleanup pte write path
        KVM: MMU: introduce a common function to get no-dirty-logged slot
        KVM: fix rcu usage in init_rmode_* functions
        KVM: fix kvmclock regression due to missing clock update
        KVM: emulator: Fix permission checking in io permission bitmap
        KVM: emulator: Fix io permission checking for 64bit guest
        KVM: SVM: Load %gs earlier if CONFIG_X86_32_LAZY_GS=n
        KVM: x86: Remove useless regs_page pointer from kvm_lapic
        KVM: improve comment on rcu use in irqfd_deassign
        KVM: MMU: remove unused macros
        KVM: MMU: cleanup page alloc and free
        KVM: MMU: do not record gfn in kvm_mmu_pte_write
        KVM: MMU: move mmu pages calculated out of mmu lock
        KVM: MMU: set spte accessed bit properly
        KVM: MMU: fix kvm_mmu_slot_remove_write_access dropping intermediate W bits
        KVM: Start lock documentation
        KVM: better readability of efer_reserved_bits
        KVM: Clear async page fault hash after switching to real mode
        KVM: VMX: Initialize vm86 TSS only once.
        ...
      ec0afc93
    • Linus Torvalds's avatar
      Merge branch 'stable/xen.pm.bug-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen · 804f1853
      Linus Torvalds authored
      * 'stable/xen.pm.bug-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
        xen: use freeze/restore/thaw PM events for suspend/resume/chkpt
        xen: xenbus PM events support
      804f1853
    • Linus Torvalds's avatar
      Merge branches 'stable/irq.fairness' and 'stable/irq.ween_of_nr_irqs' of... · 5a39837f
      Linus Torvalds authored
      Merge branches 'stable/irq.fairness' and 'stable/irq.ween_of_nr_irqs' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen
      
      * 'stable/irq.fairness' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
        xen: events: Remove redundant clear of l2i at end of round-robin loop
        xen: events: Make round-robin scan fairer by snapshotting each l2 word once only
        xen: events: Clean up round-robin evtchn scan.
        xen: events: Make last processed event channel a per-cpu variable.
        xen: events: Process event channels notifications in round-robin order.
      
      * 'stable/irq.ween_of_nr_irqs' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
        xen: events: Fix compile error if CONFIG_SMP is not defined.
        xen: events: correct locking in xen_irq_from_pirq
        xen: events: propagate irq allocation failure instead of panicking
        xen: events: do not workaround too-small nr_irqs
        xen: events: remove use of nr_irqs as upper bound on number of pirqs
        xen: events: dynamically allocate irq info structures
        xen: events: maintain a list of Xen interrupts
        xen: events: push setup of irq<->{evtchn,ipi,virq,pirq} maps into irq_info init functions
        xen: events: turn irq_info constructors into initialiser functions
        xen: events: use per-cpu variable for cpu_evtchn_mask
        xen: events: refactor GSI pirq bindings functions
        xen: events: rename restore_cpu_pirqs -> restore_pirqs
        xen: events: remove unused public functions
        xen: events: fix xen_map_pirq_gsi error return
        xen: events: simplify comment
        xen: events: separate two unrelated halves of if condition
      
      Fix up trivial conflicts in drivers/xen/events.c
      5a39837f
    • Linus Torvalds's avatar
      Merge branches 'stable/hvc-console', 'stable/gntalloc.v6' and 'stable/balloon'... · 514af9f7
      Linus Torvalds authored
      Merge branches 'stable/hvc-console', 'stable/gntalloc.v6' and 'stable/balloon' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen
      
      * 'stable/hvc-console' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
        xen/hvc: Disable probe_irq_on/off from poking the hvc-console IRQ line.
      
      * 'stable/gntalloc.v6' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
        xen: gntdev: fix build warning
        xen/p2m/m2p/gnttab: do not add failed grant maps to m2p override
        xen-gntdev: Add cast to pointer
        xen-gntdev: Fix incorrect use of zero handle
        xen: change xen/[gntdev/gntalloc] to default m
        xen-gntdev: prevent using UNMAP_NOTIFY_CLEAR_BYTE on read-only mappings
        xen-gntdev: Avoid double-mapping memory
        xen-gntdev: Avoid unmapping ranges twice
        xen-gntdev: Use map->vma for checking map validity
        xen-gntdev: Fix unmap notify on PV domains
        xen-gntdev: Fix memory leak when mmap fails
        xen/gntalloc,gntdev: Add unmap notify ioctl
        xen-gntalloc: Userspace grant allocation driver
        xen-gntdev: Support mapping in HVM domains
        xen-gntdev: Add reference counting to maps
        xen-gntdev: Use find_vma rather than iterating our vma list manually
        xen-gntdev: Change page limit to be global instead of per-open
      
      * 'stable/balloon' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen: (24 commits)
        xen-gntdev: Use ballooned pages for grant mappings
        xen-balloon: Add interface to retrieve ballooned pages
        xen-balloon: Move core balloon functionality out of module
        xen/balloon: Remove pr_info's and don't alter retry_count
        xen/balloon: Protect against CPU exhaust by event/x process
        xen/balloon: Migration from mod_timer() to schedule_delayed_work()
        xen/balloon: Removal of driver_pages
      514af9f7
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 · c55d267d
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (170 commits)
        [SCSI] scsi_dh_rdac: Add MD36xxf into device list
        [SCSI] scsi_debug: add consecutive medium errors
        [SCSI] libsas: fix ata list corruption issue
        [SCSI] hpsa: export resettable host attribute
        [SCSI] hpsa: move device attributes to avoid forward declarations
        [SCSI] scsi_debug: Logical Block Provisioning (SBC3r26)
        [SCSI] sd: Logical Block Provisioning update
        [SCSI] Include protection operation in SCSI command trace
        [SCSI] hpsa: fix incorrect PCI IDs and add two new ones (2nd try)
        [SCSI] target: Fix volume size misreporting for volumes > 2TB
        [SCSI] bnx2fc: Broadcom FCoE offload driver
        [SCSI] fcoe: fix broken fcoe interface reset
        [SCSI] fcoe: precedence bug in fcoe_filter_frames()
        [SCSI] libfcoe: Remove stale fcoe-netdev entries
        [SCSI] libfcoe: Move FCOE_MTU definition from fcoe.h to libfcoe.h
        [SCSI] libfc: introduce __fc_fill_fc_hdr that accepts fc_hdr as an argument
        [SCSI] fcoe, libfc: initialize EM anchors list and then update npiv EMs
        [SCSI] Revert "[SCSI] libfc: fix exchange being deleted when the abort itself is timed out"
        [SCSI] libfc: Fixing a memory leak when destroying an interface
        [SCSI] megaraid_sas: Version and Changelog update
        ...
      
      Fix up trivial conflicts due to whitespace differences in
      drivers/scsi/libsas/{sas_ata.c,sas_scsi_host.c}
      c55d267d
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq · 61ef46fd
      Linus Torvalds authored
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
        [CPUFREQ] pcc-cpufreq: remove duplicate statements
        [CPUFREQ] Remove the pm_message_t argument from driver suspend
        [CPUFREQ] Remove unneeded locks
        [CPUFREQ] Remove old, deprecated per cpu ondemand/conservative sysfs files
        [CPUFREQ] Remove deprecated sysfs file sampling_rate_max
        [CPUFREQ] powernow-k8: The table index is not worth displaying
        [CPUFREQ] calculate delay after dbs_check_cpu
        [CPUFREQ] Add documentation for sampling_down_factor
        [CPUFREQ] drivers/cpufreq: Remove unnecessary semicolons
      61ef46fd
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 · 77aa56ba
      Linus Torvalds authored
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6:
        ext3: Always set dx_node's fake_dirent explicitly.
        ext3: Fix an overflow in ext3_trim_fs.
        jbd: Remove one to many n's in a word.
        ext3: skip orphan cleanup on rocompat fs
        ext2: Fix link count corruption under heavy link+rename load
        ext3: speed up group trim with the right free block count.
        ext3: Adjust trim start with first_data_block.
        quota: return -ENOMEM when memory allocation fails
      77aa56ba
    • Linus Torvalds's avatar
      Merge branch 'nfs-for-2.6.39' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 · 17919837
      Linus Torvalds authored
      * 'nfs-for-2.6.39' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6: (54 commits)
        RPC: killing RPC tasks races fixed
        xprt: remove redundant check
        SUNRPC: Convert struct rpc_xprt to use atomic_t counters
        SUNRPC: Ensure we always run the tk_callback before tk_action
        sunrpc: fix printk format warning
        xprt: remove redundant null check
        nfs: BKL is no longer needed, so remove the include
        NFS: Fix a warning in fs/nfs/idmap.c
        Cleanup: Factor out some cut-and-paste code.
        cleanup: save 60 lines/100 bytes by combining two mostly duplicate functions.
        NFS: account direct-io into task io accounting
        gss:krb5 only include enctype numbers in gm_upcall_enctypes
        RPCRDMA: Fix FRMR registration/invalidate handling.
        RPCRDMA: Fix to XDR page base interpretation in marshalling logic.
        NFSv4: Send unmapped uid/gids to the server when using auth_sys
        NFSv4: Propagate the error NFS4ERR_BADOWNER to nfs4_do_setattr
        NFSv4: cleanup idmapper functions to take an nfs_server argument
        NFSv4: Send unmapped uid/gids to the server if the idmapper fails
        NFSv4: If the server sends us a numeric uid/gid then accept it
        NFSv4.1: reject zero layout with zeroed stripe unit
        ...
      17919837
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6 · 374e5525
      Linus Torvalds authored
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6:
        UDF: Fix compiler warning
        udf: Convert UDF to new truncate calling sequence
      374e5525