From owner-svn-src-all@freebsd.org Wed Aug 10 16:24:18 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6B97BB4904; Wed, 10 Aug 2016 16:24:18 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96DE91712; Wed, 10 Aug 2016 16:24:18 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 50793B94B; Wed, 10 Aug 2016 12:24:17 -0400 (EDT) From: John Baldwin To: Konstantin Belousov Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r303887 - head/tools/tools/dmardump Date: Wed, 10 Aug 2016 06:44:13 -0700 Message-ID: <1854803.Mj8doirhqg@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.3-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: <20160810074303.GC83214@kib.kiev.ua> References: <201608091906.u79J65Uq058283@repo.freebsd.org> <73543582.oU1jbu7riv@ralph.baldwin.cx> <20160810074303.GC83214@kib.kiev.ua> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 10 Aug 2016 12:24:17 -0400 (EDT) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 16:24:18 -0000 On Wednesday, August 10, 2016 10:43:03 AM Konstantin Belousov wrote: > On Tue, Aug 09, 2016 at 02:22:36PM -0700, John Baldwin wrote: > > On Tuesday, August 09, 2016 07:06:05 PM John Baldwin wrote: > > > Author: jhb > > > Date: Tue Aug 9 19:06:05 2016 > > > New Revision: 303887 > > > URL: https://svnweb.freebsd.org/changeset/base/303887 > > > > > > Log: > > > Add a dmardump utility to dump the VT-d context tables. > > > > > > This tool parses the ACPI DMAR table looking for DMA remapping devices. > > > For each device it walks the root table and any context tables > > > referenced to display mapping info for PCI devices. > > > > > > Note that acpidump -t already parses the info in the ACPI DMAR tables > > > directly. This tool examines some of the data structures the DMAR > > > remapping engines use to translate DMA requests. > > > > > > Reviewed by: kib, grehan > > > MFC after: 1 month > > > Sponsored by: Chelsio Communications > > > Differential Revision: https://reviews.freebsd.org/D7444 > > > > I should have mentioned that this tool only supports "normal" context > > entry tables. It does not (yet) support extended context entry > > tables. However, neither bhyve nor ACPI_DMAR create extended context > > entry tables. > > I am not aware of existence of hardware supporting the extended context > entries. Even Skykale E3 v5 Xeons report ECS == 0. That's completely fair, I was just going by what was in the recent spec. I don't think it's worth implementing until anything actually uses it certainly. -- John Baldwin