Re: dumping pid registers on panic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 18, 2008 at 11:44 AM, Kyle McMartin <kyle@xxxxxxxxxxxxx> wrote:
> diff --git a/arch/parisc/include/asm/assembly.h b/arch/parisc/include/asm/assembly.h
> index ffb2088..b152733 100644
> --- a/arch/parisc/include/asm/assembly.h
> +++ b/arch/parisc/include/asm/assembly.h
> @@ -447,6 +447,11 @@
>        mtctl    %r0,   %cr18
>        SAVE_CR  (%cr18, PT_IAOQ1(\regs))
>
> +       SAVE_CR  (%cr8,  PT_PID0(\regs))
> +       SAVE_CR  (%cr9,  PT_PID1(\regs))
> +       SAVE_CR  (%cr12, PT_PID2(\regs))
> +       SAVE_CR  (%cr13, PT_PID3(\regs))

In a 64-bit kernel (W-bit set to 1) these registers are 64-bits in
width and each one contains 2 pids?

e.g.
CR8 = pid1, pid2
CR9 = pid3, pid4
CR12 = pid5, pid6
CR13 = pid7, pid8

The docs say the pids can be from 16-32 bits wide, but the true length
is implementation dependent.

Cheers,
Carlos.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux