From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750910AbcEHNW6 (ORCPT ); Sun, 8 May 2016 09:22:58 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:36102 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750849AbcEHNW4 (ORCPT ); Sun, 8 May 2016 09:22:56 -0400 Date: Sun, 8 May 2016 13:22:53 +0000 From: Wei Yang To: Wei Yang Cc: joro@8bytes.org, jiang.liu@linux.intel.com, tglx@linutronix.de, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V4 0/4] Code refine for Intel IOMMU Message-ID: <20160508132253.GA2708@vultr.guest> Reply-To: Wei Yang References: <1460645710-22656-1-git-send-email-richard.weiyang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460645710-22656-1-git-send-email-richard.weiyang@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ping~ On Thu, Apr 14, 2016 at 02:55:06PM +0000, Wei Yang wrote: >These four patches try to refine the Intel IOMMU. > >Patch 1/2 tries to make it more user friendly by add a zero-sized array in >some dmar data structure. >Patch 3 move the ckeck of Register Base Address ahead to avoid cleanup when it >is NULL. >Patch 4 re-use dmar_walk_dmar_table() to make the code easy to understand. > >V4: > * add similar change for struct dmar_atsr_unit in patch 1 > * add similar change for rmrr and atsr in patch 2 > >V3: > * change hdr to drhd from type acpi_dmar_header to acpi_dmar_hardware_unit > * add reason in changelog for the change in Patch 1 > >V2: > * add patch 3 and 4 > >Wei Yang (4): > iommu/vt-d: replace *hdr with {drhd/atsr}[0] in struct > dmar_{drhd/atsr}_unit > iommu/vt-d: use zero-sized array in DMAR related ACPI structures > iommu/vt-d: check Register Base Address at the beginning of > dmar_parse_one_drhd() > iommu/vt-d: refine dmar_acpi_dev_scope_init() with > dmar_walk_dmar_table() > > drivers/iommu/dmar.c | 129 +++++++++++++++++------------------ > drivers/iommu/intel-iommu.c | 26 +++---- > drivers/iommu/intel_irq_remapping.c | 10 ++- > include/acpi/actbl2.h | 33 +++++---- > include/linux/dmar.h | 3 +- > 5 files changed, 102 insertions(+), 99 deletions(-) > >-- >1.7.9.5 -- Wei Yang Help you, Help me