summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cxl/cxl.h
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.vnet.ibm.com>2016-03-21 14:32:48 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2016-04-22 21:45:44 +1000
commite009a7e858fed215cb4eed5174a31cadd42d8797 (patch)
tree374b3df8a670dfbc72c4eb960f6b488a916958ea /drivers/misc/cxl/cxl.h
parentbb62bad623deb7952aef13fcbe065fde5d1f03e5 (diff)
downloadop-kernel-dev-e009a7e858fed215cb4eed5174a31cadd42d8797.zip
op-kernel-dev-e009a7e858fed215cb4eed5174a31cadd42d8797.tar.gz
cxl: Allow initialization on timebase sync failures
Failure to synchronize the PSL timebase currently prevents the initialization of the cxl card, thus rendering the card useless. This is too extreme for a feature which is rarely used, if at all. No hardware AFUs or software is currently using PSL timebase. This patch still tries to synchronize the PSL timebase when the card is initialized, but ignores the error if it can't. Instead, it reports a status via /sys. Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Acked-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/misc/cxl/cxl.h')
-rw-r--r--drivers/misc/cxl/cxl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/cxl/cxl.h b/drivers/misc/cxl/cxl.h
index 38e21cf..dfdbfb0 100644
--- a/drivers/misc/cxl/cxl.h
+++ b/drivers/misc/cxl/cxl.h
@@ -579,6 +579,7 @@ struct cxl {
bool perst_loads_image;
bool perst_select_user;
bool perst_same_image;
+ bool psl_timebase_synced;
};
int cxl_pci_alloc_one_irq(struct cxl *adapter);
OpenPOWER on IntegriCloud