26 Mar, 2012

1 commit


25 Mar, 2012

2 commits

  • Pull more xen updates from Konrad Rzeszutek Wilk:
    "One tiny feature that accidentally got lost in the initial git pull:
    * Add fast-EOI acking of interrupts (clear a bit instead of
    hypercall)
    And bug-fixes:
    * Fix CPU bring-up code missing a call to notify other subsystems.
    * Fix reading /sys/hypervisor even if PVonHVM drivers are not loaded.
    * In Xen ACPI processor driver: remove too verbose WARN messages, fix
    up the Kconfig dependency to be a module by default, and add
    dependency on CPU_FREQ.
    * Disable CPU frequency drivers from loading when booting under Xen
    (as we want the Xen ACPI processor to be used instead).
    * Cleanups in tmem code."

    * tag 'stable/for-linus-3.4-tag-two' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    xen/acpi: Fix Kconfig dependency on CPU_FREQ
    xen: initialize platform-pci even if xen_emul_unplug=never
    xen/smp: Fix bringup bug in AP code.
    xen/acpi: Remove the WARN's as they just create noise.
    xen/tmem: cleanup
    xen: support pirq_eoi_map
    xen/acpi-processor: Do not depend on CPU frequency scaling drivers.
    xen/cpufreq: Disable the cpu frequency scaling drivers from loading.
    provide disable_cpufreq() function to disable the API.

    Linus Torvalds
     
  • Pull cleanup from Paul Gortmaker:
    "The changes shown here are to unify linux's BUG support under the one
    file. Due to historical reasons, we have some BUG code
    in bug.h and some in kernel.h -- i.e. the support for BUILD_BUG in
    linux/kernel.h predates the addition of linux/bug.h, but old code in
    kernel.h wasn't moved to bug.h at that time. As a band-aid, kernel.h
    was including to pseudo link them.

    This has caused confusion[1] and general yuck/WTF[2] reactions. Here
    is an example that violates the principle of least surprise:

    CC lib/string.o
    lib/string.c: In function 'strlcat':
    lib/string.c:225:2: error: implicit declaration of function 'BUILD_BUG_ON'
    make[2]: *** [lib/string.o] Error 1
    $
    $ grep linux/bug.h lib/string.c
    #include
    $

    We've included for the BUG infrastructure and yet we
    still get a compile fail! [We've not kernel.h for BUILD_BUG_ON.] Ugh -
    very confusing for someone who is new to kernel development.

    With the above in mind, the goals of this changeset are:

    1) find and fix any include/*.h files that were relying on the
    implicit presence of BUG code.
    2) find and fix any C files that were consuming kernel.h and hence
    relying on implicitly getting some/all BUG code.
    3) Move the BUG related code living in kernel.h to
    4) remove the asm/bug.h from kernel.h to finally break the chain.

    During development, the order was more like 3-4, build-test, 1-2. But
    to ensure that git history for bisect doesn't get needless build
    failures introduced, the commits have been reorderd to fix the problem
    areas in advance.

    [1] https://lkml.org/lkml/2012/1/3/90
    [2] https://lkml.org/lkml/2012/1/17/414"

    Fix up conflicts (new radeon file, reiserfs header cleanups) as per Paul
    and linux-next.

    * tag 'bug-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux:
    kernel.h: doesn't explicitly use bug.h, so don't include it.
    bug: consolidate BUILD_BUG_ON with other bug code
    BUG: headers with BUG/BUG_ON etc. need linux/bug.h
    bug.h: add include of it to various implicit C users
    lib: fix implicit users of kernel.h for TAINT_WARN
    spinlock: macroize assert_spin_locked to avoid bug.h dependency
    x86: relocate get/set debugreg fcns to include/asm/debugreg.

    Linus Torvalds
     

24 Mar, 2012

22 commits

  • Pull cpufreq updates for 3.4 from Dave Jones: new drivers and some fixes.

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
    provide disable_cpufreq() function to disable the API.
    EXYNOS5250: Add support cpufreq for EXYNOS5250
    EXYNOS4X12: Add support cpufreq for EXYNOS4X12
    [CPUFREQ] CPUfreq ondemand: update sampling rate without waiting for next sampling
    [CPUFREQ] Add S3C2416/S3C2450 cpufreq driver
    [CPUFREQ] Fix exposure of ARM_EXYNOS4210_CPUFREQ
    [CPUFREQ] EXYNOS4210: update the name of EXYNOS clock register
    [CPUFREQ] EXYNOS: Initialize locking_frequency with initial frequency
    [CPUFREQ] s3c64xx: Fix mis-cherry pick of VDDINT

    Fix up trivial conflicts in Kconfig and Makefile due to just changes
    next to each other (OMAP2PLUS changes vs some new EXYNOS cpufreq
    drivers).

    Linus Torvalds
     
  • Pull #3 ARM updates from Russell King:
    "This adds gpio support to soc_common, allowing an amount of code to be
    deleted from each PCMCIA socket driver for the PXA/SA11x0 SoCs."

    * 'pcmcia' of git://git.linaro.org/people/rmk/linux-arm:
    PCMCIA: sa1111: rename sa1111 socket drivers to have sa1111_ prefix.
    PCMCIA: make lubbock socket driver part of sa1111_cs
    PCMCIA: add Kconfig control for building sa11xx_base.c
    PCMCIA: sa1111: jornada720: no need to disable IRQs around sa1111_set_io
    PCMCIA: sa1111: pass along sa1111_pcmcia_configure_socket() failure code
    PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers
    PCMCIA: soc_common: remove soc_pcmcia_*_irqs functions
    PCMCIA: sa11x0: h3600: convert to use new irq/gpio management
    PCMCIA: sa11x0: simpad: convert to use new irq/gpio management
    PCMCIA: sa11x0: shannon: convert to use new irq/gpio management
    PCMCIA: sa11x0: nanoengine: convert reset handling to use GPIO subsystem
    PCMCIA: sa11x0: nanoengine: convert to use new irq/gpio management
    PCMCIA: sa11x0: cerf: convert reset handling to use GPIO subsystem
    PCMCIA: sa11x0: cerf: convert to use new irq/gpio management
    PCMCIA: sa11x0: assabet: convert to use new irq/gpio management
    PCMCIA: sa1111: use new per-socket irq/gpio infrastructure
    PCMCIA: pxa: convert PXA socket drivers to use new irq/gpio management
    PCMCIA: soc_common: add GPIO support for card status signals
    PCMCIA: soc_common: move common initialization into soc_common

    Linus Torvalds
     
  • Pull #2 ARM updates from Russell King:
    "Further ARM AMBA primecell updates which aren't included directly in
    the previous commit. I wanted to keep these separate as they're
    touching stuff outside arch/arm/."

    * 'amba' of git://git.linaro.org/people/rmk/linux-arm:
    ARM: 7362/1: AMBA: Add module_amba_driver() helper macro for amba_driver
    ARM: 7335/1: mach-u300: do away with MMC config files
    ARM: 7280/1: mmc: mmci: Cache MMCICLOCK and MMCIPOWER register
    ARM: 7309/1: realview: fix unconnected interrupts on EB11MP
    ARM: 7230/1: mmc: mmci: Fix PIO read for small SDIO packets
    ARM: 7227/1: mmc: mmci: Prepare for SDIO before setting up DMA job
    ARM: 7223/1: mmc: mmci: Fixup use of runtime PM and use autosuspend
    ARM: 7221/1: mmc: mmci: Change from using legacy suspend
    ARM: 7219/1: mmc: mmci: Change vdd_handler to a generic ios_handler
    ARM: 7218/1: mmc: mmci: Provide option to configure bus signal direction
    ARM: 7217/1: mmc: mmci: Put power register deviations in variant data
    ARM: 7216/1: mmc: mmci: Do not release spinlock in request_end
    ARM: 7215/1: mmc: mmci: Increase max_segs from 16 to 128

    Linus Torvalds
     
  • Pull #1 ARM updates from Russell King:
    "This one covers stuff which Arnd is waiting for me to push, as this is
    shared between both our trees and probably other trees elsewhere.

    Essentially, this contains:
    - AMBA primecell device initializer updates - mostly shrinking the
    size of the device declarations in platform code to something more
    reasonable.
    - Getting rid of the NO_IRQ crap from AMBA primecell stuff.
    - Nicolas' idle cleanups. This in combination with the restart
    cleanups from the last merge window results in a great many
    mach/system.h files being deleted."

    Yay: ~80 files, ~2000 lines deleted.

    * 'for-armsoc' of git://git.linaro.org/people/rmk/linux-arm: (60 commits)
    ARM: remove disable_fiq and arch_ret_to_user macros
    ARM: make entry-macro.S depend on !MULTI_IRQ_HANDLER
    ARM: rpc: make default fiq handler run-time installed
    ARM: make arch_ret_to_user macro optional
    ARM: amba: samsung: use common amba device initializers
    ARM: amba: spear: use common amba device initializers
    ARM: amba: nomadik: use common amba device initializers
    ARM: amba: u300: use common amba device initializers
    ARM: amba: lpc32xx: use common amba device initializers
    ARM: amba: netx: use common amba device initializers
    ARM: amba: bcmring: use common amba device initializers
    ARM: amba: ep93xx: use common amba device initializers
    ARM: amba: omap2: use common amba device initializers
    ARM: amba: integrator: use common amba device initializers
    ARM: amba: realview: get rid of private platform amba_device initializer
    ARM: amba: versatile: get rid of private platform amba_device initializer
    ARM: amba: vexpress: get rid of private platform amba_device initializer
    ARM: amba: provide common initializers for static amba devices
    ARM: amba: make use of -1 IRQs warn
    ARM: amba: u300: get rid of NO_IRQ initializers
    ...

    Linus Torvalds
     
  • Pull OpenRISC changes for 3.4 from Jonas Bonn:
    "This series for the OpenRISC architecture consists of mostly trivial
    fixups. The most interesting bits of the series are:

    * A fix to the timer code whereby the shortest trigger period is set
    to 100 cycles; previously, it was possible to set this to 1 cycle,
    but by the time the register was written, that time had already
    passed and the timer interrupt would not go off until the cycle
    counter had gone a full cycle.

    * Allowing a device tree binary to be passed in to the kernel from
    u-boot. The OpenRISC architecture has been recently merged into
    upstream u-boot, so this change gets OpenRISC Linux into sync with
    that project."

    * tag 'for-3.4' of git://openrisc.net/jonas/linux:
    OpenRISC: Remove memory_start/end prototypes
    openrisc: remove semicolon from KSTK_ defs
    openrisc: sanitize use of orig_gpr11
    openrisc: fix virt_addr_valid
    OpenRISC: Export dump_stack()
    OpenRISC: Select GENERIC_ATOMIC64
    openrisc: Set shortest clock event to 100 ticks
    openrisc: included linux/thread_info.h twice
    OpenRISC: Use set_current_blocked() and block_sigmask()
    OpenRISC: Don't mask signals if we fail to setup signal stack
    OpenRISC: No need to reset handler if SA_ONESHOT
    OpenRISC: Don't reimplement force_sigsegv()
    openrisc: enable passing of flattened device tree pointer
    arch/openrisc/mm/init.c: trivial: use BUG_ON

    Linus Torvalds
     
  • Pull miscellaneous Itanium patches from Tony Luck.

    The conflicts in arch/ia64/hp/sim/simserial.c were due to patches to
    simserial that had alredy been included (with lots of further cleanups)
    in the serial tree.

    * tag 'ia64-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
    Documentation/kernel-parameters: remove inttest parameter
    [IA64] Fix ISA IRQ trigger model and polarity setting
    [IA64] Fix a couple of warnings for EXPORT_SYMBOL
    [IA64] Check return from device_register() in cx_device_register()
    [IA64] Fix warning from machine_kexec.c
    [IA64] simserial, bail out when request_irq fails
    [IA64] hpsim, initialize chip for assigned irqs
    [IA64] simserial, include some headers
    [IA64] hpsim, fix SAL handling in fw-emu
    [IA64] genirq fixup for SGI/SN
    [IA64] disable interrupts when exiting from ia64_mca_cmc_int_handler()

    Linus Torvalds
     
  • Russell King
     
  • Pull additional x86 fixes from Peter Anvin:
    - address a long-standing bug related to when a kernel-spawned process
    gets a signal on an i386 kernel compiled without CONFIG_VM86.

    - fix the newly introduced build warning in arch/x86/boot.

    - fix a typo in the i386 system call table which affects building some
    libcs.

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86-32: Fix endless loop when processing signals for kernel tasks
    x86, boot: Correct CFLAGS for hostprogs
    x86-32: Fix typo for mq_getsetattr in syscall table

    Linus Torvalds
     
  • Merge second batch of patches from Andrew Morton:
    - various misc things
    - core kernel changes to prctl, exit, exec, init, etc.
    - kernel/watchdog.c updates
    - get_maintainer
    - MAINTAINERS
    - the backlight driver queue
    - core bitops code cleanups
    - the led driver queue
    - some core prio_tree work
    - checkpatch udpates
    - largeish crc32 update
    - a new poll() feature for the v4l guys
    - the rtc driver queue
    - fatfs
    - ptrace
    - signals
    - kmod/usermodehelper updates
    - coredump
    - procfs updates

    * emailed from Andrew Morton : (141 commits)
    seq_file: add seq_set_overflow(), seq_overflow()
    proc-ns: use d_set_d_op() API to set dentry ops in proc_ns_instantiate().
    procfs: speed up /proc/pid/stat, statm
    procfs: add num_to_str() to speed up /proc/stat
    proc: speed up /proc/stat handling
    fs/proc/kcore.c: make get_sparsemem_vmemmap_info() static
    coredump: add VM_NODUMP, MADV_NODUMP, MADV_CLEAR_NODUMP
    coredump: remove VM_ALWAYSDUMP flag
    kmod: make __request_module() killable
    kmod: introduce call_modprobe() helper
    usermodehelper: ____call_usermodehelper() doesn't need do_exit()
    usermodehelper: kill umh_wait, renumber UMH_* constants
    usermodehelper: implement UMH_KILLABLE
    usermodehelper: introduce umh_complete(sub_info)
    usermodehelper: use UMH_WAIT_PROC consistently
    signal: zap_pid_ns_processes: s/SEND_SIG_NOINFO/SEND_SIG_FORCED/
    signal: oom_kill_task: use SEND_SIG_FORCED instead of force_sig()
    signal: cosmetic, s/from_ancestor_ns/force/ in prepare_signal() paths
    signal: give SEND_SIG_FORCED more power to beat SIGNAL_UNKILLABLE
    Hexagon: use set_current_blocked() and block_sigmask()
    ...

    Linus Torvalds
     
  • Since we no longer need the VM_ALWAYSDUMP flag, let's use the freed bit
    for 'VM_NODUMP' flag. The idea is is to add a new madvise() flag:
    MADV_DONTDUMP, which can be set by applications to specifically request
    memory regions which should not dump core.

    The specific application I have in mind is qemu: we can add a flag there
    that wouldn't dump all of guest memory when qemu dumps core. This flag
    might also be useful for security sensitive apps that want to absolutely
    make sure that parts of memory are not dumped. To clear the flag use:
    MADV_DODUMP.

    [akpm@linux-foundation.org: s/MADV_NODUMP/MADV_DONTDUMP/, s/MADV_CLEAR_NODUMP/MADV_DODUMP/, per Roland]
    [akpm@linux-foundation.org: fix up the architectures which broke]
    Signed-off-by: Jason Baron
    Acked-by: Roland McGrath
    Cc: Chris Metcalf
    Cc: Avi Kivity
    Cc: Ralf Baechle
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Cc: Matt Turner
    Cc: "James E.J. Bottomley"
    Cc: Helge Deller
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jason Baron
     
  • The motivation for this patchset was that I was looking at a way for a
    qemu-kvm process, to exclude the guest memory from its core dump, which
    can be quite large. There are already a number of filter flags in
    /proc//coredump_filter, however, these allow one to specify 'types'
    of kernel memory, not specific address ranges (which is needed in this
    case).

    Since there are no more vma flags available, the first patch eliminates
    the need for the 'VM_ALWAYSDUMP' flag. The flag is used internally by
    the kernel to mark vdso and vsyscall pages. However, it is simple
    enough to check if a vma covers a vdso or vsyscall page without the need
    for this flag.

    The second patch then replaces the 'VM_ALWAYSDUMP' flag with a new
    'VM_NODUMP' flag, which can be set by userspace using new madvise flags:
    'MADV_DONTDUMP', and unset via 'MADV_DODUMP'. The core dump filters
    continue to work the same as before unless 'MADV_DONTDUMP' is set on the
    region.

    The qemu code which implements this features is at:

    http://people.redhat.com/~jbaron/qemu-dump/qemu-dump.patch

    In my testing the qemu core dump shrunk from 383MB -> 13MB with this
    patch.

    I also believe that the 'MADV_DONTDUMP' flag might be useful for
    security sensitive apps, which might want to select which areas are
    dumped.

    This patch:

    The VM_ALWAYSDUMP flag is currently used by the coredump code to
    indicate that a vma is part of a vsyscall or vdso section. However, we
    can determine if a vma is in one these sections by checking it against
    the gate_vma and checking for a non-NULL return value from
    arch_vma_name(). Thus, freeing a valuable vma bit.

    Signed-off-by: Jason Baron
    Acked-by: Roland McGrath
    Cc: Chris Metcalf
    Cc: Avi Kivity
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jason Baron
     
  • As described in e6fa16ab9c1e ("signal: sigprocmask() should do
    retarget_shared_pending()") the modification of current->blocked is
    incorrect as we need to check whether the signal we're about to block is
    pending in the shared queue.

    Also, use the new helper function introduced in commit 5e6292c0f28f
    ("signal: add block_sigmask() for adding sigmask to current->blocked")
    which centralises the code for updating current->blocked after
    successfully delivering a signal and reduces the amount of duplicate
    code across architectures. In the past some architectures got this code
    wrong, so using this helper function should stop that from happening
    again.

    Acked-by: Oleg Nesterov
    Acked-by: Richard Kuo
    Signed-off-by: Matt Fleming
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matt Fleming
     
  • Use for_each_clear_bit() to iterate over all the cleared bit in a
    memory region.

    Signed-off-by: Akinobu Mita
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • This renames for_each_set_bit_cont() to for_each_set_bit_from() because
    it is analogous to list_for_each_entry_from() in list.h rather than
    list_for_each_entry_continue().

    This doesn't remove for_each_set_bit_cont() for now.

    Signed-off-by: Akinobu Mita
    Cc: Robert Richter
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • Commit 33bf56106d9b ("feature removal of io_remap_page_range()") removed
    io_remap_page_range(), but it is still included in some arch header
    files. It has no in-tree users.

    Signed-off-by: Javi Merino
    Cc: Russell King
    Cc: Aurelien Jacquiot
    Cc: Michal Simek
    Cc: Jonas Bonn
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Javi Merino
     
  • ARCH_HAS_NMI_WATCHDOG is a macro defined by arch, but config
    HARDLOCKUP_DETECTOR depends on it. This is wrong, ARCH_HAS_NMI_WATCHDOG
    has to be a Kconfig config, and arch's need it should select it
    explicitly.

    Signed-off-by: WANG Cong
    Acked-by: Don Zickus
    Acked-by: Mike Frysinger
    Cc: David Howells
    Cc: David Miller
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cong Wang
     
  • As described in commit e6fa16ab9c1e ("signal: sigprocmask() should do
    retarget_shared_pending()") the modification of current->blocked is
    incorrect as we need to check whether the signal we're about to block is
    pending in the shared queue.

    Also, use the new helper function introduced in commit 5e6292c0f28f
    ("signal: add block_sigmask() for adding sigmask to current->blocked")
    which centralises the code for updating current->blocked after
    successfully delivering a signal and reduces the amount of duplicate
    code across architectures. In the past some architectures got this code
    wrong, so using this helper function should stop that from happening
    again.

    Acked-by: Oleg Nesterov
    Cc: Richard Weinberger
    Signed-off-by: Matt Fleming
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matt Fleming
     
  • If we fail to setup the signal stack frame then we don't need to restore
    current->blocked because it is not modified by setup_signal_stack_*.

    Acked-by: Oleg Nesterov
    Acked-by: Richard Weinberger
    Tested-by: Richard Weinberger
    Signed-off-by: Matt Fleming
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matt Fleming
     
  • Pull media updates from Mauro Carvalho Chehab:
    - V4L2 API additions to better support JPEG compression control
    - media API additions to properly support MPEG decoders
    - V4L2 API additions for image crop/scaling
    - a few other V4L2 API DocBook fixes/improvements
    - two new DVB frontend drivers: m88rs2000 and rtl2830
    - two new DVB drivers: az6007 and rtl28xxu
    - a framework for ISA drivers, that removed lots of common code found
    at the ISA radio drivers
    - a new FM transmitter driver (radio-keene)
    - a GPIO-based IR receiver driver
    - a new sensor driver: mt9m032
    - some new video drivers: adv7183, blackfin, mx2_emmaprp, sii9234_drv,
    vs6624
    - several new board additions, driver fixes, improvements and cleanups.

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (295 commits)
    [media] update CARDLIST.em28xx
    [media] partially reverts changeset fa5527c
    [media] stb0899: fix the limits for signal strength values
    [media] em28xx: support for 2304:0242 PCTV QuatroStick (510e)
    [media] em28xx: support for 2013:0251 PCTV QuatroStick nano (520e)
    [media] -EINVAL -> -ENOTTY
    [media] gspca - sn9c20x: Cleanup source
    [media] gspca - sn9c20x: Simplify register write for capture start/stop
    [media] gspca - sn9c20x: Add automatic JPEG compression mechanism
    [media] gspca - sn9c20x: Greater delay in case of sensor no response
    [media] gspca - sn9c20x: Optimize the code of write sequences
    [media] gspca - sn9c20x: Add the JPEG compression quality control
    [media] gspca - sn9c20x: Add a delay after Omnivision sensor reset
    [media] gspca - sn9c20x: Propagate USB errors to higher level
    [media] gspca - sn9c20x: Use the new video control mechanism
    [media] gspca - sn9c20x: Fix loss of frame start
    [media] gspca - zc3xx: Lack of register 08 value for sensor cs2102k
    [media] gspca - ov534_9: Add brightness to OmniVision 5621 sensor
    [media] gspca - zc3xx: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support
    [media] pvrusb2: fix 7MHz & 8MHz DVB-T tuner support for HVR1900 rev D1F5
    ...

    Linus Torvalds
     
  • Pull IOMMU updates from Joerg Roedel:
    "The IOMMU updates for this round are not very large patch-wise. But
    they contain two new IOMMU drivers for the ARM Tegra 2 and 3
    platforms. Besides that there are also a few patches for the AMD
    IOMMU which prepare the driver for adding intr-remapping support and a
    couple of fixes."

    * tag 'iommu-updates-v3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
    iommu/amd: Fix section mismatch
    iommu/amd: Move interrupt setup code into seperate function
    iommu/amd: Make sure IOMMU interrupts are re-enabled on resume
    iommu/amd: Fix section warning for prealloc_protection_domains
    iommu/amd: Don't initialize IOMMUv2 resources when not required
    iommu/amd: Update git-tree in MAINTAINERS
    iommu/tegra-gart: fix spin_unlock in map failure path
    iommu/amd: Fix double free of mem-region in error-path
    iommu/amd: Split amd_iommu_init function
    ARM: IOMMU: Tegra30: Add iommu_ops for SMMU driver
    ARM: IOMMU: Tegra20: Add iommu_ops for GART driver

    Linus Torvalds
     
  • Pull PCI changes (including maintainer change) from Jesse Barnes:
    "This pull has some good cleanups from Bjorn and Yinghai, as well as
    some more code from Yinghai to better handle resource re-allocation
    when enabled.

    There's also a new initcall_debug feature from Arjan which will print
    out quirk timing information to help identify slow quirks for fixing
    or refinement (Yinghai sent in a few patches to do just that once the
    new debug code landed).

    Beyond that, I'm handing off PCI maintainership to Bjorn Helgaas.
    He's been a core PCI and Linux contributor for some time now, and has
    kindly volunteered to take over. I just don't feel I have the time
    for PCI review and work that it deserves lately (I've taken on some
    other projects), and haven't been as responsive lately as I'd like, so
    I approached Bjorn asking if he'd like to manage things. He's going
    to give it a try, and I'm confident he'll do at least as well as I
    have in keeping the tree managed, patches flowing, and keeping things
    stable."

    Fix up some fairly trivial conflicts due to other cleanups (mips device
    resource fixup cleanups clashing with list handling cleanup, ppc iseries
    removal clashing with pci_probe_only cleanup etc)

    * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci: (112 commits)
    PCI: Bjorn gets PCI hotplug too
    PCI: hand PCI maintenance over to Bjorn Helgaas
    unicore32/PCI: move include to asm/pci.h
    sparc/PCI: convert devtree and arch-probed bus addresses to resource
    powerpc/PCI: allow reallocation on PA Semi
    powerpc/PCI: convert devtree bus addresses to resource
    powerpc/PCI: compute I/O space bus-to-resource offset consistently
    arm/PCI: don't export pci_flags
    PCI: fix bridge I/O window bus-to-resource conversion
    x86/PCI: add spinlock held check to 'pcibios_fwaddrmap_lookup()'
    PCI / PCIe: Introduce command line option to disable ARI
    PCI: make acpihp use __pci_remove_bus_device instead
    PCI: export __pci_remove_bus_device
    PCI: Rename pci_remove_behind_bridge to pci_stop_and_remove_behind_bridge
    PCI: Rename pci_remove_bus_device to pci_stop_and_remove_bus_device
    PCI: print out PCI device info along with duration
    PCI: Move "pci reassigndev resource alignment" out of quirks.c
    PCI: Use class for quirk for usb host controller fixup
    PCI: Use class for quirk for ti816x class fixup
    PCI: Use class for quirk for intel e100 interrupt fixup
    ...

    Linus Torvalds
     
  • Pull KGDB/KDB updates from Jason Wessel:
    "Fixes:
    - Fix KDB keyboard repeat scan codes and leaked keyboard events
    - Fix kernel crash with kdb_printf() for users who compile new
    kdb_printf()'s in early code
    - Return all segment registers to gdb on x86_64

    Features:
    - KDB/KGDB hook the reboot notifier and end user can control if it
    stops, detaches or does nothing (updated docs as well)
    - Notify users who use CONFIG_DEBUG_RODATA to use hw breakpoints"

    * tag 'for_linus-3.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb:
    kdb: Add message about CONFIG_DEBUG_RODATA on failure to install breakpoint
    kdb: Avoid using dbg_io_ops until it is initialized
    kgdb,debug_core: add the ability to control the reboot notifier
    KDB: Fix usability issues relating to the 'enter' key.
    kgdb,debug-core,gdbstub: Hook the reboot notifier for debugger detach
    kgdb: Respect that flush op is optional
    kgdb: x86: Return all segment registers also in 64-bit mode

    Linus Torvalds
     

23 Mar, 2012

15 commits

  • Complete the syscall-less self-profiling feature and address
    all complaints, namely:

    - capabilities, so we can detect what is actually available at runtime

    Add a capabilities field to perf_event_mmap_page to indicate
    what is actually available for use.

    - on x86: RDPMC weirdness due to being 40/48 bits and not sign-extending
    properly.

    - ABI documentation as to how all this stuff works.

    Also improve the documentation for the new features.

    Signed-off-by: Peter Zijlstra
    Cc: Stephane Eranian
    Cc: Vince Weaver
    Cc: Arnaldo Carvalho de Melo
    Cc: Jiri Olsa
    Link: http://lkml.kernel.org/r/1332433596.2487.33.camel@twins
    Signed-off-by: Ingo Molnar

    Peter Zijlstra
     
  • …/acme/linux into perf/urgent

    Cleanups and fixes for perf/core:

    . Short term fix for 'diff' tool breakage related to perf.data files
    with multiple events. From Jiri Olsa

    . Cleanup for event id tracepoint reading routine, from Borislav Petkov

    . 32-bit compilation fixes from Jiri Olsa

    . Event parsing modifier assignment fixes from Jiri Olsa

    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Ingo Molnar
     
  • Pull fbdev updates for 3.4 from Florian Tobias Schandinat:
    - drivers for Samsung Exynos MIPI DSI and display port
    - i740fb to support those old Intel chips
    - large updates to OMAP, viafb and sh_mobile_lcdcfb
    - some updates to s3c-fb and udlfb, few patches to others

    Fix up conflicts in drivers/video/udlfb.c due to Key Sievers' fix making
    it in twice.

    * tag 'fbdev-updates-for-3.4' of git://github.com/schandinat/linux-2.6: (156 commits)
    Revert "video:uvesafb: Fix oops that uvesafb try to execute NX-protected page"
    OMAPDSS: register dss drivers in module init
    video: pxafb: add clk_prepare/clk_unprepare calls
    fbdev: bfin_adv7393fb: Drop needless include
    fbdev: sh_mipi_dsi: add extra phyctrl for sh_mipi_dsi_info
    fbdev: remove dependency of FB_SH_MOBILE_MERAM from FB_SH_MOBILE_LCDC
    Revert "MAINTAINERS: add entry for exynos mipi display drivers"
    fbdev: da8xx: add support for SP10Q010 display
    fbdev: da8xx:: fix reporting of the display timing info
    drivers/video/pvr2fb.c: ensure arguments to request_irq and free_irq are compatible
    OMAPDSS: APPLY: fix clearing shadow dirty flag with manual update
    fbdev: sh_mobile_meram: Implement system suspend/resume
    fbdev: sh_mobile_meram: Remove unneeded sanity checks
    fbdev: sh_mobile_meram: Don't perform update in register operation
    arm: mach-shmobile: Constify sh_mobile_meram_cfg structures
    fbdev: sh_mobile_lcdc: Don't store copy of platform data
    fbdev: sh_mobile_meram: Remove unused sh_mobile_meram_icb_cfg fields
    arm: mach-shmobile: Don't set MERAM ICB numbers in platform data
    fbdev: sh_mobile_meram: Allocate ICBs automatically
    fbdev: sh_mobile_meram: Use genalloc to manage MERAM allocation
    ...

    Linus Torvalds
     
  • Pull pinctrl updates for v3.4 from Linus Walleij (*):
    - Switches the PXA 168, 910 and MMP over to use pinctrl
    - Locking revamped
    - Massive refactorings...
    - Reform the driver API to use multiple states
    - Support pin config in the mapping tables
    - Pinctrl drivers for the nVidia Tegra series
    - Generic pin config support lib for simple pin controllers
    - Implement pin config for the U300

    * tag 'pinctrl-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (48 commits)
    ARM: u300: configure some pins as an example
    pinctrl: support pinconfig on the U300
    pinctrl/coh901: use generic pinconf enums and parameters
    pinctrl: introduce generic pin config
    pinctrl: fix error path in pinconf_map_to_setting()
    pinctrl: allow concurrent gpio and mux function ownership of pins
    pinctrl: forward-declare struct device
    pinctrl: split pincontrol states into its own header
    pinctrl: include machine header to core.h
    ARM: tegra: Select PINCTRL Kconfig variables
    pinctrl: add a driver for NVIDIA Tegra
    pinctrl: Show selected function and group in pinmux-pins debugfs
    pinctrl: enhance mapping table to support pin config operations
    pinctrl: API changes to support multiple states per device
    pinctrl: add usecount to pins for muxing
    pinctrl: refactor struct pinctrl handling in core.c vs pinmux.c
    pinctrl: fix and simplify locking
    pinctrl: fix the pin descriptor kerneldoc
    pinctrl: assume map table entries can't have a NULL name field
    pinctrl: introduce PINCTRL_STATE_DEFAULT, define hogs as that state
    ...

    (*) What is it with all these Linuses these days? There's a Linus at
    google too. Some day I will get myself my own broadsword, and run
    around screaming "There can be only one".

    I used to be _special_ dammit. Snif.

    Linus Torvalds
     
  • Pull input subsystem updates from Dmitry Torokhov:
    "- we finally merged driver for USB version of Synaptics touchpads
    (I guess most commonly found in IBM/Lenovo keyboard/touchpad combo);

    - a bunch of new drivers for embedded platforms (Cypress
    touchscreens, DA9052 OnKey, MAX8997-haptic, Ilitek ILI210x
    touchscreens, TI touchscreen);

    - input core allows clients to specify desired clock source for
    timestamps on input events (EVIOCSCLOCKID ioctl);

    - input core allows querying state of all MT slots for given event
    code via EVIOCGMTSLOTS ioctl;

    - various driver fixes and improvements."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (45 commits)
    Input: ili210x - add support for Ilitek ILI210x based touchscreens
    Input: altera_ps2 - use of_match_ptr()
    Input: synaptics_usb - switch to module_usb_driver()
    Input: convert I2C drivers to use module_i2c_driver()
    Input: convert SPI drivers to use module_spi_driver()
    Input: omap4-keypad - move platform_data to
    Input: kxtj9 - who_am_i check value and initial data rate fixes
    Input: add driver support for MAX8997-haptic
    Input: tegra-kbc - revise device tree support
    Input: of_keymap - add device tree bindings for simple key matrices
    Input: wacom - fix physical size calculation for 3rd-gen Bamboo
    Input: twl4030-vibra - really switch from #if to #ifdef
    Input: hp680_ts_input - ensure arguments to request_irq and free_irq are compatible
    Input: max8925_onkey - avoid accessing input device too early
    Input: max8925_onkey - allow to be used as a wakeup source
    Input: atmel-wm97xx - convert to dev_pm_ops
    Input: atmel-wm97xx - set driver owner
    Input: add cyttsp touchscreen maintainer entry
    Input: cyttsp - remove useless checks in cyttsp_probe()
    Input: usbtouchscreen - add support for Data Modul EasyTouch TP 72037
    ...

    Linus Torvalds
     
  • Pull crypto fixes from Herbert Xu:
    "This fixes a build problem where two crypto modules both try to export
    the same symbols (which shouldn't have been exported in the first
    place)."

    * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
    crypto: twofish-x86_64-3way - module init/exit functions should be static
    crypto: camellia-x86_64 - module init/exit functions should be static

    Linus Torvalds
     
  • Pull xen updates from Konrad Rzeszutek Wilk:
    "which has three neat features:

    - PV multiconsole support, so that there can be hvc1, hvc2, etc; This
    can be used in HVM and in PV mode.

    - P-state and C-state power management driver that uploads said power
    management data to the hypervisor. It also inhibits cpufreq
    scaling drivers to load so that only the hypervisor can make power
    management decisions - fixing a weird perf bug.

    There is one thing in the Kconfig that you won't like: "default y
    if (X86_ACPI_CPUFREQ = y || X86_POWERNOW_K8 = y)" (note, that it
    all depends on CONFIG_XEN which depends on CONFIG_PARAVIRT which by
    default is off). I've a fix to convert that boolean expression
    into "default m" which I am going to post after the cpufreq git
    pull - as the two patches to make this work depend on a fix in Dave
    Jones's tree.

    - Function Level Reset (FLR) support in the Xen PCI backend.

    Fixes:

    - Kconfig dependencies for Xen PV keyboard and video
    - Compile warnings and constify fixes
    - Change over to use percpu_xxx instead of this_cpu_xxx"

    Fix up trivial conflicts in drivers/tty/hvc/hvc_xen.c due to changes to
    a removed commit.

    * tag 'stable/for-linus-3.4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    xen kconfig: relax INPUT_XEN_KBDDEV_FRONTEND deps
    xen/acpi-processor: C and P-state driver that uploads said data to hypervisor.
    xen: constify all instances of "struct attribute_group"
    xen/xenbus: ignore console/0
    hvc_xen: introduce HVC_XEN_FRONTEND
    hvc_xen: implement multiconsole support
    hvc_xen: support PV on HVM consoles
    xenbus: don't free other end details too early
    xen/enlighten: Expose MWAIT and MWAIT_LEAF if hypervisor OKs it.
    xen/setup/pm/acpi: Remove the call to boot_option_idle_override.
    xenbus: address compiler warnings
    xen: use this_cpu_xxx replace percpu_xxx funcs
    xen/pciback: Support pci_reset_function, aka FLR or D3 support.
    pci: Introduce __pci_reset_function_locked to be used when holding device_lock.
    xen: Utilize the restore_msi_irqs hook.

    Linus Torvalds
     
  • Pull blackfin updates from Bob Liu

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin: (24 commits)
    blackfin: clean up string bfin_dma_5xx after rename.
    blackfin:dma: rename bfin_dma_5xx.c to bfin_dma.c
    bf548: ssm2602: Add ssm2602 platform data into bf548 ezkit board file.
    Blackfin: s/#if CONFIG/#ifdef CONFIG/
    Blackfin: pnav: delete duplicate linux/export.h include
    bf561: add ppi DLEN macro for 10bits to 16bits
    arch: blackfin: udpate defconfig
    Disintegrate asm/system.h for Blackfin [ver #2]
    arch/blackfin: don't generate random mac in bfin_get_ether_addr()
    Blackfin: wire up new process_vm syscalls
    blackfin: cleanup anomaly workarounds
    blackfin: update default defconfig
    blackfin: thread_info: add suspend flag
    bfin: add bfin_ad73311_machine platform device
    blackfin: bf537: stamp: update board file for 193x
    blackfin: kgdb: skip hardware watchpoint test
    bf548: add ppi interrupt mask and blanking clocks
    blackfin: bf561: forgot CSYNC in get_core_lock_noflush
    spi/bfin_spi: drop bits_per_word from client data
    blackfin: cplb-mpu: fix page mask table overflow
    ...

    Linus Torvalds
     
  • Pull s390 patches from Martin Schwidefsky:
    "The biggest patch is the rework of the smp code, something I wanted to
    do for some time. There are some patches for our various dump methods
    and one new thing: z/VM LGR detection. LGR stands for linux-guest-
    relocation and is the guest migration feature of z/VM. For debugging
    purposes we keep a log of the systems where a specific guest has lived."

    Fix up trivial conflict in arch/s390/kernel/smp.c due to the scheduler
    cleanup having removed some code next to removed s390 code.

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
    [S390] kernel: Pass correct stack for smp_call_ipl_cpu()
    [S390] Ensure that vmcore_info pointer is never accessed directly
    [S390] dasd: prevent validate server for offline devices
    [S390] Remove monolithic build option for zcrypt driver.
    [S390] stack dump: fix indentation in output
    [S390] kernel: Add OS info memory interface
    [S390] Use block_sigmask()
    [S390] kernel: Add z/VM LGR detection
    [S390] irq: external interrupt code passing
    [S390] irq: set __ARCH_IRQ_EXIT_IRQS_DISABLED
    [S390] zfcpdump: Implement async sdias event processing
    [S390] Use copy_to_absolute_zero() instead of "stura/sturg"
    [S390] rework idle code
    [S390] rework smp code
    [S390] rename lowcore field
    [S390] Fix gcc 4.6.0 compile warning

    Linus Torvalds
     
  • The problem occurs on !CONFIG_VM86 kernels [1] when a kernel-mode task
    returns from a system call with a pending signal.

    A real-life scenario is a child of 'khelper' returning from a failed
    kernel_execve() in ____call_usermodehelper() [ kernel/kmod.c ].
    kernel_execve() fails due to a pending SIGKILL, which is the result of
    "kill -9 -1" (at least, busybox's init does it upon reboot).

    The loop is as follows:

    * syscall_exit_work:
    - work_pending: // start_of_the_loop
    - work_notify_sig:
    - do_notify_resume()
    - do_signal()
    - if (!user_mode(regs)) return;
    - resume_userspace // TIF_SIGPENDING is still set
    - work_pending // so we call work_pending => goto
    // start_of_the_loop

    More information can be found in another LKML thread:
    http://www.serverphorums.com/read.php?12,457826

    [1] the problem was also seen on MIPS.

    Signed-off-by: Dmitry Adamushko
    Link: http://lkml.kernel.org/r/1332448765.2299.68.camel@dimm
    Cc: Oleg Nesterov
    Cc: Roland McGrath
    Cc: Andrew Morton
    Cc:
    Signed-off-by: H. Peter Anvin

    Dmitry Adamushko
     
  • Pull drm main changes from Dave Airlie:
    "This is the main drm pull request, I'm probably going to send two more
    smaller ones, will explain below.

    This contains a patch that is also in the fbdev tree, but it should be
    the same patch, it added an API for hot unplugging framebuffer
    devices, and I need that API for a new driver.

    It also contains some changes to the i2c tree which Jean has acked,
    and one change to moorestown platform stuff in x86.

    Highlights:
    - new drivers: UDL driver for USB displaylink devices, kms only,
    should support correct hotplug operations.
    - core: i2c speedups + better hotplug support, EDID overriding via
    firmware interface - allows user to load a firmware for a broken
    monitor/kvm from userspace, it even has documentation for it.
    - exynos: new HDMI audio + hdmi 1.4 + virtual output driver
    - gma500: code cleanup
    - radeon: cleanups, CS optimisations, streamout support and pageflip
    fix
    - nouveau: NVD9 displayport support + more reclocking work
    - i915: re-enabling GMBUS, finish gpu patch (might help hibernation
    who knows), missed irq fixes, stencil tiling fixes, interlaced
    support, aliasesd PPGTT support for SNB/IVB, swizzling for SNB/IVB,
    semaphore fixes

    As well as the usual bunch of cleanups and fixes all over the place.

    I've got two things I'd like to merge a bit later:

    a) AMD support for all their new radeonhd 7000 series GPU and APUs.
    AMD dropped this a bit late due to insane internal review
    processes, (please AMD just follow Intel and let open source guys
    ship stuff early) however I don't want to penalise people who own
    this hardware (since its been on sale for 3-4 months and GPU hw
    doesn't exactly have a lifetime in years) and consign them to
    using closed drivers for longer than necessary. The changes are
    well contained and just plug into the driver new gpu functionality
    so they should be fairly regression proof. I just want to give
    them a bit of a run on the hw AMD kindly sent me.

    b) drm prime/dma-buf interface code. This is just infrastructure
    code to expose the dma-buf stuff to drm drivers and to userspace.
    I'm not planning on pushing any driver support in this cycle
    (except maybe exynos), but I'd like to get the infrastructure code
    in so for the next cycle I can start getting the driver support
    into the individual drivers. We have started driver support for
    i915, nouveau and udl along with I think exynos and omap in
    staging. However this code relies on the dma-buf tree being
    pulled into your tree first since it needs the latest interfaces
    from that tree. I'll push to get that tree sent asap.

    (oh and any warnings you see in i915 are gcc's fault from what anyone
    can see)."

    Fix up trivial conflicts in arch/x86/platform/mrst/mrst.c due to the new
    msic_thermal_platform_data() thermal function being added next to the
    tc35876x_platform_data() i2c device function..

    * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (326 commits)
    drm/i915: use DDC_ADDR instead of hard-coding it
    drm/radeon: use DDC_ADDR instead of hard-coding it
    drm: remove unneeded redefinition of DDC_ADDR
    drm/exynos: added virtual display driver.
    drm: allow loading an EDID as firmware to override broken monitor
    drm/exynos: enable hdmi audio feature
    drm/exynos: add default pixel format for plane
    drm/exynos: cleanup exynos_hdmi.h
    drm/exynos: add is_local member in exynos_drm_subdrv struct
    drm/exynos: add subdrv open/close functions
    drm/exynos: remove module of exynos drm subdrv
    drm/exynos: release pending pageflip events when closed
    drm/exynos: added new funtion to get/put dma address.
    drm/exynos: update gem and buffer framework.
    drm/exynos: added mode_fixup feature and code clean.
    drm/exynos: add HDMI version 1.4 support
    drm/exynos: remove exynos_mixer.h
    gma500: Fix mmap frambuffer
    drm/radeon: Drop radeon_gem_object_(un)pin.
    drm/radeon: Restrict offset for legacy display engine.
    ...

    Linus Torvalds
     
  • Even if the content is always 0, gdb expects us to return also ds,
    es, fs, and gs while in x86-64 mode. Do this to avoid ugly errors on
    "info registers".

    [jason.wessel@windriver.com: adjust NUMREGBYTES for two new regs]
    Signed-off-by: Jan Kiszka
    Signed-off-by: Jason Wessel

    Jan Kiszka
     
  • Pull updates of sound stuff from Takashi Iwai:
    "Here is the first big update chunk of sound stuff for 3.4-rc1.

    In the common sound infrastructure, there are a few changes for
    dynamic PCM support (used in ASoC) and a few clean-ups. Majority of
    changes are found, as usual, in HD-audio and ASoC.

    Some highlights of HD-audio changes:

    - All the long-standing static quirk codes for Realtek codec were
    finally removed by fixing and extending the Realtek auto-parser.

    - The mute-LED control is standardized over all HD-audio codec
    drivers using the extended vmaster hook.

    - The vmaster slave mixer elements are initialized to 0dB as default
    so that the user won't be annoyed by the silent output after
    updates, e.g. due to the additions of new elements.

    - Other many fix-ups for the misc HD-audio devices.

    In the ASoC side, this is a very active release, including a quite a
    few framework enhancements. Some highlights:

    - Support for widgets not associated with a CODEC, an important part
    of the dynamic PCM framework.

    - A library factoring out the common code shared by dmaengine based
    DMA drivers contributed by Lars-Peter Clausen. This will save a
    lot of code and make it much easier to deploy enhancements to
    dmaengine.

    - Support for binary controls, used for providing runtime
    configuration of algorithm coefficients.

    - A new DAPM widget type for regulator supplies allowing drivers for
    devices that can power down unused supplies while active to do
    without any per-driver code.

    - DAPM widgets for DAIs, initially giving a speed boost for playback
    startup and shutdown and also the basis for CODECCODEC DAI link
    support.

    - Support for specifying the number of significant bits on audio
    interfaces, useful for allowing applications to know how much
    effort to put into generating data for a larger sample format.

    - Conversion of the FSI driver used on some SH processors to
    DMAEngine.

    - Conversion of EP93xx drivers to DMAEngine.

    - New CODEC drivers for Maxim MAX9768 and Wolfson Microelectronics
    WM2200.

    - Move audmux driver from arc/arm to sound/soc

    - McBSP move from arch/ to sound/ and updates

    Also, a few small updates and fixes for other drivers like au88x0,
    ymfpci, USB 6fire, USB usx2yaudio are included."

    * tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (446 commits)
    ASoC: wm8994: Provide VMID mode control and fix default sequence
    ASoC: wm8994: Add missing break in resume
    ASoC: wm_hubs: Don't actively manage LINEOUT_VMID_BUF
    ASoC: pxa-ssp: atomically set stream active masks
    ASoC: fsl: p1022ds: tell the WM8776 codec driver that it's the master
    ASoC: Samsung: Added to support mono recording
    ALSA: hda - Fix build with CONFIG_PM=n
    ALSA: au88x0 - Avoid possible Oops at unbinding
    ALSA: usb-audio - Fix build error by consitification of rate list
    ASoC: core: Fix obscure leak of runtime array
    ALSA: pcm - Avoid GFP_ATOMIC in snd_pcm_link()
    ALSA: pcm: Constify the list in snd_pcm_hw_constraint_list
    ASoC: wm8996: Add 44.1kHz support
    ALSA: hda - Fix build of patch_sigmatel.c without CONFIG_SND_HDA_POWER_SAVE
    ASoC: mx27vis-aic32x4: Convert it to platform driver
    ALSA: hda - fix printing of high HDMI sample rates
    ALSA: ymfpci - Fix legacy registers on S3/S4 resume
    ALSA: control - Fixe a trailing white space error
    ALSA: hda - Add expose_enum_ctl flag to snd_hda_add_vmaster_hook()
    ALSA: hda - Add "Mute-LED Mode" enum control
    ...

    Linus Torvalds
     
  • This is a partial revert of commit:
    d40f833 "Restrict CFLAGS for hostprogs"

    The endian-manipulation macros in tools/include need ,
    but the hostprogs in arch/x86/boot need several headers from the
    kernel build tree, which means we have to add the kernel headers to
    the include path. This picks up from the kernel tree,
    which gives a warning.

    Since this use of is intentional, add
    -D__EXPORTED_HEADERS__ to the command line to silence the warning.

    A better way to fix this would be to always install the exported
    kernel headers into $(objtree)/usr/include as a standard part of the
    kernel build, but that is a lot more involved.

    Reported-by: Linus Torvalds
    Acked-by: Matt Fleming
    Link: http://lkml.kernel.org/r/1330436245-24875-5-git-send-email-matt@console-pimps.org
    Signed-off-by: H. Peter Anvin

    H. Peter Anvin
     
  • Syscall 282 was mistakenly named mq_getsetaddr instead of mq_getsetattr.
    When building uClibc against the Linux kernel this would result in a
    shared library that doesn't provide the mq_getattr() and mq_setattr()
    functions.

    Signed-off-by: Thierry Reding
    Link: http://lkml.kernel.org/r/1332366608-2695-2-git-send-email-thierry.reding@avionic-design.de
    Cc: v3.3
    Signed-off-by: H. Peter Anvin

    Thierry Reding