1. 19 Nov, 2016 2 commits
    • Olof Johansson's avatar
      Merge tag 'tegra-for-4.10-mailbox' of... · dd3eedd3
      Olof Johansson authored
      Merge tag 'tegra-for-4.10-mailbox' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/drivers
      
      mailbox: Add Tegra HSP driver
      
      This contains the device tree bindings and a driver for the Tegra HSP, a
      hardware block that provides hardware synchronization primitives and is
      the foundation for inter-processor communication between CPU and BPMP.
      
      * tag 'tegra-for-4.10-mailbox' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
        mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()
        mailbox: Add Tegra HSP driver
        dt-bindings: mailbox: Add Tegra HSP binding
        soc/tegra: Add Tegra186 support
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      dd3eedd3
    • Olof Johansson's avatar
      Merge tag 'reset-for-4.10' of git://git.pengutronix.de/git/pza/linux into next/drivers · 78d375b9
      Olof Johansson authored
      Reset controller changes for v4.10
      
      - remove obsolete STiH41[56] platform support
      - add Oxford Semiconductor OX820 support
      - add reset index include files for OX810SE and OX820
      - make drivers with boolean Kconfig options explicitly
        non-modular
      - allow shared pulsed resets via reset_control_reset, which
        in this case means that the reset must have been triggered
        once, but possibly earlier, after the function returns, and
        is never triggered again for the lifetime of the reset
        control
      
      * tag 'reset-for-4.10' of git://git.pengutronix.de/git/pza/linux:
        reset: allow using reset_control_reset with shared reset
        reset: lpc18xx: make it explicitly non-modular
        reset: zynq: make it explicitly non-modular
        reset: sunxi: make it explicitly non-modular
        reset: socfpga: make it explicitly non-modular
        reset: berlin: make it explicitly non-modular
        dt-bindings: reset: oxnas: Update for OX820
        dt-bindings: reset: oxnas: Add include file with reset indexes
        reset: oxnas: Add OX820 support
        reset: sti: softreset: Remove obsolete platforms from dt binding doc.
        reset: sti: Remove STiH415/6 reset support
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      78d375b9
  2. 18 Nov, 2016 7 commits
  3. 15 Nov, 2016 3 commits
  4. 14 Nov, 2016 3 commits
  5. 13 Nov, 2016 2 commits
  6. 11 Nov, 2016 2 commits
  7. 08 Nov, 2016 1 commit
  8. 07 Nov, 2016 4 commits
  9. 01 Nov, 2016 1 commit
    • Caesar Wang's avatar
      soc: rockchip: power-domain: avoid infinite loop · e4c8cd82
      Caesar Wang authored
      In some cases, we have met the infinite loop in
      rockchip_pmu_set_idle_request() or rockchip_do_pmu_set_power_domain().
      
      As the crosbug.com/p/57351 reported, the boot hangs right after this
      [1.629163] bootconsole [uart8250] disabled
      [1.639286] [drm:drm_core_init] Initialized drm 1.1.0 20060810
      [1.645926] [drm:drm_get_platform_dev] Initialized vgem 1.0.0 20120112..
      [1.654558] iommu: Adding device ff8f0000.vop to group 0
      [1.660569] iommu: Adding device ff900000.vop to group 1
      <hang>
      
      This patch adds the error message and timeout to avoid infinite loop if
      it fails to get the ack.
      Signed-off-by: default avatarCaesar Wang <wxt@rock-chips.com>
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      e4c8cd82
  10. 30 Oct, 2016 2 commits
  11. 24 Oct, 2016 8 commits
    • Srinivas Kandagatla's avatar
      pinctrl: pm8994: add pad voltage regulator defines · 636959fc
      Srinivas Kandagatla authored
      This patch adds defines for internal voltage regulators used
      to switch voltage levels on gpio/mpp pads.
      Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
      636959fc
    • Bjorn Andersson's avatar
      soc: qcom: wcnss_ctrl: Stub wcnss_ctrl API · daa6e41c
      Bjorn Andersson authored
      Stub the wcnss_ctrl API to allow compile testing wcnss function drivers.
      
      Cc: Marcel Holtmann <marcel@holtmann.org>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      Acked-by: default avatarAndy Gross <andy.gross@linaro.org>
      Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
      daa6e41c
    • Paul Gortmaker's avatar
      reset: lpc18xx: make it explicitly non-modular · cdd24f76
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/reset/Kconfig:config RESET_LPC18XX
      drivers/reset/Kconfig:  bool "LPC18xx/43xx Reset Driver" if COMPILE_TEST
      drivers/reset/Kconfig:  default ARCH_LPC18XX
      
      or
      
      arch/arm/Kconfig:config ARCH_LPC18XX
      arch/arm/Kconfig:       bool "NXP LPC18xx/LPC43xx"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      
      We explicitly disallow a driver unbind, since that doesn't have a
      sensible use case anyway, and it allows us to drop the ".remove"
      code for non-modular drivers.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Joachim Eastwood <manabian@gmail.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      cdd24f76
    • Paul Gortmaker's avatar
      reset: zynq: make it explicitly non-modular · fadb03cd
      Paul Gortmaker authored
      The Makefile/Kconfig currently controlling compilation of this code is:
      
      drivers/reset/Kconfig:config RESET_ZYNQ
      drivers/reset/Kconfig:  bool "ZYNQ Reset Driver" if COMPILE_TEST
      drivers/reset/Kconfig:  default ARCH_ZYNQ
      
      or
      
      drivers/reset/Makefile:obj-$(CONFIG_ARCH_ZYNQ) += reset-zynq.o
      arch/arm/mach-zynq/Kconfig:config ARCH_ZYNQ
      arch/arm/mach-zynq/Kconfig:     bool "Xilinx Zynq ARM Cortex A9 Platform" if ARCH_MULTI_V7
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the few remaining traces of modular macro usage, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      
      Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Acked-by: default avatarMoritz Fischer <moritz.fischer@ettus.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      fadb03cd
    • Paul Gortmaker's avatar
      reset: sunxi: make it explicitly non-modular · c4742ed3
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/reset/Kconfig:config RESET_SUNXI
      drivers/reset/Kconfig:  bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI
      drivers/reset/Kconfig:  default ARCH_SUNXI
      
      or
      
      arch/arm/mach-sunxi/Kconfig:menuconfig ARCH_SUNXI
      arch/arm/mach-sunxi/Kconfig:    bool "Allwinner SoCs" if ARCH_MULTI_V7
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the few remaining traces of modular macro usage, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      c4742ed3
    • Paul Gortmaker's avatar
      reset: socfpga: make it explicitly non-modular · 02163199
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/reset/Kconfig:config RESET_SOCFPGA
      drivers/reset/Kconfig:  bool "SoCFPGA Reset Driver" if COMPILE_TEST
      drivers/reset/Kconfig:  default ARCH_SOCFPGA
      
      or
      
      arch/arm/mach-socfpga/Kconfig:menuconfig ARCH_SOCFPGA
      arch/arm/mach-socfpga/Kconfig:  bool "Altera SOCFPGA family" if ARCH_MULTI_V7
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the small amount of modular evidence that remains, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      02163199
    • Paul Gortmaker's avatar
      reset: berlin: make it explicitly non-modular · ed4dba99
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/reset/Kconfig:config RESET_BERLIN
      drivers/reset/Kconfig:  bool "Berlin Reset Driver" if COMPILE_TEST
      drivers/reset/Kconfig:  default ARCH_BERLIN
      
      or
      
      arch/arm/mach-berlin/Kconfig:menuconfig ARCH_BERLIN
      arch/arm/mach-berlin/Kconfig:   bool "Marvell Berlin SoCs" if ARCH_MULTI_V7
      
      or
      
      arch/arm64/Kconfig.platforms:config ARCH_BERLIN
      arch/arm64/Kconfig.platforms:   bool "Marvell Berlin SoC Family"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Antoine Tenart <antoine.tenart@free-electrons.com>
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      ed4dba99
    • Linus Torvalds's avatar
      Linux 4.9-rc2 · 07d9a380
      Linus Torvalds authored
      07d9a380
  12. 23 Oct, 2016 5 commits
    • Linus Torvalds's avatar
      Merge tag 'upstream-4.9-rc2' of git://git.infradead.org/linux-ubifs · 5ff93abc
      Linus Torvalds authored
      Pull UBI[FS] fixes from Richard Weinberger:
       "This contains fixes for issues in both UBI and UBIFS:
      
         - Fallout from the merge window, refactoring UBI code introduced some
           issues.
      
         - Fixes for an UBIFS readdir bug which can cause getdents() to busy
           loop for ever and a bug in the UBIFS xattr code"
      
      * tag 'upstream-4.9-rc2' of git://git.infradead.org/linux-ubifs:
        ubifs: Abort readdir upon error
        UBI: Fix crash in try_recover_peb()
        ubi: fix swapped arguments to call to ubi_alloc_aeb
        ubifs: Fix xattr_names length in exit paths
        ubifs: Rename ubifs_rename2
      5ff93abc
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · c761923c
      Linus Torvalds authored
      Pull ext4 fixes from Ted Ts'o:
       "A few bug fixes and add some missing KERN_CONT annotations"
      
      * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: add missing KERN_CONT to a few more debugging uses
        fscrypto: lock inode while setting encryption policy
        ext4: correct endianness conversion in __xattr_check_inode()
        fscrypto: make XTS tweak initialization endian-independent
        ext4: do not advertise encryption support when disabled
        jbd2: fix incorrect unlock on j_list_lock
        ext4: super.c: Update logging style using KERN_CONT
      c761923c
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending · a55da8a0
      Linus Torvalds authored
      Pull SCSI target fixes from Nicholas Bellinger:
       "Here are the outstanding target-pending fixes for v4.9-rc2.
      
        This includes:
      
         - Fix v4.1.y+ reference leak regression with concurrent TMR
           ABORT_TASK + session shutdown. (Vaibhav Tandon)
      
         - Enable tcm_fc w/ SCF_USE_CPUID to avoid host exchange timeouts
           (Hannes)
      
         - target/user error sense handling fixes. (Andy + MNC + HCH)
      
         - Fix iscsi-target NOP_OUT error path iscsi_cmd descriptor leak
           (Varun)
      
         - Two EXTENDED_COPY SCSI status fixes for ESX VAAI (Dinesh Israni +
           Nixon Vincent)
      
         - Revert a v4.8 residual overflow change, that breaks sg_inq with
           small allocation lengths.
      
        There are a number of folks stress testing the v4.1.y regression fix
        in their environments, and more folks doing iser-target I/O stress
        testing atop recent v4.x.y code.
      
        There is also one v4.2.y+ RCU conversion regression related to
        explicit NodeACL configfs changes, that is still being tracked down"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
        target/tcm_fc: use CPU affinity for responses
        target/tcm_fc: Update debugging statements to match libfc usage
        target/tcm_fc: return detailed error in ft_sess_create()
        target/tcm_fc: print command pointer in debug message
        target: fix potential race window in target_sess_cmd_list_waiting()
        Revert "target: Fix residual overflow handling in target_complete_cmd_with_length"
        target: Don't override EXTENDED_COPY xcopy_pt_cmd SCSI status code
        target: Make EXTENDED_COPY 0xe4 failure return COPY TARGET DEVICE NOT REACHABLE
        target: Re-add missing SCF_ACK_KREF assignment in v4.1.y
        iscsi-target: fix iscsi cmd leak
        iscsi-target: fix spelling mistake "Unsolicitied" -> "Unsolicited"
        target/user: Fix comments to not refer to data ring
        target/user: Return an error if cmd data size is too large
        target/user: Use sense_reason_t in tcmu_queue_cmd_ring
      a55da8a0
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-linus-v4.9-rc2' of... · e6995f22
      Linus Torvalds authored
      Merge tag 'hwmon-for-linus-v4.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull hwmon fixes from Guenter Roeck:
       "Couple of hwmon fixes:
      
        Fix a potential ERR_PTR dereference in max31790 driver, and handle
        temperature readings below 0 in adm9240 driver"
      
      * tag 'hwmon-for-linus-v4.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (max31790) potential ERR_PTR dereference
        hwmon: (adm9240) handle temperature readings below 0
      e6995f22
    • Linus Torvalds's avatar
      Merge tag 'for-linus-4.9-2' of git://git.code.sf.net/p/openipmi/linux-ipmi · 5766e9d2
      Linus Torvalds authored
      Pull IPMI updates from Corey Minyard:
       "A small bug fix and a new driver for acting as an IPMI device.
      
        I was on vacation during the merge window (a long vacation) but this
        is a bug fix that should go in and a new driver that shouldn't hurt
        anything.
      
        This has been in linux-next for a month or so"
      
      * tag 'for-linus-4.9-2' of git://git.code.sf.net/p/openipmi/linux-ipmi:
        ipmi: fix crash on reading version from proc after unregisted bmc
        ipmi/bt-bmc: remove redundant return value check of platform_get_resource()
        ipmi/bt-bmc: add a dependency on ARCH_ASPEED
        ipmi: Fix ioremap error handling in bt-bmc
        ipmi: add an Aspeed BT IPMI BMC driver
      5766e9d2