Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1361286

[Patch V2 0/4] Code refine for Intel IOMMU

From Wei Yang <richard.weiyang@gmail.com>
Newsgroups linux.kernel
Subject [Patch V2 0/4] Code refine for Intel IOMMU
Date 2016-03-20 15:00 +0100
Message-ID <reM3D-7Fe-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

V2:
  * add patch 3 and 4

Wei Yang (4):
  iommu/vt-d: replace *hdr with hdr[0] in struct dmar_drhd_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  |  127 ++++++++++++++++++++++++-------------------------
 include/acpi/actbl2.h |   31 ++++++------
 include/linux/dmar.h  |    2 +-
 3 files changed, 81 insertions(+), 79 deletions(-)

-- 
1.7.9.5

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[Patch V2 0/4] Code refine for Intel IOMMU Wei Yang <richard.weiyang@gmail.com> - 2016-03-20 15:00 +0100
  [Patch V2 2/4] iommu/vt-d: use zero-sized array in DMAR related ACPI structures Wei Yang <richard.weiyang@gmail.com> - 2016-03-20 15:00 +0100
  [Patch V2 1/4] iommu/vt-d: replace *hdr with hdr[0] in struct dmar_drhd_unit Wei Yang <richard.weiyang@gmail.com> - 2016-03-20 15:00 +0100
    Re: [Patch V2 1/4] iommu/vt-d: replace *hdr with hdr[0] in struct  dmar_drhd_unit Thomas Gleixner <tglx@linutronix.de> - 2016-03-20 16:50 +0100
      Re: [Patch V2 1/4] iommu/vt-d: replace *hdr with hdr[0] in struct  dmar_drhd_unit Wei Yang <richard.weiyang@gmail.com> - 2016-03-21 15:50 +0100
        Re: [Patch V2 1/4] iommu/vt-d: replace *hdr with hdr[0] in struct  dmar_drhd_unit Thomas Gleixner <tglx@linutronix.de> - 2016-03-21 18:00 +0100
          Re: [Patch V2 1/4] iommu/vt-d: replace *hdr with hdr[0] in struct  dmar_drhd_unit Wei Yang <richard.weiyang@gmail.com> - 2016-03-21 23:40 +0100
  [Patch V2 4/4] iommu/vt-d: refine dmar_acpi_dev_scope_init() with dmar_walk_dmar_table() Wei Yang <richard.weiyang@gmail.com> - 2016-03-20 15:00 +0100

csiph-web