workarounds
u64 workarounds; /* see workarounds.h */
u64 workarounds;
loongson_sysconf.workarounds = WORKAROUND_CPUFREQ;
loongson_sysconf.workarounds = WORKAROUND_CPUHOTPLUG;
loongson_sysconf.workarounds |= esys->workarounds;
if (!(loongson_sysconf.workarounds & WORKAROUND_CPUHOTPLUG))
if (!(loongson_sysconf.workarounds & WORKAROUND_CPUHOTPLUG))
module_param_named(workarounds, sbp2_param_workarounds, int, 0644);
MODULE_PARM_DESC(workarounds, "Work around device bugs (default = 0"
w |= sbp2_workarounds_table[i].workarounds;
tgt->workarounds = w;
if (lu->tgt->workarounds & SBP2_WORKAROUND_INQUIRY_36)
lu->tgt->workarounds & SBP2_WORKAROUND_MODE_SENSE_8)
if (lu->tgt->workarounds & SBP2_WORKAROUND_FIX_CAPACITY)
if (lu->tgt->workarounds & SBP2_WORKAROUND_POWER_CONDITION)
if (lu->tgt->workarounds & SBP2_WORKAROUND_128K_MAX_TRANS)
unsigned int workarounds;
unsigned int workarounds;
.workarounds = SBP2_WORKAROUND_INQUIRY_36 |
.workarounds = SBP2_WORKAROUND_POWER_CONDITION,
.workarounds = SBP2_WORKAROUND_INQUIRY_36,
.workarounds = SBP2_WORKAROUND_POWER_CONDITION,
.workarounds = SBP2_WORKAROUND_128K_MAX_TRANS,
.workarounds = SBP2_WORKAROUND_128K_MAX_TRANS,
.workarounds = SBP2_WORKAROUND_128K_MAX_TRANS |
.workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
.workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
.workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
.workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
if (lu->tgt->workarounds & SBP2_WORKAROUND_DELAY_INQUIRY)
selftest(workarounds, intel_workarounds_live_selftests)
workarounds(xe, &p);