1. 22 12月, 2011 1 次提交
    • K
      driver-core: remove sysdev.h usage. · edbaa603
      Kay Sievers 提交于
      The sysdev.h file should not be needed by any in-kernel code, so remove
      the .h file from these random files that seem to still want to include
      it.
      
      The sysdev code will be going away soon, so this include needs to be
      removed no matter what.
      
      Cc: Jiandong Zheng <jdzheng@broadcom.com>
      Cc: Scott Branden <sbranden@broadcom.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: David Brown <davidb@codeaurora.org>
      Cc: Daniel Walker <dwalker@fifo99.com>
      Cc: Bryan Huntsman <bryanh@codeaurora.org>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
      Cc: "Venkatesh Pallipadi
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Matthew Garrett <mjg@redhat.com>
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      edbaa603
  2. 13 9月, 2011 1 次提交
  3. 04 5月, 2011 1 次提交
  4. 29 3月, 2011 3 次提交
  5. 10 3月, 2011 1 次提交
  6. 17 2月, 2010 1 次提交
  7. 15 12月, 2009 1 次提交
  8. 09 12月, 2009 1 次提交
  9. 24 11月, 2009 1 次提交
  10. 30 10月, 2009 1 次提交
  11. 08 7月, 2009 1 次提交
    • A
      powerpc: Don't use alloc_bootmem() in init_IRQ() path · ea96025a
      Anton Vorontsov 提交于
      This patch fixes various badnesses like this for all interrupt
      controllers:
      
      ------------[ cut here ]------------
      Badness at c04db9dc [verbose debug info unavailable]
      NIP: c04db9dc LR: c04db9ac CTR: 00000000
      REGS: c053de30 TRAP: 0700   Not tainted  (2.6.31-rc1-00432-ge69b2b5-dirty)
      MSR: 00021000 <ME,CE>  CR: 22020084  XER: 00000000
      TASK = c0500480[0] 'swapper' THREAD: c053c000
      GPR00: 00000001 c053dee0 c0500480 00000000 00000050 00000020 3fffffff 00000000
      GPR08: 00000001 c0540000 e0080080 00000000 22000084 64183600 3ff8f800 00000000
      GPR16: 841b0240 449a0303 00000000 00000000 00000000 00000000 00000000 c04f5bf4
      GPR24: 00000000 00000000 00000000 00000050 00000020 00000000 3fffffff 00000050
      NIP [c04db9dc] alloc_arch_preferred_bootmem+0x48/0x74
      LR [c04db9ac] alloc_arch_preferred_bootmem+0x18/0x74
      Call Trace:
      [c053dee0] [c000a5a4] __of_address_to_resource+0x44/0xd0 (unreliable)
      [c053def0] [c04dba58] ___alloc_bootmem_nopanic+0x50/0x108
      [c053df20] [c04dbb28] ___alloc_bootmem+0x18/0x50
      [c053df30] [c04d5de0] qe_ic_init+0x5c/0x1b0
      [c053df70] [c04d77b0] mpc85xx_mds_pic_init+0xb8/0x10c
      [c053dfb0] [c04cf374] init_IRQ+0x28/0x3c
      
      p.s. commit 85355bb2 ("powerpc: Fix
      mpic alloc warning") missed some alloc_bootmem() instances, this is
      now fixed.
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Acked-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      ea96025a
  12. 09 6月, 2008 1 次提交
  13. 17 1月, 2008 1 次提交
  14. 24 12月, 2007 2 次提交
    • V
      [POWERPC] 4xx: rework UIC cascade irq handling · 5aac48dc
      Valentine Barshak 提交于
      This is a UIC cascade handler rework to use set_irq_chained_handler() for
      cascade, just like othe ppc platforms do. With current implementation we have
      additional redirection for irq handler and we call generic_handle_irq twice
      (once for the primary uic and the other time for handling cascade interrupt).
      This causes Ingo's realtime support patch to stop working on 4xx.
      
      Not sure of any other possible problems though, but with
      set_irq_chained_handler() we can abolish "struct irqaction cascade" from the
      chip descriptor and call generic_handle_irq() once, directly for cascade irq.
      Signed-off-by: NValentine Barshak <vbarshak@ru.mvista.com>
      Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      5aac48dc
    • V
      [POWERPC] 4xx: make UIC use generic level irq handler · c8090563
      Valentine Barshak 提交于
      This patch makes PowerPC 4xx UIC use generic level irq handler instead
      of a custom handle_uic_irq() function. We ack only edge irqs in mask_ack
      callback, since acking a level irq on UIC has no effect if the interrupt
      is still asserted by the device, even if the interrupt is already masked.
      So, to really de-assert the interrupt we need to de-assert the external
      source first *and* ack it on UIC then. The handle_level_irq() function
      masks and ack's the interrupt with mask_ack callback prior to calling
      the actual ISR and unmasks it at the end. So, to use it with UIC interrupts
      we need to ack level irqs in the unmask callback instead, after the ISR
      has de-asserted the external interrupt source. Even if we ack the interrupt
      that we didn't handle (unmask/ack it at the end of the handler, while
      next irq is already pending) it will not de-assert the irq, untill we
      de-assert its exteral source.
      Signed-off-by: NValentine Barshak <vbarshak@ru.mvista.com>
      Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      c8090563
  15. 19 11月, 2007 1 次提交
  16. 13 9月, 2007 2 次提交
  17. 17 8月, 2007 3 次提交
  18. 07 5月, 2007 1 次提交
  19. 30 4月, 2007 1 次提交
  20. 24 4月, 2007 1 次提交