[PATCH v2 09/16] powernv/fadump: process architected register state data provided by firmware
Segher Boessenkool
segher at kernel.crashing.org
Wed May 8 02:00:55 AEST 2019
On Tue, May 07, 2019 at 07:43:56PM +0530, Mahesh J Salgaonkar wrote:
> Can we use SPRN_* #defines which are already present in asm/reg.h instead of
> hard coding numbers for switch cases ? You may want to add new #defines
> for NIP, MSR and CCR.
But none of those three are SPRs. Please don't pollute that namespace.
Put such defines into some fadump header, instead?
Segher
More information about the Linuxppc-dev
mailing list