Skip to content

Commit 736676f

Browse files
committed
Merge tag 'asm-generic-alpha' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
Pull alpha updates from Arnd Bergmann: "I had investigated dropping support for alpha EV5 and earlier a while ago after noticing that this is the only supported CPU family in the kernel without native byte access and that Debian has already dropped support for this generation last year [1] in order to improve performance for the newer machines. This topic came up again when Paul McKenney noticed that parts of the RCU code already rely on byte access and do not work on alpha EV5 reliably, so we decided on using my series to avoid the problem entirely. Al Viro did another series for alpha to address all the known build issues. I rebased his patches without any further changes and included it as a baseline for my work here to avoid conflicts and allow backporting the fixes to stable kernels for the now removed hardware support as well" [ I dearly loved alpha back in the days, but the lack of byte and word operations was a horrible mistake and made everything worse - including very much the crazy IO contortions that resulted from it. It certainly wasn't the only mistake in the architecture, but it's the first-order issue. So while it's a bit sad to see the support for my first alpha go away, if you want to run museum hardware, maybe you should use museum kernels.. - Linus ] * tag 'asm-generic-alpha' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic: alpha: drop pre-EV56 support alpha: cabriolet: remove EV5 CPU support alpha: remove LCA and APECS based machines alpha: sable: remove early machine support alpha: remove DECpc AXP150 (Jensen) support alpha: trim the unused stuff from asm-offsets.c alpha: jensen, t2 - make __EXTERN_INLINE same as for the rest alpha: core_lca: take the unused functions out alpha: missing includes alpha: sys_sio: fix misspelled ifdefs alpha: don't make functions public without a reason alpha: add clone3() support alpha: fix modversions for strcpy() et.al. alpha: sort scr_mem{cpy,move}w() out
2 parents 6d1346f + a418417 commit 736676f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+166
-4541
lines changed

Documentation/driver-api/eisa.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ eisa_bus.disable_dev
196196
virtual_root.force_probe
197197
Force the probing code to probe EISA slots even when it cannot find an
198198
EISA compliant mainboard (nothing appears on slot 0). Defaults to 0
199-
(don't force), and set to 1 (force probing) when either
200-
CONFIG_ALPHA_JENSEN or CONFIG_EISA_VLB_PRIMING are set.
199+
(don't force), and set to 1 (force probing) when
200+
CONFIG_EISA_VLB_PRIMING is set.
201201

202202
Random notes
203203
============

arch/alpha/Kconfig

Lines changed: 9 additions & 166 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ config ALPHA
1010
select ARCH_NO_SG_CHAIN
1111
select ARCH_USE_CMPXCHG_LOCKREF
1212
select DMA_OPS if PCI
13-
select FORCE_PCI if !ALPHA_JENSEN
13+
select FORCE_PCI
1414
select PCI_DOMAINS if PCI
1515
select PCI_SYSCALL if PCI
1616
select HAVE_ASM_MODVERSIONS
@@ -90,22 +90,11 @@ choice
9090
<http://www.alphalinux.org/>. In summary:
9191

9292
Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
93-
Alpha-XL XL-233, XL-266
94-
AlphaBook1 Alpha laptop
95-
Avanti AS 200, AS 205, AS 250, AS 255, AS 300, AS 400
96-
Cabriolet AlphaPC64, AlphaPCI64
9793
DP264 DP264 / DS20 / ES40 / DS10 / DS10L
98-
EB164 EB164 21164 evaluation board
99-
EB64+ EB64+ 21064 evaluation board
100-
EB66 EB66 21066 evaluation board
101-
EB66+ EB66+ 21066 evaluation board
102-
Jensen DECpc 150, DEC 2000 models 300, 500
10394
LX164 AlphaPC164-LX
104-
Lynx AS 2100A
10595
Miata Personal Workstation 433/500/600 a/au
10696
Marvel AlphaServer ES47 / ES80 / GS1280
10797
Mikasa AS 1000
108-
Noname AXPpci33, UDB (Multia)
10998
Noritake AS 1000A, AS 600A, AS 800
11099
PC164 AlphaPC164
111100
Rawhide AS 1200, AS 4000, AS 4100
@@ -137,90 +126,25 @@ config ALPHA_ALCOR
137126
all the work required to support an external Bcache and to maintain
138127
memory coherence when a PCI device DMAs into (or out of) memory.
139128

140-
config ALPHA_XL
141-
bool "Alpha-XL"
142-
help
143-
XL-233 and XL-266-based Alpha systems.
144-
145-
config ALPHA_BOOK1
146-
bool "AlphaBook1"
147-
help
148-
Dec AlphaBook1/Burns Alpha-based laptops.
149-
150-
config ALPHA_AVANTI_CH
151-
bool "Avanti"
152-
153-
config ALPHA_CABRIOLET
154-
bool "Cabriolet"
155-
help
156-
Cabriolet AlphaPC64, AlphaPCI64 systems. Derived from EB64+ but now
157-
baby-AT with Flash boot ROM, no on-board SCSI or Ethernet. 3 ISA
158-
slots, 4 PCI slots (one pair are on a shared slot), uses plug-in
159-
Bcache SIMMs. Requires power supply with 3.3V output.
160-
161129
config ALPHA_DP264
162130
bool "DP264"
163131
help
164132
Various 21264 systems with the tsunami core logic chipset.
165133
API Networks: 264DP, UP2000(+), CS20;
166134
Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40.
167135

168-
config ALPHA_EB164
169-
bool "EB164"
170-
help
171-
EB164 21164 evaluation board from DEC. Uses 21164 and ALCOR. Has
172-
ISA and PCI expansion (3 ISA slots, 2 64-bit PCI slots (one is
173-
shared with an ISA slot) and 2 32-bit PCI slots. Uses plus-in
174-
Bcache SIMMs. I/O sub-system provides SuperI/O (2S, 1P, FD), KBD,
175-
MOUSE (PS2 style), RTC/NVRAM. Boot ROM is Flash. PC-AT-sized
176-
motherboard. Requires power supply with 3.3V output.
177-
178-
config ALPHA_EB64P_CH
179-
bool "EB64+"
180-
181-
config ALPHA_EB66
182-
bool "EB66"
183-
help
184-
A Digital DS group board. Uses 21066 or 21066A. I/O sub-system is
185-
identical to EB64+. Baby PC-AT size. Runs from standard PC power
186-
supply. The EB66 schematic was published as a marketing poster
187-
advertising the 21066 as "the first microprocessor in the world with
188-
embedded PCI".
189-
190-
config ALPHA_EB66P
191-
bool "EB66+"
192-
help
193-
Later variant of the EB66 board.
194-
195136
config ALPHA_EIGER
196137
bool "Eiger"
197138
help
198139
Apparently an obscure OEM single-board computer based on the
199140
Typhoon/Tsunami chipset family. Information on it is scanty.
200141

201-
config ALPHA_JENSEN
202-
bool "Jensen"
203-
select HAVE_EISA
204-
help
205-
DEC PC 150 AXP (aka Jensen): This is a very old Digital system - one
206-
of the first-generation Alpha systems. A number of these systems
207-
seem to be available on the second- hand market. The Jensen is a
208-
floor-standing tower system which originally used a 150MHz 21064 It
209-
used programmable logic to interface a 486 EISA I/O bridge to the
210-
CPU.
211-
212142
config ALPHA_LX164
213143
bool "LX164"
214144
help
215145
A technical overview of this board is available at
216146
<http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
217147

218-
config ALPHA_LYNX
219-
bool "Lynx"
220-
select HAVE_EISA
221-
help
222-
AlphaServer 2100A-based systems.
223-
224148
config ALPHA_MARVEL
225149
bool "Marvel"
226150
help
@@ -243,9 +167,6 @@ config ALPHA_NAUTILUS
243167
help
244168
Alpha systems based on the AMD 751 & ALI 1543C chipsets.
245169

246-
config ALPHA_NONAME_CH
247-
bool "Noname"
248-
249170
config ALPHA_NORITAKE
250171
bool "Noritake"
251172
select HAVE_EISA
@@ -256,9 +177,6 @@ config ALPHA_NORITAKE
256177
config ALPHA_PC164
257178
bool "PC164"
258179

259-
config ALPHA_P2K
260-
bool "Platform2000"
261-
262180
config ALPHA_RAWHIDE
263181
bool "Rawhide"
264182
select HAVE_EISA
@@ -322,84 +240,18 @@ config ISA_DMA_API
322240
bool
323241
default y
324242

325-
config ALPHA_NONAME
326-
bool
327-
depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
328-
default y
329-
help
330-
The AXPpci33 (aka NoName), is based on the EB66 (includes the Multia
331-
UDB). This design was produced by Digital's Technical OEM (TOEM)
332-
group. It uses the 21066 processor running at 166MHz or 233MHz. It
333-
is a baby-AT size, and runs from a standard PC power supply. It has
334-
5 ISA slots and 3 PCI slots (one pair are a shared slot). There are
335-
2 versions, with either PS/2 or large DIN connectors for the
336-
keyboard.
337-
338-
config ALPHA_EV4
339-
bool
340-
depends on ALPHA_JENSEN || (ALPHA_SABLE && !ALPHA_GAMMA) || ALPHA_LYNX || ALPHA_NORITAKE && !ALPHA_PRIMO || ALPHA_MIKASA && !ALPHA_PRIMO || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL || ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
341-
default y if !ALPHA_LYNX
342-
default y if !ALPHA_EV5
343-
344-
config ALPHA_LCA
345-
bool
346-
depends on ALPHA_NONAME || ALPHA_EB66 || ALPHA_EB66P || ALPHA_P2K
347-
default y
348-
349-
config ALPHA_APECS
350-
bool
351-
depends on !ALPHA_PRIMO && (ALPHA_NORITAKE || ALPHA_MIKASA) || ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P_CH || ALPHA_XL
352-
default y
353-
354-
config ALPHA_EB64P
355-
bool
356-
depends on ALPHA_CABRIOLET || ALPHA_EB64P_CH
357-
default y
358-
help
359-
Uses 21064 or 21064A and APECs. Has ISA and PCI expansion (3 ISA,
360-
2 PCI, one pair are on a shared slot). Supports 36-bit DRAM SIMs.
361-
ISA bus generated by Intel SaturnI/O PCI-ISA bridge. On-board SCSI
362-
(NCR 810 on PCI) Ethernet (Digital 21040), KBD, MOUSE (PS2 style),
363-
SuperI/O (2S, 1P, FD), RTC/NVRAM. Boot ROM is EPROM. PC-AT size.
364-
Runs from standard PC power supply.
365-
366-
config ALPHA_EV5
367-
bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_LYNX
368-
default y if ALPHA_RX164 || ALPHA_RAWHIDE || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_SABLE && ALPHA_GAMMA || ALPHA_NORITAKE && ALPHA_PRIMO || ALPHA_MIKASA && ALPHA_PRIMO || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR
369-
370243
config ALPHA_CIA
371244
bool
372-
depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_NORITAKE && ALPHA_PRIMO || ALPHA_MIKASA && ALPHA_PRIMO || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR
245+
depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_NORITAKE || ALPHA_MIKASA || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR
373246
default y
374247

375248
config ALPHA_EV56
376-
bool "EV56 CPU (speed >= 366MHz)?" if ALPHA_ALCOR
377-
default y if ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA
378-
379-
config ALPHA_EV56
380-
prompt "EV56 CPU (speed >= 333MHz)?"
381-
depends on ALPHA_NORITAKE || ALPHA_PRIMO
382-
383-
config ALPHA_EV56
384-
prompt "EV56 CPU (speed >= 400MHz)?"
385-
depends on ALPHA_RAWHIDE
386-
387-
config ALPHA_PRIMO
388-
bool "EV5 CPU daughtercard (model 5/xxx)?"
389-
depends on ALPHA_NORITAKE || ALPHA_MIKASA
390-
help
391-
Say Y if you have an AS 1000 5/xxx or an AS 1000A 5/xxx.
392-
393-
config ALPHA_GAMMA
394-
bool "EV5 CPU(s) (model 5/xxx)?" if ALPHA_SABLE
395-
depends on ALPHA_SABLE || ALPHA_LYNX
396-
default ALPHA_LYNX
397-
help
398-
Say Y if you have an AS 2000 5/xxx or an AS 2100 5/xxx.
249+
bool
250+
default y if ALPHA_ALCOR || ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_NORITAKE || ALPHA_MIKASA || ALPHA_RAWHIDE || ALPHA_SABLE
399251

400252
config ALPHA_T2
401253
bool
402-
depends on ALPHA_SABLE || ALPHA_LYNX
254+
depends on ALPHA_SABLE
403255
default y
404256

405257
config ALPHA_PYXIS
@@ -443,15 +295,6 @@ config GENERIC_HWEIGHT
443295
bool
444296
default y if !ALPHA_EV67
445297

446-
config ALPHA_AVANTI
447-
bool
448-
depends on ALPHA_XL || ALPHA_AVANTI_CH
449-
default y
450-
help
451-
Avanti AS 200, AS 205, AS 250, AS 255, AS 300, and AS 400-based
452-
Alphas. Info at
453-
<http://www.unix-ag.org/Linux-Alpha/Architectures/Avanti.html>.
454-
455298
config ALPHA_BROKEN_IRQ_MASK
456299
bool
457300
depends on ALPHA_GENERIC || ALPHA_PC164
@@ -481,9 +324,9 @@ config ALPHA_QEMU
481324

482325

483326
config ALPHA_SRM
484-
bool "Use SRM as bootloader" if ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS || ALPHA_NONAME
327+
bool "Use SRM as bootloader" if ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS
485328
depends on TTY
486-
default y if ALPHA_JENSEN || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
329+
default y if ALPHA_MIKASA || ALPHA_SABLE || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
487330
help
488331
There are two different types of booting firmware on Alphas: SRM,
489332
which is command line driven, and ARC, which uses menus and arrow
@@ -509,7 +352,7 @@ config ARCH_MAY_HAVE_PC_FDC
509352

510353
config SMP
511354
bool "Symmetric multi-processing support"
512-
depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
355+
depends on ALPHA_SABLE || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
513356
help
514357
This enables support for systems with more than one CPU. If you have
515358
a system with only one CPU, say N. If you have a system with more
@@ -545,7 +388,7 @@ config ARCH_SPARSEMEM_ENABLE
545388
config ALPHA_WTINT
546389
bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC
547390
default y if ALPHA_QEMU
548-
default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
391+
default n if ALPHA_EV56
549392
default n if !ALPHA_SRM && !ALPHA_GENERIC
550393
default y if SMP
551394
help

arch/alpha/Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,14 @@ CHECKFLAGS += -D__alpha__
1515
cflags-y := -pipe -mno-fp-regs -ffixed-8
1616
cflags-y += $(call cc-option, -fno-jump-tables)
1717

18-
cpuflags-$(CONFIG_ALPHA_EV4) := -mcpu=ev4
19-
cpuflags-$(CONFIG_ALPHA_EV5) := -mcpu=ev5
2018
cpuflags-$(CONFIG_ALPHA_EV56) := -mcpu=ev56
2119
cpuflags-$(CONFIG_ALPHA_POLARIS) := -mcpu=pca56
2220
cpuflags-$(CONFIG_ALPHA_SX164) := -mcpu=pca56
2321
cpuflags-$(CONFIG_ALPHA_EV6) := -mcpu=ev6
2422
cpuflags-$(CONFIG_ALPHA_EV67) := -mcpu=ev67
2523
# If GENERIC, make sure to turn off any instruction set extensions that
26-
# the host compiler might have on by default. Given that EV4 and EV5
27-
# have the same instruction set, prefer EV5 because an EV5 schedule is
28-
# more likely to keep an EV4 processor busy than vice-versa.
29-
cpuflags-$(CONFIG_ALPHA_GENERIC) := -mcpu=ev5
24+
# the host compiler might have on by default.
25+
cpuflags-$(CONFIG_ALPHA_GENERIC) := -mcpu=ev56 -mtune=ev6
3026

3127
cflags-y += $(cpuflags-y)
3228

0 commit comments

Comments
 (0)