From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH 1/1] iommu: DMAR reporting table needs at least one DRHD Date: Thu, 20 Jun 2013 16:40:17 +0200 Message-ID: <20130620144017.GA3589@8bytes.org> References: <1369036652-20022-1-git-send-email-zhen-hual@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1369036652-20022-1-git-send-email-zhen-hual-VXdhtT5mjnY@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Li, Zhen-Hua" Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Ingo Molnar , Linn Crosetto List-Id: iommu@lists.linux-foundation.org On Mon, May 20, 2013 at 03:57:32PM +0800, Li, Zhen-Hua wrote: > In intel vt-d spec , chapter 8.1 , DMA Remapping Reporting Structure. > In the end of the table, it says: > > Remapping Structures[] > - > A list of structures. The list will contain one or > more DMA Remapping Hardware Unit Definition > (DRHD) structures, and zero or more Reserved > Memory Region Reporting (RMRR) and Root Port > ATS Capability Reporting (ATSR) structures. > These structures are described below. > > So, there should be at least one DRHD structure in DMA Remapping > reporting table. If there is no DRHD found, a warning is necessary. > > Signed-off-by: Li, Zhen-Hua Tweaked the error message a bit and applied to x86/vt-d, thanks.