23 May, 2012

2 commits

  • Pull device tree conversions for arm-soc, part 1, from Olof Johansson:
    "The spear3xx, lpc32xx, shmobile and mmp platforms are joining the game
    of booting using device trees, which is a great step forward for them.
    at91 and spear have pretty much completed this process with a huge
    amount of work being put into at91. The other platforms are
    continuing the process.

    We finally start to see the payback on this investment, as new
    machines are getting supported purely by adding a .dts source file
    that can be completely independent of the kernel source."

    Fix up trivial conflict in arch/arm/Kconfig

    * tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (83 commits)
    ARM: at91: Add ADC driver to at91sam9260/at91sam9g20 dtsi files
    arm/dts: omap4-panda: Add LEDs support
    arm/dts: omap4-sdp: Add LEDs support
    arm/dts: twl4030: Add twl4030-gpio node
    OMAP4: devices: Do not create mcpdm device if the dtb has been provided
    OMAP4: devices: Do not create dmic device if the dtb has been provided
    Documentation: update docs for mmp dt
    ARM: dts: refresh dts file for arch mmp
    ARM: mmp: support pxa910 with device tree
    ARM: mmp: support mmp2 with device tree
    gpio: pxa: parse gpio from DTS file
    ARM: mmp: support DT in timer
    ARM: mmp: support DT in irq
    ARM: mmp: append CONFIG_MACH_MMP2_DT
    ARM: mmp: fix build issue on mmp with device tree
    ARM: ux500: Enable PRCMU Timer 4 (clocksource) for Device Tree
    ARM: ux500: Disable SMSC911x platform code registration when DT is enabled
    ARM: ux500: Fork cpu-db8500 platform_devs for sequential DT enablement
    ARM: ux500: Do not attempt to register non-existent i2c devices on Snowball
    ARM: SPEAr3xx: Correct keyboard data passed from DT
    ...

    Linus Torvalds
     
  • Pull first batch of arm-soc cleanups from Olof Johansson:
    "These cleanups are basically all over the place. The idea is to
    collect changes with minimal impact but large number of changes so we
    can avoid them from distracting in the diffstat in the other series.

    A significant number of lines get removed here, in particular because
    the ixp2000 and ixp23xx platforms get removed. These have never been
    extremely popular and have fallen into disuse over time with no active
    maintainer taking care of them. The u5500 soc never made it into a
    product, so we are removing it from the ux500 platform.

    Many good cleanups also went into the at91 and omap platforms, as has
    been the case for a number of releases."

    Trivial modify-delete conflicts in arch/arm/mach-{ixp2000,ixp23xx}

    * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (152 commits)
    ARM: clps711x: Cleanup IRQ handling
    ARM clps711x: Removed unused header mach/time.h
    ARM: clps711x: Added note about support EP731x CPU to Kconfig
    ARM: clps711x: Added missing register definitions
    ARM: clps711x: Used own subarch directory for store header file
    Dove: Fix Section mismatch warnings
    ARM: orion5x: ts78xx debugging changes
    ARM: orion5x: remove PM dependency from ts78xx
    ARM: orion5x: ts78xx fix NAND resource off by one
    ARM: orion5x: ts78xx whitespace cleanups
    Orion5x: Fix Section mismatch warnings
    Orion5x: Fix warning: struct pci_dev declared inside paramter list
    ARM: clps711x: Combine header files into one for clps711x-targets
    ARM: S3C24XX: Use common macro to define resources on mach-qt2410.c
    ARM: S3C24XX: Use common macro to define resources on mach-osiris.c
    ARM: EXYNOS: Adapt to cpuidle core time keeping and irq enable
    ARM: S5PV210: Use common macro to define resources on mach-smdkv210.c
    ARM: S5PV210: Use common macro to define resources on dev-audio.c
    ARM: S5PC100: Use common macro to define resources on dev-audio.c
    ARM: S5P64X0: Use common macro to define resources on dev-audio.c
    ...

    Linus Torvalds
     

22 May, 2012

13 commits

  • Pull security subsystem updates from James Morris:
    "New notable features:
    - The seccomp work from Will Drewry
    - PR_{GET,SET}_NO_NEW_PRIVS from Andy Lutomirski
    - Longer security labels for Smack from Casey Schaufler
    - Additional ptrace restriction modes for Yama by Kees Cook"

    Fix up trivial context conflicts in arch/x86/Kconfig and include/linux/filter.h

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: (65 commits)
    apparmor: fix long path failure due to disconnected path
    apparmor: fix profile lookup for unconfined
    ima: fix filename hint to reflect script interpreter name
    KEYS: Don't check for NULL key pointer in key_validate()
    Smack: allow for significantly longer Smack labels v4
    gfp flags for security_inode_alloc()?
    Smack: recursive tramsmute
    Yama: replace capable() with ns_capable()
    TOMOYO: Accept manager programs which do not start with / .
    KEYS: Add invalidation support
    KEYS: Do LRU discard in full keyrings
    KEYS: Permit in-place link replacement in keyring list
    KEYS: Perform RCU synchronisation on keys prior to key destruction
    KEYS: Announce key type (un)registration
    KEYS: Reorganise keys Makefile
    KEYS: Move the key config into security/keys/Kconfig
    KEYS: Use the compat keyctl() syscall wrapper on Sparc64 for Sparc32 compat
    Yama: remove an unused variable
    samples/seccomp: fix dependencies on arch macros
    Yama: add additional ptrace scopes
    ...

    Linus Torvalds
     
  • …sty/linux-2.6-for-linus

    Pull virtio updates from Rusty Russell.

    * tag 'virtio-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    virtio: fix typo in comment
    virtio-mmio: Devices parameter parsing
    virtio_blk: Drop unused request tracking list
    virtio-blk: Fix hot-unplug race in remove method
    virtio: Use ida to allocate virtio index
    virtio: balloon: separate out common code between remove and freeze functions
    virtio: balloon: drop restore_common()
    9p: disconnect channel when PCI device is removed
    virtio: update documentation to v0.9.5 of spec

    Linus Torvalds
     
  • This patch adds an option to instantiate guest virtio-mmio devices
    basing on a kernel command line (or module) parameter, for example:

    virtio_mmio.devices=0x100@0x100b0000:48

    Signed-off-by: Pawel Moll
    Signed-off-by: Rusty Russell

    Pawel Moll
     
  • Signed-off-by: Rusty Russell

    Rusty Russell
     
  • Pull RCU changes from Ingo Molnar:
    "This is the v3.5 RCU tree from Paul E. McKenney:

    1) A set of improvements and fixes to the RCU_FAST_NO_HZ feature (with
    more on the way for 3.6). Posted to LKML:
    https://lkml.org/lkml/2012/4/23/324 (commits 1-3 and 5),
    https://lkml.org/lkml/2012/4/16/611 (commit 4),
    https://lkml.org/lkml/2012/4/30/390 (commit 6), and
    https://lkml.org/lkml/2012/5/4/410 (commit 7, combined with
    the other commits for the convenience of the tester).

    2) Changes to make rcu_barrier() avoid disrupting execution of CPUs
    that have no RCU callbacks. Posted to LKML:
    https://lkml.org/lkml/2012/4/23/322.

    3) A couple of commits that improve the efficiency of the interaction
    between preemptible RCU and the scheduler, these two being all that
    survived an abortive attempt to allow preemptible RCU's
    __rcu_read_lock() to be inlined. The full set was posted to LKML at
    https://lkml.org/lkml/2012/4/14/143, and the first and third patches
    of that set remain.

    4) Lai Jiangshan's algorithmic implementation of SRCU, which includes
    call_srcu() and srcu_barrier(). A major feature of this new
    implementation is that synchronize_srcu() no longer disturbs the
    execution of other CPUs. This work is based on earlier
    implementations by Peter Zijlstra and Paul E. McKenney. Posted to
    LKML: https://lkml.org/lkml/2012/2/22/82.

    5) A number of miscellaneous bug fixes and improvements which were
    posted to LKML at: https://lkml.org/lkml/2012/4/23/353 with
    subsequent updates posted to LKML."

    * 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (32 commits)
    rcu: Make rcu_barrier() less disruptive
    rcu: Explicitly initialize RCU_FAST_NO_HZ per-CPU variables
    rcu: Make RCU_FAST_NO_HZ handle timer migration
    rcu: Update RCU maintainership
    rcu: Make exit_rcu() more precise and consolidate
    rcu: Move PREEMPT_RCU preemption to switch_to() invocation
    rcu: Ensure that RCU_FAST_NO_HZ timers expire on correct CPU
    rcu: Add rcutorture test for call_srcu()
    rcu: Implement per-domain single-threaded call_srcu() state machine
    rcu: Use single value to handle expedited SRCU grace periods
    rcu: Improve srcu_readers_active_idx()'s cache locality
    rcu: Remove unused srcu_barrier()
    rcu: Implement a variant of Peter's SRCU algorithm
    rcu: Improve SRCU's wait_idx() comments
    rcu: Flip ->completed only once per SRCU grace period
    rcu: Increment upper bit only for srcu_read_lock()
    rcu: Remove fast check path from __synchronize_srcu()
    rcu: Direct algorithmic SRCU implementation
    rcu: Introduce rcutorture testing for rcu_barrier()
    timer: Fix mod_timer_pinned() header comment
    ...

    Linus Torvalds
     
  • Pull GFS2 changes from Steven Whitehouse.

    * git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw: (24 commits)
    GFS2: Fix quota adjustment return code
    GFS2: Add rgrp information to block_alloc trace point
    GFS2: Eliminate unused "new" parameter to gfs2_meta_indirect_buffer
    GFS2: Update glock doc to add new stats info
    GFS2: Update main gfs2 doc
    GFS2: Remove redundant metadata block type check
    GFS2: Fix sgid propagation when using ACLs
    GFS2: eliminate log elements and simplify
    GFS2: Eliminate vestigial sd_log_le_rg
    GFS2: Eliminate needless parameter from function gfs2_setbit
    GFS2: Log code fixes
    GFS2: Remove unused argument from gfs2_internal_read
    GFS2: Remove bd_list_tr
    GFS2: Remove duplicate log code
    GFS2: Clean up log write code path
    GFS2: Use variable rather than qa to determine if unstuff necessary
    GFS2: Change variable blk to biblk
    GFS2: Fix function parameter comments in rgrp.c
    GFS2: Eliminate offset parameter to gfs2_setbit
    GFS2: Use slab for block reservation memory
    ...

    Linus Torvalds
     
  • Pull SCSI misc update from James Bottomley:
    "The patch contains the usual assortment of driver updates (be2iscsi,
    bfa, bnx2i, fcoe, hpsa, isci, lpfc, megaraid, mpt2sas, pm8001, sg)
    plus an assortment of other changes and fixes. Also new is the fact
    that the isci update is delivered as a git merge (with signed tag)."

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (158 commits)
    isci: End the RNC resumption wait when the RNC is destroyed.
    isci: Fixed RNC bug that lost the suspension or resumption during destroy
    isci: Fix RNC AWAIT_SUSPENSION->INVALIDATING transition.
    isci: Manage the IREQ_NO_AUTO_FREE_TAG under scic_lock.
    isci: Remove obviated host callback list.
    isci: Check IDEV_GONE before performing abort path operations.
    isci: Restore the ATAPI device RNC management code.
    isci: Don't wait for an RNC suspend if it's being destroyed.
    isci: Change the phy control and link reset interface for HW reasons.
    isci: Added timeouts to RNC suspensions in the abort path.
    isci: Add protocol indicator for TMF requests.
    isci: Directly control IREQ_ABORT_PATH_ACTIVE when completing TMFs.
    isci: Wait for RNC resumption before leaving the abort path.
    isci: Fix RNC suspend call for SCI_RESUMING state.
    isci: Manage tag releases differently when aborting tasks.
    isci: Callbacks to libsas occur under scic_lock and are synchronized.
    isci: When in the abort path, defeat other resume calls until done.
    isci: Implement waiting for suspend in the abort path.
    isci: Make sure all TCs are terminated and cleaned in LUN reset.
    isci: Manage the LLHANG timer enable/disable per-device.
    ...

    Linus Torvalds
     
  • Pull pin control subsystem changes from Linus Walleij:

    - Generic Device Tree bindings and hooks for drivers so we can move
    over modern drivers to using this.

    - Device Tree bindings for Tegra SoCs.

    - Funneling some devicetree helper code for the drivers/of subsystem.

    - New pin control drivers for:
    * Freescale MXS
    * Freescale i.MX51
    * Freescale i.MX53
    All of these use Device Tree bindings.

    - Dummy pinctrl handles for stepwise migration to pinctrl, akin to
    dummy regulators.
    - Minor non-urgent fixes and improvments.

    Fix up trivial conflicts in Documentation/driver-model/devres.txt and
    drivers/pinctrl/core.c,

    * tag 'pinctrl-for-v3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (46 commits)
    pinctrl: pinctrl-imx: add imx51 pinctrl driver
    pinctrl: pinctrl-imx: add imx53 pinctrl driver
    pinctrl: pinctrl-pxa3xx: remove empty pinmux disable function
    pinctrl: pinctrl-mxs: remove empty pinmux disable function
    pinctrl: pinctrl-imx: remove empty pinmux disable function
    pinctrl: make pinmux disable function optional
    pinctrl: a minor error checking improvement for pinconf
    pinctrl: mxs: skip gpio nodes for group creation
    pinctrl: mxs: create group for pin config node
    pinctrl: (cosmetic) fix two entries in DocBook comments
    pinctrl: add more info to error msgs in pin_request
    pinctrl: add pinctrl-mxs support
    pinctrl: pinctrl-imx: add imx6q pinctrl driver
    pinctrl: pinctrl-imx: add imx pinctrl core driver
    dt: add of_get_child_count helper function
    pinctrl: support gpio request deferred probing
    pinctrl: add pinctrl_provide_dummies interface for platforms to use
    pinctrl: enhance reporting of errors when loading from DT
    pinctrl: add kerneldoc for pinctrl_ops device tree functions
    pinctrl: propagate map validation errors
    ...

    Linus Torvalds
     
  • Pull regulator updates from Mark Brown:
    "The major thing here is the addition of some helpers to factor code
    out of drivers, making a fair proportion of regulators much more just
    data rather than code which is nice.

    - Helpers in the core for regulators using regmap, providing generic
    implementations of the enable and voltage selection operations which
    just need data to describe them in the drivers.
    - Split out voltage mapping and voltage setting, allowing many more
    drivers to take advantage of the infrastructure for selectors.
    - Loads and loads of cleanups from Axel Lin once again, including many
    changes to take advantage of the above new framework features
    - New drivers for Ricoh RC5T583, TI TPS62362, TI TPS62363, TI
    TPS65913, TI TWL6035 and TI TWL6037.

    Some of the registration changes to support the core refactoring
    caused so many conflicts that eventually topic branches were abandoned
    for this release."

    * tag 'regulator-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (227 commits)
    regulator: tps65910: use of_node of matched regulator being register
    regulator: tps65910: dt: support when "regulators" node found
    regulator: tps65910: add error message in case of failure
    regulator: tps62360: dt: initialize of_node param for regulator register.
    regulator: tps65910: use devm_* for memory allocation
    regulator: tps65910: use small letter for regulator names
    mfd: tpx6586x: Depend on regulator
    regulator: regulator for Palmas Kconfig
    regulator: regulator driver for Palmas series chips
    regulator: Enable Device Tree for the db8500-prcmu regulator driver
    regulator: db8500-prcmu: Separate regulator registration from probe
    regulator: ab3100: Use regulator_map_voltage_iterate()
    regulator: tps65217: Convert to set_voltage_sel and map_voltage
    regulator: Enable the ab8500 for Device Tree
    regulator: ab8500: Split up probe() into manageable pieces
    regulator: max8925: Remove check_range function and max_uV from struct rc5t583_regulator_info
    regulator: max8649: Remove unused check_range() function
    regulator: rc5t583: Remove max_uV from struct rc5t583_regulator_info
    regulator: da9052: Convert to set_voltage_sel and map_voltage
    regulator: max8952: Use devm_kzalloc
    ...

    Linus Torvalds
     
  • Pull PCI changes from Bjorn Helgaas:
    - Host bridge cleanups from Yinghai
    - Disable Bus Master bit on PCI device shutdown (kexec-related)
    - Stratus ftServer fix
    - pci_dev_reset() locking fix
    - IvyBridge graphics erratum workaround

    * tag 'pci-for-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (21 commits)
    microblaze/PCI: fix "io_offset undeclared" error
    x86/PCI: only check for spinlock being held in SMP kernels
    resources: add resource_overlaps()
    PCI: fix uninitialized variable 'cap_mask'
    MAINTAINERS: update PCI git tree and patchwork
    PCI: disable Bus Master on PCI device shutdown
    PCI: work around IvyBridge internal graphics FLR erratum
    x86/PCI: fix unused variable warning in amd_bus.c
    PCI: move mutex locking out of pci_dev_reset function
    PCI: work around Stratus ftServer broken PCIe hierarchy
    x86/PCI: merge pcibios_scan_root() and pci_scan_bus_on_node()
    x86/PCI: dynamically allocate pci_root_info for native host bridge drivers
    x86/PCI: embed pci_sysdata into pci_root_info on ACPI path
    x86/PCI: embed name into pci_root_info struct
    x86/PCI: add host bridge resource release for _CRS path
    x86/PCI: refactor get_current_resources()
    PCI: add host bridge release support
    PCI: add generic device into pci_host_bridge struct
    PCI: rename pci_host_bridge() to find_pci_root_bridge()
    x86/PCI: fix memleak with get_current_resources()
    ...

    Linus Torvalds
     
  • Pull core ARM updates from Russell King:
    "This is the bulk of the core ARM updates for this merge window.
    Included in here is a different way to handle the VIVT cache flushing
    on context switch, which should allow scheduler folk to remove a
    special case in their core code.

    We have architectured timer support here, which is a set of timers
    specified by the ARM architecture for future SoCs. So we should see
    less variability in timer design going forward.

    The last big thing here is my cleanup to the way we handle PCI across
    ARM, fixing some oddities in some platforms which hadn't realised
    there was a way to deal with their private data already built in to
    our PCI backend.

    I've also removed support for the ARMv3 architecture; it hasn't worked
    properly for years so it seems pointless to keep it around."

    * 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (47 commits)
    ARM: PCI: remove per-pci_hw list of buses
    ARM: PCI: dove/kirkwood/mv78xx0: use sys->private_data
    ARM: PCI: provide a default bus scan implementation
    ARM: PCI: get rid of pci_std_swizzle()
    ARM: PCI: versatile: fix PCI interrupt setup
    ARM: PCI: integrator: use common PCI swizzle
    ARM: 7416/1: LPAE: Remove unused L_PTE_(BUFFERABLE|CACHEABLE) macros
    ARM: 7415/1: vfp: convert printk's to pr_*'s
    ARM: decompressor: avoid speculative prefetch from non-RAM areas
    ARM: Remove ARMv3 support from decompressor
    ARM: 7413/1: move read_{boot,persistent}_clock to the architecture level
    ARM: Remove support for ARMv3 ARM610 and ARM710 CPUs
    ARM: 7363/1: DEBUG_LL: limit early mapping to the minimum
    ARM: 7391/1: versatile: add some auxdata for device trees
    ARM: 7389/2: plat-versatile: modernize FPGA IRQ controller
    AMBA: get rid of last two uses of NO_IRQ
    ARM: 7408/1: cacheflush: return error to userspace when flushing syscall fails
    ARM: 7409/1: Do not call flush_cache_user_range with mmap_sem held
    ARM: 7404/1: cmpxchg64: use atomic64 and local64 routines for cmpxchg64
    ARM: 7347/1: SCU: use cpu_logical_map for per-CPU low power mode
    ...

    Linus Torvalds
     
  • Pull clkdev updates from Russell King:
    "This supplements clkdev with a device-managed API, allowing drivers
    cleanup paths to be simplified. We also optimize clk_find() so that
    it exits as soon as it finds a perfect match, and we provide a way to
    minimise the amount of code platforms need to register clkdev entries.

    Some of the code in arm-soc depends on these changes."

    * 'clkdev' of git://git.linaro.org/people/rmk/linux-arm:
    CLKDEV: provide helpers for common clock framework
    ARM: 7392/1: CLKDEV: Optimize clk_find()
    ARM: 7376/1: clkdev: Implement managed clk_get()

    Linus Torvalds
     
  • Pull sparc updates from David Miller:

    1) Kill off support for sun4c and Cypress sun4m chips.

    And as a result we were able to also kill off that ugly btfixup thing
    that required multi-stage links of the final vmlinux image in the
    Kbuild system. This should make the kbuild maintainers really happy.

    Thanks a lot to Sam Ravnborg for his tireless efforts to get this
    going.

    2) Convert sparc64 to nobootmem. I suspect now with sparc32 being a lot
    cleaner, it should be able to fall in line and modernize in this area
    too.

    3) Make sparc32 use generic clockevents, from Tkhai Kirill.

    [ I fixed up the BPF rules, and tried to clean up the build rules too.
    But I don't have - or want - a sparc cross-build environment, so the
    BPF rule bug and the related build cleanup was all done with just a
    bare "make -n" pseudo-test. - Linus ]

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next: (110 commits)
    sparc32: use flushi when run-time patching in per_cpu_patch
    sparc32: fix cpuid_patch run-time patching
    sparc32: drop unused inline functions in srmmu.c
    sparc32: drop unused functions in pgtsrmmu.h
    sparc32,leon: move leon mmu functions to leon_mm.c
    sparc32,leon: remove duplicate definitions in leon.h
    sparc32,leon: remove duplicate UART register definitions
    sparc32,leon: move leon ASI definitions to asi.h
    sparc32: move trap table to a separate file
    sparc64: renamed ttable.S to ttable_64.S
    sparc32: Remove asm/sysen.h header.
    sparc32: Delete asm/smpprim.h
    sparc32: Remove unused empty_bad_page{,_table} declarations.
    sparc32: Kill boot_cpu_id4
    sparc32: Move GET_PROCESSOR*_ID() out of asm/asmmacro.h
    sparc32: Remove completely unused code from asm/cache.h
    sparc32: Add ucmpdi2.o to obj-y instead of lib-y.
    sparc32: add ucmpdi2
    sparc: introduce arch/sparc/Kbuild
    sparc: remove obsolete documentation
    ...

    Linus Torvalds
     

