aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/Makefile2
-rw-r--r--arch/xtensa/configs/iss_defconfig731
-rw-r--r--arch/xtensa/include/asm/cacheflush.h1
-rw-r--r--arch/xtensa/include/asm/coprocessor.h1
-rw-r--r--arch/xtensa/include/asm/elf.h1
-rw-r--r--arch/xtensa/include/asm/pgalloc.h1
-rw-r--r--arch/xtensa/include/asm/processor.h1
-rw-r--r--arch/xtensa/include/asm/ptrace.h2
-rw-r--r--arch/xtensa/kernel/Makefile4
-rw-r--r--arch/xtensa/kernel/asm-offsets.c1
-rw-r--r--arch/xtensa/kernel/entry.S1
-rw-r--r--arch/xtensa/kernel/head.S4
-rw-r--r--arch/xtensa/platforms/iss/network.c22
13 files changed, 513 insertions, 259 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile
index 4caffac3ca2e..7608559de93a 100644
--- a/arch/xtensa/Makefile
+++ b/arch/xtensa/Makefile
@@ -35,6 +35,8 @@ KBUILD_CFLAGS += -ffreestanding
35 35
36KBUILD_CFLAGS += -pipe -mlongcalls 36KBUILD_CFLAGS += -pipe -mlongcalls
37 37
38KBUILD_CFLAGS += $(call cc-option,-mforce-no-pic,)
39
38vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y)) 40vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y))
39plfdirs := $(patsubst %,arch/xtensa/platforms/%/,$(platform-y)) 41plfdirs := $(patsubst %,arch/xtensa/platforms/%/,$(platform-y))
40 42
diff --git a/arch/xtensa/configs/iss_defconfig b/arch/xtensa/configs/iss_defconfig
index f19854035e61..7368164843b9 100644
--- a/arch/xtensa/configs/iss_defconfig
+++ b/arch/xtensa/configs/iss_defconfig
@@ -1,193 +1,214 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-rc2 3# Linux kernel version: 2.6.34-rc6
4# Fri Feb 25 19:21:24 2005 4# Tue Aug 3 00:10:54 2010
5# 5#
6CONFIG_FRAME_POINTER=y 6# CONFIG_FRAME_POINTER is not set
7CONFIG_ZONE_DMA=y
7CONFIG_XTENSA=y 8CONFIG_XTENSA=y
8# CONFIG_UID16 is not set
9CONFIG_RWSEM_XCHGADD_ALGORITHM=y 9CONFIG_RWSEM_XCHGADD_ALGORITHM=y
10CONFIG_HAVE_DEC_LOCK=y 10CONFIG_GENERIC_FIND_NEXT_BIT=y
11CONFIG_GENERIC_HWEIGHT=y
11CONFIG_GENERIC_HARDIRQS=y 12CONFIG_GENERIC_HARDIRQS=y
13CONFIG_GENERIC_GPIO=y
14# CONFIG_ARCH_HAS_ILOG2_U32 is not set
15# CONFIG_ARCH_HAS_ILOG2_U64 is not set
16CONFIG_NO_IOPORT=y
17CONFIG_HZ=100
18CONFIG_GENERIC_TIME=y
19CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
20CONFIG_CONSTRUCTORS=y
12 21
13# 22#
14# Code maturity level options 23# General setup
15# 24#
16CONFIG_EXPERIMENTAL=y 25CONFIG_EXPERIMENTAL=y
17CONFIG_CLEAN_COMPILE=y
18CONFIG_BROKEN_ON_SMP=y 26CONFIG_BROKEN_ON_SMP=y
19 27CONFIG_INIT_ENV_ARG_LIMIT=32
20#
21# General setup
22#
23CONFIG_LOCALVERSION="" 28CONFIG_LOCALVERSION=""
29CONFIG_LOCALVERSION_AUTO=y
24CONFIG_SWAP=y 30CONFIG_SWAP=y
25CONFIG_SYSVIPC=y 31CONFIG_SYSVIPC=y
32CONFIG_SYSVIPC_SYSCTL=y
26# CONFIG_POSIX_MQUEUE is not set 33# CONFIG_POSIX_MQUEUE is not set
27# CONFIG_BSD_PROCESS_ACCT is not set 34# CONFIG_BSD_PROCESS_ACCT is not set
28CONFIG_SYSCTL=y 35# CONFIG_TASKSTATS is not set
29# CONFIG_AUDIT is not set 36# CONFIG_AUDIT is not set
30CONFIG_LOG_BUF_SHIFT=14 37
31# CONFIG_HOTPLUG is not set 38#
32# CONFIG_KOBJECT_UEVENT is not set 39# RCU Subsystem
40#
41CONFIG_TREE_RCU=y
42# CONFIG_TREE_PREEMPT_RCU is not set
43# CONFIG_TINY_RCU is not set
44# CONFIG_RCU_TRACE is not set
45CONFIG_RCU_FANOUT=32
46# CONFIG_RCU_FANOUT_EXACT is not set
47# CONFIG_TREE_RCU_TRACE is not set
33# CONFIG_IKCONFIG is not set 48# CONFIG_IKCONFIG is not set
49CONFIG_LOG_BUF_SHIFT=14
50# CONFIG_CGROUPS is not set
51# CONFIG_SYSFS_DEPRECATED_V2 is not set
52# CONFIG_RELAY is not set
53# CONFIG_NAMESPACES is not set
54# CONFIG_BLK_DEV_INITRD is not set
55# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
56CONFIG_SYSCTL=y
57CONFIG_ANON_INODES=y
34CONFIG_EMBEDDED=y 58CONFIG_EMBEDDED=y
59CONFIG_SYSCTL_SYSCALL=y
35CONFIG_KALLSYMS=y 60CONFIG_KALLSYMS=y
36# CONFIG_KALLSYMS_ALL is not set 61# CONFIG_KALLSYMS_ALL is not set
37# CONFIG_KALLSYMS_EXTRA_PASS is not set 62# CONFIG_KALLSYMS_EXTRA_PASS is not set
63# CONFIG_HOTPLUG is not set
64CONFIG_PRINTK=y
65CONFIG_BUG=y
66CONFIG_ELF_CORE=y
67CONFIG_BASE_FULL=y
38CONFIG_FUTEX=y 68CONFIG_FUTEX=y
39CONFIG_EPOLL=y 69CONFIG_EPOLL=y
40# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set 70CONFIG_SIGNALFD=y
71CONFIG_TIMERFD=y
72CONFIG_EVENTFD=y
41CONFIG_SHMEM=y 73CONFIG_SHMEM=y
42CONFIG_CC_ALIGN_FUNCTIONS=0 74CONFIG_AIO=y
43CONFIG_CC_ALIGN_LABELS=0 75
44CONFIG_CC_ALIGN_LOOPS=0 76#
45CONFIG_CC_ALIGN_JUMPS=0 77# Kernel Performance Events And Counters
46# CONFIG_TINY_SHMEM is not set 78#
79CONFIG_VM_EVENT_COUNTERS=y
80CONFIG_SLUB_DEBUG=y
81CONFIG_COMPAT_BRK=y
82# CONFIG_SLAB is not set
83CONFIG_SLUB=y
84# CONFIG_SLOB is not set
85# CONFIG_PROFILING is not set
47 86
48# 87#
49# Loadable module support 88# GCOV-based kernel profiling
50# 89#
90# CONFIG_SLOW_WORK is not set
91# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
92CONFIG_SLABINFO=y
93CONFIG_RT_MUTEXES=y
94CONFIG_BASE_SMALL=0
51# CONFIG_MODULES is not set 95# CONFIG_MODULES is not set
96CONFIG_BLOCK=y
97CONFIG_LBDAF=y
98CONFIG_BLK_DEV_BSG=y
99# CONFIG_BLK_DEV_INTEGRITY is not set
100
101#
102# IO Schedulers
103#
104CONFIG_IOSCHED_NOOP=y
105# CONFIG_IOSCHED_DEADLINE is not set
106# CONFIG_IOSCHED_CFQ is not set
107# CONFIG_DEFAULT_DEADLINE is not set
108# CONFIG_DEFAULT_CFQ is not set
109CONFIG_DEFAULT_NOOP=y
110CONFIG_DEFAULT_IOSCHED="noop"
111# CONFIG_INLINE_SPIN_TRYLOCK is not set
112# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
113# CONFIG_INLINE_SPIN_LOCK is not set
114# CONFIG_INLINE_SPIN_LOCK_BH is not set
115# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
116# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
117CONFIG_INLINE_SPIN_UNLOCK=y
118# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
119CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
120# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
121# CONFIG_INLINE_READ_TRYLOCK is not set
122# CONFIG_INLINE_READ_LOCK is not set
123# CONFIG_INLINE_READ_LOCK_BH is not set
124# CONFIG_INLINE_READ_LOCK_IRQ is not set
125# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
126CONFIG_INLINE_READ_UNLOCK=y
127# CONFIG_INLINE_READ_UNLOCK_BH is not set
128CONFIG_INLINE_READ_UNLOCK_IRQ=y
129# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
130# CONFIG_INLINE_WRITE_TRYLOCK is not set
131# CONFIG_INLINE_WRITE_LOCK is not set
132# CONFIG_INLINE_WRITE_LOCK_BH is not set
133# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
134# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
135CONFIG_INLINE_WRITE_UNLOCK=y
136# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
137CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
138# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
139# CONFIG_MUTEX_SPIN_ON_OWNER is not set
140# CONFIG_FREEZER is not set
141CONFIG_MMU=y
142# CONFIG_VARIANT_IRQ_SWITCH is not set
52 143
53# 144#
54# Processor type and features 145# Processor type and features
55# 146#
56CONFIG_XTENSA_VARIANT_FSF=y 147CONFIG_XTENSA_VARIANT_FSF=y
57CONFIG_MMU=y 148# CONFIG_XTENSA_VARIANT_DC232B is not set
149# CONFIG_XTENSA_VARIANT_S6000 is not set
58# CONFIG_XTENSA_UNALIGNED_USER is not set 150# CONFIG_XTENSA_UNALIGNED_USER is not set
59# CONFIG_PREEMPT is not set 151# CONFIG_PREEMPT is not set
60# CONFIG_MATH_EMULATION is not set 152# CONFIG_MATH_EMULATION is not set
61# CONFIG_HIGHMEM is not set 153CONFIG_XTENSA_CALIBRATE_CCOUNT=y
62
63#
64# Platform options
65#
66CONFIG_XTENSA_PLATFORM_ISS=y
67# CONFIG_XTENSA_PLATFORM_XT2000 is not set
68# CONFIG_XTENSA_PLATFORM_ARUBA is not set
69# CONFIG_XTENSA_CALIBRATE_CCOUNT is not set
70CONFIG_XTENSA_CPU_CLOCK=10
71# CONFIG_GENERIC_CALIBRATE_DELAY is not set
72CONFIG_CMDLINE_BOOL=y
73CONFIG_CMDLINE="console=ttyS0,38400 eth0=tuntap,,tap0 ip=192.168.168.5:192.168.168.1 root=nfs nfsroot=192.168.168.1:/opt/montavista/pro/devkit/xtensa/linux_be/target"
74CONFIG_SERIAL_CONSOLE=y 154CONFIG_SERIAL_CONSOLE=y
75CONFIG_XTENSA_ISS_NETWORK=y 155CONFIG_XTENSA_ISS_NETWORK=y
76 156
77# 157#
78# Bus options 158# Bus options
79# 159#
160# CONFIG_PCI is not set
161# CONFIG_ARCH_SUPPORTS_MSI is not set
80 162
81# 163#
82# PCCARD (PCMCIA/CardBus) support 164# Platform options
83#
84# CONFIG_PCCARD is not set
85
86#
87# PC-card bridges
88#
89
90#
91# PCI Hotplug Support
92#
93
94# 165#
95# Exectuable file formats 166CONFIG_XTENSA_PLATFORM_ISS=y
167# CONFIG_XTENSA_PLATFORM_XT2000 is not set
168# CONFIG_XTENSA_PLATFORM_S6105 is not set
169# CONFIG_GENERIC_CALIBRATE_DELAY is not set
170CONFIG_CMDLINE_BOOL=y
171CONFIG_CMDLINE="console=ttyS0,38400 eth0=tuntap,,tap0 ip=192.168.168.5:192.168.168.1 root=nfs nfsroot=192.168.168.1:/opt/montavista/pro/devkit/xtensa/linux_be/target"
172CONFIG_SELECT_MEMORY_MODEL=y
173CONFIG_FLATMEM_MANUAL=y
174# CONFIG_DISCONTIGMEM_MANUAL is not set
175# CONFIG_SPARSEMEM_MANUAL is not set
176CONFIG_FLATMEM=y
177CONFIG_FLAT_NODE_MEM_MAP=y
178CONFIG_PAGEFLAGS_EXTENDED=y
179CONFIG_SPLIT_PTLOCK_CPUS=4
180# CONFIG_PHYS_ADDR_T_64BIT is not set
181CONFIG_ZONE_DMA_FLAG=1
182CONFIG_BOUNCE=y
183CONFIG_VIRT_TO_BUS=y
184# CONFIG_KSM is not set
185CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
186
187#
188# Executable file formats
96# 189#
97CONFIG_KCORE_ELF=y 190CONFIG_KCORE_ELF=y
98CONFIG_BINFMT_ELF=y 191CONFIG_BINFMT_ELF=y
192# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
193# CONFIG_HAVE_AOUT is not set
99# CONFIG_BINFMT_MISC is not set 194# CONFIG_BINFMT_MISC is not set
100
101#
102# Device Drivers
103#
104
105#
106# Generic Driver Options
107#
108# CONFIG_STANDALONE is not set
109CONFIG_PREVENT_FIRMWARE_BUILD=y
110# CONFIG_FW_LOADER is not set
111# CONFIG_DEBUG_DRIVER is not set
112
113#
114# Memory Technology Devices (MTD)
115#
116# CONFIG_MTD is not set
117
118#
119# Parallel port support
120#
121# CONFIG_PARPORT is not set
122
123#
124# Plug and Play support
125#
126
127#
128# Block devices
129#
130# CONFIG_BLK_DEV_FD is not set
131# CONFIG_BLK_DEV_COW_COMMON is not set
132# CONFIG_BLK_DEV_LOOP is not set
133# CONFIG_BLK_DEV_NBD is not set
134# CONFIG_BLK_DEV_RAM is not set
135CONFIG_BLK_DEV_RAM_COUNT=16
136CONFIG_INITRAMFS_SOURCE=""
137# CONFIG_CDROM_PKTCDVD is not set
138
139#
140# IO Schedulers
141#
142CONFIG_IOSCHED_NOOP=y
143# CONFIG_IOSCHED_AS is not set
144# CONFIG_IOSCHED_DEADLINE is not set
145# CONFIG_IOSCHED_CFQ is not set
146# CONFIG_ATA_OVER_ETH is not set
147
148#
149# ATA/ATAPI/MFM/RLL support
150#
151# CONFIG_IDE is not set
152
153#
154# SCSI device support
155#
156# CONFIG_SCSI is not set
157
158#
159# Multi-device support (RAID and LVM)
160#
161# CONFIG_MD is not set
162
163#
164# Fusion MPT device support
165#
166
167#
168# IEEE 1394 (FireWire) support
169#
170
171#
172# I2O device support
173#
174
175#
176# Networking support
177#
178CONFIG_NET=y 195CONFIG_NET=y
179 196
180# 197#
181# Networking options 198# Networking options
182# 199#
183CONFIG_PACKET=y 200CONFIG_PACKET=y
184# CONFIG_PACKET_MMAP is not set
185# CONFIG_NETLINK_DEV is not set
186CONFIG_UNIX=y 201CONFIG_UNIX=y
202CONFIG_XFRM=y
203# CONFIG_XFRM_USER is not set
204# CONFIG_XFRM_SUB_POLICY is not set
205# CONFIG_XFRM_MIGRATE is not set
206# CONFIG_XFRM_STATISTICS is not set
187# CONFIG_NET_KEY is not set 207# CONFIG_NET_KEY is not set
188CONFIG_INET=y 208CONFIG_INET=y
189# CONFIG_IP_MULTICAST is not set 209# CONFIG_IP_MULTICAST is not set
190# CONFIG_IP_ADVANCED_ROUTER is not set 210# CONFIG_IP_ADVANCED_ROUTER is not set
211CONFIG_IP_FIB_HASH=y
191CONFIG_IP_PNP=y 212CONFIG_IP_PNP=y
192CONFIG_IP_PNP_DHCP=y 213CONFIG_IP_PNP_DHCP=y
193CONFIG_IP_PNP_BOOTP=y 214CONFIG_IP_PNP_BOOTP=y
@@ -199,21 +220,28 @@ CONFIG_IP_PNP_RARP=y
199# CONFIG_INET_AH is not set 220# CONFIG_INET_AH is not set
200# CONFIG_INET_ESP is not set 221# CONFIG_INET_ESP is not set
201# CONFIG_INET_IPCOMP is not set 222# CONFIG_INET_IPCOMP is not set
223# CONFIG_INET_XFRM_TUNNEL is not set
202# CONFIG_INET_TUNNEL is not set 224# CONFIG_INET_TUNNEL is not set
203# CONFIG_IP_TCPDIAG is not set 225CONFIG_INET_XFRM_MODE_TRANSPORT=y
204# CONFIG_IP_TCPDIAG_IPV6 is not set 226CONFIG_INET_XFRM_MODE_TUNNEL=y
227CONFIG_INET_XFRM_MODE_BEET=y
228CONFIG_INET_LRO=y
229CONFIG_INET_DIAG=y
230CONFIG_INET_TCP_DIAG=y
231# CONFIG_TCP_CONG_ADVANCED is not set
232CONFIG_TCP_CONG_CUBIC=y
233CONFIG_DEFAULT_TCP_CONG="cubic"
234# CONFIG_TCP_MD5SIG is not set
205# CONFIG_IPV6 is not set 235# CONFIG_IPV6 is not set
236# CONFIG_NETWORK_SECMARK is not set
206# CONFIG_NETFILTER is not set 237# CONFIG_NETFILTER is not set
207 238# CONFIG_IP_DCCP is not set
208#
209# SCTP Configuration (EXPERIMENTAL)
210#
211# CONFIG_IP_SCTP is not set 239# CONFIG_IP_SCTP is not set
212# CONFIG_SCTP_HMAC_NONE is not set 240# CONFIG_RDS is not set
213# CONFIG_SCTP_HMAC_SHA1 is not set 241# CONFIG_TIPC is not set
214# CONFIG_SCTP_HMAC_MD5 is not set
215# CONFIG_ATM is not set 242# CONFIG_ATM is not set
216# CONFIG_BRIDGE is not set 243# CONFIG_BRIDGE is not set
244# CONFIG_NET_DSA is not set
217# CONFIG_VLAN_8021Q is not set 245# CONFIG_VLAN_8021Q is not set
218# CONFIG_DECNET is not set 246# CONFIG_DECNET is not set
219# CONFIG_LLC2 is not set 247# CONFIG_LLC2 is not set
@@ -221,77 +249,126 @@ CONFIG_IP_PNP_RARP=y
221# CONFIG_ATALK is not set 249# CONFIG_ATALK is not set
222# CONFIG_X25 is not set 250# CONFIG_X25 is not set
223# CONFIG_LAPB is not set 251# CONFIG_LAPB is not set
224# CONFIG_NET_DIVERT is not set
225# CONFIG_ECONET is not set 252# CONFIG_ECONET is not set
226# CONFIG_WAN_ROUTER is not set 253# CONFIG_WAN_ROUTER is not set
227 254# CONFIG_PHONET is not set
228# 255# CONFIG_IEEE802154 is not set
229# QoS and/or fair queueing
230#
231# CONFIG_NET_SCHED is not set 256# CONFIG_NET_SCHED is not set
232# CONFIG_NET_SCH_CLK_JIFFIES is not set 257# CONFIG_DCB is not set
233# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set
234# CONFIG_NET_SCH_CLK_CPU is not set
235# CONFIG_NET_CLS_ROUTE is not set
236 258
237# 259#
238# Network testing 260# Network testing
239# 261#
240# CONFIG_NET_PKTGEN is not set 262# CONFIG_NET_PKTGEN is not set
241# CONFIG_NETPOLL is not set
242# CONFIG_NET_POLL_CONTROLLER is not set
243# CONFIG_HAMRADIO is not set 263# CONFIG_HAMRADIO is not set
264# CONFIG_CAN is not set
244# CONFIG_IRDA is not set 265# CONFIG_IRDA is not set
245# CONFIG_BT is not set 266# CONFIG_BT is not set
246# CONFIG_NETDEVICES is not set 267# CONFIG_AF_RXRPC is not set
268CONFIG_WIRELESS=y
269# CONFIG_CFG80211 is not set
270# CONFIG_LIB80211 is not set
247 271
248# 272#
249# ISDN subsystem 273# CFG80211 needs to be enabled for MAC80211
250# 274#
251# CONFIG_ISDN is not set 275# CONFIG_WIMAX is not set
276# CONFIG_RFKILL is not set
277# CONFIG_NET_9P is not set
278
279#
280# Device Drivers
281#
282
283#
284# Generic Driver Options
285#
286# CONFIG_STANDALONE is not set
287CONFIG_PREVENT_FIRMWARE_BUILD=y
288# CONFIG_DEBUG_DRIVER is not set
289# CONFIG_DEBUG_DEVRES is not set
290# CONFIG_SYS_HYPERVISOR is not set
291# CONFIG_CONNECTOR is not set
292# CONFIG_MTD is not set
293# CONFIG_PARPORT is not set
294CONFIG_BLK_DEV=y
295# CONFIG_BLK_DEV_COW_COMMON is not set
296# CONFIG_BLK_DEV_LOOP is not set
252 297
253# 298#
254# Telephony Support 299# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
300#
301# CONFIG_BLK_DEV_NBD is not set
302# CONFIG_BLK_DEV_RAM is not set
303# CONFIG_CDROM_PKTCDVD is not set
304# CONFIG_ATA_OVER_ETH is not set
305# CONFIG_BLK_DEV_HD is not set
306CONFIG_MISC_DEVICES=y
307# CONFIG_ENCLOSURE_SERVICES is not set
308# CONFIG_C2PORT is not set
309
310#
311# EEPROM support
312#
313# CONFIG_EEPROM_93CX6 is not set
314CONFIG_HAVE_IDE=y
315# CONFIG_IDE is not set
316
255# 317#
318# SCSI device support
319#
320CONFIG_SCSI_MOD=y
321# CONFIG_RAID_ATTRS is not set
322# CONFIG_SCSI is not set
323# CONFIG_SCSI_DMA is not set
324# CONFIG_SCSI_NETLINK is not set
325# CONFIG_ATA is not set
326# CONFIG_MD is not set
327# CONFIG_NETDEVICES is not set
328# CONFIG_ISDN is not set
256# CONFIG_PHONE is not set 329# CONFIG_PHONE is not set
257 330
258# 331#
259# Input device support 332# Input device support
260# 333#
261CONFIG_INPUT=y 334CONFIG_INPUT=y
335# CONFIG_INPUT_FF_MEMLESS is not set
336# CONFIG_INPUT_POLLDEV is not set
337# CONFIG_INPUT_SPARSEKMAP is not set
262 338
263# 339#
264# Userland interfaces 340# Userland interfaces
265# 341#
266# CONFIG_INPUT_MOUSEDEV is not set 342# CONFIG_INPUT_MOUSEDEV is not set
267# CONFIG_INPUT_JOYDEV is not set 343# CONFIG_INPUT_JOYDEV is not set
268# CONFIG_INPUT_TSDEV is not set
269# CONFIG_INPUT_EVDEV is not set 344# CONFIG_INPUT_EVDEV is not set
270# CONFIG_INPUT_EVBUG is not set 345# CONFIG_INPUT_EVBUG is not set
271 346
272# 347#
273# Input I/O drivers
274#
275# CONFIG_GAMEPORT is not set
276CONFIG_SOUND_GAMEPORT=y
277# CONFIG_SERIO is not set
278# CONFIG_SERIO_I8042 is not set
279
280#
281# Input Device Drivers 348# Input Device Drivers
282# 349#
283# CONFIG_INPUT_KEYBOARD is not set 350# CONFIG_INPUT_KEYBOARD is not set
284# CONFIG_INPUT_MOUSE is not set 351# CONFIG_INPUT_MOUSE is not set
285# CONFIG_INPUT_JOYSTICK is not set 352# CONFIG_INPUT_JOYSTICK is not set
353# CONFIG_INPUT_TABLET is not set
286# CONFIG_INPUT_TOUCHSCREEN is not set 354# CONFIG_INPUT_TOUCHSCREEN is not set
287# CONFIG_INPUT_MISC is not set 355# CONFIG_INPUT_MISC is not set
288 356
289# 357#
358# Hardware I/O ports
359#
360# CONFIG_SERIO is not set
361# CONFIG_GAMEPORT is not set
362
363#
290# Character devices 364# Character devices
291# 365#
292CONFIG_VT=y 366CONFIG_VT=y
367CONFIG_CONSOLE_TRANSLATIONS=y
293CONFIG_VT_CONSOLE=y 368CONFIG_VT_CONSOLE=y
294CONFIG_HW_CONSOLE=y 369CONFIG_HW_CONSOLE=y
370# CONFIG_VT_HW_CONSOLE_BINDING is not set
371CONFIG_DEVKMEM=y
295# CONFIG_SERIAL_NONSTANDARD is not set 372# CONFIG_SERIAL_NONSTANDARD is not set
296 373
297# 374#
@@ -302,117 +379,159 @@ CONFIG_HW_CONSOLE=y
302# 379#
303# Non-8250 serial port support 380# Non-8250 serial port support
304# 381#
382# CONFIG_SERIAL_TIMBERDALE is not set
305CONFIG_UNIX98_PTYS=y 383CONFIG_UNIX98_PTYS=y
384# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
306CONFIG_LEGACY_PTYS=y 385CONFIG_LEGACY_PTYS=y
307CONFIG_LEGACY_PTY_COUNT=256 386CONFIG_LEGACY_PTY_COUNT=256
308
309#
310# IPMI
311#
312# CONFIG_IPMI_HANDLER is not set 387# CONFIG_IPMI_HANDLER is not set
313 388CONFIG_HW_RANDOM=y
314# 389# CONFIG_HW_RANDOM_TIMERIOMEM is not set
315# Watchdog Cards
316#
317CONFIG_WATCHDOG=y
318CONFIG_WATCHDOG_NOWAYOUT=y
319
320#
321# Watchdog Device Drivers
322#
323CONFIG_SOFT_WATCHDOG=y
324# CONFIG_RTC is not set 390# CONFIG_RTC is not set
325# CONFIG_GEN_RTC is not set 391# CONFIG_GEN_RTC is not set
326# CONFIG_DTLK is not set
327# CONFIG_R3964 is not set 392# CONFIG_R3964 is not set
328
329#
330# Ftape, the floppy tape device driver
331#
332# CONFIG_DRM is not set
333# CONFIG_RAW_DRIVER is not set 393# CONFIG_RAW_DRIVER is not set
334 394# CONFIG_TCG_TPM is not set
335#
336# I2C support
337#
338# CONFIG_I2C is not set 395# CONFIG_I2C is not set
396# CONFIG_SPI is not set
339 397
340# 398#
341# Dallas's 1-wire bus 399# PPS support
342# 400#
401# CONFIG_PPS is not set
343# CONFIG_W1 is not set 402# CONFIG_W1 is not set
403# CONFIG_POWER_SUPPLY is not set
404CONFIG_HWMON=y
405# CONFIG_HWMON_VID is not set
406# CONFIG_HWMON_DEBUG_CHIP is not set
407
408#
409# Native drivers
410#
411# CONFIG_SENSORS_F71805F is not set
412# CONFIG_SENSORS_F71882FG is not set
413# CONFIG_SENSORS_IT87 is not set
414# CONFIG_SENSORS_PC87360 is not set
415# CONFIG_SENSORS_PC87427 is not set
416# CONFIG_SENSORS_SHT15 is not set
417# CONFIG_SENSORS_SMSC47M1 is not set
418# CONFIG_SENSORS_SMSC47B397 is not set
419# CONFIG_SENSORS_VT1211 is not set
420# CONFIG_SENSORS_W83627HF is not set
421# CONFIG_SENSORS_W83627EHF is not set
422# CONFIG_THERMAL is not set
423CONFIG_WATCHDOG=y
424CONFIG_WATCHDOG_NOWAYOUT=y
344 425
345# 426#
346# Misc devices 427# Watchdog Device Drivers
347# 428#
429CONFIG_SOFT_WATCHDOG=y
430CONFIG_SSB_POSSIBLE=y
348 431
349# 432#
350# Multimedia devices 433# Sonics Silicon Backplane
351# 434#
352# CONFIG_VIDEO_DEV is not set 435# CONFIG_SSB is not set
353 436
354# 437#
355# Digital Video Broadcasting Devices 438# Multifunction device drivers
356# 439#
357# CONFIG_DVB is not set 440# CONFIG_MFD_CORE is not set
441# CONFIG_MFD_SM501 is not set
442# CONFIG_HTC_PASIC3 is not set
443# CONFIG_MFD_TMIO is not set
444# CONFIG_REGULATOR is not set
445# CONFIG_MEDIA_SUPPORT is not set
358 446
359# 447#
360# Graphics support 448# Graphics support
361# 449#
450# CONFIG_VGASTATE is not set
451# CONFIG_VIDEO_OUTPUT_CONTROL is not set
362# CONFIG_FB is not set 452# CONFIG_FB is not set
453# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
363 454
364# 455#
365# Console display driver support 456# Display device support
366# 457#
367# CONFIG_VGA_CONSOLE is not set 458# CONFIG_DISPLAY_SUPPORT is not set
368CONFIG_DUMMY_CONSOLE=y
369# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
370 459
371# 460#
372# Sound 461# Console display driver support
373# 462#
463# CONFIG_VGA_CONSOLE is not set
464CONFIG_DUMMY_CONSOLE=y
374# CONFIG_SOUND is not set 465# CONFIG_SOUND is not set
466CONFIG_HID_SUPPORT=y
467CONFIG_HID=y
468# CONFIG_HIDRAW is not set
469# CONFIG_HID_PID is not set
375 470
376# 471#
377# USB support 472# Special HID drivers
378# 473#
474CONFIG_USB_SUPPORT=y
379# CONFIG_USB_ARCH_HAS_HCD is not set 475# CONFIG_USB_ARCH_HAS_HCD is not set
380# CONFIG_USB_ARCH_HAS_OHCI is not set 476# CONFIG_USB_ARCH_HAS_OHCI is not set
477# CONFIG_USB_ARCH_HAS_EHCI is not set
478# CONFIG_USB_OTG_WHITELIST is not set
479# CONFIG_USB_OTG_BLACKLIST_HUB is not set
381 480
382# 481#
383# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information 482# Enable Host or Gadget support to see Inventra options
384# 483#
385 484
386# 485#
387# USB Gadget Support 486# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
388# 487#
389# CONFIG_USB_GADGET is not set 488# CONFIG_USB_GADGET is not set
390 489
391# 490#
392# MMC/SD Card support 491# OTG and related infrastructure
393# 492#
394# CONFIG_MMC is not set 493# CONFIG_MMC is not set
494# CONFIG_MEMSTICK is not set
495# CONFIG_NEW_LEDS is not set
496# CONFIG_ACCESSIBILITY is not set
497# CONFIG_RTC_CLASS is not set
498# CONFIG_DMADEVICES is not set
499# CONFIG_AUXDISPLAY is not set
500# CONFIG_UIO is not set
395 501
396# 502#
397# InfiniBand support 503# TI VLYNQ
398# 504#
399# CONFIG_INFINIBAND is not set 505# CONFIG_STAGING is not set
400 506
401# 507#
402# File systems 508# File systems
403# 509#
404# CONFIG_EXT2_FS is not set 510# CONFIG_EXT2_FS is not set
405# CONFIG_EXT3_FS is not set 511# CONFIG_EXT3_FS is not set
406# CONFIG_JBD is not set 512# CONFIG_EXT4_FS is not set
407# CONFIG_REISERFS_FS is not set 513# CONFIG_REISERFS_FS is not set
408# CONFIG_JFS_FS is not set 514# CONFIG_JFS_FS is not set
515# CONFIG_FS_POSIX_ACL is not set
409# CONFIG_XFS_FS is not set 516# CONFIG_XFS_FS is not set
410# CONFIG_MINIX_FS is not set 517# CONFIG_GFS2_FS is not set
411# CONFIG_ROMFS_FS is not set 518# CONFIG_OCFS2_FS is not set
412# CONFIG_QUOTA is not set 519# CONFIG_BTRFS_FS is not set
520# CONFIG_NILFS2_FS is not set
521CONFIG_FILE_LOCKING=y
522CONFIG_FSNOTIFY=y
413# CONFIG_DNOTIFY is not set 523# CONFIG_DNOTIFY is not set
524# CONFIG_INOTIFY is not set
525CONFIG_INOTIFY_USER=y
526# CONFIG_QUOTA is not set
414# CONFIG_AUTOFS_FS is not set 527# CONFIG_AUTOFS_FS is not set
415# CONFIG_AUTOFS4_FS is not set 528# CONFIG_AUTOFS4_FS is not set
529# CONFIG_FUSE_FS is not set
530
531#
532# Caches
533#
534# CONFIG_FSCACHE is not set
416 535
417# 536#
418# CD-ROM/DVD Filesystems 537# CD-ROM/DVD Filesystems
@@ -432,19 +551,14 @@ CONFIG_DUMMY_CONSOLE=y
432# 551#
433CONFIG_PROC_FS=y 552CONFIG_PROC_FS=y
434CONFIG_PROC_KCORE=y 553CONFIG_PROC_KCORE=y
554CONFIG_PROC_SYSCTL=y
555CONFIG_PROC_PAGE_MONITOR=y
435CONFIG_SYSFS=y 556CONFIG_SYSFS=y
436CONFIG_DEVFS_FS=y
437CONFIG_DEVFS_MOUNT=y
438# CONFIG_DEVFS_DEBUG is not set
439# CONFIG_DEVPTS_FS_XATTR is not set
440CONFIG_TMPFS=y 557CONFIG_TMPFS=y
441# CONFIG_TMPFS_XATTR is not set 558# CONFIG_TMPFS_POSIX_ACL is not set
442# CONFIG_HUGETLB_PAGE is not set 559# CONFIG_HUGETLB_PAGE is not set
443CONFIG_RAMFS=y 560# CONFIG_CONFIGFS_FS is not set
444 561CONFIG_MISC_FILESYSTEMS=y
445#
446# Miscellaneous filesystems
447#
448# CONFIG_ADFS_FS is not set 562# CONFIG_ADFS_FS is not set
449# CONFIG_AFFS_FS is not set 563# CONFIG_AFFS_FS is not set
450# CONFIG_HFS_FS is not set 564# CONFIG_HFS_FS is not set
@@ -452,29 +566,22 @@ CONFIG_RAMFS=y
452# CONFIG_BEFS_FS is not set 566# CONFIG_BEFS_FS is not set
453# CONFIG_BFS_FS is not set 567# CONFIG_BFS_FS is not set
454# CONFIG_EFS_FS is not set 568# CONFIG_EFS_FS is not set
569# CONFIG_LOGFS is not set
455# CONFIG_CRAMFS is not set 570# CONFIG_CRAMFS is not set
571# CONFIG_SQUASHFS is not set
456# CONFIG_VXFS_FS is not set 572# CONFIG_VXFS_FS is not set
573# CONFIG_MINIX_FS is not set
574# CONFIG_OMFS_FS is not set
457# CONFIG_HPFS_FS is not set 575# CONFIG_HPFS_FS is not set
458# CONFIG_QNX4FS_FS is not set 576# CONFIG_QNX4FS_FS is not set
577# CONFIG_ROMFS_FS is not set
459# CONFIG_SYSV_FS is not set 578# CONFIG_SYSV_FS is not set
460# CONFIG_UFS_FS is not set 579# CONFIG_UFS_FS is not set
461 580CONFIG_NETWORK_FILESYSTEMS=y
462# 581# CONFIG_NFS_FS is not set
463# Network File Systems
464#
465CONFIG_NFS_FS=y
466CONFIG_NFS_V3=y
467# CONFIG_NFS_V4 is not set
468CONFIG_NFS_DIRECTIO=y
469# CONFIG_NFSD is not set 582# CONFIG_NFSD is not set
470CONFIG_ROOT_NFS=y
471CONFIG_LOCKD=y
472CONFIG_LOCKD_V4=y
473# CONFIG_EXPORTFS is not set
474CONFIG_SUNRPC=y
475# CONFIG_RPCSEC_GSS_KRB5 is not set
476# CONFIG_RPCSEC_GSS_SPKM3 is not set
477# CONFIG_SMB_FS is not set 583# CONFIG_SMB_FS is not set
584# CONFIG_CEPH_FS is not set
478# CONFIG_CIFS is not set 585# CONFIG_CIFS is not set
479# CONFIG_NCP_FS is not set 586# CONFIG_NCP_FS is not set
480# CONFIG_CODA_FS is not set 587# CONFIG_CODA_FS is not set
@@ -485,43 +592,175 @@ CONFIG_SUNRPC=y
485# 592#
486# CONFIG_PARTITION_ADVANCED is not set 593# CONFIG_PARTITION_ADVANCED is not set
487CONFIG_MSDOS_PARTITION=y 594CONFIG_MSDOS_PARTITION=y
488
489#
490# Native Language Support
491#
492# CONFIG_NLS is not set 595# CONFIG_NLS is not set
596# CONFIG_DLM is not set
493 597
494# 598#
495# Kernel hacking 599# Kernel hacking
496# 600#
497CONFIG_DEBUG_KERNEL=y 601# CONFIG_PRINTK_TIME is not set
498# CONFIG_DEBUG_STACKOVERFLOW is not set 602CONFIG_ENABLE_WARN_DEPRECATED=y
499# CONFIG_DEBUG_SLAB is not set 603CONFIG_ENABLE_MUST_CHECK=y
604CONFIG_FRAME_WARN=1024
500# CONFIG_MAGIC_SYSRQ is not set 605# CONFIG_MAGIC_SYSRQ is not set
606# CONFIG_STRIP_ASM_SYMS is not set
607# CONFIG_UNUSED_SYMBOLS is not set
608# CONFIG_DEBUG_FS is not set
609# CONFIG_HEADERS_CHECK is not set
610CONFIG_DEBUG_KERNEL=y
611# CONFIG_DEBUG_SHIRQ is not set
612CONFIG_DETECT_SOFTLOCKUP=y
613# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
614CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
615CONFIG_DETECT_HUNG_TASK=y
616# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
617CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
618CONFIG_SCHED_DEBUG=y
619# CONFIG_SCHEDSTATS is not set
620# CONFIG_TIMER_STATS is not set
621# CONFIG_DEBUG_OBJECTS is not set
622# CONFIG_SLUB_DEBUG_ON is not set
623# CONFIG_SLUB_STATS is not set
624# CONFIG_DEBUG_RT_MUTEXES is not set
625# CONFIG_RT_MUTEX_TESTER is not set
501# CONFIG_DEBUG_SPINLOCK is not set 626# CONFIG_DEBUG_SPINLOCK is not set
502# CONFIG_DEBUG_PAGEALLOC is not set 627# CONFIG_DEBUG_MUTEXES is not set
503# CONFIG_DEBUG_INFO is not set
504# CONFIG_DEBUG_SPINLOCK_SLEEP is not set 628# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
505# CONFIG_KGDB is not set 629# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
630# CONFIG_DEBUG_KOBJECT is not set
631# CONFIG_DEBUG_INFO is not set
632# CONFIG_DEBUG_VM is not set
633# CONFIG_DEBUG_WRITECOUNT is not set
634# CONFIG_DEBUG_MEMORY_INIT is not set
635# CONFIG_DEBUG_LIST is not set
636# CONFIG_DEBUG_SG is not set
637# CONFIG_DEBUG_NOTIFIERS is not set
638# CONFIG_DEBUG_CREDENTIALS is not set
639# CONFIG_RCU_TORTURE_TEST is not set
640CONFIG_RCU_CPU_STALL_DETECTOR=y
641# CONFIG_BACKTRACE_SELF_TEST is not set
642# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
643# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
644# CONFIG_FAULT_INJECTION is not set
645# CONFIG_SYSCTL_SYSCALL_CHECK is not set
646# CONFIG_PAGE_POISONING is not set
647# CONFIG_SAMPLES is not set
506 648
507# 649#
508# Security options 650# Security options
509# 651#
510# CONFIG_KEYS is not set 652# CONFIG_KEYS is not set
511# CONFIG_SECURITY is not set 653# CONFIG_SECURITY is not set
654# CONFIG_SECURITYFS is not set
655# CONFIG_DEFAULT_SECURITY_SELINUX is not set
656# CONFIG_DEFAULT_SECURITY_SMACK is not set
657# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
658CONFIG_DEFAULT_SECURITY_DAC=y
659CONFIG_DEFAULT_SECURITY=""
660CONFIG_CRYPTO=y
661
662#
663# Crypto core or helper
664#
665# CONFIG_CRYPTO_FIPS is not set
666CONFIG_CRYPTO_ALGAPI=y
667CONFIG_CRYPTO_ALGAPI2=y
668CONFIG_CRYPTO_RNG=y
669CONFIG_CRYPTO_RNG2=y
670# CONFIG_CRYPTO_MANAGER is not set
671# CONFIG_CRYPTO_MANAGER2 is not set
672# CONFIG_CRYPTO_GF128MUL is not set
673# CONFIG_CRYPTO_NULL is not set
674# CONFIG_CRYPTO_CRYPTD is not set
675# CONFIG_CRYPTO_AUTHENC is not set
676
677#
678# Authenticated Encryption with Associated Data
679#
680# CONFIG_CRYPTO_CCM is not set
681# CONFIG_CRYPTO_GCM is not set
682# CONFIG_CRYPTO_SEQIV is not set
683
684#
685# Block modes
686#
687# CONFIG_CRYPTO_CBC is not set
688# CONFIG_CRYPTO_CTR is not set
689# CONFIG_CRYPTO_CTS is not set
690# CONFIG_CRYPTO_ECB is not set
691# CONFIG_CRYPTO_LRW is not set
692# CONFIG_CRYPTO_PCBC is not set
693# CONFIG_CRYPTO_XTS is not set
694
695#
696# Hash modes
697#
698# CONFIG_CRYPTO_HMAC is not set
699# CONFIG_CRYPTO_XCBC is not set
700# CONFIG_CRYPTO_VMAC is not set
701
702#
703# Digest
704#
705# CONFIG_CRYPTO_CRC32C is not set
706# CONFIG_CRYPTO_GHASH is not set
707# CONFIG_CRYPTO_MD4 is not set
708# CONFIG_CRYPTO_MD5 is not set
709# CONFIG_CRYPTO_MICHAEL_MIC is not set
710# CONFIG_CRYPTO_RMD128 is not set
711# CONFIG_CRYPTO_RMD160 is not set
712# CONFIG_CRYPTO_RMD256 is not set
713# CONFIG_CRYPTO_RMD320 is not set
714# CONFIG_CRYPTO_SHA1 is not set
715# CONFIG_CRYPTO_SHA256 is not set
716# CONFIG_CRYPTO_SHA512 is not set
717# CONFIG_CRYPTO_TGR192 is not set
718# CONFIG_CRYPTO_WP512 is not set
719
720#
721# Ciphers
722#
723CONFIG_CRYPTO_AES=y
724# CONFIG_CRYPTO_ANUBIS is not set
725# CONFIG_CRYPTO_ARC4 is not set
726# CONFIG_CRYPTO_BLOWFISH is not set
727# CONFIG_CRYPTO_CAMELLIA is not set
728# CONFIG_CRYPTO_CAST5 is not set
729# CONFIG_CRYPTO_CAST6 is not set
730# CONFIG_CRYPTO_DES is not set
731# CONFIG_CRYPTO_FCRYPT is not set
732# CONFIG_CRYPTO_KHAZAD is not set
733# CONFIG_CRYPTO_SALSA20 is not set
734# CONFIG_CRYPTO_SEED is not set
735# CONFIG_CRYPTO_SERPENT is not set
736# CONFIG_CRYPTO_TEA is not set
737# CONFIG_CRYPTO_TWOFISH is not set
512 738
513# 739#
514# Cryptographic options 740# Compression
515# 741#
516# CONFIG_CRYPTO is not set 742# CONFIG_CRYPTO_DEFLATE is not set
743# CONFIG_CRYPTO_ZLIB is not set
744# CONFIG_CRYPTO_LZO is not set
517 745
518# 746#
519# Hardware crypto devices 747# Random Number Generation
520# 748#
749CONFIG_CRYPTO_ANSI_CPRNG=y
750CONFIG_CRYPTO_HW=y
751# CONFIG_BINARY_PRINTF is not set
521 752
522# 753#
523# Library routines 754# Library routines
524# 755#
756CONFIG_GENERIC_FIND_LAST_BIT=y
525# CONFIG_CRC_CCITT is not set 757# CONFIG_CRC_CCITT is not set
758# CONFIG_CRC16 is not set
759# CONFIG_CRC_T10DIF is not set
760# CONFIG_CRC_ITU_T is not set
526# CONFIG_CRC32 is not set 761# CONFIG_CRC32 is not set
762# CONFIG_CRC7 is not set
527# CONFIG_LIBCRC32C is not set 763# CONFIG_LIBCRC32C is not set
764CONFIG_HAS_IOMEM=y
765CONFIG_HAS_DMA=y
766CONFIG_NLATTR=y
diff --git a/arch/xtensa/include/asm/cacheflush.h b/arch/xtensa/include/asm/cacheflush.h
index a508f2f73bd7..376cd9d5f455 100644
--- a/arch/xtensa/include/asm/cacheflush.h
+++ b/arch/xtensa/include/asm/cacheflush.h
@@ -115,6 +115,7 @@ extern void flush_cache_page(struct vm_area_struct*, unsigned long, unsigned lon
115#define flush_cache_vmap(start,end) do { } while (0) 115#define flush_cache_vmap(start,end) do { } while (0)
116#define flush_cache_vunmap(start,end) do { } while (0) 116#define flush_cache_vunmap(start,end) do { } while (0)
117 117
118#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 0
118#define flush_dcache_page(page) do { } while (0) 119#define flush_dcache_page(page) do { } while (0)
119 120
120#define flush_cache_page(vma,addr,pfn) do { } while (0) 121#define flush_cache_page(vma,addr,pfn) do { } while (0)
diff --git a/arch/xtensa/include/asm/coprocessor.h b/arch/xtensa/include/asm/coprocessor.h
index 65a285d8d3fb..75c94a1658b0 100644
--- a/arch/xtensa/include/asm/coprocessor.h
+++ b/arch/xtensa/include/asm/coprocessor.h
@@ -13,6 +13,7 @@
13#define _XTENSA_COPROCESSOR_H 13#define _XTENSA_COPROCESSOR_H
14 14
15#include <linux/stringify.h> 15#include <linux/stringify.h>
16#include <variant/core.h>
16#include <variant/tie.h> 17#include <variant/tie.h>
17#include <asm/types.h> 18#include <asm/types.h>
18 19
diff --git a/arch/xtensa/include/asm/elf.h b/arch/xtensa/include/asm/elf.h
index 5eb6d695e987..6e65eadaae14 100644
--- a/arch/xtensa/include/asm/elf.h
+++ b/arch/xtensa/include/asm/elf.h
@@ -14,6 +14,7 @@
14#define _XTENSA_ELF_H 14#define _XTENSA_ELF_H
15 15
16#include <asm/ptrace.h> 16#include <asm/ptrace.h>
17#include <asm/coprocessor.h>
17 18
18/* Xtensa processor ELF architecture-magic number */ 19/* Xtensa processor ELF architecture-magic number */
19 20
diff --git a/arch/xtensa/include/asm/pgalloc.h b/arch/xtensa/include/asm/pgalloc.h
index 4f4a7987eded..40cf9bceda2c 100644
--- a/arch/xtensa/include/asm/pgalloc.h
+++ b/arch/xtensa/include/asm/pgalloc.h
@@ -14,6 +14,7 @@
14#ifdef __KERNEL__ 14#ifdef __KERNEL__
15 15
16#include <linux/highmem.h> 16#include <linux/highmem.h>
17#include <linux/slab.h>
17 18
18/* 19/*
19 * Allocating and freeing a pmd is trivial: the 1-entry pmd is 20 * Allocating and freeing a pmd is trivial: the 1-entry pmd is
diff --git a/arch/xtensa/include/asm/processor.h b/arch/xtensa/include/asm/processor.h
index 0ea4937c0b61..3acb26e8dead 100644
--- a/arch/xtensa/include/asm/processor.h
+++ b/arch/xtensa/include/asm/processor.h
@@ -12,7 +12,6 @@
12#define _XTENSA_PROCESSOR_H 12#define _XTENSA_PROCESSOR_H
13 13
14#include <variant/core.h> 14#include <variant/core.h>
15#include <asm/coprocessor.h>
16#include <platform/hardware.h> 15#include <platform/hardware.h>
17 16
18#include <linux/compiler.h> 17#include <linux/compiler.h>
diff --git a/arch/xtensa/include/asm/ptrace.h b/arch/xtensa/include/asm/ptrace.h
index 3c549f798727..0d42c934b66f 100644
--- a/arch/xtensa/include/asm/ptrace.h
+++ b/arch/xtensa/include/asm/ptrace.h
@@ -77,6 +77,8 @@
77 77
78#ifndef __ASSEMBLY__ 78#ifndef __ASSEMBLY__
79 79
80#include <asm/coprocessor.h>
81
80/* 82/*
81 * This struct defines the way the registers are stored on the 83 * This struct defines the way the registers are stored on the
82 * kernel stack during a system call or other kernel entry. 84 * kernel stack during a system call or other kernel entry.
diff --git a/arch/xtensa/kernel/Makefile b/arch/xtensa/kernel/Makefile
index 6f56d95f2c1e..2d2728b3e862 100644
--- a/arch/xtensa/kernel/Makefile
+++ b/arch/xtensa/kernel/Makefile
@@ -23,8 +23,8 @@ obj-$(CONFIG_MODULES) += xtensa_ksyms.o module.o
23# 23#
24# Replicate rules in scripts/Makefile.build 24# Replicate rules in scripts/Makefile.build
25 25
26sed-y = -e 's/(\(\.[a-z]*it\|\.ref\|\)\.text)/(\1.literal \1.text)/g' \ 26sed-y = -e 's/\*(\(\.[a-z]*it\|\.ref\|\)\.text)/*(\1.literal \1.text)/g' \
27 -e 's/(\(\.text\.[a-z]*\))/(\1.literal \1)/g' 27 -e 's/\*(\(\.text\.[a-z]*\))/*(\1.literal \1)/g'
28 28
29quiet_cmd__cpp_lds_S = LDS $@ 29quiet_cmd__cpp_lds_S = LDS $@
30 cmd__cpp_lds_S = $(CPP) $(cpp_flags) -P -C -Uxtensa -D__ASSEMBLY__ $< \ 30 cmd__cpp_lds_S = $(CPP) $(cpp_flags) -P -C -Uxtensa -D__ASSEMBLY__ $< \
diff --git a/arch/xtensa/kernel/asm-offsets.c b/arch/xtensa/kernel/asm-offsets.c
index 070ff8af3a21..7dc3f9157185 100644
--- a/arch/xtensa/kernel/asm-offsets.c
+++ b/arch/xtensa/kernel/asm-offsets.c
@@ -13,6 +13,7 @@
13 */ 13 */
14 14
15#include <asm/processor.h> 15#include <asm/processor.h>
16#include <asm/coprocessor.h>
16 17
17#include <linux/types.h> 18#include <linux/types.h>
18#include <linux/stddef.h> 19#include <linux/stddef.h>
diff --git a/arch/xtensa/kernel/entry.S b/arch/xtensa/kernel/entry.S
index 77fc9f6dc016..5fd01f6aaf37 100644
--- a/arch/xtensa/kernel/entry.S
+++ b/arch/xtensa/kernel/entry.S
@@ -16,6 +16,7 @@
16#include <linux/linkage.h> 16#include <linux/linkage.h>
17#include <asm/asm-offsets.h> 17#include <asm/asm-offsets.h>
18#include <asm/processor.h> 18#include <asm/processor.h>
19#include <asm/coprocessor.h>
19#include <asm/thread_info.h> 20#include <asm/thread_info.h>
20#include <asm/uaccess.h> 21#include <asm/uaccess.h>
21#include <asm/unistd.h> 22#include <asm/unistd.h>
diff --git a/arch/xtensa/kernel/head.S b/arch/xtensa/kernel/head.S
index d215adcfd4ea..3ef91a73652d 100644
--- a/arch/xtensa/kernel/head.S
+++ b/arch/xtensa/kernel/head.S
@@ -184,8 +184,8 @@ _startup:
184 * Now clear the BSS segment. 184 * Now clear the BSS segment.
185 */ 185 */
186 186
187 movi a2, _bss_start # start of BSS 187 movi a2, __bss_start # start of BSS
188 movi a3, _bss_end # end of BSS 188 movi a3, __bss_stop # end of BSS
189 189
190 __loopt a2, a3, a4, 2 190 __loopt a2, a3, a4, 2
191 s32i a0, a2, 0 191 s32i a0, a2, 0
diff --git a/arch/xtensa/platforms/iss/network.c b/arch/xtensa/platforms/iss/network.c
index 87e218f98ef4..f717e20d961b 100644
--- a/arch/xtensa/platforms/iss/network.c
+++ b/arch/xtensa/platforms/iss/network.c
@@ -623,6 +623,19 @@ static struct platform_driver iss_net_driver = {
623 623
624static int driver_registered; 624static int driver_registered;
625 625
626static const struct net_device_ops iss_netdev_ops = {
627 .ndo_open = iss_net_open,
628 .ndo_stop = iss_net_close,
629 .ndo_get_stats = iss_net_get_stats,
630 .ndo_start_xmit = iss_net_start_xmit,
631 .ndo_validate_addr = eth_validate_addr,
632 .ndo_change_mtu = iss_net_change_mtu,
633 .ndo_set_mac_address = iss_net_set_mac,
634 //.ndo_do_ioctl = iss_net_ioctl,
635 .ndo_tx_timeout = iss_net_tx_timeout,
636 .ndo_set_multicast_list = iss_net_set_multicast_list,
637};
638
626static int iss_net_configure(int index, char *init) 639static int iss_net_configure(int index, char *init)
627{ 640{
628 struct net_device *dev; 641 struct net_device *dev;
@@ -686,15 +699,8 @@ static int iss_net_configure(int index, char *init)
686 */ 699 */
687 snprintf(dev->name, sizeof dev->name, "eth%d", index); 700 snprintf(dev->name, sizeof dev->name, "eth%d", index);
688 701
702 dev->netdev_ops = &iss_netdev_ops;
689 dev->mtu = lp->mtu; 703 dev->mtu = lp->mtu;
690 dev->open = iss_net_open;
691 dev->hard_start_xmit = iss_net_start_xmit;
692 dev->stop = iss_net_close;
693 dev->get_stats = iss_net_get_stats;
694 dev->set_multicast_list = iss_net_set_multicast_list;
695 dev->tx_timeout = iss_net_tx_timeout;
696 dev->set_mac_address = iss_net_set_mac;
697 dev->change_mtu = iss_net_change_mtu;
698 dev->watchdog_timeo = (HZ >> 1); 704 dev->watchdog_timeo = (HZ >> 1);
699 dev->irq = -1; 705 dev->irq = -1;
700 706