1. 13 9月, 2016 2 次提交
  2. 12 9月, 2016 10 次提交
  3. 08 9月, 2016 1 次提交
  4. 07 9月, 2016 2 次提交
  5. 31 8月, 2016 3 次提交
  6. 23 8月, 2016 4 次提交
    • P
      gpio: vf610: drop unused MODULE_ tags from non-modular code · adaaf63e
      Paul Gortmaker 提交于
      The Kconfig currently controlling compilation of this code is:
      
      drivers/gpio/Kconfig:config GPIO_VF610
      drivers/gpio/Kconfig:   def_bool y
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the couple traces of modular infrastructure use, so that
      when reading the driver there is no doubt it is builtin-only.
      
      We delete the MODULE_LICENSE tag etc. since all that information
      is now contained at the top of the file in the comments.
      
      We don't replace module.h with init.h since the file already has that.
      
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: Stefan Agner <stefan@agner.ch>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      adaaf63e
    • P
      gpio: spear-spics: drop unused MODULE_ tags from non-modular code · b29c5dda
      Paul Gortmaker 提交于
      The Kconfig currently controlling compilation of this code is:
      
      drivers/gpio/Kconfig:config GPIO_SPEAR_SPICS
      drivers/gpio/Kconfig:   bool "ST SPEAr13xx SPI Chip Select as GPIO support"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the couple traces of modular infrastructure use, so that
      when reading the driver there is no doubt it is builtin-only.
      
      We delete the MODULE_LICENSE tag etc. since all that information
      is now contained at the top of the file in the comments.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: Shiraz Hashim <shiraz.linux.kernel@gmail.com>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      b29c5dda
    • P
      gpio: mxc: drop unused MODULE_ tags from non-modular code · 2c8d6c86
      Paul Gortmaker 提交于
      The Kconfig currently controlling compilation of this code is:
      
      drivers/gpio/Kconfig:config GPIO_MXC
      drivers/gpio/Kconfig:   def_bool y
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the couple traces of modular infrastructure use, so that
      when reading the driver there is no doubt it is builtin-only.
      
      We delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      Note the original e-mail had a missing/typo'd @ symbol anyway.
      
      We don't replace module.h with init.h since the file already has that.
      
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: Daniel Mack <daniel@caiaq.de>
      Cc: Juergen Beisert <kernel@pengutronix.de>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      2c8d6c86
    • P
      gpio: msic: drop unused MODULE_ tags from non-modular code · 98102880
      Paul Gortmaker 提交于
      The Kconfig currently controlling compilation of this code is:
      
      drivers/gpio/Kconfig:config GPIO_MSIC
      drivers/gpio/Kconfig:   bool "Intel MSIC mixed signal gpio support"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the couple traces of modular infrastructure use, so that
      when reading the driver there is no doubt it is builtin-only.
      
      We delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      We don't replace module.h with init.h since the file already has that.
      
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: Mathias Nyman <mathias.nyman@linux.intel.com>
      Cc: linux-gpio@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      98102880
  7. 19 8月, 2016 3 次提交
  8. 11 8月, 2016 8 次提交
    • G
      nvme: Suspend all queues before deletion · c21377f8
      Gabriel Krisman Bertazi 提交于
      When nvme_delete_queue fails in the first pass of the
      nvme_disable_io_queues() loop, we return early, failing to suspend all
      of the IO queues.  Later, on the nvme_pci_disable path, this causes us
      to disable MSI without actually having freed all the IRQs, which
      triggers the BUG_ON in free_msi_irqs(), as show below.
      
      This patch refactors nvme_disable_io_queues to suspend all queues before
      start submitting delete queue commands.  This way, we ensure that we
      have at least returned every IRQ before continuing with the removal
      path.
      
      [  487.529200] kernel BUG at ../drivers/pci/msi.c:368!
      cpu 0x46: Vector: 700 (Program Check) at [c0000078c5b83650]
          pc: c000000000627a50: free_msi_irqs+0x90/0x200
          lr: c000000000627a40: free_msi_irqs+0x80/0x200
          sp: c0000078c5b838d0
         msr: 9000000100029033
        current = 0xc0000078c5b40000
        paca    = 0xc000000002bd7600   softe: 0        irq_happened: 0x01
          pid   = 1376, comm = kworker/70:1H
      kernel BUG at ../drivers/pci/msi.c:368!
      Linux version 4.7.0.mainline+ (root@iod76) (gcc version 5.3.1 20160413
      (Ubuntu/IBM 5.3.1-14ubuntu2.1) ) #104 SMP Fri Jul 29 09:20:17 CDT 2016
      enter ? for help
      [c0000078c5b83920] d0000000363b0cd8 nvme_dev_disable+0x208/0x4f0 [nvme]
      [c0000078c5b83a10] d0000000363b12a4 nvme_timeout+0xe4/0x250 [nvme]
      [c0000078c5b83ad0] c0000000005690e4 blk_mq_rq_timed_out+0x64/0x110
      [c0000078c5b83b40] c00000000056c930 bt_for_each+0x160/0x170
      [c0000078c5b83bb0] c00000000056d928 blk_mq_queue_tag_busy_iter+0x78/0x110
      [c0000078c5b83c00] c0000000005675d8 blk_mq_timeout_work+0xd8/0x1b0
      [c0000078c5b83c50] c0000000000e8cf0 process_one_work+0x1e0/0x590
      [c0000078c5b83ce0] c0000000000e9148 worker_thread+0xa8/0x660
      [c0000078c5b83d80] c0000000000f2090 kthread+0x110/0x130
      [c0000078c5b83e30] c0000000000095f0 ret_from_kernel_thread+0x5c/0x6c
      Signed-off-by: NGabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
      Cc: Brian King <brking@linux.vnet.ibm.com>
      Cc: Keith Busch <keith.busch@intel.com>
      Cc: linux-nvme@lists.infradead.org
      Signed-off-by: NJens Axboe <axboe@fb.com>
      c21377f8
    • C
      gpio: mmio: add brcm,bcm6345 support · 05cc995f
      Christian Lamparter 提交于
      This patch adds support for the GPIO found in Broadcom's bcm63xx-gpio
      chips.
      This GPIO controller is used in the following Broadcom SoCs: BCM6338, BCM6345.
      It can be used in newer SoCs, without the capability of pin multiplexing.
      Signed-off-by: NChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: NÁlvaro Fernández Rojas <noltari@gmail.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      05cc995f
    • A
      efi/capsule: Allocate whole capsule into virtual memory · 6862e6ad
      Austin Christ 提交于
      According to UEFI 2.6 section 7.5.3, the capsule should be in contiguous
      virtual memory and firmware may consume the capsule immediately. To
      correctly implement this functionality, the kernel driver needs to vmap
      the entire capsule at the time it is made available to firmware.
      
      The virtual allocation of the capsule update has been changed from kmap,
      which was only allocating the first page of the update, to vmap, and
      allocates the entire data payload.
      Signed-off-by: NAustin Christ <austinwc@codeaurora.org>
      Signed-off-by: NMatt Fleming <matt@codeblueprint.co.uk>
      Reviewed-by: NMatt Fleming <matt@codeblueprint.co.uk>
      Reviewed-by: NLee, Chun-Yi <jlee@suse.com>
      Cc: <stable@vger.kernel.org> # v4.7
      Cc: Andy Lutomirski <luto@kernel.org>
      Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Brian Gerst <brgerst@gmail.com>
      Cc: Bryan O'Donoghue <pure.logic@nexus-software.ie>
      Cc: Denys Vlasenko <dvlasenk@redhat.com>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Josh Poimboeuf <jpoimboe@redhat.com>
      Cc: Kweh Hock Leong <hock.leong.kweh@intel.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-efi@vger.kernel.org
      Link: http://lkml.kernel.org/r/1470912120-22831-3-git-send-email-matt@codeblueprint.co.ukSigned-off-by: NIngo Molnar <mingo@kernel.org>
      6862e6ad
    • W
      gpio: Add GPIO support for the Diamond Systems GPIO-MM · 6ea5dcdf
      William Breathitt Gray 提交于
      The Diamond Systems GPIO-MM device features 48 lines of digital I/O via
      the emulation of dual 82C55A PPI chips. This driver provides GPIO
      support for these 48 channels of digital I/O. The base port addresses
      for the devices may be configured via the base array module parameter.
      Signed-off-by: NWilliam Breathitt Gray <vilhelm.gray@gmail.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      6ea5dcdf
    • B
      gpio: Add Intel WhiskeyCove PMIC GPIO driver · 0ba19cfc
      Bin Gao 提交于
      This patch introduces a separate GPIO driver for Intel WhiskeyCove PMIC.
      This driver is based on gpio-crystalcove.c.
      
      Changes in v7:
       - Fixed various coding style comments from Andy Shevchenko
      Changes in v6:
       - Removed unnecessary wcove_gpio_remove()
       - Used devm_gpiochip_remove() instead of gpiochip_remove()
       - Various coding style changes per Mika's comment
      Changes in v5:
       - Revisited the interrupt handler code to iterate until all pending
         interrupts are handled. This change is to avoid missing interrupt
         when we're inside the interrupt handler.
       - Used regmap_bulk_read() to read address adjacent registers.
      Changes in v4:
       - Converted CTLI_INTCNT_XX macros to less verbose ones INT_DETECT_XX.
       - Add comments about why there is no .pm for the driver.
       - Header files re-ordered.
       - Various coding style change to address Andy's comments.
      Changes in v3:
       - Fixed the year in copyright line(2015-->2016).
       - Removed DRV_NAME macro.
       - Added kernel-doc for regmap_irq_chip of the wcove_gpio structure.
       - Line length fix.
      Changes in v2:
       - Typo fix (Whsikey --> Whiskey).
       - Included linux/gpio/driver.h instead of linux/gpio.h
       - Implemented .set_single_ended().
       - Added GPIO register description.
       - Replaced container_of() with gpiochip_get_data().
       - Removed unnecessary "if (gpio > WCOVE_VGPIO_NUM" check.
       - Removed the device id table and added MODULE_ALIAS().
      Signed-off-by: NAjay Thomas <ajay.thomas.david.rajamanickam@intel.com>
      Signed-off-by: NBin Gao <bin.gao@intel.com>
      Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com>
      Reviewed-by: NMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      0ba19cfc
    • M
      gpio: Add AXP209 GPIO driver · f72f4b44
      Maxime Ripard 提交于
      The AXP209 PMIC has a bunch of GPIOs accessible, that are usually used to
      control LEDs or backlight.
      
      Add a driver for them
      Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      Acked-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      f72f4b44
    • P
      gpio: pca954x: Add vcc regulator and enable it · e23efa31
      Phil Reid 提交于
      Some i2c gpio devices are connected to a switchable power supply
      which needs to be enabled prior to probing the device. This patch
      allows the drive to enable the devices vcc regulator prior to probing.
      Signed-off-by: NPhil Reid <preid@electromag.com.au>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      e23efa31
    • D
      rapidio: dereferencing an error pointer · 73984137
      Dan Carpenter 提交于
      Original patch: https://lkml.org/lkml/2016/8/4/32
      
      If riocm_ch_alloc() fails then we end up dereferencing the error
      pointer.
      
      The problem is that we're not unwinding in the reverse order from how we
      allocate things so it gets confusing.  I've changed this around so now
      "ch" is NULL when we are done with it after we call riocm_put_channel().
      That way we can check if it's NULL and avoid calling riocm_put_channel()
      on it twice.
      
      I renamed err_nodev to err_put_new_ch so that it better reflects what
      the goto does.
      
      Then because we had flipping things around, it means we don't neeed to
      initialize the pointers to NULL and we can remove an if statement and
      pull things in an indent level.
      
      Link: http://lkml.kernel.org/r/20160805152406.20713-1-alexandre.bounine@idt.comSigned-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NAlexandre Bounine <alexandre.bounine@idt.com>
      Cc: Matt Porter <mporter@kernel.crashing.org>
      Cc: Andre van Herk <andre.van.herk@prodrive-technologies.com>
      Cc: Barry Wood <barry.wood@idt.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      73984137
  9. 10 8月, 2016 7 次提交