> - if (ctx->ins_table[ins].flags & APEI_EXEC_INS_ACCESS_REGISTER) > + if (ctx->ins_table[ins].flags & APEI_EXEC_INS_ACCESS_REGISTER && > + entry->register_region.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) I don't know (too long since I looked at APEI code) if this is the right fix, but I tried it out and it does allow einj.ko module to load. Tested-by: Tony Luck <tony.luck@xxxxxxxxx> -Tony