31 #include <linux/module.h>
33 #include <linux/slab.h>
35 #include <asm/param.h>
36 #include <asm/cache.h>
38 #include <asm/processor.h>
77 init_percpu_prof(
unsigned long cpunum)
117 txn_addr = dev->
hpa.start;
131 panic(
"couldn't allocate memory for PDC_PAT_CELL!");
134 dev->mod_index,
PA_VIEW, pa_pdc_cell);
139 BUG_ON(dev->mod_info != pa_pdc_cell->mod_info);
140 BUG_ON(dev->pmod_loc != pa_pdc_cell->mod_location);
142 txn_addr = pa_pdc_cell->mod[0];
159 " cpu_slot_id > NR_CPUS"
189 init_percpu_prof(cpuid);
210 actions = cpu_irq_actions[0];
249 #define p ((unsigned long *)&boot_cpu_data.pdc.model)
252 "model %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx\n",
253 p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8]);
326 asm volatile (
"fstd %fr0,8(%sp)");
330 " (coproc_cfg.ccr_functional == 0x%lx, expected 0xc0)\n"
332 "Halting Machine - FP required\n"
337 panic(
"FP CoProc not reported");
342 init_percpu_prof(cpunum);
358 if (0 == cpuinfo->
hpa)
362 "cpu family\t: PA-RISC %s\n",
380 "model name\t: %s\n",
383 cpuinfo->
dev->name :
"Unknown");
386 "sversion\t: 0x%08x\n",
410 .id_table = processor_tbl,
411 .probe = processor_probe