Commit faafb240 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by David Mosberger

[PATCH] ia64: HP IOTLB startup msg

This patch adds a little noise on the console.  I like to see this
info because it matches up with the AGPGART aperture info later on.
parent 4087f764
...@@ -1519,8 +1519,8 @@ ioc_iova_init(struct ioc *ioc) ...@@ -1519,8 +1519,8 @@ ioc_iova_init(struct ioc *ioc)
agp_found |= pci_find_capability(device, PCI_CAP_ID_AGP); agp_found |= pci_find_capability(device, PCI_CAP_ID_AGP);
if (agp_found && reserve_sba_gart) { if (agp_found && reserve_sba_gart) {
DBG_INIT("%s: AGP device found, reserving half of IOVA for GART support\n", printk(KERN_INFO PFX "reserving %dMb of IOVA space at 0x%lx for agpgart\n",
__FUNCTION__); ioc->iov_size/2 >> 20, ioc->ibase + ioc->iov_size/2);
ioc->pdir_size /= 2; ioc->pdir_size /= 2;
((u64 *)ioc->pdir_base)[PDIR_INDEX(ioc->iov_size/2)] = ZX1_SBA_IOMMU_COOKIE; ((u64 *)ioc->pdir_base)[PDIR_INDEX(ioc->iov_size/2)] = ZX1_SBA_IOMMU_COOKIE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment