git: 96787c2ffe6d - stable/13 - x86: Make AMD elvtX dump more compact.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Dec 2021 04:49:17 UTC
The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=96787c2ffe6da94e158172428608250e29584a74 commit 96787c2ffe6da94e158172428608250e29584a74 Author: Alexander Motin <mav@FreeBSD.org> AuthorDate: 2021-12-05 02:45:20 +0000 Commit: Alexander Motin <mav@FreeBSD.org> CommitDate: 2021-12-19 04:49:07 +0000 x86: Make AMD elvtX dump more compact. MFC after: 2 weeks (cherry picked from commit a07d4265095ed473a3db5c3a998c699fa46dbe86) --- sys/x86/x86/local_apic.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c index ab26fc8841ab..d0548d06569b 100644 --- a/sys/x86/x86/local_apic.c +++ b/sys/x86/x86/local_apic.c @@ -742,11 +742,12 @@ native_lapic_dump(const char* str) printf(" cmci: 0x%08x\n", lapic_read32(LAPIC_LVT_CMCI)); extf = amd_read_ext_features(); if (extf != 0) { - printf(" AMD ext features: 0x%08x\n", extf); + printf(" AMD ext features: 0x%08x", extf); elvt_count = amd_read_elvt_count(); for (i = 0; i < elvt_count; i++) - printf(" AMD elvt%d: 0x%08x\n", i, + printf("%s elvt%d: 0x%08x", (i % 4) ? "" : "\n ", i, lapic_read32(LAPIC_EXT_LVT0 + i)); + printf("\n"); } }