21 May, 2012

3 commits

  • isci update for 3.5

    1/ Rework remote-node-context (RNC) handling for proper management of
    the silicon state machine in error handling and hot-plug conditions.
    Further details below, suffice to say if the RNC is mismanaged the
    silicon state machines may lock up.

    2/ Refactor the initialization code to be reused for suspend/resume support

    3/ Miscellaneous bug fixes to address discovery issues and hardware
    compatibility.

    RNC rework details from Jeff Skirvin:

    In the controller, devices as they appear on a SAS domain (or
    direct-attached SATA devices) are represented by memory structures known
    as "Remote Node Contexts" (RNCs). These structures are transferred from
    main memory to the controller using a set of register commands; these
    commands include setting up the context ("posting"), removing the
    context ("invalidating"), and commands to control the scheduling of
    commands and connections to that remote device ("suspensions" and
    "resumptions"). There is a similar path to control RNC scheduling from
    the protocol engine, which interprets the results of command and data
    transmission and reception.

    In general, the controller chooses among non-suspended RNCs to find one
    that has work requiring scheduling the transmission of command and data
    frames to a target. Likewise, when a target tries to return data back
    to the initiator, the state of the RNC is used by the controller to
    determine how to treat the incoming request. As an example, if the RNC
    is in the state "TX/RX Suspended", incoming SSP connection requests from
    the target will be rejected by the controller hardware. When an RNC is
    "TX Suspended", it will not be selected by the controller hardware to
    start outgoing command or data operations (with certain priority-based
    exceptions).

    As mentioned above, there are two sources for management of the RNC
    states: commands from driver software, and the result of transmission
    and reception conditions of commands and data signaled by the controller
    hardware. As an example of the latter, if an outgoing SSP command ends
    with a OPEN_REJECT(BAD_DESTINATION) status, the RNC state will
    transition to the "TX Suspended" state, and this is signaled by the
    controller hardware in the status to the completion of the pending
    command as well as signaled in a controller hardware event. Examples of
    the former are included in the patch changelogs.

    Driver software is required to suspend the RNC in a "TX/RX Suspended"
    condition before any outstanding commands can be terminated. Failure to
    guarantee this can lead to a complete hardware hang condition. Earlier
    versions of the driver software did not guarantee that an RNC was
    correctly managed before I/O termination, and so operated in an unsafe
    way.

    Further, the driver performed unnecessary contortions to preserve the
    remote device command state and so was more complicated than it needed
    to be. A simplifying driver assumption is that once an I/O has entered
    the error handler path without having completed in the target, the
    requirement on the driver is that all use of the sas_task must end.
    Beyond that, recovery of operation is dependent on libsas and other
    components to reset, rediscover and reconfigure the device before normal
    operation can restart. In the driver, this simplifying assumption meant
    that the RNC management could be reduced to entry into the suspended
    state, terminating the targeted I/O request, and resuming the RNC as
    needed for device-specific management such as an SSP Abort Task or LUN
    Reset Management request.

    James Bottomley
     
  • ChangeLog v1->v2:
    * change PIN_FUNC_ID base in binding doc to 0 from 1.

    Acked-by: Shawn Guo
    Acked-by: Stephen Warren
    Signed-off-by: Dong Aisheng
    Signed-off-by: Linus Walleij

    Dong Aisheng
     
  • ChangeLog v1->v2:
    * change PIN_FUNC_ID base in binding doc to 0 from 1.

    Acked-by: Shawn Guo
    Acked-by: Stephen Warren
    Signed-off-by: Dong Aisheng
    Signed-off-by: Linus Walleij

    Dong Aisheng
     

