cxl: Rename register PSL9_FIR2 to PSL9_FIR_MASK
authorVaibhav Jain <vaibhav@linux.vnet.ibm.com>
Mon, 9 Oct 2017 17:56:27 +0000 (23:26 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 10 Oct 2017 09:17:49 +0000 (20:17 +1100)
commit8f6a90421c7637984fb352da079fb13172176bfd
tree41cf65bcff576d722582461fd615295194414671
parent5632874311dbf432c698fcbe0cf7a49e01ebf324
cxl: Rename register PSL9_FIR2 to PSL9_FIR_MASK

PSL9 doesn't have a FIR2 register as was the case with PSL8. However
currently the register definitions in 'cxl.h' have a definition for
PSL9_FIR2 that actually points to PSL9_FIR_MASK register in the P1
area at offset 0x308.

So this patch renames the def PSL9_FIR2 to PSL9_FIR_MASK and updates
the references in the code to point to the new identifier. It also
removes the code to dump contents of FIR2 (FIR_MASK actually) in
cxl_native_irq_dump_regs_psl9().

Fixes: f24be42aab37 ("cxl: Add psl9 specific code")
Reported-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/cxl.h
drivers/misc/cxl/debugfs.c
drivers/misc/cxl/native.c