1. 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
  2. 10 2月, 2006 1 次提交
  3. 07 2月, 2006 2 次提交
    • O
      [PATCH] powerpc: add refcounting to setup_peg2 and of_get_pci_address · d60dcd94
      Olaf Hering 提交于
      setup_peg2 must do some refcounting.
      of_get_pci_address may need to drop the node
      
      	Pegasos l2cr : L2 cache was not active, activating
      	PCI bus 0 controlled by pci at 80000000
      	Badness in kref_get at /home/olaf/kernel/olh/ppc64/linux-2.6.16-rc2-olh/lib/kref.c:32
      	Call Trace:
      	[C037BD00] [C0007934] show_stack+0x5c/0x184 (unreliable)
      	[C037BD30] [C000E068] program_check_exception+0x184/0x584
      	[C037BD90] [C000F5F0] ret_from_except_full+0x0/0x4c
      	--- Exception: 700 at kref_get+0xc/0x24
      	    LR = of_node_get+0x24/0x3c
      	[C037BE50] [C004FD94] __pte_alloc_kernel+0x64/0x80 (unreliable)
      	[C037BE70] [C000CA18] of_get_parent+0x34/0x58
      	[C037BE90] [C0009B18] of_get_address+0x24/0x174
      	[C037BED0] [C000A108] of_address_to_resource+0x24/0x68
      	[C037BF00] [C038B128] chrp_find_bridges+0x114/0x470
      	[C037BF90] [C038AE48] chrp_setup_arch+0x1fc/0x32c
      	[C037BFB0] [C03849B0] setup_arch+0x144/0x188
      	[C037BFD0] [C037C45C] start_kernel+0x34/0x1a8
      	[C037BFF0] [000037A0] 0x37a0
      	Badness in kref_get at /home/olaf/kernel/olh/ppc64/linux-2.6.16-rc2-olh/lib/kref.c:32
      	Call Trace:
      	[C037BC90] [C0007934] show_stack+0x5c/0x184 (unreliable)
      	[C037BCC0] [C000E068] program_check_exception+0x184/0x584
      	[C037BD20] [C000F5F0] ret_from_except_full+0x0/0x4c
      	--- Exception: 700 at kref_get+0xc/0x24
      	    LR = of_node_get+0x24/0x3c
      	[C037BDE0] [00000000] 0x0 (unreliable)
      	[C037BE00] [C000CA18] of_get_parent+0x34/0x58
      	[C037BE20] [C0009CE8] of_translate_address+0x2c/0x2fc
      	[C037BEA0] [C0009FE8] __of_address_to_resource+0x30/0xc4
      	[C037BED0] [C000A130] of_address_to_resource+0x4c/0x68
      	[C037BF00] [C038B128] chrp_find_bridges+0x114/0x470
      	[C037BF90] [C038AE48] chrp_setup_arch+0x1fc/0x32c
      	[C037BFB0] [C03849B0] setup_arch+0x144/0x188
      	[C037BFD0] [C037C45C] start_kernel+0x34/0x1a8
      	[C037BFF0] [000037A0] 0x37a0
      	PCI bus 0 controlled by pci at c0000000
      	Top of RAM: 0x10000000, Total RAM: 0x10000000
      Signed-off-by: NOlaf Hering <olh@suse.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d60dcd94
    • O
      [PATCH] powerpc: restore clock speed in /proc/cpuinfo · 03478804
      Olaf Hering 提交于
      Use generic_calibrate_decr to restore missing clock: speed in /proc/cpuinfo
      Signed-off-by: NOlaf Hering <olh@suse.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      03478804
  4. 14 1月, 2006 1 次提交
  5. 09 1月, 2006 1 次提交
  6. 18 11月, 2005 2 次提交
  7. 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
  8. 05 11月, 2005 1 次提交
  9. 02 11月, 2005 3 次提交
  10. 29 10月, 2005 2 次提交
  11. 27 10月, 2005 1 次提交
  12. 26 10月, 2005 1 次提交