1. 23 May, 2017 2 commits
  2. 19 May, 2017 2 commits
    • Arnd Bergmann's avatar
      arm64: dts: rockchip: fix include reference · 6bf1c2d2
      Arnd Bergmann authored
      The way we handle include paths for DT has changed a bit, which
      broke a file that had an unconventional way to reference a common
      header file:
      arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts:47:10: fatal error: include/dt-bindings/input/linux-event-codes.h: No such file or directory
      This removes the leading "include/" from the path name, which fixes it.
      Fixes: d5d332d3 ("devicetree: Move include prefixes from arch to separate directory")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    • Olof Johansson's avatar
      devicetree: Move include prefixes from arch to separate directory · d5d332d3
      Olof Johansson authored
      We use a directory under arch/$ARCH/boot/dts as an include path
      that has links outside of the subtree to find dt-bindings from under
      include/dt-bindings. That's been working well, but new DT architectures
      haven't been adding them by default.
      Recently there's been a desire to share some of the DT material between
      arm and arm64, which originally caused developers to create symlinks or
      relative includes between the subtrees. This isn't ideal -- it breaks
      if the DT files aren't stored in the exact same hierarchy as the kernel
      tree, and generally it's just icky.
      As a somewhat cleaner solution we decided to add a $ARCH/ prefix link
      once, and allow DTS files to reference dtsi (and dts) files in other
      architectures that way.
      Original approach was to create these links under each architecture,
      but it lead to the problem of recursive symlinks.
      As a remedy, move the include link directories out of the architecture
      trees into a common location. At the same time, they can now share one
      directory and one dt-bindings/ link as well.
      Fixes: 4027494a ('ARM: dts: add arm/arm64 include symlinks')
      Reported-by: default avatarRussell King <linux@armlinux.org.uk>
      Reported-by: default avatarOmar Sandoval <osandov@osandov.com>
      Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
      Reviewed-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Tested-by: default avatarHeiko Stuebner <heiko@sntech.de>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Cc: Heiko Stuebner <heiko@sntech.de>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Jesper Nilsson <jesper.nilsson@axis.com>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Frank Rowand <frowand.list@gmail.com>
      Cc: linux-arch <linux-arch@vger.kernel.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
  3. 09 May, 2017 1 commit
  4. 28 Apr, 2017 2 commits
  5. 27 Apr, 2017 1 commit
  6. 24 Apr, 2017 2 commits
  7. 20 Apr, 2017 2 commits
  8. 19 Apr, 2017 2 commits
    • Sudeep Holla's avatar
      arm64: dts: juno: add information about L1 and L2 caches · f9936c4a
      Sudeep Holla authored
      Commit a8d4636f ("arm64: cacheinfo: Remove CCSIDR-based cache
      information probing") removed mechanism to extract cache information
      based on CCSIDR register as the architecture explicitly states no
      inference about the actual sizes of caches based on CCSIDR registers.
      Commit 9a802431 ("arm64: cacheinfo: add support to override cache
      levels via device tree") had already provided options to override cache
      information from the device tree.
      This patch adds the information about L1 and L2 caches on all variants
      of Juno platform.
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Liviu Dudau <liviu.dudau@arm.com>
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
    • Sudeep Holla's avatar
      arm64: dts: juno: fix few unit address format warnings · 72cc1993
      Sudeep Holla authored
      This patch fixes the following set of warnings on juno.
       smb@08000000 unit name should not have leading 0s
       sysctl@020000 simple-bus unit address format error, expected "20000"
       apbregs@010000 simple-bus unit address format error, expected "10000"
       mmci@050000 simple-bus unit address format error, expected "50000"
       kmi@060000 simple-bus unit address format error, expected "60000"
       kmi@070000 simple-bus unit address format error, expected "70000"
       wdt@0f0000 simple-bus unit address format error, expected "f0000"
      Acked-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
  9. 13 Apr, 2017 1 commit
  10. 12 Apr, 2017 3 commits
  11. 11 Apr, 2017 2 commits
  12. 10 Apr, 2017 2 commits
  13. 08 Apr, 2017 4 commits
  14. 07 Apr, 2017 1 commit
  15. 06 Apr, 2017 3 commits
    • Icenowy Zheng's avatar
      arm64: allwinner: a64: add pmu0 regs for USB PHY · 0d984797
      Icenowy Zheng authored
      The USB PHY in A64 has a "pmu0" region, which controls the EHCI/OHCI
      controller pair that can be connected to the PHY0.
      Add the MMIO region for PHY node.
      Signed-off-by: Icenowy Zheng's avatarIcenowy Zheng <icenowy@aosc.io>
      Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
    • Jiancheng Xue's avatar
      arm64: dts: hisilicon: add dts files for hi3798cv200-poplar board · 2f20182e
      Jiancheng Xue authored
      Add basic dts files for hi3798cv200-poplar board. Poplar is the
      first development board compliant with the 96Boards Enterprise
      Edition TV Platform specification. The board features the
      Hi3798CV200 with an integrated quad-core 64-bit ARM Cortex A53
      processor and high performance Mali T720 GPU.
      Signed-off-by: default avatarJiancheng Xue <xuejiancheng@hisilicon.com>
      Reviewed-by: default avatarAlex Elder <elder@linaro.org>
      Acked-by: default avatarPeter Griffin <peter.griffin@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
    • Daniel Lezcano's avatar
      arm64: dts: hi6220: Reset the mmc hosts · 0fbdf995
      Daniel Lezcano authored
      The MMC hosts could be left in an unconsistent or uninitialized state from
      the firmware. Instead of assuming, the firmware did the right things, let's
      reset the host controllers.
      This change fixes a bug when the mmc2/sdio is initialized leading to a hung
      [  242.704294] INFO: task kworker/7:1:675 blocked for more than 120 seconds.
      [  242.711129]       Not tainted 4.9.0-rc8-00017-gcf0251f #3
      [  242.716571] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
      [  242.724435] kworker/7:1     D    0   675      2 0x00000000
      [  242.729973] Workqueue: events_freezable mmc_rescan
      [  242.734796] Call trace:
      [  242.737269] [<ffff00000808611c>] __switch_to+0xa8/0xb4
      [  242.742437] [<ffff000008d07c04>] __schedule+0x1c0/0x67c
      [  242.747689] [<ffff000008d08254>] schedule+0x40/0xa0
      [  242.752594] [<ffff000008d0b284>] schedule_timeout+0x1c4/0x35c
      [  242.758366] [<ffff000008d08e38>] wait_for_common+0xd0/0x15c
      [  242.763964] [<ffff000008d09008>] wait_for_completion+0x28/0x34
      [  242.769825] [<ffff000008a1a9f4>] mmc_wait_for_req_done+0x40/0x124
      [  242.775949] [<ffff000008a1ab98>] mmc_wait_for_req+0xc0/0xf8
      [  242.781549] [<ffff000008a1ac3c>] mmc_wait_for_cmd+0x6c/0x84
      [  242.787149] [<ffff000008a26610>] mmc_io_rw_direct_host+0x9c/0x114
      [  242.793270] [<ffff000008a26aa0>] sdio_reset+0x34/0x7c
      [  242.798347] [<ffff000008a1d46c>] mmc_rescan+0x2fc/0x360
      [ ... ]
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
  16. 05 Apr, 2017 1 commit
  17. 04 Apr, 2017 9 commits