Skip to content

Commit 44cdc7b

Browse files
guohanjunwilldeacon
authored andcommitted
ACPI: IORT: Add extra message "applying workaround" for off-by-1 issue
As we already applied a workaround for the off-by-1 issue, it's good to add extra message "applying workaround" to make people less uneasy to see FW_BUG message in the boot log. Signed-off-by: Hanjun Guo <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 539979b commit 44cdc7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/acpi/arm64/iort.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ static int iort_id_map(struct acpi_iort_id_mapping *map, u8 type, u32 rid_in,
332332
map, rid_in);
333333
if (rid_in != map->input_base)
334334
return -ENXIO;
335+
336+
pr_err(FW_BUG "applying workaround.\n");
335337
}
336338

337339
*rid_out = map->output_base + (rid_in - map->input_base);

0 commit comments

Comments
 (0)