1. 25 1月, 2008 1 次提交
  2. 20 12月, 2007 1 次提交
  3. 11 10月, 2007 1 次提交
  4. 23 8月, 2007 1 次提交
  5. 17 8月, 2007 1 次提交
  6. 07 5月, 2007 1 次提交
  7. 24 4月, 2007 3 次提交
  8. 13 4月, 2007 3 次提交
  9. 16 3月, 2007 1 次提交
  10. 10 2月, 2007 1 次提交
  11. 04 12月, 2006 2 次提交
    • B
      [POWERPC] Merge 32 and 64 bits asm-powerpc/io.h · 68a64357
      Benjamin Herrenschmidt 提交于
      powerpc: Merge 32 and 64 bits asm-powerpc/io.h
      
      The rework on io.h done for the new hookable accessors made it easier,
      so I just finished the work and merged 32 and 64 bits io.h for arch/powerpc.
      
      arch/ppc still uses the old version in asm-ppc, there is just too much gunk
      in there that I really can't be bothered trying to cleanup.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      68a64357
    • B
      [POWERPC] Make pci_read_irq_line the default · f90bb153
      Benjamin Herrenschmidt 提交于
      This patch reworks the way IRQs are fixed up on PCI for arch powerpc.
      
      It makes pci_read_irq_line() called by default in the PCI code for
      devices that are probed, and add an optional per-device fixup in
      ppc_md for platforms that really need to correct what they obtain
      from pci_read_irq_line().
      
      It also removes ppc_md.irq_bus_setup which was only used by pSeries
      and should not be needed anymore.
      
      I've also removed the pSeries s7a workaround as it can't work with
      the current interrupt code anyway. I'm trying to get one of these
      machines working so I can test a proper fix for that problem.
      
      I also haven't updated the old-style fixup code from 85xx_cds.c
      because it's actually buggy :) It assigns pci_dev->irq hard coded
      numbers which is no good with the new IRQ mapping code. It should
      at least use irq_create_mapping(NULL, hard_coded_number); and possibly
      also set_irq_type() to set them as level low.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f90bb153
  12. 25 10月, 2006 1 次提交
  13. 07 10月, 2006 1 次提交
  14. 06 10月, 2006 1 次提交
  15. 31 7月, 2006 1 次提交
  16. 25 7月, 2006 1 次提交
  17. 07 7月, 2006 2 次提交
  18. 04 7月, 2006 1 次提交
    • S
      kbuild: introduce utsrelease.h · 63104eec
      Sam Ravnborg 提交于
      include/linux/version.h contained both actual KERNEL version
      and UTS_RELEASE that contains a subset from git SHA1 for when
      kernel was compiled as part of a git repository.
      This had the unfortunate side-effect that all files including version.h
      would be recompiled when some git changes was made due to changes SHA1.
      Split it out so we keep independent parts in separate files.
      
      Also update checkversion.pl script to no longer check for UTS_RELEASE.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      63104eec
  19. 03 7月, 2006 2 次提交
    • B
      [POWERPC] Add new interrupt mapping core and change platforms to use it · 0ebfff14
      Benjamin Herrenschmidt 提交于
      This adds the new irq remapper core and removes the old one.  Because
      there are some fundamental conflicts with the old code, like the value
      of NO_IRQ which I'm now setting to 0 (as per discussions with Linus),
      etc..., this commit also changes the relevant platform and driver code
      over to use the new remapper (so as not to cause difficulties later
      in bisecting).
      
      This patch removes the old pre-parsing of the open firmware interrupt
      tree along with all the bogus assumptions it made to try to renumber
      interrupts according to the platform. This is all to be handled by the
      new code now.
      
      For the pSeries XICS interrupt controller, a single remapper host is
      created for the whole machine regardless of how many interrupt
      presentation and source controllers are found, and it's set to match
      any device node that isn't a 8259.  That works fine on pSeries and
      avoids having to deal with some of the complexities of split source
      controllers vs. presentation controllers in the pSeries device trees.
      
      The powerpc i8259 PIC driver now always requests the legacy interrupt
      range. It also has the feature of being able to match any device node
      (including NULL) if passed no device node as an input. That will help
      porting over platforms with broken device-trees like Pegasos who don't
      have a proper interrupt tree.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0ebfff14
    • B
      [POWERPC] Use the genirq framework · b9e5b4e6
      Benjamin Herrenschmidt 提交于
      This adapts the generic powerpc interrupt handling code, and all of
      the platforms except for the embedded 6xx machines, to use the new
      genirq framework.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      b9e5b4e6
  20. 01 7月, 2006 1 次提交
  21. 05 4月, 2006 1 次提交
  22. 28 3月, 2006 1 次提交
  23. 27 3月, 2006 1 次提交
    • P
      powerpc: Fix event-scan code for 32-bit CHRP · 9618edab
      Paul Mackerras 提交于
      On CHRP machines we are supposed to call into firmware (RTAS)
      periodically, to give it a chance to check for errors and other
      events.  Under ppc we had some special code in timer_interrupt
      to do this, but that didn't get transferred over to arch/powerpc.
      Instead, we use an array of timer_list structs, one per CPU,
      and use add_timer_on to make sure each one gets called on the
      appropriate CPU.
      
      With this we can remove the heartbeat_* elements of the ppc_md
      struct.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      9618edab
  24. 10 2月, 2006 1 次提交
  25. 07 2月, 2006 1 次提交
  26. 14 1月, 2006 1 次提交
  27. 09 1月, 2006 1 次提交
  28. 18 11月, 2005 1 次提交
    • P
      powerpc: time-of-day fixes for 32-bit CHRP systems · 49e16b7b
      Paul Mackerras 提交于
      This makes 32-bit CHRP systems use the RTAS time-of-day routines if
      available.  It fixes a bug in the RTAS time-of-day routines where they
      were storing a 64-bit timebase value in an unsigned long by making
      those variables u64.  Also, the direct-access time-of-day routines
      had the wrong convention for the month and year in the struct rtc_time.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      49e16b7b
  29. 10 11月, 2005 1 次提交
    • P
      ppc/powerpc: workarounds for old Open Firmware versions · a23414be
      Paul Mackerras 提交于
      This adds code to work around some problems with old versions of
      Open Firmware, such as on the early powermacs (7500 etc.) and the
      "Longtrail" CHRP machine.  On these machines we have to claim
      the physical and virtual address ranges explicitly when claiming
      memory and then set up a V->P mapping.
      
      The Longtrail has more problems: setprop doesn't work, and we have
      to set an "allow-reclaim" variable to 0 in order to get claim on
      physical memory ranges to fail if the memory is already claimed.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a23414be
  30. 29 10月, 2005 1 次提交
  31. 26 10月, 2005 2 次提交
    • P
      powerpc: Merge 32-bit CHRP support. · bbd0abda
      Paul Mackerras 提交于
      SMP still needs more work but UP gets as far as starting userspace
      at least.  This uses the 64-bit-style code for spinning up the cpus.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      bbd0abda
    • P
      powerpc: Merge i8259.c into arch/powerpc/sysdev · f9bd170a
      Paul Mackerras 提交于
      This changes the parameters for i8259_init so that it takes two
      parameters: a physical address for generating an interrupt
      acknowledge cycle, and an interrupt number offset.  i8259_init
      now sets the irq_desc[] for its interrupts; all the callers
      were doing this, and that code is gone now.  This also defines
      a CONFIG_PPC_I8259 symbol to select i8259.o for inclusion, and
      makes the platforms that need it select that symbol.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f9bd170a
  32. 19 10月, 2005 1 次提交