1. 06 8月, 2015 4 次提交
    • L
      ARM: ux500: simplify secondary CPU boot · c00def71
      Linus Walleij 提交于
      This removes a lot of ancient cruft from the Ux500 SMP boot.
      Instead of the pen grab/release, just point the ROM to
      secondary_boot() and start the second CPU there, then send
      the IPI.
      
      Use our own SMP enable method. This enables us to remove the
      last static mapping and get both CPUs booting properly.
      
      Tested this and it just works.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      c00def71
    • O
      Merge branch 'fixes' into next/cleanup · 58e00a6c
      Olof Johansson 提交于
      * fixes: (28 commits)
        ARM: ux500: add an SMP enablement type and move cpu nodes
        ARM: dts: keystone: fix dt bindings to use post div register for mainpll
        ARM: nomadik: disable UART0 on Nomadik boards
        ARM: dts: i.MX35: Fix can support.
        ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc
        ARM: dts: add CPU OPP and regulator supply property for exynos4210
        ARM: dts: Update video-phy node with syscon phandle for exynos3250
        ARM: keystone: dts: rename pcie nodes to help override status
        ARM: keystone: dts: fix dt bindings for PCIe
        ARM: pxa: fix dm9000 platform data regression
        ARM: DRA7: hwmod: fix gpmc hwmod
        ARM: dts: Correct audio input route & set mic bias for am335x-pepper
        ARM: OMAP2+: Add HAVE_ARM_SCU for AM43XX
        MAINTAINERS: digicolor: add dts files
        ARM: ux500: fix MMC/SD card regression
        ARM: ux500: define serial port aliases
        ARM: dts: OMAP5: Add #iommu-cells property to IOMMUs
        ARM: dts: OMAP4: Add #iommu-cells property to IOMMUs
        ARM: dts: Fix frequency scaling on Gumstix Pepper
        ARM: dts: configure regulators for Gumstix Pepper
        ...
      58e00a6c
    • L
      ARM: ux500: add an SMP enablement type and move cpu nodes · bf64dd26
      Linus Walleij 提交于
      The "cpus" node cannot be inside the "soc" node, while this
      works for the CoreSight blocks, the early boot code will look
      for "cpus" directly under the root node, so this is a hard
      convention. So move the CPU nodes.
      
      Augment the "reg" property to match what is actually in the
      hardware: 0x300 and 0x301 respectively.
      
      Then add an SMP enablement type to be used by the SMP init
      code, "ste,dbx500-smp".
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      bf64dd26
    • O
      Merge tag 'renesas-marzen-board-removal-for-v4.3' of... · ff20775d
      Olof Johansson 提交于
      Merge tag 'renesas-marzen-board-removal-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/cleanup
      
      Renesas ARM Based SoC Marzen Board Removal for v4.3
      
      * Remove legacy r8a7779 SoC code
      * Remove legacy marzen board code
      
      * tag 'renesas-marzen-board-removal-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: r8a7779: Remove legacy SoC code
        ARM: shmobile: marzen: Remove legacy board code
        ARM: shmobile: r8a7779: Cleanup header file
        ARM: shmobile: marzen-reference: Remove C board code
        ARM: shmobile: r8a7779: Generic SMP ops
        ARM: shmobile: r8a7779: Generic CCF and timer support
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      ff20775d
  2. 05 8月, 2015 1 次提交
    • O
      Merge branch 'queue/irq/arm' of... · 39aa437e
      Olof Johansson 提交于
      Merge branch 'queue/irq/arm' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into next/cleanup
      
      Merge "ARM: Interrupt cleanups and API change preparation" from Thomas
      Gleixner:
      
      The following patch series contains the following changes:
      
          - Consolidation of chained interrupt handler setup/removal
      
          - Switch to functions which avoid a redundant interrupt
            descriptor lookup
      
          - Preparation of interrupt flow handlers for the 'irq' argument
            removal
      
      * 'queue/irq/arm' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        ARM/orion/gpio: Prepare gpio_irq_handler for irq argument removal
        ARM/pxa: Prepare balloon3_irq_handler for irq argument removal
        ARM/pxa: Prepare *_irq_handler for irq argument removal
        ARM/dove: Prepare pmu_irq_handler for irq argument removal
        ARM/sa1111: Prepare sa1111_irq_handler for irq argument removal
        ARM/locomo: Prepare locomo_handler for irq argument removal
        ARM, irq: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
        ARM/LPC32xx: Use irq_set_handler_locked()
        ARM/irq: Use access helper irq_data_get_affinity_mask()
        ARM/locomo: Consolidate chained IRQ handler install/remove
        ARM/orion: Consolidate chained IRQ handler install/remove
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      39aa437e
  3. 01 8月, 2015 1 次提交
  4. 28 7月, 2015 7 次提交
  5. 27 7月, 2015 3 次提交
  6. 25 7月, 2015 1 次提交
  7. 23 7月, 2015 2 次提交
    • R
      ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc · 9a258afa
      Roger Quadros 提交于
      For hwmods without sysc, _init_mpu_rt_base(oh) won't be called and so
      _find_mpu_rt_port(oh) will return NULL thus preventing ready state check
      on those modules after the module is enabled.
      
      This can potentially cause a bus access error if the module is accessed
      before the module is ready.
      
      Fix this by unconditionally calling _init_mpu_rt_base() during hwmod
      _init(). Do ioremap only if we need SYSC access.
      
      Eventhough _wait_target_ready() check doesn't really need MPU RT port but
      just the PRCM registers, we still mandate that the hwmod must have an
      MPU RT port if ready state check needs to be done. Else it would mean that
      the module is not accessible by MPU so there is no point in waiting
      for target to be ready.
      
      e.g. this fixes the below DCAN bus access error on AM437x-gp-evm.
      
      [   16.672978] ------------[ cut here ]------------
      [   16.677885] WARNING: CPU: 0 PID: 1580 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x234/0x35c()
      [   16.687946] 44000000.ocp:L3 Custom Error: MASTER M2 (64-bit) TARGET L4_PER_0 (Read): Data Access in User mode during Functional access
      [   16.700654] Modules linked in: xhci_hcd btwilink ti_vpfe dwc3 videobuf2_core ov2659 bluetooth v4l2_common videodev ti_am335x_adc kfifo_buf industrialio c_can_platform videobuf2_dma_contig media snd_soc_tlv320aic3x pixcir_i2c_ts c_can dc
      [   16.731144] CPU: 0 PID: 1580 Comm: rpc.statd Not tainted 3.14.26-02561-gf733aa036398 #180
      [   16.739747] Backtrace:
      [   16.742336] [<c0011108>] (dump_backtrace) from [<c00112a4>] (show_stack+0x18/0x1c)
      [   16.750285]  r6:00000093 r5:00000009 r4:eab5b8a8 r3:00000000
      [   16.756252] [<c001128c>] (show_stack) from [<c05a4418>] (dump_stack+0x20/0x28)
      [   16.763870] [<c05a43f8>] (dump_stack) from [<c0037120>] (warn_slowpath_common+0x6c/0x8c)
      [   16.772408] [<c00370b4>] (warn_slowpath_common) from [<c00371e4>] (warn_slowpath_fmt+0x38/0x40)
      [   16.781550]  r8:c05d1f90 r7:c0730844 r6:c0730448 r5:80080003 r4:ed0cd210
      [   16.788626] [<c00371b0>] (warn_slowpath_fmt) from [<c027fa94>] (l3_interrupt_handler+0x234/0x35c)
      [   16.797968]  r3:ed0cd480 r2:c0730508
      [   16.801747] [<c027f860>] (l3_interrupt_handler) from [<c0063758>] (handle_irq_event_percpu+0x54/0x1bc)
      [   16.811533]  r10:ed005600 r9:c084855b r8:0000002a r7:00000000 r6:00000000 r5:0000002a
      [   16.819780]  r4:ed0e6d80
      [   16.822453] [<c0063704>] (handle_irq_event_percpu) from [<c00638f0>] (handle_irq_event+0x30/0x40)
      [   16.831789]  r10:eb2b6938 r9:eb2b6960 r8:bf011420 r7:fa240100 r6:00000000 r5:0000002a
      [   16.840052]  r4:ed005600
      [   16.842744] [<c00638c0>] (handle_irq_event) from [<c00661d8>] (handle_fasteoi_irq+0x74/0x128)
      [   16.851702]  r4:ed005600 r3:00000000
      [   16.855479] [<c0066164>] (handle_fasteoi_irq) from [<c0063068>] (generic_handle_irq+0x28/0x38)
      [   16.864523]  r4:0000002a r3:c0066164
      [   16.868294] [<c0063040>] (generic_handle_irq) from [<c000ef60>] (handle_IRQ+0x38/0x8c)
      [   16.876612]  r4:c081c640 r3:00000202
      [   16.880380] [<c000ef28>] (handle_IRQ) from [<c00084f0>] (gic_handle_irq+0x30/0x5c)
      [   16.888328]  r6:eab5ba38 r5:c0804460 r4:fa24010c r3:00000100
      [   16.894303] [<c00084c0>] (gic_handle_irq) from [<c05a8d80>] (__irq_svc+0x40/0x50)
      [   16.902193] Exception stack(0xeab5ba38 to 0xeab5ba80)
      [   16.907499] ba20:                                                       00000000 00000006
      [   16.916108] ba40: fa1d0000 fa1d0008 ed3d3000 eab5bab4 ed3d3460 c0842af4 bf011420 eb2b6960
      [   16.924716] ba60: eb2b6938 eab5ba8c eab5ba90 eab5ba80 bf035220 bf07702c 600f0013 ffffffff
      [   16.933317]  r7:eab5ba6c r6:ffffffff r5:600f0013 r4:bf07702c
      [   16.939317] [<bf077000>] (c_can_plat_read_reg_aligned_to_16bit [c_can_platform]) from [<bf035220>] (c_can_get_berr_counter+0x38/0x64 [c_can])
      [   16.952696] [<bf0351e8>] (c_can_get_berr_counter [c_can]) from [<bf010294>] (can_fill_info+0x124/0x15c [can_dev])
      [   16.963480]  r5:ec8c9740 r4:ed3d3000
      [   16.967253] [<bf010170>] (can_fill_info [can_dev]) from [<c0502fa8>] (rtnl_fill_ifinfo+0x58c/0x8fc)
      [   16.976749]  r6:ec8c9740 r5:ed3d3000 r4:eb2b6780
      [   16.981613] [<c0502a1c>] (rtnl_fill_ifinfo) from [<c0503408>] (rtnl_dump_ifinfo+0xf0/0x1dc)
      [   16.990401]  r10:ec8c9740 r9:00000000 r8:00000000 r7:00000000 r6:ebd4d1b4 r5:ed3d3000
      [   16.998671]  r4:00000000
      [   17.001342] [<c0503318>] (rtnl_dump_ifinfo) from [<c050e6e4>] (netlink_dump+0xa8/0x1e0)
      [   17.009772]  r10:00000000 r9:00000000 r8:c0503318 r7:ebf3e6c0 r6:ebd4d1b4 r5:ec8c9740
      [   17.018050]  r4:ebd4d000
      [   17.020714] [<c050e63c>] (netlink_dump) from [<c050ec10>] (__netlink_dump_start+0x104/0x154)
      [   17.029591]  r6:eab5bd34 r5:ec8c9980 r4:ebd4d000
      [   17.034454] [<c050eb0c>] (__netlink_dump_start) from [<c0505604>] (rtnetlink_rcv_msg+0x110/0x1f4)
      [   17.043778]  r7:00000000 r6:ec8c9980 r5:00000f40 r4:ebf3e6c0
      [   17.049743] [<c05054f4>] (rtnetlink_rcv_msg) from [<c05108e8>] (netlink_rcv_skb+0xb4/0xc8)
      [   17.058449]  r8:eab5bdac r7:ec8c9980 r6:c05054f4 r5:ec8c9980 r4:ebf3e6c0
      [   17.065534] [<c0510834>] (netlink_rcv_skb) from [<c0504134>] (rtnetlink_rcv+0x24/0x2c)
      [   17.073854]  r6:ebd4d000 r5:00000014 r4:ec8c9980 r3:c0504110
      [   17.079846] [<c0504110>] (rtnetlink_rcv) from [<c05102ac>] (netlink_unicast+0x180/0x1ec)
      [   17.088363]  r4:ed0c6800 r3:c0504110
      [   17.092113] [<c051012c>] (netlink_unicast) from [<c0510670>] (netlink_sendmsg+0x2ac/0x380)
      [   17.100813]  r10:00000000 r8:00000008 r7:ec8c9980 r6:ebd4d000 r5:eab5be70 r4:eab5bee4
      [   17.109083] [<c05103c4>] (netlink_sendmsg) from [<c04dfdb4>] (sock_sendmsg+0x90/0xb0)
      [   17.117305]  r10:00000000 r9:eab5a000 r8:becdda3c r7:0000000c r6:ea978400 r5:eab5be70
      [   17.125563]  r4:c05103c4
      [   17.128225] [<c04dfd24>] (sock_sendmsg) from [<c04e1c28>] (SyS_sendto+0xb8/0xdc)
      [   17.136001]  r6:becdda5c r5:00000014 r4:ecd37040
      [   17.140876] [<c04e1b70>] (SyS_sendto) from [<c000e680>] (ret_fast_syscall+0x0/0x30)
      [   17.148923]  r10:00000000 r8:c000e804 r7:00000122 r6:becdda5c r5:0000000c r4:becdda5c
      [   17.157169] ---[ end trace 2b71e15b38f58bad ]---
      
      Fixes: 6423d6df ("ARM: OMAP2+: hwmod: check for module address space during init")
      Signed-off-by: NRoger Quadros <rogerq@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: <stable@vger.kernel.org>
      9a258afa
    • O
      Merge tag 'omap-for-v4.3/legacy-v2-signed' of... · 9521f492
      Olof Johansson 提交于
      Merge tag 'omap-for-v4.3/legacy-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup
      
      Merge "drop few more legacy boards for v4.3" from Tony Lindgren:
      
      Drop more omap3 legacy board-*.c files for v4.3. This time we're
      dropping the board files for omap3logic and omap3pandora.
      
      The reason for dropping these now rather than later is that now
      we can simply revert the patches in case of unexpected issues as
      we are not dropping any platform data at this point.
      
      This leaves us with only the following board-*.c files:
      
      BOARD                   REASON NEEDED
      board-ldp.c             Still used in RMKs boot test system
      board-rx51-*.c          Needs /proc/atags support for user space
      
      Once we have the n900 legacy user space issues sorted out for
      /proc/atags and system_rev, we can drop the remaining two
      board-*.c files. And then one merge window after that we can
      drop the legacy booting support assuming no unexpected issues
      are found.
      
      * tag 'omap-for-v4.3/legacy-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP2+: Remove legacy booting support for Pandora
        ARM: OMAP2+: Remove legacy booting support for LogicPD Torpedo
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      9521f492
  8. 22 7月, 2015 1 次提交
    • O
      Merge tag 'samsung-fixes-1' of... · 82567c85
      Olof Johansson 提交于
      Merge tag 'samsung-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into fixes
      
      Merge "Samsung fixes for v4.2" from Kukjin Kim:
      
      From Krzysztof Kozlowski:
      1. Fix exynos3250 MIPI DSI display and MIPI CSIS-2 camera sensorx
         after adding support for PMU regmap in exynos-video-mipi driver
         (issue introduced in v4.0).
      2. Bring back cpufreq for exynos4210 after incomplete switch to
         cpufreq-dt driver in 4.2 merge window. The necessary DT changes
         for exynos4210 cpufreq was not applied to the same tree as rest
         of patchset because of multiple conflicts between clk and arm-soc
         trees. Unfortunately without the change the exynos4210 boards
         loose cpufreq feature.
      
      * tag 'samsung-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
        ARM: dts: add CPU OPP and regulator supply property for exynos4210
        ARM: dts: Update video-phy node with syscon phandle for exynos3250
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      82567c85
  9. 21 7月, 2015 2 次提交
  10. 19 7月, 2015 1 次提交
  11. 18 7月, 2015 5 次提交
    • O
      Merge tag 'ep93xx-cleanup' of... · cd392752
      Olof Johansson 提交于
      Merge tag 'ep93xx-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator into next/cleanup
      
      Merge "EP93xx cleanups for v4.3" from Linus Walleij:
      
      EP93xx cleanup and completing developments. This switches
      EP93xx to generic time and brings in a few out-of-tree small
      patches that were stalled for ages.
      
      It also removes the need for memory config options and instead moves over to
      using PATCH_PHYS_VIRT.
      
      * tag 'ep93xx-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator:
        ARM: ep93xx: simone: enable DMA on the SPI host
        ARM: ep93xx: vision_ep9307: add audio support
        ARM: ep93xx: vision_ep9307: enable DMA for SPI
        ARM: ep93xx: toss the device ID into the entropy pool
        ARM: ep93xx: remove memory configuration options
        ARM: ep93xx: update comment on timer usage
        ARM: ep93xx: switch clockevent to timer 3
        ARM: ep93xx: use non-raw accessors for timer
        ARM: ep93xx: switch to GENERIC_CLOCKEVENTS
        ARM: ep93xx: move timer to its own file
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      cd392752
    • O
      Merge tag 'arm-soc/for-4.3/soc' of http://github.com/broadcom/stblinux into next/cleanup · 6339189e
      Olof Johansson 提交于
      Merge "Broadcom SoC changes for 4.3 (part 1)" from Florian Fainelli:
      
      This pull request contains two fixes for the Broadcom BCM63xx SMP code:
      
      - Sudeep removes an invalid use of cpu_logical_map() which turned to be a no-op
        since we always boot from physical CPU 0 = logical CPU 0
      
      - Florian removes the custom secondary_startup function and replaces it with
        the generic one
      
      * tag 'arm-soc/for-4.3/soc' of http://github.com/broadcom/stblinux:
        ARM: BCM63xx: Remove custom secondary_startup function
        ARM: BCM63xx: fix parameter to of_get_cpu_node in bcm63138_smp_boot_secondary
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      6339189e
    • O
      Merge tag 'keystone-dts-fixes' of... · 47295aa4
      Olof Johansson 提交于
      Merge tag 'keystone-dts-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into fixes
      
      Merge "ARM: Couple of dts fixes for v4.2-rcx" from Santosh Shilimkar:
      
      Couple of DTS fixes 4.2-rcx for Keystone EVMs:
      
      K2E EVM boot hangs because of missing serdes driver which is needed to bring up
      PCIe on K2E. These couple of fixes makes the PCIE disabled on common default and
      let the specific board DTS to enable it.
      
      * tag 'keystone-dts-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone:
        ARM: keystone: dts: rename pcie nodes to help override status
        ARM: keystone: dts: fix dt bindings for PCIe
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      47295aa4
    • O
      Merge tag 'mvebu-cleanup-4.3-1' of git://git.infradead.org/linux-mvebu into next/cleanup · 3bf7b20a
      Olof Johansson 提交于
      Merge "ARM: mvebu: cleanup changes for v4.3" from Gregory Clement:
      
      mvebu cleanup changes for v4.3 (part #1)
      
      - Use vsprintf %pM extension on orion5x board to format mac address
      - Add missing newline at end of messages on pr_warn when CPU Idle on
        Armada 38x is disabled
      
      * tag 'mvebu-cleanup-4.3-1' of git://git.infradead.org/linux-mvebu:
        ARM: orion5x: Use vsprintf %pM extension
        ARM: mvebu: add missing newline at end of messages
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      3bf7b20a
    • O
      Merge branch 'ARM/clkevt/set-state-4.3' of... · 52e43a11
      Olof Johansson 提交于
      Merge branch 'ARM/clkevt/set-state-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux into next/cleanup
      
      Merge "ARM: clockevents: Migrate to 'set-state' callbacks" from Viresh Kumar:
      
      This series migrates ARM clockevent drivers (present in arch/arm/
      directory), to the new set-state interface. This would enable these
      drivers to use new states (like: ONESHOT_STOPPED, etc.) of a clockevent
      device (if required), as the set-mode interface is marked obsolete now
      and wouldn't be expanded to handle new states.
      
      * 'ARM/clkevt/set-state-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux:
        ARM/orion/time: Migrate to new 'set-state' interface
        ARM/iop/time: Migrate to new 'set-state' interface
        ARM/w90x900/time: Migrate to new 'set-state' interface
        ARM/SPEAr/time: Migrate to new 'set-state' interface
        ARM/omap2/timer: Migrate to new 'set-state' interface
        ARM/omap1/timer32: Migrate to new 'set-state' interface
        ARM/omap1/time: Migrate to new 'set-state' interface
        ARM/netx/time: Migrate to new 'set-state' interface
        ARM/mmp/time: Migrate to new 'set-state' interface
        ARM/lpc32xx/timer: Migrate to new 'set-state' interface
        ARM/ks8695/time: Migrate to new 'set-state' interface
        ARM/ixp4xx/timer: Migrate to new 'set-state' interface
        ARM/imx/epit: Migrate to new 'set-state' interface
        ARM/gemini/time: Migrate to new 'set-state' interface
        ARM/dc21285-timer: Migrate to new 'set-state' interface
        ARM/davinci/time: Migrate to new 'set-state' interface
        ARM/cns3xxx/timer: Migrate to new 'set-state' interface
        ARM/smp_twd: Migrate to new 'set-state' interface
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      52e43a11
  12. 17 7月, 2015 12 次提交