1. 28 Feb, 2015 3 commits
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 895c8b7b
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "The arm-soc bug fixes this time around are mostly for the omap
        platform, coming from a pull request from Tony Lindgren and are almost
        entirely fixing dts files.
      
        The other two changes enable support for the shmobile platform in
        generic armv7 kernels and change some properties in the ARM64
        reference board dts files"
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: multi_v7_defconfig: Enable shmobile platforms
        arm64: Add L2 cache topology to ARM Ltd boards/models
        ARM: dts: am335x-bone*: usb0 is hardwired for peripheral
        ARM: dts: dra7x-evm: beagle-x15: Fix USB Host
        ARM: omap2plus_defconfig: Fix SATA boot
        ARM: omap2plus_defconfig: Enable OMAP NAND BCH driver
        ARM: dts: dra7: Correct the dma controller's property names
        ARM: dts: omap5: Correct the dma controller's property names
        ARM: dts: omap4: Correct the dma controller's property names
        ARM: dts: omap3: Correct the dma controller's property names
        ARM: dts: omap2: Correct the dma controller's property names
        ARM: dts: am437x-idk: fix sleep pinctrl state
        ARM: omap2plus_defconfig: enable TPS62362 regulator
        ARM: dts: am437x-idk: fix TPS62362 i2c bus
        ARM: dts: n900: Fix offset for smc91x ethernet
        ARM: dts: n900: fix i2c bus numbering
        ARM: dts: Fix USB dts configuration for dm816x
        ARM: dts: OMAP5: Fix SATA PHY node
        ARM: dts: DRA7: Fix SATA PHY node
      895c8b7b
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 8d20a3dd
      Linus Torvalds authored
      Pull arm64 fixes from Catalin Marinas:
       "Various arm64 fixes:
         - ftrace branch generation fix
         - branch instruction encoding fix
         - include files, guards and unused prototypes clean-up
         - minor VDSO ABI fix (clock_getres)
         - PSCI functions moved to .S to avoid compilation error with gcc 5
         - pte_modify fix to not ignore the mapping type
         - crypto: AES interleaved increased to 4x (for performance reasons)
         - text patching fix for modules
         - swiotlb increased back to 64MB
         - copy_siginfo_to_user32() fix for big endian"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: cpuidle: add asm/proc-fns.h inclusion
        arm64: compat Fix siginfo_t -> compat_siginfo_t conversion on big endian
        arm64: Increase the swiotlb buffer size 64MB
        arm64: Fix text patching logic when using fixmap
        arm64: crypto: increase AES interleave to 4x
        arm64: enable PTE type bit in the mask for pte_modify
        arm64: mm: remove unused functions and variable protoypes
        arm64: psci: move psci firmware calls out of line
        arm64: vdso: minor ABI fix for clock_getres
        arm64: guard asm/assembler.h against multiple inclusions
        arm64: insn: fix compare-and-branch encodings
        arm64: ftrace: fix ftrace_modify_graph_caller for branch replace
      8d20a3dd
    • Linus Torvalds's avatar
      Merge tag 'renesas-sh-drivers-for-v4.0' of... · 1c070515
      Linus Torvalds authored
      Merge tag 'renesas-sh-drivers-for-v4.0' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas
      
      Pull SH driver fix from Simon Horman:
       "Disable PM runtime for multi-platform r8a7740 with genpd"
      
      * tag 'renesas-sh-drivers-for-v4.0' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        drivers: sh: Disable PM runtime for multi-platform r8a7740 with genpd
      1c070515
  2. 27 Feb, 2015 3 commits
    • Lorenzo Pieralisi's avatar
      arm64: cpuidle: add asm/proc-fns.h inclusion · af4819af
      Lorenzo Pieralisi authored
      ARM64 CPUidle driver requires the cpu_do_idle function so that it can
      be used to enter the shallowest idle state, and it is declared in
      asm/proc-fns.h.
      
      The current ARM64 CPUidle driver does not include asm/proc-fns.h
      explicitly and it has so far relied on implicit inclusion from other
      header files.
      
      Owing to some header dependencies reshuffling this currently triggers
      build failures when CONFIG_ARM64_64K_PAGES=y:
      
      drivers/cpuidle/cpuidle-arm64.c: In function "arm64_enter_idle_state"
      drivers/cpuidle/cpuidle-arm64.c:42:3: error: implicit declaration of
      function "cpu_do_idle" [-Werror=implicit-function-declaration]
         cpu_do_idle();
         ^
      
      This patch adds the explicit inclusion of the asm/proc-fns.h header file
      in the arm64 asm/cpuidle.h header file, so that the build breakage is fixed
      and the required header inclusion is added to the appropriate arch back-end
      CPUidle header, already included by the CPUidle arm64 driver, where
      CPUidle arch related function declarations belong.
      Reported-by: default avatarLaura Abbott <lauraa@codeaurora.org>
      Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Acked-by: default avatarWill Deacon <will.deacon@arm.com>
      Tested-by: default avatarMark Rutland <mark.rutland@arm.com>
      Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      af4819af
    • Catalin Marinas's avatar
      arm64: compat Fix siginfo_t -> compat_siginfo_t conversion on big endian · 9d42d48a
      Catalin Marinas authored
      The native (64-bit) sigval_t union contains sival_int (32-bit) and
      sival_ptr (64-bit). When a compat application invokes a syscall that
      takes a sigval_t value (as part of a larger structure, e.g.
      compat_sys_mq_notify, compat_sys_timer_create), the compat_sigval_t
      union is converted to the native sigval_t with sival_int overlapping
      with either the least or the most significant half of sival_ptr,
      depending on endianness. When the corresponding signal is delivered to a
      compat application, on big endian the current (compat_uptr_t)sival_ptr
      cast always returns 0 since sival_int corresponds to the top part of
      sival_ptr. This patch fixes copy_siginfo_to_user32() so that sival_int
      is copied to the compat_siginfo_t structure.
      
      Cc: <stable@vger.kernel.org>
      Reported-by: default avatarBamvor Jian Zhang <bamvor.zhangjian@huawei.com>
      Tested-by: default avatarBamvor Jian Zhang <bamvor.zhangjian@huawei.com>
      Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      9d42d48a
    • Catalin Marinas's avatar
      arm64: Increase the swiotlb buffer size 64MB · a1e50a82
      Catalin Marinas authored
      With commit 3690951f (arm64: Use swiotlb late initialisation), the
      swiotlb buffer size is limited to MAX_ORDER_NR_PAGES. However, there are
      platforms with 32-bit only devices that require bounce buffering via
      swiotlb. This patch changes the swiotlb initialisation to an early 64MB
      memblock allocation. In order to get the swiotlb buffer correctly
      allocated (via memblock_virt_alloc_low_nopanic), this patch also defines
      ARCH_LOW_ADDRESS_LIMIT to the maximum physical address capable of 32-bit
      DMA.
      Reported-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
      Tested-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
      Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      a1e50a82
  3. 26 Feb, 2015 10 commits
  4. 25 Feb, 2015 3 commits
    • Arnd Bergmann's avatar
      Merge tag 'fixes-v4.0-rc1' of... · 6af714b0
      Arnd Bergmann authored
      Merge tag 'fixes-v4.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
      
      Fixes for various omap devices. It's all dts and defconfig
      changes for this set:
      
      - Fix wrong DMA properties for dma to avoid them getting
        copied wrong again before we start actually using them
      
      - USB fixes to revert the extcon changes as the driver did not
        get merged yet and cause issues
      
      - Omap5 and dra7 fixes to boot from sata
      
      - Fix few am437x issues for i2c and pinctrl
      
      - Fix beaglebone for hardwared USB configuration
      
      - Defconfig changes for NAND, SATA and TPS62362
      
      - Fix n900 i2c numbering for legacy user space and smc91x
        register offset so it works also for qemu
      
      - Fix incomplete USB configuration for dm816x
      
      * tag 'fixes-v4.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: dts: am335x-bone*: usb0 is hardwired for peripheral
        ARM: dts: dra7x-evm: beagle-x15: Fix USB Host
        ARM: omap2plus_defconfig: Fix SATA boot
        ARM: omap2plus_defconfig: Enable OMAP NAND BCH driver
        ARM: dts: dra7: Correct the dma controller's property names
        ARM: dts: omap5: Correct the dma controller's property names
        ARM: dts: omap4: Correct the dma controller's property names
        ARM: dts: omap3: Correct the dma controller's property names
        ARM: dts: omap2: Correct the dma controller's property names
        ARM: dts: am437x-idk: fix sleep pinctrl state
        ARM: omap2plus_defconfig: enable TPS62362 regulator
        ARM: dts: am437x-idk: fix TPS62362 i2c bus
        ARM: dts: n900: Fix offset for smc91x ethernet
        ARM: dts: n900: fix i2c bus numbering
        ARM: dts: Fix USB dts configuration for dm816x
        ARM: dts: OMAP5: Fix SATA PHY node
        ARM: dts: DRA7: Fix SATA PHY node
      6af714b0
    • Sudeep Holla's avatar
      arm64: Add L2 cache topology to ARM Ltd boards/models · 7934d69a
      Sudeep Holla authored
      Commit 5d425c18 ("arm64: kernel: add support for cpu cache
      information") adds cacheinfo support for ARM64. Since there's no
      architectural way of detecting the cpus that share particular cache,
      device tree can be used and the core cacheinfo already supports the
      same.
      
      This patch adds the L2 cache topology on Juno board, FVP/RTSM and
      foundation models.
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Liviu Dudau <Liviu.Dudau@arm.com>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      7934d69a
    • Takashi Iwai's avatar
      ALSA: hda - Disable runtime PM for Panther Point again · de5d0ad5
      Takashi Iwai authored
      This is essentially a partial revert of the commit [b1920c21:
      'ALSA: hda - Enable runtime PM on Panther Point'].  There was a bug
      report showing the HD-audio bus hang during runtime PM on HP Spectre
      XT.
      Reported-by: default avatarDang Sananikone <dang.sananikone@gmail.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      de5d0ad5
  5. 24 Feb, 2015 21 commits