Re: [Xen-devel] [PATCH 03 of 38] swiotlb: allow architectures tooverrideswiotlb pool allocation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeremy Fitzhardinge <jeremy@...>
Cc: Ian Campbell <ian.campbell@...>, Ingo Molnar <mingo@...>, the arch/x86 maintainers <x86@...>, Xen-devel <xen-devel@...>, <linux-kernel@...>
Date: Monday, November 17, 2008 - 5:15 am

>>> Jeremy Fitzhardinge <jeremy@goop.org> 14.11.08 20:33 >>>

No, Tony Luck actually merged it, but someone else (I don't recall who it
was) requested it to be reverted again.


http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=510990...


The question is whether a multi-page piece of memory must be funneled
through the swiotlb in the first place. In native code, checking whether
the first/last byte satisfies the address_needs_mapping() check is
sufficient, but in Xen you also need to check whether the known to be
physically contiguous pages are also machine-contiguous.

Jan

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00 of 38] xen: add more Xen dom0 support, Jeremy Fitzhardinge, (Thu Nov 13, 3:09 pm)
[PATCH 26 of 38] xen: forcibly disable PAT support, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 34 of 38] xen: remove irq bindcount, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 32 of 38] xen: use our own eventchannel-&gt;irq path, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 35 of 38] xen: implement pirq type event channels, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 37 of 38] xen: bind pirq to vector and event channel, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 24 of 38] xen dom0: Add support for the platform_ops ..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 25 of 38] xen mtrr: Add mtrr_ops support for Xen mtrr, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
Re: [PATCH 25 of 38] xen mtrr: Add mtrr_ops support for Xen ..., Jeremy Fitzhardinge, (Thu Nov 13, 8:35 pm)
[PATCH 36 of 38] xen: route hardware irqs via Xen, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
Re: [PATCH 36 of 38] xen: route hardware irqs via Xen, Simon Horman, (Fri Nov 21, 3:17 am)
Re: [PATCH 36 of 38] xen: route hardware irqs via Xen, Ingo Molnar, (Thu Nov 20, 5:31 am)
Re: [PATCH 36 of 38] xen: route hardware irqs via Xen, Jeremy Fitzhardinge, (Thu Nov 20, 1:06 pm)
[PATCH 38 of 38] xen: make sure that softirqs get handled at..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 33 of 38] xen: pack all irq-related info together, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 30 of 38] xen: implement io_apic_ops, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Simon Horman, (Thu Nov 20, 4:33 am)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Jeremy Fitzhardinge, (Thu Nov 20, 1:07 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Ingo Molnar, (Thu Nov 20, 5:35 am)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Jeremy Fitzhardinge, (Thu Nov 20, 1:00 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Eric W. Biederman, (Thu Nov 20, 4:22 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Jeremy Fitzhardinge, (Thu Nov 20, 5:32 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Eric W. Biederman, (Thu Nov 20, 8:58 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Jeremy Fitzhardinge, (Thu Nov 20, 9:16 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Eric W. Biederman, (Fri Nov 21, 12:27 am)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Jeremy Fitzhardinge, (Mon Nov 24, 3:18 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Eric W. Biederman, (Mon Nov 24, 6:02 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Ingo Molnar, (Thu Nov 20, 3:22 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, H. Peter Anvin, (Thu Nov 20, 9:30 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Jeremy Fitzhardinge, (Thu Nov 20, 3:38 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Yinghai Lu, (Thu Nov 20, 3:29 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Jeremy Fitzhardinge, (Thu Nov 20, 3:39 pm)
Re: [PATCH 30 of 38] xen: implement io_apic_ops, Yinghai Lu, (Thu Nov 20, 3:40 pm)
[PATCH 27 of 38] xen/dom0: use _PAGE_IOMAP in ioremap to do ..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 28 of 38] paravirt/xen: add pvop for page_is_ram, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 31 of 38] xen: set irq_chip disable, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 20 of 38] xen dom0: Make hvc_xen console work for dom0, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 16 of 38] x86: include linux/init.h in asm/numa_64.h, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 29 of 38] xen: create dummy ioapic mapping, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 22 of 38] xen dom0: Set up basic IO permissions for d..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 19 of 38] x86: add arch specific version of the swiot..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 18 of 38] x86: unify pci iommu setup and allow swiotl..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 14 of 38] x86: add mp_find_ioapic_pin, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 23 of 38] xen-dom0: only selectively disable cpu feat..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 13 of 38] x86: unstatic mp_find_ioapic so it can be u..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 21 of 38] xen dom0: Initialize xenbus for dom0, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 17 of 38] x86: add swiotlb allocation functions, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 15 of 38] x86: unstatic ioapic entry funcs, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 12 of 38] xen/dom0: handle acpi lapic parsing in Xen ..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 10 of 38] x86: add handle_irq() to allow interrupt in..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 11 of 38] x86: define no-op exit_idle() on 32-bit, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 07 of 38] x86: add io_apic_ops, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 09 of 38] x86: make sure we really have an hpet mappi..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 08 of 38] x86: make apic_* operations inline functions, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 06 of 38] xen: clean up asm-x86/xen/hypervisor.h, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 05 of 38] swiotlb: allow architectures to override vi..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 04 of 38] swiotlb: move some definitions to header, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
Re: [PATCH 04 of 38] swiotlb: move some definitions to header, FUJITA Tomonori, (Sun Nov 16, 11:48 pm)
[PATCH 03 of 38] swiotlb: allow architectures to override sw..., Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
Re: [Xen-devel] [PATCH 03 of 38] swiotlb: allow architecture..., Jeremy Fitzhardinge, (Fri Nov 14, 3:33 pm)
Re: [Xen-devel] [PATCH 03 of 38] swiotlb: allow architectur..., Jan Beulich, (Mon Nov 17, 5:15 am)
[PATCH 02 of 38] x86: remove unused iommu_nr_pages, Jeremy Fitzhardinge, (Thu Nov 13, 3:10 pm)
[PATCH 01 of 38] xen: various whitespace and other formattin..., Jeremy Fitzhardinge, (Thu Nov 13, 3:09 pm)