1. 07 9月, 2012 2 次提交
  2. 06 9月, 2012 20 次提交
  3. 05 9月, 2012 1 次提交
  4. 29 8月, 2012 10 次提交
  5. 27 8月, 2012 3 次提交
    • R
      oprofile: Remove 'WQ on CPUx, prefer CPUy' warning · 61bccf19
      Robert Richter 提交于
      Under certain workloads we see the following warnings:
      
       WQ on CPU0, prefer CPU1
       WQ on CPU0, prefer CPU2
       WQ on CPU0, prefer CPU3
      
      It warns the user that the wq to access a per-cpu buffers runs not on
      the same cpu. This happens if the wq is rescheduled on a different cpu
      than where the buffer is located. This was probably implemented to
      detect performance issues. Not sure if there actually is one as the
      buffers are copied to a single buffer anyway which should be the
      actual bottleneck.
      
      We wont change WQ implementation. Since a user can do nothing the
      warning is pointless. Removing it.
      
      Cc: Andi Kleen <andi@firstfloor.org>
      Signed-off-by: NRobert Richter <robert.richter@amd.com>
      61bccf19
    • R
      oprofile, s390: Fix uninitialized memory access when writing to oprofilefs · 81ff3478
      Robert Richter 提交于
      If oprofilefs_ulong_from_user() is called with count equals zero, *val
      remains unchanged. Depending on the implementation it might be
      uninitialized. Fixing users of oprofilefs_ulong_ from_user().
      
      We missed these s390 changes with:
      
       913050b9 oprofile: Fix uninitialized memory access when writing to writing to oprofilefs
      
      Cc: stable@vger.kernel.org  # 3.3+
      Signed-off-by: NRobert Richter <robert.richter@amd.com>
      81ff3478
    • S
      perf/x86: Fix microcode revision check for SNB-PEBS · e3e45c01
      Stephane Eranian 提交于
      The following patch makes the microcode update code path
      actually invoke the perf_check_microcode() function and
      thus potentially renabling SNB PEBS.
      
      By default, CONFIG_MICROCODE_OLD_INTERFACE is
      forced to Y in arch/x86/Kconfig. There is no
      way to disable this. That means that the code
      path used in arch/x86/kernel/microcode_core.c
      did not include the call to perf_check_microcode().
      
      Thus, even though the microcode was updated to a
      version that fixes the SNB PEBS problem, perf_event
      would still return EOPNOTSUPP when enabling precise
      sampling.
      
      This patch simply adds a call to perf_check_microcode()
      in the call path used when OLD_INTERFACE=y.
      Signed-off-by: NStephane Eranian <eranian@google.com>
      Acked-by: NBorislav Petkov <borislav.petkov@amd.com>
      Cc: peterz@infradead.org
      Cc: andi@firstfloor.org
      Link: http://lkml.kernel.org/r/20120824133434.GA8014@quadSigned-off-by: NIngo Molnar <mingo@kernel.org>
      e3e45c01
  6. 26 8月, 2012 4 次提交
    • L
      Merge tag 'fixes-3.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 9acb1725
      Linus Torvalds 提交于
      Pull arm-soc fixes from Arnd Bergmann:
       "Bug fixes for various ARM platforms.  About half of these are for OMAP
        and submitted before but did not make it into v3.6-rc2."
      
      * tag 'fixes-3.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (39 commits)
        ARM: ux500: don't select LEDS_GPIO for snowball
        ARM: imx: build i.MX6 functions only when needed
        ARM: imx: select CPU_FREQ_TABLE when needed
        ARM: imx: fix ksz9021rn_phy_fixup
        ARM: imx: build pm-imx5 code only when PM is enabled
        ARM: omap: allow building omap44xx without SMP
        ARM: dts: imx51-babbage: fix esdhc cd/wp properties
        ARM: imx6: spin the cpu until hardware takes it down
        ARM: ux500: Ensure probing of Audio devices when Device Tree is enabled
        ARM: ux500: Fix merge error, no matching driver name for 'snd_soc_u8500'
        ARM i.MX6q: Add virtual 1/3.5 dividers in the LDB clock path
        ARM: Kirkwood: fix Makefile.boot
        ARM: Kirkwood: Fix iconnect leds
        ARM: Orion: Set eth packet size csum offload limit
        ARM: mv78xx0: fix win_cfg_base prototype
        ARM: OMAP: dmtimers: Fix locking issue in omap_dm_timer_request*()
        ARM: mmp: fix potential NULL dereference
        ARM: OMAP4: Register the OPP table only for 4430 device
        cpufreq: OMAP: Handle missing frequency table on SMP systems
        ARM: OMAP4: sleep: Save the complete used register stack frame
        ...
      9acb1725
    • L
      Merge tag 'stable/for-linus-3.6-rc3-tag' of... · 26756087
      Linus Torvalds 提交于
      Merge tag 'stable/for-linus-3.6-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen
      
      Pull three xen bug-fixes from Konrad Rzeszutek Wilk:
       - Revert the kexec fix which caused on non-kexec shutdowns a race.
       - Reuse existing P2M leafs - instead of requiring to allocate a large
         area of bootup virtual address estate.
       - Fix a one-off error when adding PFNs for balloon pages.
      
      * tag 'stable/for-linus-3.6-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
        xen/setup: Fix one-off error when adding for-balloon PFNs to the P2M.
        xen/p2m: Reuse existing P2M leafs if they are filled with 1:1 PFNs or INVALID.
        Revert "xen PVonHVM: move shared_info to MMIO before kexec"
      26756087
    • L
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · 4ae46147
      Linus Torvalds 提交于
      Pull powerpc fixes from Benjamin Herrenschmidt:
       "I meant to sent that earlier but got swamped with other things, so
        here are some powerpc fixes for 3.6.  A few regression fixes and some
        bug fixes that I deemed should still make it.
      
        There's a FSL update from Kumar with a bunch of defconfig updates
        along with a few embedded fixes.
      
        I also reverted my g5_defconfig update that I merged earlier as it was
        completely busted, not too sure what happened there, I'll do a new one
        later."
      
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
        Revert "powerpc: Update g5_defconfig"
        powerpc/perf: Use pmc_overflow() to detect rolled back events
        powerpc: Fix VMX in interrupt check in POWER7 copy loops
        powerpc: POWER7 copy_to_user/copy_from_user patch applied twice
        powerpc: Fix personality handling in ppc64_personality()
        powerpc/dma-iommu: Fix IOMMU window check
        powerpc: Remove unnecessary ifdefs
        powerpc/kgdb: Restore current_thread_info properly
        powerpc/kgdb: Bail out of KGDB when we've been triggered
        powerpc/kgdb: Do not set kgdb_single_step on ppc
        powerpc/mpic_msgr: Add missing includes
        powerpc: Fix null pointer deref in perf hardware breakpoints
        powerpc: Fixup whitespace in xmon
        powerpc: Fix xmon dl command for new printk implementation
        powerpc/fsl: fix "Failed to mount /dev: No such device" errors
        powerpc/fsl: update defconfigs
        booke/wdt: some ioctls do not return values properly
        powerpc/p4080ds: dts - add usb controller version info and port0
        powerpc/85xx: mpc85xx_defconfig - add VIA PATA support for MPC85xxCDS
        powerpc/fsl-pci: Only scan PCI bus if configured as a host
      4ae46147
    • L
      Merge git://git.kernel.org/pub/scm/virt/kvm/kvm · 6ec9776c
      Linus Torvalds 提交于
      Pull kvm fixes from Marcelo Tosatti.
      
      * git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: x86 emulator: use stack size attribute to mask rsp in stack ops
        KVM: MMU: Fix mmu_shrink() so that it can free mmu pages as intended
        ppc: e500_tlb memset clears nothing
        KVM: PPC: Add cache flush on page map
        KVM: PPC: Book3S HV: Fix incorrect branch in H_CEDE code
        KVM: x86: update KVM_SAVE_MSRS_BEGIN to correct value
      6ec9776c