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-next>] [day] [month] [year] [list]
Date:	Tue, 31 Mar 2009 15:52:06 -0700
From:	Jeremy Fitzhardinge <jeremy@...p.org>
To:	FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
Cc:	the arch/x86 maintainers <x86@...nel.org>,
	Ingo Molnar <mingo@...e.hu>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH] swiotlb updates for Xen dom0


Hi Fujita,

This series adds Xen support to x86 swiotlb.  This is mostly a matter of
adding some Xen code into the existing hooks in pci-swiotlb_64.c:
  - swiotlb_alloc_boot
  - swiotlb_arch_range_needs_mapping
  - swiotlb_phys_to_bus/bus_to_phys

These hooks are conditional on xen_pv_domain(), which compiles to a
constant 0 when CONFIG_XEN is not enabled (and is a simple variable
read when it is).

All the Xen-specific code is in xen-iommu.c.

This series is just the patches which touch lib/swiotlb.c or
pci-swiotlb_64.c.  You can see them with more context in:
   git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git for-linus/xen/dom0/swiotlb

Thanks,
	J

 arch/x86/kernel/pci-swiotlb_64.c |   31 ++++++++++++++++-
 arch/x86/xen/Kconfig             |    1 
 drivers/pci/xen-iommu.c          |   68 ++++++++++++++++++++++++++++++++++++---
 include/xen/swiotlb.h            |   38 +++++++++++++++++++++
 lib/swiotlb.c                    |    3 +
 5 files changed, 133 insertions(+), 8 deletions(-)


--
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