Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

parisc: Enhance debug code for PAT firmware

Enhance output when running PAT firmware, which is helpful when
developing the QEMU emulator. The added code is behind an ifdef,
so no performance overhead for normal kernels.

Signed-off-by: Helge Deller <deller@gmx.de>

+13
+13
arch/parisc/kernel/inventory.c
··· 207 207 return status; 208 208 } 209 209 210 + #ifdef DEBUG_PAT 211 + pr_debug("PAT INDEX: %lu: cba 0x%lx, " 212 + "mod_info 0x%lx, mod_location 0x%lx, " 213 + "mod: 0x%lx 0x%lx 0x%lx 0x%lx 0x%lx 0x%lx " 214 + "0x%lx 0x%lx 0x%lx 0x%lx 0x%lx 0x%lx\n", 215 + mod_index + 1, pa_pdc_cell->cba, 216 + pa_pdc_cell->mod_info, pa_pdc_cell->mod_location, 217 + pa_pdc_cell->mod[0], pa_pdc_cell->mod[1], pa_pdc_cell->mod[2], 218 + pa_pdc_cell->mod[3], pa_pdc_cell->mod[4], pa_pdc_cell->mod[5], 219 + pa_pdc_cell->mod[6], pa_pdc_cell->mod[7], pa_pdc_cell->mod[8], 220 + pa_pdc_cell->mod[9], pa_pdc_cell->mod[10], pa_pdc_cell->mod[11]); 221 + #endif 222 + 210 223 temp = pa_pdc_cell->cba; 211 224 dev = alloc_pa_dev(PAT_GET_CBA(temp), &(pa_pdc_cell->mod_path)); 212 225 if (!dev) {