cxl: Dump PSL_FIR register on PSL9 error irq
For PSL9 currently we aren't dumping the PSL FIR register when a PSL error interrupt is triggered. Contents of this register are useful in debugging AFU issues. This patch fixes issue by adding a new service_layer_ops callback cxl_native_err_irq_dump_regs_psl9() to dump the PSL_FIR registers on a PSL error interrupt thereby bringing the behavior in line with PSL on POWER-8. Also the existing service_layer_ops callback for PSL8 has been renamed to cxl_native_err_irq_dump_regs_psl8(). Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com> Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
committed by
Michael Ellerman
parent
89aca4753e
commit
990f19ae6f
@ -1072,7 +1072,8 @@ u64 cxl_calculate_sr(bool master, bool kernel, bool real_mode, bool p9);
|
||||
|
||||
void cxl_native_irq_dump_regs_psl9(struct cxl_context *ctx);
|
||||
void cxl_native_irq_dump_regs_psl8(struct cxl_context *ctx);
|
||||
void cxl_native_err_irq_dump_regs(struct cxl *adapter);
|
||||
void cxl_native_err_irq_dump_regs_psl8(struct cxl *adapter);
|
||||
void cxl_native_err_irq_dump_regs_psl9(struct cxl *adapter);
|
||||
int cxl_pci_vphb_add(struct cxl_afu *afu);
|
||||
void cxl_pci_vphb_remove(struct cxl_afu *afu);
|
||||
void cxl_release_mapping(struct cxl_context *ctx);
|
||||
|
Reference in New Issue
Block a user