1. 14 9月, 2015 1 次提交
    • T
      powerpc/85xx: Prepare irq handlers for irq argument removal · 0a0dbd92
      Thomas Gleixner 提交于
      The irq argument of most interrupt flow handlers is unused or merily
      used instead of a local variable. The handlers which need the irq
      argument can retrieve the irq number from the irq descriptor.
          
      Search and update was done with coccinelle and the invaluable help of
      Julia Lawall.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: linuxppc-dev@lists.ozlabs.org
      0a0dbd92
  2. 20 3月, 2014 1 次提交
    • W
      fsl/pci: The new pci suspend/resume implementation · 48b16180
      Wang Dongsheng 提交于
      If we do nothing in suspend/resume, some platform PCIe ip-block
      can't guarantee the link back to L0 state from sleep, then, when
      we read the EP device will hang. Only we send pme turnoff message
      in pci controller suspend, and send pme exit message in resume, the
      link state will be normal.
      
      When we send pme turnoff message in pci controller suspend, the
      links will into l2/l3 ready, then, host cannot communicate with
      ep device, but pci-driver will call back EP device to save them
      state. So we need to change platform_driver->suspend/resume to
      syscore->suspend/resume.
      
      So the new suspend/resume implementation, send pme turnoff message
      in suspend, and send pme exit message in resume. And add a PME handler,
      to response PME & message interrupt.
      
      Change platform_driver->suspend/resume to syscore->suspend/resume.
      pci-driver will call back EP device, to save EP state in
      pci_pm_suspend_noirq, so we need to keep the link, until
      pci_pm_suspend_noirq finish.
      Signed-off-by: NWang Dongsheng <dongsheng.wang@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      48b16180
  3. 04 1月, 2013 1 次提交
    • G
      POWERPC: drivers: remove __dev* attributes. · cad5cef6
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      cad5cef6
  4. 13 9月, 2012 1 次提交
  5. 29 3月, 2012 1 次提交
  6. 17 3月, 2012 2 次提交
  7. 23 2月, 2012 1 次提交
    • K
      powerpc/mpic: Remove duplicate MPIC_WANTS_RESET flag · e55d7f73
      Kyle Moffett 提交于
      There are two separate flags controlling whether or not the MPIC is
      reset during initialization, which is completely unnecessary, and only
      one of them can be specified in the device tree.
      
      Also, most platforms in-tree right now do actually want to reset the
      MPIC during initialization anyways, which means lots of duplicate code
      passing the MPIC_WANTS_RESET flag.
      
      Fix all of the callers which currently do not pass the MPIC_WANTS_RESET
      flag to pass the MPIC_NO_RESET flag, then remove the MPIC_WANTS_RESET
      flag and make the code reset the MPIC by default.
      Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      e55d7f73
  8. 07 12月, 2011 3 次提交
  9. 25 11月, 2011 1 次提交
  10. 24 11月, 2011 2 次提交
  11. 01 11月, 2011 1 次提交
  12. 27 7月, 2011 1 次提交
  13. 29 3月, 2011 1 次提交
  14. 30 3月, 2009 1 次提交
  15. 24 3月, 2009 1 次提交
  16. 22 10月, 2008 1 次提交
  17. 14 7月, 2008 1 次提交
  18. 24 1月, 2008 1 次提交
  19. 11 10月, 2007 1 次提交
    • K
      [POWERPC] 85xx: Killed <asm/mpc85xx.h> · 0bfd5df5
      Kumar Gala 提交于
      asm-powerpc/mpc85xx.h was really a hold over from arch/ppc.  Now that
      more decoupling has occurred we can remove <asm/mpc85xx.h> and some of
      its legacy.
      
      As part of this we moved the definition of CPM_MAP_ADDR into cpm2.h
      for 85xx platforms.  This is a stop gap until drivers stop using
      CPM_MAP_ADDR.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      0bfd5df5
  20. 08 10月, 2007 2 次提交
  21. 14 9月, 2007 1 次提交
  22. 11 9月, 2007 1 次提交
  23. 23 8月, 2007 1 次提交
    • K
      [POWERPC] Remove old includes from arch/ppc · ed16c20d
      Kumar Gala 提交于
      Remove includes of files that existed in arch/ppc that we dont need in
      arch/powerpc anymore.  The following includes were removed:
      
       <asm/amigappc.h>
       <asm/bootinfo.h>
       <asm/ppcboot.h>
       <asm/ppc_sys.h>
       <asm/residual.h>
       <asm/m8260_pci.h>
      
      This also caused platforms/embedded6xx/mpc7448_hpc2.h to no longer be
      needed and thus removed.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      ed16c20d
  24. 24 7月, 2007 4 次提交
    • R
      [POWERPC] 85xxCDS: Misc 8548 PCI Corrections. · 8d7bc8f9
      Randy Vinson 提交于
      Setting the host bridge @8000 as primary. Also fixing a bug in
      setting the USB interrupt numbers.
      Signed-off-by: NRandy Vinson <rvinson@mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      8d7bc8f9
    • R
      [POWERPC] 85xxCDS: Delay 8259 cascade hookup. · bca03c6b
      Randy Vinson 提交于
      The interrupts of an E100 card inserted in PCI slot 4 may be on at bootup.
      The resulting interrupt flood interacts with the 8259 cascade handler and
      prevents proper boot up. There is a quirk for the E100 that will disable
      the E100's interrupts but to use it, the 8259 cascade hookup must be
      delayed until after the quirk has run. This patch delays the 8259 cascade
      hookup by registering a device_initcall() which runs after the PCI quirk
      for the E100.
      Signed-off-by: NRandy Vinson <rvinson@mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      bca03c6b
    • R
      [POWERPC] 85xxCDS: Make sure restart resets the PCI bus. · 637e9e13
      Randy Vinson 提交于
      The current 85xxCDS restart code fails to reset the PCI bus which can
      lead to odd behavior after the restart. This patch uses the VIA Super
      Southbridge to perform a PCI reset which will reset the entire system.
      NOTE: Since the VIA chip is behind a PCI-to-PCI bridge which can be
      disabled with a switch setting, it may not be possible to perform the
      PCI bus reset. In this case, the code defaults to the previous restart
      mechanism.
      Signed-off-by: NRandy Vinson <rvinson@mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      637e9e13
    • R
      [POWERPC] 85xxCDS: Allow 8259 cascade to share an MPIC interrupt line. · 3620fc1d
      Randy Vinson 提交于
      The Freescale MPC8555CDS and MPC8548CDS reference hardware has a legacy
      8259 interrupt controller pair contained within a VIA VT82C686B Southbridge
      on the main carrier board. The processor complex plugs into the carrier
      card using a PCI slot which limits the available interrupts to the
      INTA-INTD PCI interrupts. The output of the 8259 cascade pair is routed
      through a gate array and connected to the PCI INTA interrupt line.
      The normal interrupt chaining hook (set_irq_chained_handler) does
      not allow sharing of the chained interrupt which prevents the
      use of PCI INTA by PCI devices. This patch allows the 8259 cascade
      pair to share their interrupt line with PCI devices.
      
      NOTE: The addition of the .end routine for the MPIC is not strictly
      necessary for this patch. It's there so this code will run from within
      the threaded interrupt context used by the Real Time patch.
      Signed-off-by: NRandy Vinson <rvinson@mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      3620fc1d
  25. 23 7月, 2007 3 次提交
  26. 10 7月, 2007 1 次提交
  27. 03 7月, 2007 1 次提交
  28. 29 6月, 2007 3 次提交