1. 11 7月, 2012 1 次提交
  2. 03 7月, 2012 1 次提交
  3. 29 3月, 2012 1 次提交
  4. 23 2月, 2012 2 次提交
    • 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
    • K
      powerpc/mpic: Remove MPIC_BROKEN_FRR_NIRQS and duplicate irq_count · 5019609f
      Kyle Moffett 提交于
      The mpic->irq_count variable is only used as a software error-checking
      limit to determine whether or not an IRQ number is valid.  In board code
      which does not manually specify an IRQ count to mpic_alloc(), i.e. 0, it
      is automatically detected from the number of ISUs and the ISU size.
      
      In practice, all hardware ends up with irq_count == num_sources, so all
      of the runtime checks on mpic->irq_count should just check the value of
      mpic->num_sources instead.
      
      When platform hardware does not correctly report the number of IRQs,
      which only happens on the MPC85xx/MPC86xx, the MPIC_BROKEN_FRR_NIRQS
      flag is used to override the detected value of num_sources with the
      manual irq_count parameter.  Since there's no need to manually specify
      the number of IRQs except in this case, the extra flag can be eliminated
      and the test changed to "irq_count != 0".
      Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      5019609f
  5. 07 12月, 2011 4 次提交
  6. 24 11月, 2011 2 次提交
  7. 22 7月, 2011 1 次提交
    • F
      powerpc/85xx: fix mpic configuration in CAMP mode · a63e23b9
      Fabio Baltieri 提交于
      Change the string to check for CAMP mode boot on MPC85xx (eg. P2020) to match
      the one in the corresponding dts files (p2020rdb_camp_core{0,1}.dts).
      
      Without this fix the mpic is configured as in the SMP boot mode, which causes
      the first core to report a protected source interrupt error for devices
      of the other core and lock up.
      
      Also add MPIC_SINGLE_DEST_CPU on both P2020 based architectures in CAMP
      mode as suggested by Scott Wood. Thanks.
      
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Poonam Aggrwal <poonam.aggrwal@freescale.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NFabio Baltieri <fabio.baltieri@gmail.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      a63e23b9
  8. 29 3月, 2011 1 次提交
  9. 10 3月, 2011 1 次提交
  10. 14 7月, 2010 1 次提交
  11. 28 8月, 2009 2 次提交
  12. 16 6月, 2009 1 次提交
  13. 19 5月, 2009 1 次提交
    • K
      powerpc/85xx: Add P2020DS board support · 01af9507
      Kumar Gala 提交于
      The P2020 is a dual e500v2 core based SOC with:
      * 3 PCIe controllers
      * 2 General purpose DMA controllers
      * 2 sRIO controllers
      * 3 eTSECS
      * USB 2.0
      * SDHC
      * SPI, I2C, DUART
      * enhanced localbus
      * and optional Security (P2020E) security w/XOR acceleration
      
      The p2020 DS reference board is pretty similar to the existing MPC85xx
      DS boards and has a ULI 1575 connected on one of the PCIe controllers.
      Signed-off-by: NTed Peters <Ted.Peters@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      01af9507
  14. 24 3月, 2009 1 次提交
  15. 31 12月, 2008 1 次提交
  16. 04 12月, 2008 1 次提交
  17. 31 10月, 2008 1 次提交
  18. 30 7月, 2008 1 次提交
  19. 17 7月, 2008 1 次提交
  20. 14 7月, 2008 2 次提交
  21. 03 6月, 2008 1 次提交
  22. 17 4月, 2008 1 次提交
  23. 01 4月, 2008 1 次提交
  24. 11 12月, 2007 1 次提交
  25. 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
  26. 08 10月, 2007 2 次提交
  27. 14 9月, 2007 3 次提交
  28. 11 9月, 2007 1 次提交
  29. 18 8月, 2007 1 次提交
    • K
      [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards · b66510cb
      Kumar Gala 提交于
      The interrupt routing in the device trees for the ULI M1575 was
      inproperly using the interrupt line field as pci function.  Fixed
      up the device tree's to actual conform for to specification and
      changed the interrupt mapping code so it just uses a static mapping
      setup as follows:
      
      PIRQA - IRQ9
      PIRQB - IRQ10
      PIRQC - IRQ11
      PIRQD - IRQ12
      USB 1.1 OCHI (1c.0) - IRQ12
      USB 1.1 OCHI (1c.1) - IRQ9
      USB 1.1 OCHI (1c.2) - IRQ10
      USB 1.1 ECHI (1c.3) - IRQ11
      LAN (1b.0) - IRQ6
      AC97 (1d.0) - IRQ6
      Modem (1d.1) - IRQ6
      HD Audio (1d.2) - IRQ6
      SATA (1f.1) - IRQ5
      SMB (1e.1) - IRQ7
      PMU (1e.2) - IRQ7
      PATA (1f.0) - IRQ14/15
      
      Took the oppurtunity to refactor the code into a single file so we
      don't have to duplicate these fixes on the two current boards in the
      tree and several forth coming boards that will also need the code.
      
      Fixed RTC support that requires a dummy memory read on the P2P bridge
      to unlock the RTC and setup the default of the RTC alarm registers to
      match with a basic x86 style CMOS RTC.
      
      Moved code that poked ISA registers to a FIXUP_FINAL quirk to ensure
      the PCI IO space has been setup properly before we start poking ISA
      registers at random locations.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      b66510cb
  30. 24 7月, 2007 1 次提交