1. 05 6月, 2013 1 次提交
  2. 14 5月, 2013 1 次提交
  3. 25 4月, 2013 3 次提交
    • V
      crypto: caam - fix job ring cleanup code · 3862de1f
      Vakul Garg 提交于
      The job ring init function creates a platform device for each job ring.
      While the job ring is shutdown, e.g. while caam module removal, its
      platform device was not being removed. This leads to failure while
      reinsertion and then removal of caam module second time.
      
      The following kernel crash dump appears when caam module is reinserted
      and then removed again. This patch fixes it.
      
      root@p4080ds:~# rmmod caam.ko
      Unable to handle kernel paging request for data at address 0x00000008
      Faulting instruction address: 0xf94aca18
      Oops: Kernel access of bad area, sig: 11 [#1]
      SMP NR_CPUS=8 P4080 DS
      Modules linked in: caam(-) qoriq_dbg(O) [last unloaded: caam]
      NIP: f94aca18 LR: f94aca18 CTR: c029f950
      REGS: eac47d60 TRAP: 0300   Tainted: G           O  (3.8.4-rt2)
      MSR: 00029002 <CE,EE,ME>  CR: 22022484  XER: 20000000
      DEAR: 00000008, ESR: 00000000
      TASK = e49dfaf0[2110] 'rmmod' THREAD: eac46000 CPU: 1
      GPR00: f94ad3f4 eac47e10 e49dfaf0 00000000 00000005 ea2ac210 ffffffff 00000000
      GPR08: c286de68 e4977ce0 c029b1c0 00000001 c029f950 10029738 00000000 100e0000
      GPR16: 00000000 10023d00 1000cbdc 1000cb8c 1000cbb8 00000000 c07dfecc 00000000
      GPR24: c07e0000 00000000 1000cbd8 f94e0000 ffffffff 00000000 ea53cd40 00000000
      NIP [f94aca18] caam_reset_hw_jr+0x18/0x1c0 [caam]
      LR [f94aca18] caam_reset_hw_jr+0x18/0x1c0 [caam]
      Call Trace:
      [eac47e10] [eac47e30] 0xeac47e30 (unreliable)
      [eac47e20] [f94ad3f4] caam_jr_shutdown+0x34/0x220 [caam]
      [eac47e60] [f94ac0e4] caam_remove+0x54/0xb0 [caam]
      [eac47e80] [c029fb38] __device_release_driver+0x68/0x120
      [eac47e90] [c02a05c8] driver_detach+0xd8/0xe0
      [eac47eb0] [c029f8e0] bus_remove_driver+0xa0/0x110
      [eac47ed0] [c00768e4] sys_delete_module+0x144/0x270
      [eac47f40] [c000e2f0] ret_from_syscall+0x0/0x3c
      Signed-off-by: NVakul Garg <vakul@freescale.com>
      Signed-off-by: NBharat Bhushan <bharat.bhushan@freescale.com>
      Reviewed-by: NHoria Geanta <horia.geanta@freescale.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      3862de1f
    • K
      crypto: caam - static constify error data · 96aef9a8
      Kim Phillips 提交于
      checkstack reports report_deco_status(), report_ccb_status() as
      particularly excessive stack users.  Move their lookup tables
      off the stack and put them in .rodata.
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      96aef9a8
    • K
      crypto: caam - change key gen functions to return signed int · 66b3e887
      Kim Phillips 提交于
      commit 2af8f4a2 "crypto: caam - coccicheck fixes" added error
      return values yet neglected to change the type from unsigned.
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      66b3e887
  4. 08 4月, 2013 1 次提交
  5. 05 4月, 2013 1 次提交
    • L
      crypto: ux500 - add missing comma · d47cbd5b
      Linus Walleij 提交于
      Commit 4f31f5b1
      "PM / crypto / ux500: Use struct dev_pm_ops for power management"
      add a new line to the driver struct but missed to add a
      trailing comma, causing build errors when crypto is
      selected. This adds the missing comma.
      
      This was not noticed until now because the crypto block
      is not in the ux500 defconfig. A separate patch will
      be submitted to fix this.
      
      Cc: <stable@vger.kernel.org> # 3.8.x
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Magnus Myrstedt <magnus.p.persson@stericsson.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      d47cbd5b
  6. 03 4月, 2013 1 次提交
  7. 22 3月, 2013 3 次提交
  8. 21 3月, 2013 4 次提交
  9. 18 3月, 2013 1 次提交
  10. 10 3月, 2013 9 次提交
  11. 04 2月, 2013 1 次提交
  12. 20 1月, 2013 13 次提交
  13. 12 1月, 2013 1 次提交
    • T
      ARM: OMAP2+: Disable code that currently does not work with multiplaform · a62a6e98
      Tony Lindgren 提交于
      We still need to fix up few places for multiplatform support,
      but that can proceed separately. Fix the issue by making the
      problem drivers depends !ARCH_MULTIPLATFORM for now.
      
      The remaining pieces that are not multiplatform compatible
      for omap2+ SoCs are:
      
      1. Some drivers are using custom omap_dm_timer calls
      
      There are two drivers that are directly usign omap hardware
      timers for PWM and DSP clocking: drivers/media/rc/ir-rx51.c and
      drivers/staging/tidspbridge/core/dsp-clock.c. These can be
      fixed for multiplatform by allowing a minimal set of hardware
      timers to be accessed, and for some functionality by using the
      hrtimer framework.
      
      2. Hardware OMAP4_ERRATA_I688 needs to be fixed up
      
      This can't be enabled for multiplatform configurations in
      it's current form. It may be possible to fix it up to do
      instruction replacement early on during init. Luckily it
      looks like this errata does not seem to get hit with
      mainline kernel code alone at least currently.
      
      3. Legacy header needed for omap-sham.c
      
      Looks like it still needs mach/irqs.h for omap1 that
      does not exist for multiplatform systems. Just ifdef
      it for now.
      
      4. Mailbox is waiting to get moved to drivers
      
      Disable it for now to avoid adding a dependency to the
      mailbox patches.
      
      Cc: Timo Kokkonen <timo.t.kokkonen@iki.fi>
      Cc: Sean Young <sean@mess.org>
      Cc: "Víctor Manuel Jáquez Leal" <vjaquez@igalia.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Cc: Omar Ramirez Luna <omar.ramirez@ti.com>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
      Tested-by: NEzequiel Garcia <ezequiel.garcia@free-electrons.com>
      [tony@atomide.com: updated to disable mailbox]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      a62a6e98