diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-23 14:36:15 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-09-17 12:58:16 -0400 |
commit | b82776005369899c1c7ca2e4b2414bb64b538d2c (patch) | |
tree | b07bb5fc8cd2b335f46a43791f0fc7505a57d4ac /fs/read_write.c | |
parent | 5bab7864b1167f9a72d375f6854027db436a1cc1 (diff) | |
download | blackbird-op-linux-b82776005369899c1c7ca2e4b2414bb64b538d2c.tar.gz blackbird-op-linux-b82776005369899c1c7ca2e4b2414bb64b538d2c.zip |
xen/swiotlb: Use the swiotlb_late_init_with_tbl to init Xen-SWIOTLB late when PV PCI is used.
With this patch we provide the functionality to initialize the
Xen-SWIOTLB late in the bootup cycle - specifically for
Xen PCI-frontend. We still will work if the user had
supplied 'iommu=soft' on the Linux command line.
Note: We cannot depend on after_bootmem to automatically
determine whether this is early or not. This is because
when PCI IOMMUs are initialized it is after after_bootmem but
before a lot of "other" subsystems are initialized.
CC: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
[v1: Fix smatch warnings]
[v2: Added check for xen_swiotlb]
[v3: Rebased with new xen-swiotlb changes]
[v4: squashed xen/swiotlb: Depending on after_bootmem is not correct in]
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions