1. 14 7月, 2015 2 次提交
  2. 08 7月, 2015 5 次提交
  3. 07 7月, 2015 1 次提交
  4. 06 7月, 2015 5 次提交
    • N
      crypto: nx - do not emit extra output if status is disabled · 7abd75bf
      Nishanth Aravamudan 提交于
      If the device-tree indicates the nx-842 device's status is 'disabled',
      we emit two messages:
      
      nx_compress_pseries ibm,compression-v1: nx842_OF_upd_status: status 'disabled' is not 'okay'.
      nx_compress_pseries ibm,compression-v1: nx842_OF_upd: device disabled
      
      Given that 'disabled' is a valid state, and we are going to emit that
      the device is disabled, only print out a non-'okay' status if it is not
      'disabled'.
      Signed-off-by: NNishanth Aravamudan <nacc@linux.vnet.ibm.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      7abd75bf
    • N
      crypto: nx - rename nx842_{init, exit} to nx842_pseries_{init, exit} · ec13bcbe
      Nishanth Aravamudan 提交于
      While there is no technical reason that both nx-842.c and
      nx-842-pseries.c can have the same name for the init/exit functions, it
      is a bit confusing with initcall_debug. Rename the pseries specific
      functions appropriately
      Signed-off-by: NNishanth Aravamudan <nacc@linux.vnet.ibm.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      ec13bcbe
    • N
      crypto: nx - nx842_OF_upd_status should return ENODEV if device is not 'okay' · fa9a9a08
      Nishanth Aravamudan 提交于
      The current documention mentions explicitly that EINVAL should be
      returned if the device is not available, but nx842_OF_upd_status()
      always returns 0. However, nx842_probe() specifically checks for
      non-ENODEV returns from nx842_of_upd() (which in turn calls
      nx842_OF_upd_status()) and emits an extra error in that case. It seems
      like the proper return code of a disabled device is ENODEV.
      Signed-off-by: NNishanth Aravamudan <nacc@linux.vnet.ibm.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      fa9a9a08
    • T
      crypto: ccp - Provide support to autoload CCP driver · 6170511a
      Tom Lendacky 提交于
      Add the necessary module device tables to the platform support to allow
      for autoloading of the CCP driver. This will allow for the CCP's hwrng
      support to be available without having to manually load the driver. The
      module device table entry for the pci support is already present.
      Signed-off-by: NTom Lendacky <thomas.lendacky@amd.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      6170511a
    • V
      crypto: omap-des - Fix unmapping of dma channels · acb33cc5
      Vutla, Lokesh 提交于
      dma_unmap_sg() is being called twice after completing the
      task. Looks like this is a copy paste error when creating
      des driver.
      With this the following warn appears during boot:
      
      [    4.210457] ------------[ cut here ]------------
      [    4.215114] WARNING: CPU: 0 PID: 0 at lib/dma-debug.c:1080 check_unmap+0x710/0x9a0()
      [    4.222899] omap-des 480a5000.des: DMA-API: device driver tries to free DMA memory it has not allocated [device address=0x00000000ab2ce000] [size=8 bytes]
      [    4.236785] Modules linked in:
      [    4.239860] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.14.39-02999-g1bc045a-dirty #182
      [    4.247918] [<c001678c>] (unwind_backtrace) from [<c0012574>] (show_stack+0x10/0x14)
      [    4.255710] [<c0012574>] (show_stack) from [<c05a37e8>] (dump_stack+0x84/0xb8)
      [    4.262977] [<c05a37e8>] (dump_stack) from [<c0046464>] (warn_slowpath_common+0x68/0x8c)
      [    4.271107] [<c0046464>] (warn_slowpath_common) from [<c004651c>] (warn_slowpath_fmt+0x30/0x40)
      [    4.279854] [<c004651c>] (warn_slowpath_fmt) from [<c02d50a4>] (check_unmap+0x710/0x9a0)
      [    4.287991] [<c02d50a4>] (check_unmap) from [<c02d5478>] (debug_dma_unmap_sg+0x90/0x19c)
      [    4.296128] [<c02d5478>] (debug_dma_unmap_sg) from [<c04a77d8>] (omap_des_done_task+0x1cc/0x3e4)
      [    4.304963] [<c04a77d8>] (omap_des_done_task) from [<c004a090>] (tasklet_action+0x84/0x124)
      [    4.313370] [<c004a090>] (tasklet_action) from [<c004a4ac>] (__do_softirq+0xf0/0x20c)
      [    4.321235] [<c004a4ac>] (__do_softirq) from [<c004a840>] (irq_exit+0x98/0xec)
      [    4.328500] [<c004a840>] (irq_exit) from [<c000f9ac>] (handle_IRQ+0x50/0xb0)
      [    4.335589] [<c000f9ac>] (handle_IRQ) from [<c0008688>] (gic_handle_irq+0x28/0x5c)
      
      Removing the duplicate call to dma_unmap_sg().
      
      Cc: stable@vger.kernel.org
      Reported-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      acb33cc5
  5. 05 7月, 2015 21 次提交
  6. 04 7月, 2015 3 次提交
  7. 03 7月, 2015 3 次提交