lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54169B1B.1070709@huawei.com>
Date:	Mon, 15 Sep 2014 15:54:03 +0800
From:	Yijing Wang <wangyijing@...wei.com>
To:	Jiang Liu <jiang.liu@...ux.intel.com>,
	Joerg Roedel <joro@...tes.org>,
	David Woodhouse <dwmw2@...radead.org>,
	Yinghai Lu <yinghai@...nel.org>,
	"Bjorn Helgaas" <bhelgaas@...gle.com>,
	Dan Williams <dan.j.williams@...el.com>,
	"Vinod Koul" <vinod.koul@...el.com>,
	"Rafael J . Wysocki" <rafael.j.wysocki@...el.com>
CC:	Ashok Raj <ashok.raj@...el.com>, Tony Luck <tony.luck@...el.com>,
	<iommu@...ts.linux-foundation.org>, <linux-pci@...r.kernel.org>,
	<linux-hotplug@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
	<dmaengine@...r.kernel.org>
Subject: Re: [Patch Part3 V5 0/8] Enable support of Intel DMAR device hotplug

I built and boot this series in Huawei RH5885 (Intel(R) Xeon(R) CPU E7- 4807, two IOHs and two IOMMUs),
It works fine, IRQ remap and DMA remap are both look good.
But because my platform BIOS has no _DSM, so I didn't test the hotplug case yet.

Thanks!
Yijing.


On 2014/9/12 10:10, Jiang Liu wrote:
> When hot plugging a descrete IOH or a physical processor with embedded
> IIO, we need to handle DMAR(or IOMMU) unit in the PCIe host bridge if
> DMAR is in use. This patch set tries to enhance current DMAR/IOMMU/IR
> drivers to support hotplug and is based on latest Linus master branch.
> 
> All prerequisite patches to support DMAR device hotplug have been merged
> into the mainstream kernel, and this is the last patch set to enable
> DMAR device hotplug.
> 
> You may access the patch set at:
> https://github.com/jiangliu/linux.git iommu/hotplug_v5
> 
> This patch set has been tested on Intel development machine.
> Appreciate any comments and tests.
> 
> Patch 1-4 enhances DMAR framework to support hotplug
> Patch 5 enhances Intel interrupt remapping driver to support hotplug
> Patch 6 enhances error handling in Intel IR driver
> Patch 7 enhance Intel IOMMU to support hotplug
> Patch 8 enhance ACPI pci_root driver to handle DMAR units
> 
> Jiang Liu (8):
>   iommu/vt-d: Introduce helper function dmar_walk_resources()
>   iommu/vt-d: Dynamically allocate and free seq_id for DMAR units
>   iommu/vt-d: Implement DMAR unit hotplug framework
>   iommu/vt-d: Search for ACPI _DSM method for DMAR hotplug
>   iommu/vt-d: Enhance intel_irq_remapping driver to support DMAR unit
>     hotplug
>   iommu/vt-d: Enhance error recovery in function
>     intel_enable_irq_remapping()
>   iommu/vt-d: Enhance intel-iommu driver to support DMAR unit hotplug
>   pci, ACPI, iommu: Enhance pci_root to support DMAR device hotplug
> 
>  drivers/acpi/pci_root.c             |   16 +-
>  drivers/iommu/dmar.c                |  532 ++++++++++++++++++++++++++++-------
>  drivers/iommu/intel-iommu.c         |  297 ++++++++++++++-----
>  drivers/iommu/intel_irq_remapping.c |  233 +++++++++++----
>  include/linux/dmar.h                |   50 +++-
>  5 files changed, 888 insertions(+), 240 deletions(-)
> 


-- 
Thanks!
Yijing

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