1. 10 3月, 2011 1 次提交
  2. 02 3月, 2011 1 次提交
  3. 21 1月, 2011 1 次提交
  4. 14 1月, 2011 1 次提交
    • T
      rapidio: fix hang on RapidIO doorbell queue full condition · 12a4dc43
      Thomas Taranowski 提交于
      In fsl_rio_dbell_handler() the code currently simply acknowledges the QFI
      queue full interrupt, but does nothing to resolve the queue full
      condition.  Instead, it jumps to the end of the isr.  When a queue full
      condition occurs, the isr is then re-entered immediately and continually,
      forever.
      
      The fix is to just fall through and read out current doorbell entries.
      Signed-off-by: NThomas Taranowski <tom@baringforge.com>
      Cc: Alexandre Bounine <alexandre.bounine@idt.com>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Cc: Matt Porter <mporter@kernel.crashing.org>
      Cc: Li Yang <leoli@freescale.com>
      Cc: Thomas Moll <thomas.moll@sysgo.com>
      Cc: Micha Nelissen <micha@neli.hopto.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      12a4dc43
  5. 13 1月, 2011 1 次提交
  6. 09 12月, 2010 1 次提交
  7. 29 11月, 2010 2 次提交
  8. 16 11月, 2010 1 次提交
  9. 01 11月, 2010 1 次提交
  10. 28 10月, 2010 2 次提交
  11. 25 10月, 2010 2 次提交
  12. 23 10月, 2010 1 次提交
    • A
      USB: add platform glue driver for FSL USB DR controller · 126512e3
      Anatolij Gustschin 提交于
      Replace FSL USB platform code by simple platform driver for
      creation of FSL USB platform devices.
      
      The driver creates platform devices based on the information
      from USB nodes in the flat device tree. This is the replacement
      for old arch fsl_soc usb code removed by this patch. The driver
      uses usual of-style binding, available EHCI-HCD and UDC
      drivers can be bound to the created devices. The new of-style
      driver additionaly instantiates USB OTG platform device, as the
      appropriate USB OTG driver will be added soon.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      126512e3
  13. 14 10月, 2010 6 次提交
  14. 13 10月, 2010 2 次提交
  15. 12 10月, 2010 1 次提交
  16. 11 9月, 2010 1 次提交
    • A
      powerpc/5xxx: extend mpc8xxx_gpio driver to support mpc512x gpios · e39d5ef6
      Anatolij Gustschin 提交于
      The GPIO controller of MPC512x is slightly different from
      8xxx GPIO controllers. The register interface is the same
      except the external interrupt control register. The MPC512x
      GPIO controller differentiates between four interrupt event
      types and therefore provides two interrupt control registers,
      GPICR1 and GPICR2. GPIO[0:15] interrupt event types are
      configured in GPICR1 register, GPIO[16:31] - in GPICR2 register.
      
      This patch adds MPC512x speciffic set_type() callback and
      updates config file and comments. Additionally the gpio chip
      registration function is changed to use for_each_matching_node()
      preventing multiple registration if a node claimes compatibility
      with another gpio controller type.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      e39d5ef6
  17. 02 9月, 2010 1 次提交
  18. 01 9月, 2010 3 次提交
  19. 06 8月, 2010 2 次提交
  20. 05 8月, 2010 1 次提交
  21. 02 8月, 2010 1 次提交
  22. 01 8月, 2010 1 次提交
    • G
      of/address: Clean up function declarations · 22ae782f
      Grant Likely 提交于
      This patch moves the declaration of of_get_address(), of_get_pci_address(),
      and of_pci_address_to_resource() out of arch code and into the common
      linux/of_address header file.
      
      This patch also fixes some of the asm/prom.h ordering issues.  It still
      includes some header files that it ideally shouldn't be, but at least the
      ordering is consistent now so that of_* overrides work.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      22ae782f
  23. 24 7月, 2010 2 次提交
    • G
      powerpc: remove references to of_device and to_of_device · a454dc50
      Grant Likely 提交于
      of_device is just a #define alias to platform_device.  This patch
      replaces all references to it with platform_device.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      a454dc50
    • G
      of: Merge of_platform_bus_type with platform_bus_type · eca39301
      Grant Likely 提交于
      of_platform_bus was being used in the same manner as the platform_bus.
      The only difference being that of_platform_bus devices are generated
      from data in the device tree, and platform_bus devices are usually
      statically allocated in platform code.  Having them separate causes
      the problem of device drivers having to be registered twice if it
      was possible for the same device to appear on either bus.
      
      This patch removes of_platform_bus_type and registers all of_platform
      bus devices and drivers on the platform bus instead.  A previous patch
      made the of_device structure an alias for the platform_device structure,
      and a shim is used to adapt of_platform_drivers to the platform bus.
      
      After all of of_platform_bus drivers are converted to be normal platform
      drivers, the shim code can be removed.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      eca39301
  24. 14 7月, 2010 1 次提交
  25. 12 7月, 2010 3 次提交
    • A
      powerpc/cpm1: Mark micropatch code/data static and __init · af71bcfe
      Anton Vorontsov 提交于
      This saves runtime memory and fixes lots of sparse warnings like this:
      
          CHECK   arch/powerpc/sysdev/micropatch.c
        arch/powerpc/sysdev/micropatch.c:27:6: warning: symbol 'patch_2000'
        was not declared. Should it be static?
        arch/powerpc/sysdev/micropatch.c:146:6: warning: symbol 'patch_2f00'
        was not declared. Should it be static?
        ...
      Signed-off-by: NAnton Vorontsov <avorontsov@mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      af71bcfe
    • A
      powerpc/cpm1: Fix build with various CONFIG_*_UCODE_PATCH combinations · 2069a6ae
      Anton Vorontsov 提交于
      Warnings are treated as errors for arch/powerpc code, so build fails
      with CONFIG_I2C_SPI_UCODE_PATCH=y:
      
          CC      arch/powerpc/sysdev/micropatch.o
        cc1: warnings being treated as errors
        arch/powerpc/sysdev/micropatch.c: In function 'cpm_load_patch':
        arch/powerpc/sysdev/micropatch.c:630: warning: unused variable 'smp'
        make[1]: *** [arch/powerpc/sysdev/micropatch.o] Error 1
      
      And with CONFIG_USB_SOF_UCODE_PATCH=y:
      
        CC      arch/powerpc/sysdev/micropatch.o
        cc1: warnings being treated as errors
        arch/powerpc/sysdev/micropatch.c: In function 'cpm_load_patch':
        arch/powerpc/sysdev/micropatch.c:629: warning: unused variable 'spp'
        arch/powerpc/sysdev/micropatch.c:628: warning: unused variable 'iip'
        make[1]: *** [arch/powerpc/sysdev/micropatch.o] Error 1
      
      This patch fixes these issues by introducing proper #ifdefs.
      
      Cc: <stable@kernel.org> [ .33, .34 ]
      Signed-off-by: NAnton Vorontsov <avorontsov@mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      2069a6ae
    • A
      powerpc/cpm: Reintroduce global spi_pram struct (fixes build issue) · 56825c88
      Anton Vorontsov 提交于
      spi_t was removed in commit 644b2a68
      ("powerpc/cpm: Remove SPI defines and spi structs"), the commit assumed
      that spi_t isn't used anywhere outside of the spi_mpc8xxx driver. But
      it appears that the struct is needed for micropatch code. So, let's
      reintroduce the struct.
      
      Fixes the following build issue:
      
          CC      arch/powerpc/sysdev/micropatch.o
        micropatch.c: In function 'cpm_load_patch':
        micropatch.c:629: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
        micropatch.c:629: error: 'spp' undeclared (first use in this function)
        micropatch.c:629: error: (Each undeclared identifier is reported only once
        micropatch.c:629: error: for each function it appears in.)
      Reported-by: NLEROY Christophe <christophe.leroy@c-s.fr>
      Reported-by: NTony Breeds <tony@bakeyournoodle.com>
      Cc: <stable@kernel.org> [ .33, .34 ]
      Signed-off-by: NAnton Vorontsov <avorontsov@mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      56825c88