login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
19
Re: [PATCH v3] drivers/pci/intel-iommu.c: errors with smaller iommu widths
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [PATCH v3] drivers/pci/intel-iommu.c: errors with smaller iommu widths
Date: Monday, April 19, 2010 - 3:43 pm
On Mon, 19 Apr 2010 14:44:16 -0700 "Tom Lyon" <pugs@cisco.com> wrote:
quoted text
> > When using iommu_domain_alloc with the Intel iommu, the domain address width > is always initialized to 48 bits (agaw 2). __This domain->agaw value is then > used by pfn_to_dma_pte to (always) build a 4 level page table. __However, not > all systems support iommu width of 48 or 4 level page tables. __In particular, > the Core i5-660 and i5-670 support an address width of 36 bits (not 39!), an > agaw of only 1, and only 3 level page tables. > > This version of the patch simply lops off extra levels of the page tables if > the agaw value of the iommu is less than what is currently allocated for the > domain (in intel_iommu_attach_device). If there were already allocated > addresses above what the new iommu can handle, EFAULT is returned. > Signed-off-by: Tom Lyon <pugs@cisco.com>
This smells like a 2.6.34 patch. Do you agree? --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH v3] drivers/pci/intel-iommu.c: errors with smaller ...
, Tom Lyon
, (Mon Apr 19, 2:44 pm)
Re: [PATCH v3] drivers/pci/intel-iommu.c: errors with smal ...
, Andrew Morton
, (Mon Apr 19, 3:43 pm)
Re: [PATCH v3] drivers/pci/intel-iommu.c: errors with smal ...
, Tom Lyon
, (Mon Apr 19, 3:47 pm)
Re: [PATCH v3] drivers/pci/intel-iommu.c: errors with smal ...
, Chris Wright
, (Mon Apr 19, 3:52 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Benjamin Herrenschmidt
[git pull] Please pull powerpc.git merge branch
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Vivek Goyal
Re: [PATCH v4] sched: automated per session task groups
Andres Salomon
Re: [PATCH 1/2] OLPC: Add support for calling into Open Firmware
git
:
Mike Miller
git message
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Jeff King
Re: [PATCH] t7004: test that "git-tag -u" implies "-s"
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
git-commits-head
:
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
ARM: 5905/1: ARM: Global ASID allocation on SMP
Linux Kernel Mailing List
i915: Don't whine when pci_enable_msi() fails.
Linux Kernel Mailing List
Documentation/timers/hpet_example.c: only build on X86
Linux Kernel Mailing List
ALSA: hda - Enable beep on Realtek codecs with PCI SSID override
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Jeff Garzik
Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM
David Miller
Re: [PATCH 2/5] dccp: Auto-load (when supported) CCID plugins for negotiation
openbsd-misc
:
Stuart Henderson
Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
Christian Weisgerber
Re: CARP with a single public IP address
Marco Peereboom
Re: OpenBSD culture?
"RALOVICH, Kristóf"
Re: thinkpad windows refund
Kevin
Re: uvm_mapent_alloc: out of static map entries on 4.3 i386
Colocation donated by:
Syndicate