1. 09 5月, 2013 1 次提交
    • J
      ARM: dts: OMAP4: Fix ethernet IRQ for OMAP4 boards · e60f18d6
      Jon Hunter 提交于
      Commit ff5c9059 (ARM: dts: OMAP3+: Correct gpio #interrupts-cells
      property) updated the number of interrupt cells required for configuring
      gpios as interrupts for other devices (such as ethernet controllers).
      This update allowed the interrupt type (edge, level, etc) to be
      configured via device-tree (as described in the
      Documentation/devicetree/bindings/gpio/gpio-omap.txt).
      
      This broke ethernet support on the OMAP4 SDP board that defines a gpio
      as the ethernet IRQ because the interrupt type (level, edge, etc) was
      not getting configured correctly. This board use the ks8851 ethernet
      chip which has an active low interrupt. Fix this by defining the gpio
      interrupt as active-low in the device-tree binding.
      
      Please note that the OMAP4-VAR-SOM also uses the same ethernet
      controller and it is expected it will have the same problem. So the
      same fix is also applied to this board.
      Signed-off-by: NJon Hunter <jon-hunter@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      e60f18d6
  2. 08 5月, 2013 9 次提交
    • L
      Merge tag 'multiplatform-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · bb9055b2
      Linus Torvalds 提交于
      Pull late ARM Exynos multiplatform changes from Arnd Bergmann:
       "These continue the multiplatform support for exynos, adding support
        for building most of the essential drivers (clocksource, clk, irqchip)
        when combined with other platforms.  As a result, it should become
        really easy to add full multiplatform exynos support in 3.11, although
        we don't yet enable it for 3.10.
      
        The changes were not included in the earlier multiplatform series in
        order to avoid clashes with the other Exynos updates.
      
        This also includes work from Tomasz Figa to fix the pwm clocksource
        code on Exynos, which is not strictly required for multiplatform, but
        related to the other patches in this set and needed as a bug fix for
        at least one board."
      
      * tag 'multiplatform-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (22 commits)
        ARM: dts: exynops4210: really add universal_c210 dts
        ARM: dts: exynos4210: Add basic dts file for universal_c210 board
        ARM: dts: exynos4: Add node for PWM device
        ARM: SAMSUNG: Do not register legacy timer interrupts on Exynos
        clocksource: samsung_pwm_timer: Work around rounding errors in clockevents core
        clocksource: samsung_pwm_timer: Correct programming of clock events
        clocksource: samsung_pwm_timer: Use proper clockevents max_delta
        clocksource: samsung_pwm_timer: Add support for non-DT platforms
        clocksource: samsung_pwm_timer: Drop unused samsung_pwm struct
        clocksource: samsung_pwm_timer: Keep all driver data in a structure
        clocksource: samsung_pwm_timer: Make PWM spinlock global
        clocksource: samsung_pwm_timer: Let platforms select the driver
        Documentation: Add device tree bindings for Samsung PWM timers
        clocksource: add samsung pwm timer driver
        irqchip: exynos: look up irq using irq_find_mapping
        irqchip: exynos: pass irq_base from platform
        irqchip: exynos: localize irq lookup for ATAGS
        irqchip: exynos: allocate combiner_data dynamically
        irqchip: exynos: pass max combiner number to combiner_init
        ARM: exynos: add missing properties for combiner IRQs
        ...
      bb9055b2
    • L
      Merge tag 'cleanup-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 1bf25e78
      Linus Torvalds 提交于
      Pull ARM SoC late cleanups from Arnd Bergmann:
       "These are cleanups and smaller changes that either depend on earlier
        feature branches or came in late during the development cycle.  We
        normally try to get all cleanups early, so these are the exceptions:
      
         - A follow-up on the clocksource reworks, hopefully the last time we
           need to merge clocksource subsystem changes through arm-soc.
      
           A first set of patches was part of the original 3.10 arm-soc
           cleanup series because of interdependencies with timer drivers now
           moved out of arch/arm.
      
         - Migrating the SPEAr13xx platform away from using auxdata for DMA
           channel descriptions towards using information in device tree,
           based on the earlier SPEAr multiplatform series
      
         - A few follow-ups on the Atmel SAMA5 support and other changes for
           Atmel at91 based on the larger at91 reworks.
      
         - Moving the armada irqchip implementation to drivers/irqchip
      
         - Several OMAP cleanups following up on the larger series already
           merged in 3.10."
      
      * tag 'cleanup-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (50 commits)
        ARM: OMAP4: change the device names in usb_bind_phy
        ARM: OMAP2+: Fix mismerge for timer.c between ff931c82 and da4a686a
        ARM: SPEAr: conditionalize SMP code
        ARM: arch_timer: Silence debug preempt warnings
        ARM: OMAP: remove unused variable
        serial: amba-pl011: fix !CONFIG_DMA_ENGINE case
        ata: arasan: remove the need for platform_data
        ARM: at91/sama5d34ek.dts: remove not needed compatibility string
        ARM: at91: dts: add MCI DMA support
        ARM: at91: dts: add i2c dma support
        ARM: at91: dts: set #dma-cells to the correct value
        ARM: at91: suspend both memory controllers on at91sam9263
        irqchip: armada-370-xp: slightly cleanup irq controller driver
        irqchip: armada-370-xp: move IRQ handler to avoid forward declaration
        irqchip: move IRQ driver for Armada 370/XP
        ARM: mvebu: move L2 cache initialization in init_early()
        devtree: add binding documentation for sp804
        ARM: integrator-cp: convert use CLKSRC_OF for timer init
        ARM: versatile: use OF init for sp804 timer
        ARM: versatile: add versatile dtbs to dtbs target
        ...
      1bf25e78
    • L
      Merge tag 'dt-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 38f56f33
      Linus Torvalds 提交于
      Pull ARM SoC device tree updates (part 2) from Arnd Bergmann:
       "These are mostly new device tree bindings for existing drivers, as
        well as changes to the device tree source files to add support for
        those devices, and a couple of new boards, most notably Samsung's
        Exynos5 based Chromebook.
      
        The changes depend on earlier platform specific updates and touch the
        usual platforms: omap, exynos, tegra, mxs, mvebu and davinci."
      
      * tag 'dt-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (169 commits)
        ARM: exynos: dts: cros5250: add EC device
        ARM: dts: Add sbs-battery for exynos5250-snow
        ARM: dts: Add i2c-arbitrator bus for exynos5250-snow
        ARM: dts: add mshc controller node for Exynos4x12 SoCs
        ARM: dts: Add chip-id controller node on Exynos4/5 SoC
        ARM: EXYNOS: Create virtual I/O mapping for Chip-ID controller using device tree
        ARM: davinci: da850-evm: add SPI flash support
        ARM: davinci: da850: override SPI DT node device name
        ARM: davinci: da850: add SPI1 DT node
        spi/davinci: add DT binding documentation
        spi/davinci: no wildcards in DT compatible property
        ARM: dts: mvebu: Convert mvebu device tree files to 64 bits
        ARM: dts: mvebu: introduce internal-regs node
        ARM: dts: mvebu: Convert all the mvebu files to use the range property
        ARM: dts: mvebu: move all peripherals inside soc
        ARM: dts: mvebu: fix cpus section indentation
        ARM: davinci: da850: add EHRPWM & ECAP DT node
        ARM/dts: OMAP3: fix pinctrl-single configuration
        ARM: dts: Add OMAP3430 SDP NOR flash memory binding
        ARM: dts: Add NOR flash bindings for OMAP2420 H4
        ...
      38f56f33
    • L
      Merge tag 'soc-for-linus-3' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · fcba9145
      Linus Torvalds 提交于
      Pull ARM SoC platform updates (part 3) from Arnd Bergmann:
       "This is the third and smallest of the SoC specific updates.  Changes
        include:
      
         - SMP support for the Xilinx zynq platform
         - Smaller imx changes
         - LPAE support for mvebu
         - Moving the orion5x, kirkwood, dove and mvebu platforms to a common
           "mbus" driver for their internal devices.
      
        It would be good to get feedback on the location of the "mbus" driver.
        Since this is used on multiple platforms may potentially get shared
        with other architectures (powerpc and arm64), it was moved to
        drivers/bus/.  We expect other similar drivers to get moved to the
        same place in order to avoid creating more top-level directories under
        drivers/ or cluttering up the messy drivers/misc/ even more."
      
      * tag 'soc-for-linus-3' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (50 commits)
        ARM: imx: reset_controller may be disabled
        ARM: mvebu: Align the internal registers virtual base to support LPAE
        ARM: mvebu: Limit the DMA zone when LPAE is selected
        arm: plat-orion: remove addr-map code
        arm: mach-mv78xx0: convert to use the mvebu-mbus driver
        arm: mach-orion5x: convert to use mvebu-mbus driver
        arm: mach-dove: convert to use mvebu-mbus driver
        arm: mach-kirkwood: convert to use mvebu-mbus driver
        arm: mach-mvebu: convert to use mvebu-mbus driver
        ARM i.MX53: set CLK_SET_RATE_PARENT flag on the tve_ext_sel clock
        ARM i.MX53: tve_di clock is not part of the CCM, but of TVE
        ARM i.MX53: make tve_ext_sel propagate rate change to PLL
        ARM i.MX53: Remove unused tve_gate clkdev entry
        ARM i.MX5: Remove tve_sel clock from i.MX53 clock tree
        ARM: i.MX5: Add PATA and SRTC clocks
        ARM: imx: do not bring up unavailable cores
        ARM: imx: add initial imx6dl support
        ARM: imx1: mm: add call to mxc_device_init
        ARM: imx_v4_v5_defconfig: Add CONFIG_GPIO_SYSFS
        ARM: imx_v6_v7_defconfig: Select CONFIG_PERF_EVENTS
        ...
      fcba9145
    • L
      Merge tag 'soc-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · a8c4b90e
      Linus Torvalds 提交于
      Pull ARM SoC platform updates (part 2) from Arnd Bergmann:
       "These patches are all for Renesas shmobile, and depend on the earlier
        pinctrl updates.  Remarkably, this adds support for three new SoCs:
        r8a73a4, r8a73a4 and r8a7778.  The bulk of the code added for these is
        for pinctrl (using the new subsystem) and for clocks (not yet using
        the common clock subsystem).  The latter will have to get converted in
        one of the upcoming releases, but shmobile is not ready for that yet.
      
        The series also contains Renesas shmobile board changes, adding one
        board file for each of the three new SoCs.  These boards are using a
        mix of classic and device-tree based probing, as there is still a lot
        of infrastructure in shmobile that has not been converted to DT yet.
        Once those are resolved to the degree that no board specific setup
        code is needed, they can get folded into the respective SoC setup files."
      
      * tag 'soc-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (78 commits)
        ARM: shmobile: use r8a7790 timer setup code on Lager
        ARM: shmobile: force enable of r8a7790 arch timer
        ARM: shmobile: Add second I/O range for r8a7790 PFC
        ARM: shmobile: bockw: enable network settings on bootargs
        ARM: shmobile: bockw: add SMSC ethernet support
        ARM: shmobile: R8A7778: add Ether support
        ARM: shmobile: bockw: enable SMSC ethernet on defconfig
        ARM: shmobile: r8a7778: add r8a7778_init_irq_extpin()
        ARM: shmobile: r8a7778: remove pointless PLATFORM_INFO()
        ARM: shmobile: mackerel: clean up MMCIF vs. SDHI1 selection
        ARM: shmobile: mackerel: add interrupt names for SDHI0
        ARM: shmobile: mackerel: switch SDHI and MMCIF interfaces to slot-gpio
        ARM: shmobile: mackerel: remove OCR masks, where regulators are used
        ARM: shmobile: mackerel: SDHI resources do not have to be numbered
        ARM: shmobile: Initial r8a7790 Lager board support
        ARM: shmobile: APE6EVM LAN9220 support
        ARM: shmobile: APE6EVM PFC support
        ARM: shmobile: APE6EVM base support
        ARM: shmobile: kzm9g-reference: add ethernet support
        ARM: shmobile: add R-Car M1A Bock-W platform support
        ...
      a8c4b90e
    • L
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · eac84105
      Linus Torvalds 提交于
      Pull more vhost fixes from Michael Tsirkin:
       "This fixes some minor issues in the patches that have been merged.
      
        We also finally drop the workaround disabling event_idx for scsi: it
        was always questionable, and now we know it's not needed.
      
        There's also a memory leak fix"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
        vhost-scsi: Enable VIRTIO_RING_F_EVENT_IDX
        vhost: drop virtio_net.h dependency
        vhost-net: Cleanup vhost_ubuf and vhost_zcopy
        vhost: Remove vhost_enable_zcopy in vhost.h
        vhost: Remove comments for hdr in vhost.h
        vhost: Move VHOST_NET_FEATURES to net.c
        vhost-net: Free ubuf when vhost_dev_set_owner fails
        vhost: Export vhost_dev_set_owner
      eac84105
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse · a26ea93a
      Linus Torvalds 提交于
      Pull fuse updates from Miklos Szeredi:
       "This contains two patchsets from Maxim Patlasov.
      
        The first reworks the request throttling so that only async requests
        are throttled.  Wakeup of waiting async requests is also optimized.
      
        The second series adds support for async processing of direct IO which
        optimizes direct IO and enables the use of the AIO userspace
        interface."
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
        fuse: add flag to turn on async direct IO
        fuse: truncate file if async dio failed
        fuse: optimize short direct reads
        fuse: enable asynchronous processing direct IO
        fuse: make fuse_direct_io() aware about AIO
        fuse: add support of async IO
        fuse: move fuse_release_user_pages() up
        fuse: optimize wake_up
        fuse: implement exclusive wakeup for blocked_waitq
        fuse: skip blocking on allocations of synchronous requests
        fuse: add flag fc->initialized
        fuse: make request allocations for background processing explicit
      a26ea93a
    • L
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · c818c778
      Linus Torvalds 提交于
      Pull powerpc updates from Benjamin Herrenschmidt:
       "Here are a few more powerpc bits that I would like in 3.10.
      
        Mostly remaining bolts & screw tightening of power8 support such as
        actually exposing the new features via the previously added AT_HWCAP2,
        and a few fixes, some of them for problems exposed recently like
        irqdomain warnings or sysfs access permission issues, some exposed by
        power8 hardware.
      
        The only change outside of arch/powerpc is a small one to irqdomain.c
        to allow silent failure to fix a problem on Cell where we get a dozen
        WARN_ON's tripping at boot for what is basically a normal case."
      
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
        powerpc: Make hard_irq_disable() do the right thing vs. irq tracing
        powerpc/topology: Fix spurr attribute permission
        powerpc/pci: Support per-aperture memory offset
        powerpc/cell/iommu: Improve error message for missing node
        powerpc/cell/spufs: Fix status attribute permission
        irqdomain: Allow quiet failure mode
        powerpc/pnv: Fix "compatible" property for P8 PHB
        powerpc/pci: Don't add bogus empty resources to PHBs
        powerpc/powerpnv: Properly handle failure starting CPUs
        powerpc/cputable: Advertise support for ISEL/HTM/DSCR/TAR on POWER8
        powerpc/cputable: Advertise ISEL support on appropriate embedded processors
        powerpc/cputable: Advertise DSCR support on P7/P7+
        powerpc/cputable: Reserve bits in HWCAP2 for new features
        powerpc/pseries: Perform proper max_bus_speed detection
        powerpc/pseries: Force 32 bit MSIs for devices that require it
        powerpc/tm: Fix null pointer deference in flush_hash_page
        powerpc/powernv: Defer OPAL exception handler registration
        powerpc: Emulate non privileged DSCR read and write
      c818c778
    • L
      Merge branch 'rwsem-optimizations' · c8de2fa4
      Linus Torvalds 提交于
      Merge rwsem optimizations from Michel Lespinasse:
       "These patches extend Alex Shi's work (which added write lock stealing
        on the rwsem slow path) in order to provide rwsem write lock stealing
        on the fast path (that is, without taking the rwsem's wait_lock).
      
        I have unfortunately been unable to push this through -next before due
        to Ingo Molnar / David Howells / Peter Zijlstra being busy with other
        things.  However, this has gotten some attention from Rik van Riel and
        Davidlohr Bueso who both commented that they felt this was ready for
        v3.10, and Ingo Molnar has said that he was OK with me pushing
        directly to you.  So, here goes :)
      
        Davidlohr got the following test results from pgbench running on a
        quad-core laptop:
      
          | db_size | clients  |  tps-vanilla   |   tps-rwsem  |
          +---------+----------+----------------+--------------+
          | 160 MB   |       1 |           5803 |         6906 | + 19.0%
          | 160 MB   |       2 |          13092 |        15931 |
          | 160 MB   |       4 |          29412 |        33021 |
          | 160 MB   |       8 |          32448 |        34626 |
          | 160 MB   |      16 |          32758 |        33098 |
          | 160 MB   |      20 |          26940 |        31343 | + 16.3%
          | 160 MB   |      30 |          25147 |        28961 |
          | 160 MB   |      40 |          25484 |        26902 |
          | 160 MB   |      50 |          24528 |        25760 |
          ------------------------------------------------------
          | 1.6 GB   |       1 |           5733 |         7729 | + 34.8%
          | 1.6 GB   |       2 |           9411 |        19009 | + 101.9%
          | 1.6 GB   |       4 |          31818 |        33185 |
          | 1.6 GB   |       8 |          33700 |        34550 |
          | 1.6 GB   |      16 |          32751 |        33079 |
          | 1.6 GB   |      20 |          30919 |        31494 |
          | 1.6 GB   |      30 |          28540 |        28535 |
          | 1.6 GB   |      40 |          26380 |        27054 |
          | 1.6 GB   |      50 |          25241 |        25591 |
          ------------------------------------------------------
          | 7.6 GB   |       1 |           5779 |         6224 |
          | 7.6 GB   |       2 |          10897 |        13611 | + 24.9%
          | 7.6 GB   |       4 |          32683 |        33108 |
          | 7.6 GB   |       8 |          33968 |        34712 |
          | 7.6 GB   |      16 |          32287 |        32895 |
          | 7.6 GB   |      20 |          27770 |        31689 | + 14.1%
          | 7.6 GB   |      30 |          26739 |        29003 |
          | 7.6 GB   |      40 |          24901 |        26683 |
          | 7.6 GB   |      50 |          17115 |        25925 | + 51.5%
          ------------------------------------------------------
      
        (Davidlohr also has one additional patch which further improves
        throughput, though I will ask him to send it directly to you as I have
        suggested some minor changes)."
      
      * emailed patches from Michel Lespinasse <walken@google.com>:
        rwsem: no need for explicit signed longs
        x86 rwsem: avoid taking slow path when stealing write lock
        rwsem: do not block readers at head of queue if other readers are active
        rwsem: implement support for write lock stealing on the fastpath
        rwsem: simplify __rwsem_do_wake
        rwsem: skip initial trylock in rwsem_down_write_failed
        rwsem: avoid taking wait_lock in rwsem_down_write_failed
        rwsem: use cmpxchg for trying to steal write lock
        rwsem: more agressive lock stealing in rwsem_down_write_failed
        rwsem: simplify rwsem_down_write_failed
        rwsem: simplify rwsem_down_read_failed
        rwsem: move rwsem_down_failed_common code into rwsem_down_{read,write}_failed
        rwsem: shorter spinlocked section in rwsem_down_failed_common()
        rwsem: make the waiter type an enumeration rather than a bitmask
      c8de2fa4
  3. 07 5月, 2013 30 次提交