Searched refs:gcr_ectl (Results 1 – 1 of 1) sorted by relevance
1644 ulong gcr_ectl, cp0_ectl; in parity_protection_init() local1664 gcr_ectl = read_gcr_err_control(); in parity_protection_init()1666 if (!(gcr_ectl & CM_GCR_ERR_CONTROL_L2_ECC_SUPPORT) || in parity_protection_init()1686 gcr_ectl |= CM_GCR_ERR_CONTROL_L2_ECC_EN; in parity_protection_init()1688 gcr_ectl &= ~CM_GCR_ERR_CONTROL_L2_ECC_EN; in parity_protection_init()1689 write_gcr_err_control(gcr_ectl); in parity_protection_init()1690 gcr_ectl = read_gcr_err_control(); in parity_protection_init()1691 gcr_ectl &= CM_GCR_ERR_CONTROL_L2_ECC_EN; in parity_protection_init()1692 WARN_ON(!!gcr_ectl != l2parity); in parity_protection_init()