diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_psycho.c')
-rw-r--r-- | arch/sparc64/kernel/pci_psycho.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/pci_psycho.c b/arch/sparc64/kernel/pci_psycho.c index c12b5182d..559769b87 100644 --- a/arch/sparc64/kernel/pci_psycho.c +++ b/arch/sparc64/kernel/pci_psycho.c @@ -1284,6 +1284,10 @@ static void __init psycho_iommu_init(struct pci_controller_info *p) memset((char *)tsbbase, 0, PAGE_SIZE << 7); #endif + /* Make sure DMA address 0 is never returned just to allow catching + of buggy drivers. */ + p->iommu.lowest_free[0] = 1; + #ifndef NEW_PCI_DMA_MAP iopte = (iopte_t *)tsbbase; /* Initialize to "none" settings. */ |