From nobody Sun Dec 05 02:47:25 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 8BA3B1834B31; Sun, 5 Dec 2021 02:47:25 +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 4J69vd1k78z3H46; Sun, 5 Dec 2021 02:47:25 +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 1AA1E10312; Sun, 5 Dec 2021 02:47:25 +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 1B52lPpi053492; Sun, 5 Dec 2021 02:47:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B52lPpS053491; Sun, 5 Dec 2021 02:47:25 GMT (envelope-from git) Date: Sun, 5 Dec 2021 02:47:25 GMT Message-Id: <202112050247.1B52lPpS053491@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Motin Subject: git: a07d4265095e - main - 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/main X-Git-Reftype: branch X-Git-Commit: a07d4265095ed473a3db5c3a998c699fa46dbe86 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638672445; 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=pGIhbVuomBZ9uxRjilOFWMCRK6gmbmuyn1cYLLyhpAw=; b=m74w4Qgg/NFimrAIeLjoZFuGFHjioxT0wMGqI6BJPUAgKmewK9iX9/3ieqvqFkcrqVxdaG xx0u3vasYVInWDsyT3j+uPuyMagxdCxuYaMXKWlkvSd9Nn2uDVD35jx1MvB7Q5Mu/s38bC tlPk4h0x7wL2uNzOzzhCD+UYhEgZ7jdfenQKSguX4hEazkq9MsPrg5zatmRnEJ42JrdgJn GaRolrUw+Rht3+WGog/Vl+eXXzZUEpjEHDdxiPZLhQmS8QEpKgj03izKMoSaZYe7Y28RJo HGb1FPVfpL7rzB6x+OEePN87HAGoKUxYAB+lhTAMlk9xtUsiquSh54WMHQUx5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638672445; a=rsa-sha256; cv=none; b=H6ZFWRW/e3pYA0cVrpA9v9auM3xCmsYbmqVRX2eusVyoAr1NFyP0R0CyhHz/kWaWpQwFBa +CNsuWuOnFp3Nu1N6crdbO0no1cDkjfueW5Ekvt+8gY1buDsGXhkJwXKhIMM1lLYz2cmt0 sBKMC8D/GJsCz2fYIKY09kBM65CaN2rYjdr9SsTWnJFitrPFQBnPyH3xHlbOtrYo+hGtfu xIVnGK0a7+ImsYsZ+x6x4jKg4c9wJTHN2a33W3rEJN7zE0CGFirgoSHygLEDeReNCXvcDv 1LqjOsFapG/5IvR25uoVO5UBrrsTwa6TyxuK2kJMAG7j1cKtAyiqyFvp4QR6rA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=a07d4265095ed473a3db5c3a998c699fa46dbe86 commit a07d4265095ed473a3db5c3a998c699fa46dbe86 Author: Alexander Motin AuthorDate: 2021-12-05 02:45:20 +0000 Commit: Alexander Motin CommitDate: 2021-12-05 02:47:19 +0000 x86: Make AMD elvtX dump more compact. MFC after: 2 weeks --- 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 0def21687bbf..778760be1921 100644 --- a/sys/x86/x86/local_apic.c +++ b/sys/x86/x86/local_apic.c @@ -749,11 +749,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"); } }