From dc25f7bafe83a9d5826d53871839b0f46166fd02 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 3 Feb 2004 18:30:41 -0800 Subject: [PATCH] [PATCH] sn2: set iommu bounce limit From: Jes Sorensen The following patch sets the IOMMU bounce limit on the SN2 which is require to avoid some ISA checks in ll_rw_blk.c causing a BUG_ON(). --- arch/ia64/sn/io/machvec/pci_bus_cvlink.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/ia64/sn/io/machvec/pci_bus_cvlink.c b/arch/ia64/sn/io/machvec/pci_bus_cvlink.c index b094af31f6cff..65c712f8b1d61 100644 --- a/arch/ia64/sn/io/machvec/pci_bus_cvlink.c +++ b/arch/ia64/sn/io/machvec/pci_bus_cvlink.c @@ -805,6 +805,11 @@ sn_pci_init (void) if (!ia64_platform_is("sn2") || IS_RUNNING_ON_SIMULATOR()) return 0; + /* + * This is needed to avoid bounce limit checks in the blk layer + */ + ia64_max_iommu_merge_mask = ~PAGE_MASK; + /* * set pci_raw_ops, etc. */ -- 2.53.0