[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1807051133240.1714@nanos.tec.linutronix.de>
Date: Thu, 5 Jul 2018 11:38:07 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: "Tian, Baofeng" <baofeng.tian@...el.com>
cc: "'mingo@...hat.com'" <mingo@...hat.com>,
"'hpa@...or.com'" <hpa@...or.com>,
"'x86@...nel.org'" <x86@...nel.org>,
"'rostedt@...dmis.org'" <rostedt@...dmis.org>,
"'linux-kernel@...r.kernel.org'" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] Debug: Add cpu registers dump in case of kernel panic
On Thu, 5 Jul 2018, Tian, Baofeng wrote:
> Resubmit again for review, this patch save register and used for RAM dump.
Please do not resubmit by replying to mail which got rejected by LKML in the first
place. Resubmit means to send the patch new and in proper form.
> static atomic_t stopping_cpu = ATOMIC_INIT(-1);
> static bool smp_no_nmi_ipi = false;
>
> +static DEFINE_PER_CPU(struct pt_regs, cpu_regs);
> +
> +/* Store regs of this CPU for RAM dump decoding help */
> +static inline void store_regs(struct pt_regs *regs)
> +{
> + struct pt_regs *print_regs;
And this still is white space damaged.....
See Documentation/process/email-clients.rst
If your MUA is not mentioned there, then a web search or asking your
colleagues should give you the hints.
Thanks,
tglx
Powered by blists - more mailing lists