mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
[POWERPC] Cell iommu support
This patch adds full cell iommu support (and iommu disabled mode). It implements mapping/unmapping of iommu pages on demand using the standard powerpc iommu framework. It also supports running with iommu disabled for machines with less than 2GB of memory. (The default is off in that case, though it can be forced on with the kernel command line option iommu=force). Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
acfd946a1a
commit
165785e5c0
6 changed files with 676 additions and 488 deletions
|
@ -48,9 +48,6 @@
|
|||
|
||||
#include "dart.h"
|
||||
|
||||
extern int iommu_is_off;
|
||||
extern int iommu_force_on;
|
||||
|
||||
/* Physical base address and size of the DART table */
|
||||
unsigned long dart_tablebase; /* exported to htab_initialize */
|
||||
static unsigned long dart_tablesize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue