21 Dec, 2012

2 commits

  • Remove the documentation for capability.disable. The code supporting
    this parameter was removed with commit 5915eb53861c ("security: remove
    dummy module")

    Signed-off-by: Josh Boyer
    Acked-by: Serge Hallyn
    Cc: Rob Landley
    Cc: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Josh Boyer
     
  • Pull IOMMU updates from Joerg Roedel:
    "A few new features this merge-window. The most important one is
    probably, that dma-debug now warns if a dma-handle is not checked with
    dma_mapping_error by the device driver. This requires minor changes
    to some architectures which make use of dma-debug. Most of these
    changes have the respective Acks by the Arch-Maintainers.

    Besides that there are updates to the AMD IOMMU driver for refactor
    the IOMMU-Groups support and to make sure it does not trigger a
    hardware erratum.

    The OMAP changes (for which I pulled in a branch from Tony Lindgren's
    tree) have a conflict in linux-next with the arm-soc tree. The
    conflict is in the file arch/arm/mach-omap2/clock44xx_data.c which is
    deleted in the arm-soc tree. It is safe to delete the file too so
    solve the conflict. Similar changes are done in the arm-soc tree in
    the common clock framework migration. A missing hunk from the patch
    in the IOMMU tree will be submitted as a seperate patch when the
    merge-window is closed."

    * tag 'iommu-updates-v3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (29 commits)
    ARM: dma-mapping: support debug_dma_mapping_error
    ARM: OMAP4: hwmod data: ipu and dsp to use parent clocks instead of leaf clocks
    iommu/omap: Adapt to runtime pm
    iommu/omap: Migrate to hwmod framework
    iommu/omap: Keep mmu enabled when requested
    iommu/omap: Remove redundant clock handling on ISR
    iommu/amd: Remove obsolete comment
    iommu/amd: Don't use 512GB pages
    iommu/tegra: smmu: Move bus_set_iommu after probe for multi arch
    iommu/tegra: gart: Move bus_set_iommu after probe for multi arch
    iommu/tegra: smmu: Remove unnecessary PTC/TLB flush all
    tile: dma_debug: add debug_dma_mapping_error support
    sh: dma_debug: add debug_dma_mapping_error support
    powerpc: dma_debug: add debug_dma_mapping_error support
    mips: dma_debug: add debug_dma_mapping_error support
    microblaze: dma-mapping: support debug_dma_mapping_error
    ia64: dma_debug: add debug_dma_mapping_error support
    c6x: dma_debug: add debug_dma_mapping_error support
    ARM64: dma_debug: add debug_dma_mapping_error support
    intel-iommu: Prevent devices with RMRRs from being placed into SI Domain
    ...

    Linus Torvalds
     

20 Dec, 2012

8 commits

  • Pull hwmon subsystem update from Jean Delvare:
    "There are many improvements to the it87 driver, as well as suspend
    support for the Winbond Super-I/O chips, and a few other fixes."

    * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    hwmon-vid: Add support for AMD family 11h to 15h processors
    hwmon: (it87) Support PECI for additional chips
    hwmon: (it87) Report thermal sensor type as Intel PECI if appropriate
    hwmon: (it87) Manage device specific features with table
    hwmon: (it87) Replace pwm group macro with direct attribute definitions
    hwmon: (it87) Avoid quoted string splits across lines
    hwmon: (it87) Save fan registers in 2-dimensional array
    hwmon: (it87) Introduce support for tempX_offset sysfs attribute
    hwmon: (it87) Replace macro defining tempX_type sensors with direct definitions
    hwmon: (it87) Save voltage register values in 2-dimensional array
    hwmon: (it87) Save temperature registers in 2-dimensional array
    hwmon: (w83627ehf) Get rid of smatch warnings
    hwmon: (w83627hf) Don't touch nonexistent I2C address registers
    hwmon: (w83627ehf) Add support for suspend
    hwmon: (w83627hf) Add support for suspend
    hwmon: Fix PCI device reference leak in quirk

    Linus Torvalds
     
  • Linus Torvalds
     
  • IT8721 and IT8728 support Intel PECI temperature reporting. Each sensor
    can be programmed to display the temperature reported on the PECI interface.

    If configured for Intel PECI, the driver reported the wrong sensor type for
    the respective thermal sensor. Fix the code to correctly report it as
    "Intel PECI (6)".

    Signed-off-by: Guenter Roeck
    Signed-off-by: Jean Delvare

    Guenter Roeck
     
  • Signed-off-by: Guenter Roeck
    Signed-off-by: Jean Delvare

    Guenter Roeck
     
  • Pull Xtensa patchset from Chris Zankel:
    "This contains support of device trees, many fixes, and code clean-ups"

    * tag 'xtensa-20121218' of git://github.com/czankel/xtensa-linux: (33 commits)
    xtensa: don't try to build DTB when OF is disabled
    xtensa: set the correct ethernet address for xtfpga
    xtensa: clean up files to make them code-style compliant
    xtensa: provide endianness macro for sparse
    xtensa: fix RASID SR initialization
    xtensa: initialize CPENABLE SR when core has one
    xtensa: reset all timers on initialization
    Use for_each_compatible_node() macro.
    xtensa: add XTFPGA DTS
    xtensa: add support for the XTFPGA boards
    xtensa: add device trees support
    xtensa: add IRQ domains support
    xtensa: add U-Boot image support (uImage).
    xtensa: clean up boot make rules
    xtensa: fix mb and wmb definitions
    xtensa: add s32c1i-based spinlock implementations
    xtensa: add s32c1i-based bitops implementations
    xtensa: add s32c1i-based atomic ops implementations
    xtensa: add s32c1i sanity check
    xtensa: add trap_set_handler function
    ...

    Linus Torvalds
     
  • Pull small x86 fixes from Peter Anvin:
    "A collection of very small fixes, mostly pure documentation."

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86, doc: Document that bootloader ID 4 is used also by iPXE
    x86, doc: Add a formal bootloader ID for kexec-tools
    x86, 8042: Enable A20 using KBC to fix S3 resume on some MSI laptops

    Linus Torvalds
     
  • Pull MTD updates from David Woodhouse:
    - Various cleanups especially in NAND tests
    - Add support for NAND flash on BCMA bus
    - DT support for sh_flctl and denali NAND drivers
    - Kill obsolete/superceded drivers (fortunet, nomadik_nand)
    - Fix JFFS2 locking bug in ENOMEM failure path
    - New SPI flash chips, as usual
    - Support writing in 'reliable mode' for DiskOnChip G4
    - Debugfs support in nandsim

    * tag 'for-linus-20121219' of git://git.infradead.org/linux-mtd: (96 commits)
    mtd: nand: typo in nand_id_has_period() comments
    mtd: nand/gpio: use io{read,write}*_rep accessors
    mtd: block2mtd: throttle writes by calling balance_dirty_pages_ratelimited.
    mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems
    mtd: nand/docg4: fix and improve read of factory bbt
    mtd: nand/docg4: reserve bb marker area in ecclayout
    mtd: nand/docg4: add support for writing in reliable mode
    mtd: mxc_nand: reorder part_probes to let cmdline override other sources
    mtd: mxc_nand: fix unbalanced clk_disable() in error path
    mtd: nandsim: Introduce debugfs infrastructure
    mtd: physmap_of: error checking to prevent a NULL pointer dereference
    mtg: docg3: potential divide by zero in doc_write_oob()
    mtd: bcm47xxnflash: writing support
    mtd: tests/read: initialize buffer for whole next page
    mtd: at91: atmel_nand: return bit flips for the PMECC read_page()
    mtd: fix recovery after failed write-buffer operation in cfi_cmdset_0002.c
    mtd: nand: onfi need to be probed in 8 bits mode
    mtd: nand: add NAND_BUSWIDTH_AUTO to autodetect bus width
    mtd: nand: print flash size during detection
    mted: nand_wait_ready timeout fix
    ...

    Linus Torvalds
     
  • Pull pwm changes from Thierry Reding:
    "A new driver has been added for the SPEAr platform and the
    TWL4030/6030 driver has been replaced by two drivers that control the
    regular PWMs and the PWM driven LEDs provided by the chips.

    The vt8500, tiecap, tiehrpwm, i.MX, LPC32xx and Samsung drivers have
    all been improved and the device tree bindings now support the PWM
    signal polarity."

    Fix up trivial conflicts due to __devinit/exit removal.

    * tag 'for-3.8-rc1' of git://gitorious.org/linux-pwm/linux-pwm: (21 commits)
    pwm: samsung: add missing s3c->pwm_id assignment
    pwm: lpc32xx: Set the chip base for dynamic allocation
    pwm: lpc32xx: Properly disable the clock on device removal
    pwm: lpc32xx: Fix the PWM polarity
    pwm: i.MX: eliminate build warning
    pwm: Export of_pwm_xlate_with_flags()
    pwm: Remove pwm-twl6030 driver
    pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs
    pwm: New driver to support PWMs on TWL4030/6030 series of PMICs
    pwm: pwm-tiehrpwm: pinctrl support
    pwm: tiehrpwm: Add device-tree binding
    pwm: pwm-tiehrpwm: Adding TBCLK gating support.
    pwm: pwm-tiecap: pinctrl support
    pwm: tiecap: Add device-tree binding
    pwm: Add TI PWM subsystem driver
    pwm: Device tree support for PWM polarity
    pwm: vt8500: Ensure PWM clock is enabled during pwm_config
    pwm: vt8500: Fix build error
    pwm: spear: Staticize spear_pwm_config()
    pwm: Add SPEAr PWM chip driver support
    ...

    Linus Torvalds
     

19 Dec, 2012

11 commits

  • Pull module update from Rusty Russell:
    "Nothing all that exciting; a new module-from-fd syscall for those who
    want to verify the source of the module (ChromeOS) and/or use standard
    IMA on it or other security hooks."

    * tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
    MODSIGN: Fix kbuild output when using default extra_certificates
    MODSIGN: Avoid using .incbin in C source
    modules: don't hand 0 to vmalloc.
    module: Remove a extra null character at the top of module->strtab.
    ASN.1: Use the ASN1_LONG_TAG and ASN1_INDEFINITE_LENGTH constants
    ASN.1: Define indefinite length marker constant
    moduleparam: use __UNIQUE_ID()
    __UNIQUE_ID()
    MODSIGN: Add modules_sign make target
    powerpc: add finit_module syscall.
    ima: support new kernel module syscall
    add finit_module syscall to asm-generic
    ARM: add finit_module syscall to ARM
    security: introduce kernel_module_from_file hook
    module: add flags arg to sys_finit_module()
    module: add syscall to load module from fd

    Linus Torvalds
     
  • Fix name of slink binding and address of sflash example to make it
    self consistent.

    Signed-off-by: Allen Martin
    Signed-off-by: Grant Likely

    Allen Martin
     
  • In order to use S32C1I instruction on cores with ATOMCTL SR the register
    must be properly initialized.

    Signed-off-by: Max Filippov
    Signed-off-by: Chris Zankel

    Max Filippov
     
  • Pull i2c-embedded changes from Wolfram Sang:
    - CBUS driver (an I2C variant)
    - continued rework of the omap driver
    - s3c2410 gets lots of fixes and gains pinctrl support
    - at91 gains DMA support
    - the GPIO muxer gains devicetree probing
    - typical fixes and additions all over

    * 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux: (45 commits)
    i2c: omap: Remove the OMAP_I2C_FLAG_RESET_REGS_POSTIDLE flag
    i2c: at91: add dma support
    i2c: at91: change struct members indentation
    i2c: at91: fix compilation warning
    i2c: mxs: Do not disable the I2C SMBus quick mode
    i2c: mxs: Handle i2c DMA failure properly
    i2c: s3c2410: Remove recently introduced performance overheads
    i2c: ocores: Move grlib set/get functions into #ifdef CONFIG_OF block
    i2c: s3c2410: Add fix for i2c suspend/resume
    i2c: s3c2410: Fix code to free gpios
    i2c: i2c-cbus-gpio: introduce driver
    i2c: ocores: Add support for the GRLIB port of the controller and use function pointers for getreg and setreg functions
    i2c: ocores: Add irq support for sparc
    i2c: omap: Move the remove constraint
    ARM: dts: cfa10049: Add the i2c muxer buses to the CFA-10049
    i2c: s3c2410: do not special case HDMIPHY stuck bus detection
    i2c: s3c2410: use exponential back off while polling for bus idle
    i2c: s3c2410: do not generate STOP for QUIRK_HDMIPHY
    i2c: s3c2410: grab adapter lock while changing i2c clock
    i2c: s3c2410: Add support for pinctrl
    ...

    Linus Torvalds
     
  • Merge patches from Andrew Morton:
    "Most of the rest of MM, plus a few dribs and drabs.

    I still have quite a few irritating patches left around: ones with
    dubious testing results, lack of review, ones which should have gone
    via maintainer trees but the maintainers are slack, etc.

    I need to be more activist in getting these things wrapped up outside
    the merge window, but they're such a PITA."

    * emailed patches from Andrew Morton : (48 commits)
    mm/vmscan.c: avoid possible deadlock caused by too_many_isolated()
    vmscan: comment too_many_isolated()
    mm/kmemleak.c: remove obsolete simple_strtoul
    mm/memory_hotplug.c: improve comments
    mm/hugetlb: create hugetlb cgroup file in hugetlb_init
    mm/mprotect.c: coding-style cleanups
    Documentation: ABI: /sys/devices/system/node/
    slub: drop mutex before deleting sysfs entry
    memcg: add comments clarifying aspects of cache attribute propagation
    kmem: add slab-specific documentation about the kmem controller
    slub: slub-specific propagation changes
    slab: propagate tunable values
    memcg: aggregate memcg cache values in slabinfo
    memcg/sl[au]b: shrink dead caches
    memcg/sl[au]b: track all the memcg children of a kmem_cache
    memcg: destroy memcg caches
    sl[au]b: allocate objects from memcg cache
    sl[au]b: always get the cache from its page in kmem_cache_free()
    memcg: skip memcg kmem allocations in specified code regions
    memcg: infrastructure to match an allocation to the right cache
    ...

    Linus Torvalds
     
  • Describe NUMA node sysfs files/attributes.

    Note that for the specific dates and contacts I couldn't find,
    I left it as default for Oct 2002 and linux-mm.

    Signed-off-by: Davidlohr Bueso
    Cc: Greg Kroah-Hartman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Davidlohr Bueso
     
  • Signed-off-by: Glauber Costa
    Cc: Christoph Lameter
    Cc: David Rientjes
    Cc: Frederic Weisbecker
    Cc: Greg Thelen
    Cc: Johannes Weiner
    Cc: JoonSoo Kim
    Cc: KAMEZAWA Hiroyuki
    Cc: Mel Gorman
    Cc: Michal Hocko
    Cc: Pekka Enberg
    Cc: Rik van Riel
    Cc: Suleiman Souhlal
    Cc: Tejun Heo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Glauber Costa
     
  • Signed-off-by: Glauber Costa
    Acked-by: Kamezawa Hiroyuki
    Acked-by: Michal Hocko
    Cc: Christoph Lameter
    Cc: David Rientjes
    Cc: Frederic Weisbecker
    Cc: Greg Thelen
    Cc: Johannes Weiner
    Cc: JoonSoo Kim
    Cc: Mel Gorman
    Cc: Pekka Enberg
    Cc: Rik van Riel
    Cc: Suleiman Souhlal
    Cc: Tejun Heo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Glauber Costa
     
  • It is useful to know how many charges are still left after a call to
    res_counter_uncharge. While it is possible to issue a res_counter_read
    after uncharge, this can be racy.

    If we need, for instance, to take some action when the counters drop down
    to 0, only one of the callers should see it. This is the same semantics
    as the atomic variables in the kernel.

    Since the current return value is void, we don't need to worry about
    anything breaking due to this change: nobody relied on that, and only
    users appearing from now on will be checking this value.

    Signed-off-by: Glauber Costa
    Reviewed-by: Michal Hocko
    Acked-by: Kamezawa Hiroyuki
    Acked-by: David Rientjes
    Cc: Johannes Weiner
    Cc: Suleiman Souhlal
    Cc: Tejun Heo
    Cc: Christoph Lameter
    Cc: Frederic Weisbecker
    Cc: Greg Thelen
    Cc: JoonSoo Kim
    Cc: Mel Gorman
    Cc: Pekka Enberg
    Cc: Rik van Riel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Glauber Costa
     
  • Pull second round of input updates from Dmitry Torokhov:
    "As usual, there are a couple of new drivers, input core now supports
    managed input devices (devres), a slew of drivers now have device tree
    support and a bunch of fixes and cleanups."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (71 commits)
    Input: walkera0701 - fix crash on startup
    Input: matrix-keymap - provide a proper module license
    Input: gpio_keys_polled - switch to using gpio_request_one()
    Input: gpio_keys - switch to using gpio_request_one()
    Input: wacom - fix touch support for Bamboo Fun CTH-461
    Input: xpad - add a few new VID/PID combinations
    Input: xpad - minor formatting fixes
    Input: gpio-keys-polled - honor 'autorepeat' setting in platform data
    Input: tca8418-keypad - switch to using managed resources
    Input: tca8418_keypad - increase severity of failures in probe()
    Input: tca8418_keypad - move device ID tables closer to where they are used
    Input: tca8418_keypad - use dev_get_platdata() to retrieve platform data
    Input: tca8418_keypad - use a temporary variable for parent device
    Input: tca8418_keypad - add support for shared interrupt
    Input: tca8418_keypad - add support for device tree bindings
    Input: remove Compaq iPAQ H3600 (Bitsy) touchscreen driver
    Input: bu21013_ts - add support for Device Tree booting
    Input: bu21013_ts - move GPIO init and exit functions into the driver
    Input: bu21013_ts - request regulator that actually exists
    ARM: ux500: Strip out duplicate touch screen platform information
    ...

    Linus Torvalds
     
  • Pull powerpc update from Benjamin Herrenschmidt:
    "The main highlight is probably some base POWER8 support. There's more
    to come such as transactional memory support but that will wait for
    the next one.

    Overall it's pretty quiet, or rather I've been pretty poor at picking
    things up from patchwork and reviewing them this time around and Kumar
    no better on the FSL side it seems..."

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (73 commits)
    powerpc+of: Rename and fix OF reconfig notifier error inject module
    powerpc: mpc5200: Add a3m071 board support
    powerpc/512x: don't compile any platform DIU code if the DIU is not enabled
    powerpc/mpc52xx: use module_platform_driver macro
    powerpc+of: Export of_reconfig_notifier_[register,unregister]
    powerpc/dma/raidengine: add raidengine device
    powerpc/iommu/fsl: Add PAMU bypass enable register to ccsr_guts struct
    powerpc/mpc85xx: Change spin table to cached memory
    powerpc/fsl-pci: Add PCI controller ATMU PM support
    powerpc/86xx: fsl_pcibios_fixup_bus requires CONFIG_PCI
    drivers/virt: the Freescale hypervisor driver doesn't need to check MSR[GS]
    powerpc/85xx: p1022ds: Use NULL instead of 0 for pointers
    powerpc: Disable relocation on exceptions when kexecing
    powerpc: Enable relocation on during exceptions at boot
    powerpc: Move get_longbusy_msecs into hvcall.h and remove duplicate function
    powerpc: Add wrappers to enable/disable relocation on exceptions
    powerpc: Add set_mode hcall
    powerpc: Setup relocation on exceptions for bare metal systems
    powerpc: Move initial mfspr LPCR out of __init_LPCR
    powerpc: Add relocation on exception vector handlers
    ...

    Linus Torvalds
     

18 Dec, 2012

17 commits

  • Signed-off-by: Cyrill Gorcunov
    Cc: Pavel Emelyanov
    Cc: Oleg Nesterov
    Cc: Andrey Vagin
    Cc: Al Viro
    Cc: Alexey Dobriyan
    Cc: James Bottomley
    Cc: "Aneesh Kumar K.V"
    Cc: Alexey Dobriyan
    Cc: Matthew Helsley
    Cc: "J. Bruce Fields"
    Cc: "Aneesh Kumar K.V"
    Cc: Tvrtko Ursulin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cyrill Gorcunov
     
  • [akpm@linux-foundation.org: tweak documentation]
    Signed-off-by: Cyrill Gorcunov
    Cc: Pavel Emelyanov
    Cc: Oleg Nesterov
    Cc: Andrey Vagin
    Cc: Al Viro
    Cc: Alexey Dobriyan
    Cc: James Bottomley
    Cc: "Aneesh Kumar K.V"
    Cc: Alexey Dobriyan
    Cc: Matthew Helsley
    Cc: "J. Bruce Fields"
    Cc: "Aneesh Kumar K.V"
    Cc: Tvrtko Ursulin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cyrill Gorcunov
     
  • With this change, the aoe driver treats the value zero as special for
    the aoe_deadsecs module parameter. Normally, this value specifies the
    number of seconds during which the driver will continue to attempt
    retransmits to an unresponsive AoE target. After aoe_deadsecs has
    elapsed, the aoe driver marks the aoe device as "down" and fails all
    I/O.

    The new meaning of an aoe_deadsecs of zero is for the driver to
    retransmit commands indefinitely.

    Signed-off-by: Ed Cashin
    Cc: Jens Axboe
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ed Cashin
     
  • The context feature of sparse is used with the Linux kernel sources to
    check for imbalanced uses of locks. Document the annotations defined in
    include/linux/compiler.h that tell sparse what to expect when a lock is
    held on function entry, exit, or both.

    Signed-off-by: Ed Cashin
    Reviewed-by: Josh Triplett
    Acked-by: Christopher Li
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ed Cashin
     
  • It is currently impossible to examine the state of seccomp for a given
    process. While attaching with gdb and attempting "call
    prctl(PR_GET_SECCOMP,...)" will work with some situations, it is not
    reliable. If the process is in seccomp mode 1, this query will kill the
    process (prctl not allowed), if the process is in mode 2 with prctl not
    allowed, it will similarly be killed, and in weird cases, if prctl is
    filtered to return errno 0, it can look like seccomp is disabled.

    When reviewing the state of running processes, there should be a way to
    externally examine the seccomp mode. ("Did this build of Chrome end up
    using seccomp?" "Did my distro ship ssh with seccomp enabled?")

    This adds the "Seccomp" line to /proc/$pid/status.

    Signed-off-by: Kees Cook
    Reviewed-by: Cyrill Gorcunov
    Cc: Andrea Arcangeli
    Cc: James Morris
    Acked-by: Serge E. Hallyn
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kees Cook
     
  • During c/r sessions we've found that there is no way at the moment to
    fetch some VMA associated flags, such as mlock() and madvise().

    This leads us to a problem -- we don't know if we should call for mlock()
    and/or madvise() after restore on the vma area we're bringing back to
    life.

    This patch intorduces a new field into "smaps" output called VmFlags,
    where all set flags associated with the particular VMA is shown as two
    letter mnemonics.

    [ Strictly speaking for c/r we only need mlock/madvise bits but it has been
    said that providing just a few flags looks somehow inconsistent. So all
    flags are here now. ]

    This feature is made available on CONFIG_CHECKPOINT_RESTORE=n kernels, as
    other applications may start to use these fields.

    The data is encoded in a somewhat awkward two letters mnemonic form, to
    encourage userspace to be prepared for fields being added or removed in
    the future.

    [a.p.zijlstra@chello.nl: props to use for_each_set_bit]
    [sfr@canb.auug.org.au: props to use array instead of struct]
    [akpm@linux-foundation.org: overall redesign and simplification]
    [akpm@linux-foundation.org: remove unneeded braces per sfr, avoid using bloaty for_each_set_bit()]
    Signed-off-by: Cyrill Gorcunov
    Cc: Pavel Emelyanov
    Cc: Peter Zijlstra
    Cc: Stephen Rothwell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cyrill Gorcunov
     
  • As Bruce Fields pointed out, kstrto* is currently lacking kerneldoc
    comments. This patch adds kerneldoc comments to common variants of
    kstrto*: kstrto(u)l, kstrto(u)ll and kstrto(u)int.

    Signed-off-by: Eldad Zack
    Cc: J. Bruce Fields
    Cc: Joe Perches
    Cc: Randy Dunlap
    Cc: Alexey Dobriyan
    Cc: Rob Landley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eldad Zack
     
  • keys-ecryptfs.txt was missing from 00-INDEX.

    Signed-off-by: Jarkko Sakkinen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jarkko Sakkinen
     
  • So far FAT either offsets time stamps by sys_tz.minuteswest or leaves them
    as they are (when tz=UTC mount option is used). However in some cases it
    is useful if one can specify time stamp offset on his own (e.g. when time
    zone of the camera connected is different from time zone of the computer,
    or when HW clock is in UTC and thus sys_tz.minuteswest == 0).

    So provide a mount option time_offset= which allows user to specify offset
    in minutes that should be applied to time stamps on the filesystem.

    akpm: this code would work incorrectly when used via `mount -o remount',
    because cached inodes would not be updated. But fatfs's fat_remount() is
    basically a no-op anyway.

    Signed-off-by: Jan Kara
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Kara
     
  • Add device tree support to the rtc-imxdi driver.

    Signed-off-by: Roland Stigge
    Cc: Alessandro Zummo
    Cc: Grant Likely
    Cc: Sascha Hauer
    Cc: Russell King
    Cc: Shawn Guo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Roland Stigge
     
  • Enhance rtc-omap driver with DT capability

    Signed-off-by: Afzal Mohammed
    Acked-by: Sekhar Nori
    Cc: Grant Likely
    Cc: Sekhar Nori
    Cc: Kevin Hilman
    Cc: Russell King
    Cc: Alessandro Zummo
    Cc: Daniel Mack
    Cc: Vaibhav Hiremath
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Afzal Mohammed
     
  • The LP855x family devices support the PWM input for the backlight control.
    Period of the PWM is configurable in the platform side. Platform
    specific functions are unnecessary anymore because generic PWM functions
    are used inside the driver.

    (PWM input mode)
    To set the brightness, new lp855x_pwm_ctrl() is used.
    If a PWM device is not allocated, devm_pwm_get() is called.
    The PWM consumer name is from the chip name such as 'lp8550' and 'lp8556'.
    To get the brightness value, no additional handling is required.
    Just the value of 'props.brightness' is returned.

    If the PWM driver is not ready while initializing the LP855x driver, it's
    OK. The PWM device can be retrieved later, when the brightness value is
    changed.

    Documentation is updated with an example.

    [akpm@linux-foundation.org: coding-style simplification, per Thierry]
    Signed-off-by: Milo(Woogyom) Kim
    Cc: Thierry Reding
    Cc: Richard Purdie
    Cc: Bryan Wu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kim, Milo
     
  • In commit 9c0ece069b32 ("Get rid of Documentation/feature-removal.txt"),
    Linus removed feature-removal-schedule.txt from Documentation, but there
    is still some reference to this file. So remove them.

    Signed-off-by: Tao Ma
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tao Ma
     
  • Current mem= implementation seems buggy because the specification and
    implementation don't match. The current mem= has been working for many
    years and it's not buggy - it works as expected. So we should update the
    specification.

    Signed-off-by: Wen Congyang
    Cc: Rob Landley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Wen Congyang
     
  • Brings some 52xx updates. Also manually merged tools/perf/perf.h.

    Signed-off-by: Benjamin Herrenschmidt

    Benjamin Herrenschmidt
     
  • Use the newly introduce cs-gpios dt support on atmel.
    We do not use the hardware cs as it's wired and has bugs and limitations.
    As the controller believes that only active-low devices/systems exists.

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Acked-by: Nicolas Ferre
    Signed-off-by: Grant Likely

    Jean-Christophe PLAGNIOL-VILLARD
     
  • Pull DRM updates from Dave Airlie:
    "This is the one and only next pull for 3.8, we had a regression we
    found last week, so I was waiting for that to resolve itself, and I
    ended up with some Intel fixes on top as well.

    Highlights:
    - new driver: nvidia tegra 20/30/hdmi support
    - radeon: add support for previously unused DMA engines, more HDMI
    regs, eviction speeds ups and fixes
    - i915: HSW support enable, agp removal on GEN6, seqno wrapping
    - exynos: IPP subsystem support (image post proc), HDMI
    - nouveau: display class reworking, nv20->40 z compression
    - ttm: start of locking fixes, rcu usage for lookups,
    - core: documentation updates, docbook integration, monotonic clock
    usage, move from connector to object properties"

    * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (590 commits)
    drm/exynos: add gsc ipp driver
    drm/exynos: add rotator ipp driver
    drm/exynos: add fimc ipp driver
    drm/exynos: add iommu support for ipp
    drm/exynos: add ipp subsystem
    drm/exynos: support device tree for fimd
    radeon: fix regression with eviction since evict caching changes
    drm/radeon: add more pedantic checks in the CP DMA checker
    drm/radeon: bump version for CS ioctl support for async DMA
    drm/radeon: enable the async DMA rings in the CS ioctl
    drm/radeon: add VM CS parser support for async DMA on cayman/TN/SI
    drm/radeon/kms: add evergreen/cayman CS parser for async DMA (v2)
    drm/radeon/kms: add 6xx/7xx CS parser for async DMA (v2)
    drm/radeon: fix htile buffer size computation for command stream checker
    drm/radeon: fix fence locking in the pageflip callback
    drm/radeon: make indirect register access concurrency-safe
    drm/radeon: add W|RREG32_IDX for MM_INDEX|DATA based mmio accesss
    drm/exynos: support extended screen coordinate of fimd
    drm/exynos: fix x, y coordinates for right bottom pixel
    drm/exynos: fix fb offset calculation for plane
    ...

    Linus Torvalds
     

17 Dec, 2012

2 commits

  • Pull MFS update from Samuel Ortiz:
    "This is the MFD patch set for the 3.8 merge window.

    We have several new drivers, most of the time coming with their sub
    devices drivers:

    - Austria Microsystem's AS3711
    - Nano River's viperboard
    - TI's TPS80031, AM335x TS/ADC,
    - Realtek's MMC/memstick card reader
    - Nokia's retu

    We also got some notable cleanups and improvements:

    - tps6586x got converted to IRQ domains.
    - tps65910 and tps65090 moved to the regmap IRQ API.
    - STMPE is now Device Tree aware.
    - A general twl6040 and twl-core cleanup, with moves to the regmap
    I/O and IRQ APIs and a conversion to the recently added PWM
    framework.
    - sta2x11 gained regmap support.

    Then the rest is mostly tiny cleanups and fixes, among which we have
    Mark's wm5xxx and wm8xxx patchset."

    Far amount of annoying but largely trivial conflicts. Many due to
    __devinit/exit removal, others due to one or two of the new drivers also
    having come in through another tree.

    * tag 'mfd-3.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (119 commits)
    mfd: tps6507x: Convert to devm_kzalloc
    mfd: stmpe: Update DT support for stmpe driver
    mfd: wm5102: Add readback of DSP status 3 register
    mfd: arizona: Log if we fail to create the primary IRQ domain
    mfd: tps80031: MFD_TPS80031 needs to select REGMAP_IRQ
    mfd: tps80031: Add terminating entry for tps80031_id_table
    mfd: sta2x11: Fix potential NULL pointer dereference in __sta2x11_mfd_mask()
    mfd: wm5102: Add tuning for revision B
    mfd: arizona: Defer patch initialistation until after first device boot
    mfd: tps65910: Fix wrong ack_base register
    mfd: tps65910: Remove unused data
    mfd: stmpe: Get rid of irq_invert_polarity
    mfd: ab8500-core: Fix invalid free of devm_ allocated data
    mfd: wm5102: Mark DSP memory regions as volatile
    mfd: wm5102: Correct default for LDO1_CONTROL_2
    mfd: arizona: Register haptics devices
    mfd: wm8994: Make current device behaviour the default
    mfd: tps65090: MFD_TPS65090 needs to select REGMAP_IRQ
    mfd: Fix stmpe.c build when OF is not enabled
    mfd: jz4740-adc: Use devm_kzalloc
    ...

    Linus Torvalds
     
  • Pull i2c update from Jean Delvare:
    "This is my last pull request for the i2c subsystem. It includes all
    the patches I collected between kernel v3.7-rc1 and me passing i2c
    maintenance duties over to Wolfram.

    Future patches to the many i2c bus drivers I still maintain will go
    through Wolfram's tree."

    * 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    i2c: Mention functionality flags in SMBus protocol documentation
    i2c-piix4: Convert dev_printk(KERN_ to dev_(
    i2c-i801: Enable interrupts for all post-ICH5 chips
    i2c-i801: Add device tree support
    MAINTAINERS: Fix drivers/i2c/busses/i2c-stub.c

    Linus Torvalds