From nobody Sun May 19 23:11:51 2024 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 4VjGfv70M6z5LBr9; Sun, 19 May 2024 23:11:51 +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 4VjGfv6XpXz4gSD; Sun, 19 May 2024 23:11:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716160311; 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=iRPYfH8DkdkXIB6ZL3ehpcs7guG5lzGl1roScICXUr8=; b=hANkn1MayZ1LloyAmh2hjeQht+pXx92jDtxquH4Y41LIJxxZqBPw4Z8UUr6Dz7wXQ/ZUHS JzYLJGFoZ0oJpa4SZEfHGHYakMKd/nzn0gGok8bijRX6mvak1tcC1POJmtRwNmMHtS1B05 UxgP/eQKaY8IvVmkuh5n+99c8tIOVeZHqFs8xtxalQ4h1oLzsKqlilV18jFo2spodV+PRA MyesIOQB2R6s8vca2OfP+dw6ZTaUqH+2P0finDvB9oY3HYa9epJcbtCnA6QI3N+8pyX5u3 YgkvtBlqGJL/Vwt7VzvIaCitq5ZiZSv5NuyWpRTMbRdwzH5o/cOcNfMFaHg5TQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716160311; a=rsa-sha256; cv=none; b=N0OBWvKBywPl5YqrCu4hmSZfGbvCyT6MYiZuxI8mcROs4a1rtd3oD4P8EHGWuU68TkAyhw kGtPDrLcN9WCpA7+anCZv4qKKhfIpBemWGS1gRaBgITpYalCrbSXxApfUMjOs4LaYsTY2+ 3TaOA3kZB41MMonlzto6d4VVzVRZtm43gzSbzr9Vfmty2yq83qDPmGC8i/YqsMLQQiV7cS 5+YhRhedTE1uTcMyYsEMwM8gQOhwPCQs6yiZhxWIODEmQ145x7gsvkpJQxJ2sl2VBkV3Om 4/uOuH+zpBhcm1F6v0uipaO3jFKL/V8fFWxglrY1KeQUwRIkGUdt/ao1qs1Xkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716160311; 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=iRPYfH8DkdkXIB6ZL3ehpcs7guG5lzGl1roScICXUr8=; b=JpvY+36hIGlZOrTxy2k2675FHzv4y9VIRO4FmRIfpoTY0oy9wlEnrlByLvidDhFi6GjruV Hl+HMhGkEXGKY8DudqfQx7sjeYdTBnERXh7duafB2TGyvt4lsFpQMV7wbaoFIM2GQ7IKAP pgES9J8TPi2iC95x+Nc5gG9B0asr4+rMs/T1irWqYhm1pkoWji5qBPwF5rjgnSDRJU3CCW 1gdGPFktiYzXtF/vfjNU04BUUrYInT6WDpsEnRNXlPT0z6ng5Z1PIhjnf0N0SxgLDpj8OE v8ezMtNY92KsGUI6jUNDEpQbEiaXTh3X+q0xu6cMCdAPE+pO8CJKP74oZHWuyw== 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 4VjGfv68KZzF2Q; Sun, 19 May 2024 23:11:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44JNBpNx088367; Sun, 19 May 2024 23:11:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44JNBpbw088364; Sun, 19 May 2024 23:11:51 GMT (envelope-from git) Date: Sun, 19 May 2024 23:11:51 GMT Message-Id: <202405192311.44JNBpbw088364@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 6cba29c09a96 - main - acpidump IVRS table format: change 'IOMMUId' into 'IOMMU DeviceId' 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6cba29c09a966be33b0958f912a7c03d92b926b8 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6cba29c09a966be33b0958f912a7c03d92b926b8 commit 6cba29c09a966be33b0958f912a7c03d92b926b8 Author: Konstantin Belousov AuthorDate: 2024-05-19 23:01:43 +0000 Commit: Konstantin Belousov CommitDate: 2024-05-19 23:04:45 +0000 acpidump IVRS table format: change 'IOMMUId' into 'IOMMU DeviceId' and apply the consistent format for device ids used in other IVRS elements. The field seems to be the PCI Device ID of the IOMMU itself, instead of an abstract unit ID. Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week --- usr.sbin/acpi/acpidump/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c index 0cc3f76ac018..fc2e8cb82c49 100644 --- a/usr.sbin/acpi/acpidump/acpi.c +++ b/usr.sbin/acpi/acpidump/acpi.c @@ -1504,7 +1504,7 @@ acpi_handle_dmar(ACPI_TABLE_HEADER *sdp) static void acpi_handle_ivrs_ivhd_header(ACPI_IVRS_HEADER *addr) { - printf("\n\tIVHD Type=%#x IOMMUId=%x\n\tFlags=", + printf("\n\tIVHD Type=%#x IOMMU DeviceId=%#06x\n\tFlags=", addr->Type, addr->DeviceId); #define PRINTFLAG(flag, name) printflag(addr->Flags, flag, #name) PRINTFLAG(ACPI_IVHD_TT_ENABLE, HtTunEn);