All of lore.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] [PATCH] 1/3 sba_iommu workaround removal
@ 2003-04-17 17:54 Bjorn Helgaas
  0 siblings, 0 replies; only message in thread
From: Bjorn Helgaas @ 2003-04-17 17:54 UTC (permalink / raw)
  To: linux-ia64

These patches are for 2.5 (against the to-linus-2.5 BK tree).

This removes a workaround for some broken firmware that was
never released.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1052  -> 1.1053 
#	arch/ia64/hp/common/sba_iommu.c	1.13    -> 1.14   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/04/17	bjorn_helgaas@hp.com	1.1053
# ia64: sba_iommu: remove workarounds for broken, never released, firmware that
# didn't program IBASE/IMASK correctly.
# --------------------------------------------
#
diff -Nru a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c
--- a/arch/ia64/hp/common/sba_iommu.c	Thu Apr 17 11:29:32 2003
+++ b/arch/ia64/hp/common/sba_iommu.c	Thu Apr 17 11:29:32 2003
@@ -1430,20 +1430,6 @@
 	ioc->ibase = READ_REG(ioc->ioc_hpa + IOC_IBASE) & ~0x1UL;
 	ioc->iov_size = ~(READ_REG(ioc->ioc_hpa + IOC_IMASK) & 0xFFFFFFFFUL) + 1;
 
-	if (ioc->ibase = 0) {
-		if (((unsigned long) ioc->ioc_hpa & 0x3000UL) = 0x2000)
-			ioc->ibase = 0xc0000000;
-		else
-			ioc->ibase = 0x80000000;
-		printk("WARNING: IBASE is zero; setting to 0x%lx\n", ioc->ibase);
-	}
-
-	if (ioc->ibase < 0xfed00000UL && ioc->ibase + ioc->iov_size >= 0xfee00000UL) {
-		printk("WARNING: IOV space overlaps local config and interrupt message, "
-		       "truncating\n");
-		ioc->iov_size /= 2;
-	}
-
 	/*
 	** iov_order is always based on a 1GB IOVA space since we want to
 	** turn on the other half for AGP GART.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-17 17:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-17 17:54 [Linux-ia64] [PATCH] 1/3 sba_iommu workaround removal Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.