Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <guohanjun@huawei.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/1588910198-8348-1-git-send-email-guohanjun@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Hanjun Guo and committed by
Will Deacon
44cdc7b1 539979b6

+2
+2
drivers/acpi/arm64/iort.c
··· 332 332 map, rid_in); 333 333 if (rid_in != map->input_base) 334 334 return -ENXIO; 335 + 336 + pr_err(FW_BUG "applying workaround.\n"); 335 337 } 336 338 337 339 *rid_out = map->output_base + (rid_in - map->input_base);