From nobody Sun Dec 19 04:49:17 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5EDD018FA579; Sun, 19 Dec 2021 04:49:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JGqxp0v0Kz54Wv; Sun, 19 Dec 2021 04:49:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F29581C72D; Sun, 19 Dec 2021 04:49:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BJ4nHBg073361; Sun, 19 Dec 2021 04:49:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BJ4nHMu073360; Sun, 19 Dec 2021 04:49:17 GMT (envelope-from git) Date: Sun, 19 Dec 2021 04:49:17 GMT Message-Id: <202112190449.1BJ4nHMu073360@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Motin Subject: git: 96787c2ffe6d - stable/13 - x86: Make AMD elvtX dump more compact. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mav X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 96787c2ffe6da94e158172428608250e29584a74 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639889358; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gZlBewFPKVIWGysQUxUzwsT/PNpuUs9B7/MSgtEwxmo=; b=pHxhS99MvgENhR+peUzw0S4JNBse4fr2jwnU4b4QANAFQEQm7i0tYWeZkfIVYqF6KtXTDZ nxYEFtq5tK1mZh6jeQdcYLobVu8+kKd4bYmlW5V5vWo4OJuUJ3i8Llc0op8mN7e1ZgQIR2 +iQHqGL1MkvnjgVyLps2iBN/RXJTGvpVLMRpxcgqc+tZK4QT8jl3WSQ3+5pVXCYiAPVELF FjcY02gbOcRZm6Q2MLmSV8L9HNdrY6hGClm7+74A/5ZJUlODrx+2u+mIdKfoBS+J87+Ywv TIrJuGRG76aLf1x8uI2pM0W4DAWcxH9583QnhoTsFosxrV8Y+3GqKoqF58oGOQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639889358; a=rsa-sha256; cv=none; b=GHxbO979CA1r9a1yLcmn08JEE7JUhtU/QWyvDeIh6P+cHaEAB6PAOJnTPQwY3lWzPRgN32 EH5+7PT8NZVVP0HeyaYbByZ2wEn7zawmDoRe5OhcuyFV/ADqAOon4enreRtLCPh1AcD5DM 6jLmfOMwhxzy4vujp8ANGBQWvM+jZGQfolAWFQNhKslNlNR1MUfuaFn2x7K6lC7Gmgomeq 4xOtFVxUaJiVsOGwq8Ofjgm7qTbI/r4t+NgiCTrUBkAPcTRYMOfEvbGJXhG19pQ08s36kn XK8oivUi/WZw9TdaAiaK1B+9IVfZX+q3BHVr8nFnrZH5rbYaZWY/Jsk2zT1nsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=96787c2ffe6da94e158172428608250e29584a74 commit 96787c2ffe6da94e158172428608250e29584a74 Author: Alexander Motin AuthorDate: 2021-12-05 02:45:20 +0000 Commit: Alexander Motin 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"); } }