The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=9939af1a161e5c219ece5e7c5bc02dcb9a9960f7
commit 9939af1a161e5c219ece5e7c5bc02dcb9a9960f7 Author: Konstantin Belousov <[email protected]> AuthorDate: 2021-08-30 20:25:31 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2021-08-31 01:46:12 +0000 amd64: correctly calculate KVA of the preloaded ucode blob when kernphys != 2M Reported and tested by: kbowling Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/amd64/amd64/machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index eaf592c9b947..864caa144f0d 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1642,7 +1642,7 @@ hammer_time(u_int64_t modulep, u_int64_t physfree) atomic_store_short((u_short *)0x472, 0x1234); } - physfree += ucode_load_bsp(physfree + KERNBASE); + physfree += ucode_load_bsp(physfree - kernphys + KERNSTART); physfree = roundup2(physfree, PAGE_SIZE); identify_cpu1(); _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "[email protected]"
