iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] VT-d fixes and ACPI device mapping support for 3.15
@ 2014-03-24 15:17 David Woodhouse
       [not found] ` <1395674279.4880.236.camel-W2I5cNIroUsVm/YvaOjsyQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2014-03-24 15:17 UTC (permalink / raw)
  To: Joerg Roedel; +Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA


[-- Attachment #1.1: Type: text/plain, Size: 3684 bytes --]

Jörg, please pull into your x86/vt-d branch from

	git://git.infradead.org/iommu-2.6

This contains the two patch sets I've posted in the last week; first the
set which fixes the use-after-free issues with IOTLB flushes, adds some
missing IOTLB flushes and generally improves unmap performance. And then
the support for DMA mapping of ACPI devices.

This contains a couple of fixes triggered by Fengguang's build-test
robots; one of which was posted as [PATCH 34/33] a few hours ago, and
the other of which just moves the 'segment' member of struct intel_iommu
outside the #ifdef CONFIG_INTEL_IOMMU since it's accessed from dmar.c
without that config option set. I've merged both of those fixes back
into the original offending patch, rather than putting them on top.

 drivers/iommu/dmar.c        | 166 ++++++++---
 drivers/iommu/intel-iommu.c | 979 ++++++++++++++++++++++++++++++++++++++++-------------------------
 include/acpi/actbl2.h       |  15 +-
 include/linux/dmar.h        |  18 +-
 include/linux/intel-iommu.h |   1 +
 5 files changed, 759 insertions(+), 420 deletions(-)

David Woodhouse (37):
      iommu/vt-d: Clean up size handling for intel_iommu_unmap()
      iommu/vt-d: Clean up and fix page table clear/free behaviour
      iommu/vt-d: Honour intel_iommu=sp_off for non-VMM domains
      iommu/vt-d: Be less pessimistic about domain coherency where possible
      iommu/vt-d: Add ACPI namespace device reporting structures
      iommu/vt-d: Parse ANDD records
      iommu/vt-d: Allocate space for ACPI devices
      iommu/vt-d: Change scope lists to struct device, bus, devfn
      iommu/vt-d: Add ACPI devices into dmaru->devices[] array
      iommu/vt-d: Make iommu_dummy() take struct device instead of struct pci_dev
      iommu/vt-d: Make dmar_insert_dev_info() take struct device instead of struct pci_dev
      iommu/vt-d: Use struct device in device_domain_info, not struct pci_dev
      iommu/vt-d: Pass iommu to domain_context_mapping_one() and iommu_support_dev_iotlb()
      iommu/vt-d: Stop dmar_insert_dev_info() freeing domains on losing race
      iommu/vt-d: use dmar_insert_dev_info() from dma_add_dev_info()
      iommu/vt-d: Use domain_remove_one_dev_info() in domain_add_dev_info() error path
      iommu/vt-d: Always store iommu in device_domain_info
      iommu/vt-d: Simplify iommu check in domain_remove_one_dev_info()
      iommu/vt-d: Remove device_to_iommu() call from domain_remove_dev_info()
      iommu/vt-d: Store PCI segment number in struct intel_iommu
      iommu/vt-d: Remove segment from struct device_domain_info()
      iommu/vt-d: Make identity_mapping() take struct device not struct pci_dev
      iommu/vt-d: Make device_to_iommu() cope with non-PCI devices
      iommu/vt-d: Make domain_context_mapp{ed,ing}() take struct device
      iommu/vt-d: Make get_domain_for_dev() take struct device
      iommu/vt-d: Handle RMRRs for non-PCI devices
      iommu/vt-d: Make iommu_should_identity_map() take struct device
      iommu/vt-d: Make get_valid_domain_for_dev() take struct device
      iommu/vt-d: Remove some pointless to_pci_dev() calls
      iommu/vt-d: Rename 'hwdev' variables to 'dev' now that that's the norm
      iommu/vt-d: Make domain_remove_one_dev_info() take struct device
      iommu/vt-d: Make domain_add_dev_info() take struct device
      iommu/vt-d: Remove pdev from iommu_no_mapping()
      iommu/vt-d: Remove pdev from intel_iommu_attach_device()
      iommu/vt-d: Remove to_pci_dev() in intel_map_page()
      iommu/vt-d: Finally enable translation for non-PCI devices
      iommu/vt-d: Include ACPI devices in iommu=pt

-- 
dwmw2

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5745 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] VT-d fixes and ACPI device mapping support for 3.15
       [not found] ` <1395674279.4880.236.camel-W2I5cNIroUsVm/YvaOjsyQ@public.gmane.org>
@ 2014-03-24 15:44   ` Joerg Roedel
  2014-04-01 14:35   ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: Joerg Roedel @ 2014-03-24 15:44 UTC (permalink / raw)
  To: David Woodhouse; +Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

On Mon, Mar 24, 2014 at 03:17:59PM +0000, David Woodhouse wrote:
> Jörg, please pull into your x86/vt-d branch from
> 
> 	git://git.infradead.org/iommu-2.6
> 
> This contains the two patch sets I've posted in the last week; first the
> set which fixes the use-after-free issues with IOTLB flushes, adds some
> missing IOTLB flushes and generally improves unmap performance. And then
> the support for DMA mapping of ACPI devices.
> 
> This contains a couple of fixes triggered by Fengguang's build-test
> robots; one of which was posted as [PATCH 34/33] a few hours ago, and
> the other of which just moves the 'segment' member of struct intel_iommu
> outside the #ifdef CONFIG_INTEL_IOMMU since it's accessed from dmar.c
> without that config option set. I've merged both of those fixes back
> into the original offending patch, rather than putting them on top.
> 
>  drivers/iommu/dmar.c        | 166 ++++++++---
>  drivers/iommu/intel-iommu.c | 979 ++++++++++++++++++++++++++++++++++++++++-------------------------
>  include/acpi/actbl2.h       |  15 +-
>  include/linux/dmar.h        |  18 +-
>  include/linux/intel-iommu.h |   1 +
>  5 files changed, 759 insertions(+), 420 deletions(-)

Pulled, thanks David.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] VT-d fixes and ACPI device mapping support for 3.15
       [not found] ` <1395674279.4880.236.camel-W2I5cNIroUsVm/YvaOjsyQ@public.gmane.org>
  2014-03-24 15:44   ` Joerg Roedel
@ 2014-04-01 14:35   ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2014-04-01 14:35 UTC (permalink / raw)
  To: Joerg Roedel; +Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA


[-- Attachment #1.1: Type: text/plain, Size: 776 bytes --]

On Mon, 2014-03-24 at 15:17 +0000, David Woodhouse wrote:
> Jörg, please pull into your x86/vt-d branch from
> 
>         git://git.infradead.org/iommu-2.6

Again, please. A few minor fixes...

Dan Carpenter (1):
      iommu/vt-d: returning free pointer in get_domain_for_dev()

David Woodhouse (2):
      iommu/vt-d: Only call dmar_acpi_dev_scope_init() if DRHD units present
      iommu/vt-d: Fix error handling in ANDD processing


 drivers/iommu/dmar.c        | 12 +++++-------
 drivers/iommu/intel-iommu.c |  1 +
 2 files changed, 6 insertions(+), 7 deletions(-)



-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org                              Intel Corporation

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5745 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-01 14:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-24 15:17 [GIT PULL] VT-d fixes and ACPI device mapping support for 3.15 David Woodhouse
     [not found] ` <1395674279.4880.236.camel-W2I5cNIroUsVm/YvaOjsyQ@public.gmane.org>
2014-03-24 15:44   ` Joerg Roedel
2014-04-01 14:35   ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).