Date: Fri, 31 Oct 2025 14:41:33 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 7e3c0565cfbf - stable/15 - x86 LAPIC: force edge-triggered mode for !bootverbose as well Message-ID: <202510311441.59VEfXlp063194@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7e3c0565cfbf0e745f28a42da80ac9726bc9ed16 commit 7e3c0565cfbf0e745f28a42da80ac9726bc9ed16 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-10-24 18:17:56 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-10-31 14:41:03 +0000 x86 LAPIC: force edge-triggered mode for !bootverbose as well (cherry picked from commit cf59dabe161f956ac7d36fbb91b7edeab9d0f6c3) --- sys/x86/x86/local_apic.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c index db9a1eb757de..c1c9029531f5 100644 --- a/sys/x86/x86/local_apic.c +++ b/sys/x86/x86/local_apic.c @@ -372,9 +372,12 @@ lvt_mode_impl(struct lapic *la, struct lvt *lvt, u_int pin, uint32_t value) case APIC_LVT_DM_SMI: case APIC_LVT_DM_INIT: case APIC_LVT_DM_EXTINT: - if (!lvt->lvt_edgetrigger && bootverbose) { - printf("lapic%u: Forcing LINT%u to edge trigger\n", - la->la_id, pin); + if (!lvt->lvt_edgetrigger) { + if (bootverbose) { + printf( + "lapic%u: Forcing LINT%u to edge trigger\n", + la->la_id, pin); + } value &= ~APIC_LVT_TM; } /* Use a vector of 0. */home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510311441.59VEfXlp063194>
