configs: add direct I/O to various platforms that can use it just fine
authorAlan Cox <alan@linux.intel.com>
Tue, 19 Feb 2019 14:45:12 +0000 (14:45 +0000)
committerAlan Cox <alan@linux.intel.com>
Tue, 19 Feb 2019 14:45:12 +0000 (14:45 +0000)
Kernel/platform-mtx/config.h
Kernel/platform-multicomp09/config.h
Kernel/platform-sam/config.h
Kernel/platform-v65c816-big/config.h
Kernel/platform-v65c816/config.h
Kernel/platform-v68-banked/config.h
Kernel/platform-v68-softmmu/config.h
Kernel/platform-v68/config.h

index ad2c0cc..41d46e3 100644 (file)
@@ -23,6 +23,7 @@
 #define MAX_MAPS       10
 #define MAP_SIZE       0xC000U
 
+#define CONFIG_LARGE_IO_DIRECT(x)      1
 /* Banks as reported to user space */
 #define CONFIG_BANKS   1
 
index 0667cd3..ad0817d 100644 (file)
@@ -11,6 +11,8 @@
 /* Use C helpers for usermem */
 #undef CONFIG_USERMEM_C
 
+/* Do larhge I/O direct to the user memory */
+#define CONFIG_LARGE_IO_DIRECT(x)      1
 /* Reclaim discard space for buffers */
 #define CONFIG_DYNAMIC_BUFPOOL
 
index 1d296ae..c97cb69 100644 (file)
@@ -15,6 +15,9 @@
 
 #define CONFIG_BANKS   2       /* 2 x 32K */
 
+/* For now: we need to fix page crossing Atom IDE to deal with this sanely */
+#undef CONFIG_LARGE_IO_DIRECT
+
 /* Full RTC support */
 #define CONFIG_RTC
 #define CONFIG_RTC_FULL
index 143659c..5cc6329 100644 (file)
@@ -29,6 +29,8 @@
 #define MAX_MAPS       125
 #define MAP_SIZE    0xFB00  /* 0-FAFF */
 
+#define CONFIG_LARGE_IO_DIRECT(x)      1
+
 /* 0xEE because our first bank is 1 and 0xEE + 2 * 1 = 0xF0 */
 #define STACK_BANKOFF  0x00    /* 0400-FDFF */
 
index cac73a0..7c73bae 100644 (file)
@@ -33,6 +33,8 @@
 #define MAX_MAPS       7
 #define MAP_SIZE    0xFC00  /* 0-FBFF */
 
+#define CONFIG_LARGE_IO_DIRECT(x)      1
+
 /* 0xEE because our first bank is 1 and 0xEE + 2 * 1 = 0xF0 */
 #define STACK_BANKOFF  0xEE    /* F000-FDFF */
 
index f398274..77a35da 100644 (file)
@@ -16,6 +16,8 @@
 #define MAPBASE                0x00200000
 #define MAP_SIZE       0x0001FC00
 
+#define CONFIG_LARGE_IO_DIRECT(x)      1
+
 #define CONFIG_BANKS   1
 #define PROC_SIZE      MAP_SIZE                        /* 128K minus udata */
 
index a622a7d..50534be 100644 (file)
@@ -10,6 +10,8 @@
 #define CONFIG_USERMEM_DIRECT
 #define CONFIG_VMMU
 
+#define CONFIG_LARGE_IO_DIRECT(x)      1
+
 #define MMU_BLKSIZE    8192
 
 #define CONFIG_BANKS   1
index f15df03..cca4da5 100644 (file)
@@ -13,6 +13,8 @@
 #define CONFIG_BANKS   (65536/512)
 #define PROC_SIZE      128                     /* 64K, 128 * 512 */
 
+#define CONFIG_LARGE_IO_DIRECT(x)      1
+
 #define CONFIG_SPLIT_UDATA
 #define UDATA_SIZE     1024
 #define UDATA_BLKS     2