18 May, 2012

1 commit

  • The support for CONFIG_MCA is being removed, since the 20
    year old hardware simply isn't capable of meeting today's
    software demands on CPU and memory resources.

    This commit removes any MCA specific net drivers, and removes
    any MCA specific probe/support code from drivers that were
    doing a dual ISA/MCA role.

    Cc: "David S. Miller"
    Cc: James Bottomley
    Cc: netdev@vger.kernel.org
    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     

17 May, 2012

2 commits


16 May, 2012

2 commits

  • This represents the mass deletion of the of the tokenring support.

    It gets rid of:
    - the net/tr.c which the drivers depended on
    - the drivers/net component
    - the Kbuild infrastructure around it
    - any tokenring related CONFIG_ settings in any defconfigs
    - the tokenring headers in the include/linux dir
    - the firmware associated with the tokenring drivers.
    - any associated token ring documentation.

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     
  • When we killed btfixup this readme no longer has any value.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: David S. Miller

    Sam Ravnborg
     

15 May, 2012

4 commits

  • V4 updated to current linux-security#next
    Targeted for git://gitorious.org/smack-next/kernel.git

    Modern application runtime environments like to use
    naming schemes that are structured and generated without
    human intervention. Even though the Smack limit of 23
    characters for a label name is perfectly rational for
    human use there have been complaints that the limit is
    a problem in environments where names are composed from
    a set or sources, including vendor, author, distribution
    channel and application name. Names like

    softwarehouse-pgwodehouse-coolappstore-mellowmuskrats

    are becoming harder to avoid. This patch introduces long
    label support in Smack. Labels are now limited to 255
    characters instead of the old 23.

    The primary reason for limiting the labels to 23 characters
    was so they could be directly contained in CIPSO category sets.
    This is still done were possible, but for labels that are too
    large a mapping is required. This is perfectly safe for communication
    that stays "on the box" and doesn't require much coordination
    between boxes beyond what would have been required to keep label
    names consistent.

    The bulk of this patch is in smackfs, adding and updating
    administrative interfaces. Because existing APIs can't be
    changed new ones that do much the same things as old ones
    have been introduced.

    The Smack specific CIPSO data representation has been removed
    and replaced with the data format used by netlabel. The CIPSO
    header is now computed when a label is imported rather than
    on use. This results in improved IP performance. The smack
    label is now allocated separately from the containing structure,
    allowing for larger strings.

    Four new /smack interfaces have been introduced as four
    of the old interfaces strictly required labels be specified
    in fixed length arrays.

    The access interface is supplemented with the check interface:
    access "Subject Object rwxat"
    access2 "Subject Object rwaxt"

    The load interface is supplemented with the rules interface:
    load "Subject Object rwxat"
    load2 "Subject Object rwaxt"

    The load-self interface is supplemented with the self-rules interface:
    load-self "Subject Object rwxat"
    load-self2 "Subject Object rwaxt"

    The cipso interface is supplemented with the wire interface:
    cipso "Subject lvl cnt c1 c2 ..."
    cipso2 "Subject lvl cnt c1 c2 ..."

    The old interfaces are maintained for compatibility.

    Signed-off-by: Casey Schaufler

    Casey Schaufler
     
  • * 'dt' of git://github.com/hzhuang1/linux:
    Documentation: update docs for mmp dt
    ARM: dts: refresh dts file for arch mmp
    ARM: mmp: support pxa910 with device tree
    ARM: mmp: support mmp2 with device tree
    gpio: pxa: parse gpio from DTS file
    ARM: mmp: support DT in timer
    ARM: mmp: support DT in irq
    ARM: mmp: append CONFIG_MACH_MMP2_DT
    ARM: mmp: fix build issue on mmp with device tree

    Includes an update to v3-4-rc5

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • Pull media fixes from Mauro Carvalho Chehab:
    "For a some fix patches for v3.4, including a regression fix at DVB core"

    Fix up trivial conflicts in Documentation/feature-removal-schedule.txt

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
    [media] gspca - sonixj: Fix a zero divide in isoc interrupt
    [media] media: videobuf2-dma-contig: include header for exported symbols
    [media] media: videobuf2-dma-contig: quiet sparse noise about plain integer as NULL pointer
    [media] media: vb2-memops: Export vb2_get_vma symbol
    [media] s5p-fimc: Correct memory allocation for VIDIOC_CREATE_BUFS
    [media] s5p-fimc: Fix locking in subdev set_crop op
    [media] dvb_frontend: fix a regression with DVB-S zig-zag
    [media] fintek-cir: change || to &&
    [media] V4L: Schedule V4L2_CID_HCENTER, V4L2_CID_VCENTER controls for removal
    [media] rc: Postpone ISR registration
    [media] marvell-cam: fix an ARM build error
    [media] V4L: soc-camera: protect hosts during probing from overzealous user-space

    Linus Torvalds
     
  • Change the mechanism of enabling the force PWM mode through
    regulator set mode. This can be dynamically configured now.
    In the REGULATOR_MODE_FAST the force PWM is enabled and in
    REGULATOR_MODE_NORMAL the force PWM is disabled.

    Signed-off-by: Laxman Dewangan
    Signed-off-by: Mark Brown

    Laxman Dewangan
     

14 May, 2012

2 commits

  • - Add routing_algo

    - Remove date from README:
    The date has to be updated when a patch touches the README. Therefore, nearly
    every feature will modify this date. It can happens quite often that not only
    one feature is currently in development or waiting on the mailinglist. This
    creates merge conflicts when applying a patchset.

    The date itself doesn't provide any additional information when this file is
    only available in a release tarball or as part of a SCM repository.

    Signed-off-by: Sven Eckelmann
    Signed-off-by: Antonio Quartulli

    Sven Eckelmann
     
  • …/linux-rcu into core/rcu

    Pull the v3.5 RCU tree from Paul E. McKenney:

    1) A set of improvements and fixes to the RCU_FAST_NO_HZ feature
    (with more on the way for 3.6). Posted to LKML:
    https://lkml.org/lkml/2012/4/23/324 (commits 1-3 and 5),
    https://lkml.org/lkml/2012/4/16/611 (commit 4),
    https://lkml.org/lkml/2012/4/30/390 (commit 6), and
    https://lkml.org/lkml/2012/5/4/410 (commit 7, combined with
    the other commits for the convenience of the tester).

    2) Changes to make rcu_barrier() avoid disrupting execution of CPUs
    that have no RCU callbacks. Posted to LKML:
    https://lkml.org/lkml/2012/4/23/322.

    3) A couple of commits that improve the efficiency of the interaction
    between preemptible RCU and the scheduler, these two being all
    that survived an abortive attempt to allow preemptible RCU's
    __rcu_read_lock() to be inlined. The full set was posted to
    LKML at https://lkml.org/lkml/2012/4/14/143, and the first and
    third patches of that set remain.

    4) Lai Jiangshan's algorithmic implementation of SRCU, which includes
    call_srcu() and srcu_barrier(). A major feature of this new
    implementation is that synchronize_srcu() no longer disturbs
    the execution of other CPUs. This work is based on earlier
    implementations by Peter Zijlstra and Paul E. McKenney. Posted to
    LKML: https://lkml.org/lkml/2012/2/22/82.

    5) A number of miscellaneous bug fixes and improvements which were
    posted to LKML at: https://lkml.org/lkml/2012/4/23/353 with
    subsequent updates posted to LKML.

    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Ingo Molnar
     

13 May, 2012

1 commit


12 May, 2012

3 commits


11 May, 2012

1 commit

  • Add support for invalidating a key - which renders it immediately invisible to
    further searches and causes the garbage collector to immediately wake up,
    remove it from keyrings and then destroy it when it's no longer referenced.

    It's better not to do this with keyctl_revoke() as that marks the key to start
    returning -EKEYREVOKED to searches when what is actually desired is to have the
    key refetched.

    To invalidate a key the caller must be granted SEARCH permission by the key.
    This may be too strict. It may be better to also permit invalidation if the
    caller has any of READ, WRITE or SETATTR permission.

    The primary use for this is to evict keys that are cached in special keyrings,
    such as the DNS resolver or an ID mapper.

    Signed-off-by: David Howells

    David Howells
     

10 May, 2012

2 commits


09 May, 2012

4 commits

  • Linux 3.4-rc6

    Resolve conflict where an u5500 file had a bugfix go in, but was
    deleted in the branch staged for next merge window.

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • …x/kernel/git/linusw/linux-stericsson into next/dt

    Linus Walleij <linus.walleij@linaro.org> writes:

    this pull request contains some device tree work by Lee Jones.
    I have tried to keep these patches in the arch/arm/boot/dts/*
    space to get some sanity in the branch proliferation.

    There is still one patch that touches arch/arm/mach-ux500 too
    though (but it should merge fine with the other ux500 stuff).

    The changes to the device tree are of course dependent on some
    core changes and some patching in the GPIO/pin driver, but as
    the device tree files are believed to be a different world
    (and should one day live in their own git) I split this off
    anyway. I don't think people bisect the device trees per se
    and the board code in conjunction anyway.

    * 'ux500-devicetree-for-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
    ARM: ux500: Configure the PRCMU Timer for db8500 based devices in DT
    ARM: ux500: Enable the SMSC9115 on Snowball via Device Tree
    drivers/gpio: represent gpio-nomadik as an IRQ controller in DT documentation
    ARM: ux500: Rename gpio_keys in the Device Tree file
    drivers/gpio: gpio-nomadik: Provide documentation for Device Tree bindings
    drivers/gpio: gpio-nomadik: Device Tree bindings
    ARM: ux500: Enable the external bus with Device Tree
    ARM: ux500: Shorten Snowball's DT compatible gpio entry
    ARM: ux500: Rename the DT compatible entry for i2c devices on Snowball

    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    [olof: rebuilt branch due to drop of an early merge]
    Signed-off-by: Olof Johansson <olof@lixom.net>

    Arnd Bergmann
     
  • Roland Stigge writes:
    this is a rearrangement of all mach-lpc32xx specific patches for device
    tree conversion. Please note that:

    * It builds upon the i2c-pnx changes (see previous pull request, branch
    lpc32xx/i2c)
    * Dave Miller gave permission to merge the lpc_eth.c change via arm-soc
    (patch 1/8)

    The rest of the patches is mach-lpc32xx only.

    * 'lpc32xx/dt' of git://git.antcom.de/linux-2.6:
    ARM: LPC32xx: Defconfig update
    ARM: LPC32xx: Move common code to common.c
    ARM: LPC32xx: Device tree support
    ARM: LPC32xx: DTS files for device tree conversion
    ARM: LPC32xx: Remove obsolete platform Kconfig
    ARM: LPC32xx: clock.c registration adjustment
    ARM: LPC32xx: clock.c cleanup
    net: Add device tree support to LPC32xx

    Signed-off-by: Arnd Bergmann
    [olof: rebuilt branch due to drop of an early merge]
    Signed-off-by: Olof Johansson

    Arnd Bergmann
     
  • As a prerequisite for merging the lpc32xx DT changes, this
    pulls in the depends/i2c/lpc32xx branch that contains
    changes to the pnx-i2c driver, which are already in the
    i2c tree. The branch is available also on

    git://git.antcom.de/linux-2.6.git lpc32xx/i2c

    Roland Stigge writes:

    this is the series of the 4 patches adding device tree support to i2c-pnx
    (used by LPC32xx) that Wolfram Sang already applied to the i2c subsystem.
    Since both drivers/i2c/ and mach-lpc32xx are touched here, there will
    probably be conflicts that you need to be aware of.

    I'm posting this again for arm-soc since the actual mach-lpc32xx specific
    DT conversion builds upon those changes (see next pull request), especially
    in arch/arm/mach-lpc32xx/common.c.

    Wolfram already gave permission to merge this via arm-soc, but please
    coordinate and tell me if I can help resolving this.

    Further, this implicitly updates the next/dt branch to v3.4-rc4, which
    causes a trivial conflict from a change in one branch in code that
    gets removed in another.

    Signed-off-by: Arnd Bergmann
    [olof: rebuilt branch due to drop of an early merge]
    Signed-off-by: Olof Johansson

    Arnd Bergmann