* axp update for 2.3.15
@ 1999-08-31 5:35 Richard Henderson
1999-08-31 10:39 ` Mitchell Blank Jr
1999-09-03 15:35 ` Peter Rival
0 siblings, 2 replies; 4+ messages in thread
From: Richard Henderson @ 1999-08-31 5:35 UTC (permalink / raw)
To: torvalds, axp-list; +Cc: zabulon
What fun!
This has been successfully tested on pyxis (sx164), cia (pc164),
and tsunami (ds20). As of last night it nearly, but didn't quite,
work on mcpcia (as4100). More work to do there, but this patch
has gotten quite large enough.
I don't have direct access to anything else, so testers go to it.
I'm particularly interested in results from XL and AlphaBook1,
as those got tweeked heavier than most.
Due to the size of the patch, I've put it up at
ftp://ftp.twiddle.net/pub/rth/d-2315-rth3.gz
There are several points of interest besides the bare fact of
the pci subsystem rewrite:
* The generic PCI probing is tweeked to allow the port to
always assign bus numbers. Tweeked to add the additional
top-level PCI busses in order, so as not to affect probe
order.
* __delay is out of line, hoping to cure whatever weird
inconsistency thing Gerard was seeing on the ncr's.
* CONFIG_ALPHA_SRM_SETUP is gone. We're about to start playing
with scatter-gather I/O, which will preclude that sort of thing.
* PYXIS now always uses byte/word insns for I/O. The one
holdout so far had been RUFFIAN; If you have one and have
problems with things wigging out extremely early, consider
upgrading AlphaBIOS so that bw i/o gets turned on.
* CIA and MCPCIA force all devices within the span of HAE=0.
For CIA this is merely a performance improvement (and we
have 512MB to work with, which seems more than enough for
machines with 5 or fewer pci slots).
For MCPCIA this is a deadly earnest requirement -- we have
SMP races on I/O if we must manipulate the HAE, and one HAE
per pci bus (and we never did handle the secondary bus' HAE
values properly). It would be possible to solve the SMP
race issue if it weren't for the fact that userland
processes (i.e. X) also manipulate the HAE. We have a 128MB
span per pci bus to work with, so most folks won't notice.
But if you've got lots of video capture cards or something
else that eats lots of space, you may have to shift the
cards between the busses to balance the load.
The only SMP machine left (that we support) using an HAE is
the T2 (Sable). There probably aren't that many running around,
but if you've got one, I'd suggest you not use X. (I should
probably get a spinlock in there so that at least the kernel
is reliable...)
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: axp update for 2.3.15
1999-08-31 5:35 axp update for 2.3.15 Richard Henderson
@ 1999-08-31 10:39 ` Mitchell Blank Jr
1999-08-31 13:22 ` Ivan Kokshaysky
1999-09-03 15:35 ` Peter Rival
1 sibling, 1 reply; 4+ messages in thread
From: Mitchell Blank Jr @ 1999-08-31 10:39 UTC (permalink / raw)
To: axp-list; +Cc: zabulon
Richard Henderson wrote:
> This has been successfully tested on pyxis (sx164), cia (pc164),
> and tsunami (ds20). As of last night it nearly, but didn't quite,
> work on mcpcia (as4100). More work to do there, but this patch
> has gotten quite large enough.
There's a minor typo in the pyxis support:
--- include/asm-alpha/core_pyxis.h.OLD Sat Aug 31 01:40:17 2019
+++ include/asm-alpha/core_pyxis.h Sat Aug 31 01:40:37 2019
@@ -443,7 +443,7 @@
#define __raw_readb(addr) __readb((addr))
#define __raw_readw(addr) __readw((addr))
#define __raw_writeb(b, addr) __writeb((b),(addr))
-#define __raw_writeb(b, addr) __writew((b),(addr))
+#define __raw_writew(b, addr) __writew((b),(addr))
#define __raw_readl(a) __readl((unsigned long)(a))
#define __raw_readq(a) __readq((unsigned long)(a))
#define __raw_writel(v,a) __writel((v),(unsigned long)(a))
With that fixed it compiles clean and seems to work on my SX164.
-Mitch
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: axp update for 2.3.15
1999-08-31 10:39 ` Mitchell Blank Jr
@ 1999-08-31 13:22 ` Ivan Kokshaysky
0 siblings, 0 replies; 4+ messages in thread
From: Ivan Kokshaysky @ 1999-08-31 13:22 UTC (permalink / raw)
To: axp-list
On Tue, Aug 31, 1999 at 03:39:01AM -0700, Mitchell Blank Jr wrote:
> There's a minor typo in the pyxis support:
>
> --- include/asm-alpha/core_pyxis.h.OLD Sat Aug 31 01:40:17 2019
> +++ include/asm-alpha/core_pyxis.h Sat Aug 31 01:40:37 2019
> @@ -443,7 +443,7 @@
> #define __raw_readb(addr) __readb((addr))
> #define __raw_readw(addr) __readw((addr))
> #define __raw_writeb(b, addr) __writeb((b),(addr))
> -#define __raw_writeb(b, addr) __writew((b),(addr))
> +#define __raw_writew(b, addr) __writew((b),(addr))
And the same typo in core_polaris.h.
BTW, does somebody know anything about RX164 future?
Ivan.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: axp update for 2.3.15
1999-08-31 5:35 axp update for 2.3.15 Richard Henderson
1999-08-31 10:39 ` Mitchell Blank Jr
@ 1999-09-03 15:35 ` Peter Rival
1 sibling, 0 replies; 4+ messages in thread
From: Peter Rival @ 1999-09-03 15:35 UTC (permalink / raw)
To: axp-list; +Cc: torvalds, zabulon
[-- Attachment #1: Type: text/plain, Size: 6809 bytes --]
(To quote) I'm Baaack! ;)
Doesn't like life on my miata. First of all, it appears that the qlogic
ISP driver is still utterly broken (I fixed it in a caffeine-induced
haze once, but can't remember what I had to do...*sigh*). But better
than that, I get this oops:
.....
scsi: 0 hosts.
scsi: detected total.
Unable to handle kernel paging request at virtual address
000000000000010
swapper(1): Oops 0
pc = [<fffffc0000316148>] ra = [<fffffc000031a220>] ps =
0007
r0 = 0000000000000007 r1 = 0000000000000660 r2 =
0000000000000000
r3 = 0000000000000180 r4 = 0000000000000660 r5 =
0000000000000000
r6 = fffffc00004942a0 r7 = fffffc00004c4818 r8 =
fffffc0007ff8000
r9 = 0000000000000000 r10= fffffc0007ffbbe8 r11=
0000000000008000
r12= fffffc00004942a0 r13= fffffc00004a272c r14=
fffffc00004c4818
r15= 0000000000008000
r16= fffffc0000450d14 r17= fffffc0000451688 r18=
fffffc0007ffbbe8
r19= fffffc00004285ec r20= 0000000000000000 r21=
0000000000000020
r22= 0000000000000000 r23= fffffc000039dae0 r24=
fffffc000039d820
r25= fffffc0000404e60 r27= fffffc0000316100 r28=
fffffc000040bc18
gp = fffffc000049eef0 sp = fffffc0007ffbba8
Code: c3e000b4 a61db830 a66a00c0 <a6890010> 44210412 a77d9ce8 6b5b7072
27ba0019 23bd8d98
Trace: [<fffffc000031a220>] [<fffffc0000316058>] [<fffffc0000310c38>]
[<fffffc000039dae0>] [<fffffc000039d820>] [<fffffc0000404e60>]
[<fffffc00004285d8>] [<fffffc000031a100>] [<fffffc000040bc18>]
[<fffffc00004285ec>] [<fffffc0000429ea8>] [<fffffc00003101e0>]
[<fffffc00003101e0>] [<fffffc00003101f8>] [<fffffc0000310790>]
[<fffffc00003101e0>] [<fffffc0000310764>] [<fffffc0000310738>]
[<fffffc000042a708>] [<fffffc0000310764>]
And run through ksymoops (it's been so long since I've had to use this,
I can't even remember if I did it right ... a good thing, I'd guess ;) I
get the following:
[frival@av8r ksymoops-0.7c]$ ./ksymoops -v /usr/src/linux/vmlinux -K -m
/usr/src/linux/System.map < oops
ksymoops 0.7c on alpha 2.3.10. Options used
-v /usr/src/linux/vmlinux (specified)
-K (specified)
-l /proc/modules (default)
-o /lib/modules/2.3.10/ (default)
-m /usr/src/linux/System.map (specified)
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
Unable to handle kernel paging request at virtual address
000000000000010
swapper(1): Oops 0
pc = [<fffffc0000316148>] ra = [<fffffc000031a220>] ps = 0007
Using defaults from ksymoops -t elf64-alpha -a alpha
r0 = 0000000000000007 r1 = 0000000000000660 r2 =
0000000000000000
r3 = 0000000000000180 r4 = 0000000000000660 r5 =
0000000000000000
r6 = fffffc00004942a0 r7 = fffffc00004c4818 r8 =
fffffc0007ff8000
r9 = 0000000000000000 r10= fffffc0007ffbbe8 r11=
0000000000008000
r12= fffffc00004942a0 r13= fffffc00004a272c r14=
fffffc00004c4818
r15= 0000000000008000
r16= fffffc0000450d14 r17= fffffc0000451688 r18=
fffffc0007ffbbe8
r19= fffffc00004285ec r20= 0000000000000000 r21=
0000000000000020
r22= 0000000000000000 r23= fffffc000039dae0 r24=
fffffc000039d820
r25= fffffc0000404e60 r27= fffffc0000316100 r28=
fffffc000040bc18
gp = fffffc000049eef0 sp = fffffc0007ffbba8
Code: c3e000b4 a61db830 a66a00c0 <a6890010> 44210412 a77d9ce8 6b5b7072
27ba0019 23bd8d98
>>PC; fffffc0000316148 <process_mcheck_info+48/340> <=====
Code; fffffc000031613c <process_mcheck_info+3c/340>
0000000000000000 <_PC>:
Code; fffffc000031613c <process_mcheck_info+3c/340>
0: b4 00 e0 c3 br 2d4 <_PC+0x2d4> fffffc0000316410
<process_mcheck_info+310/340>
Code; fffffc0000316140 <process_mcheck_info+40/340>
4: 30 b8 1d a6 ldq a0,-18384(gp)
Code; fffffc0000316144 <process_mcheck_info+44/340>
8: c0 00 6a a6 ldq a3,192(s1)
Code; fffffc0000316148 <process_mcheck_info+48/340> <=====
c: 10 00 89 a6 ldq a4,16(s0) <=====
Code; fffffc000031614c <process_mcheck_info+4c/340>
10: 12 04 21 44 mov t0,a2
Code; fffffc0000316150 <process_mcheck_info+50/340>
14: e8 9c 7d a7 ldq t12,-25368(gp)
Code; fffffc0000316154 <process_mcheck_info+54/340>
18: 72 70 5b 6b jsr ra,(t12),ffffffffffffc1e4
<_PC+0xffffffffffffc1e4> fffffc0000312320 <show_regs+120/140>
Code; fffffc0000316158 <process_mcheck_info+58/340>
1c: 19 00 ba 27 ldah gp,25(ra)
Code; fffffc000031615c <process_mcheck_info+5c/340>
20: 98 8d bd 23 lda gp,-29288(gp)
Trace: [<fffffc000031a220>] [<fffffc0000316058>] [<fffffc0000310c38>]
[<fffffc000039dae0>] [<fffffc000039d820>] [<fffffc0000404e60>]
[<fffffc00004285d8>] [<fffffc000031a100>] [<fffffc000040bc18>]
[<fffffc00004285ec>] [<fffffc0000429ea8>] [<fffffc00003101e0>]
[<fffffc00003101e0>] [<fffffc00003101f8>] [<fffffc0000310790>]
[<fffffc00003101e0>] [<fffffc0000310764>] [<fffffc0000310738>]
[<fffffc000042a708>] [<fffffc0000310764>]
Warning (Oops_read): Code line not seen, dumping what data is available
Trace; fffffc000031a220 <pyxis_machine_check+60/80>
Trace; fffffc0000316058 <do_entInt+78/120>
Trace; fffffc0000310c38 <ret_from_sys_call+0/1c>
Trace; fffffc000039dae0 <eth_header_cache_update+0/40>
Trace; fffffc000039d820 <eth_rebuild_header+0/a0>
Trace; fffffc0000404e60 <loopback_open+0/20>
Trace; fffffc00004285d8 <pci_write_config_byte+38/60>
Trace; fffffc000031a100 <pyxis_write_config_byte+0/40>
Trace; fffffc000040bc18 <sendto_srom+38/40>
Trace; fffffc00004285ec <pci_write_config_byte+4c/60>
Trace; fffffc0000429ea8 <pcibios_write_config_byte+48/80>
Trace; fffffc00003101e0 <init+0/1e0>
Trace; fffffc00003101e0 <init+0/1e0>
Trace; fffffc00003101f8 <init+18/1e0>
Trace; fffffc0000310790 <kernel_thread+58/70>
Trace; fffffc00003101e0 <init+0/1e0>
Trace; fffffc0000310764 <kernel_thread+2c/70>
Trace; fffffc0000310738 <kernel_thread+0/70>
Trace; fffffc000042a708 <vgacon_cursor+188/2e0>
Trace; fffffc0000310764 <kernel_thread+2c/70>
1 warning issued. Results may not be reliable.
[frival@av8r ksymoops-0.7c]$
Please tell me that having my head burried in Tru64 internals/debugging
for the better part of the week lead me to do something stupid. I can
take it - really. ;)
Barring that, it's off to my mikasa next, and if I have time, to an
AS255. Should be a good cross-section I'd hope.
- Pete
P.S. Have any status on mcpcia? I've now been offered access to two or
three to do performance work <grin>
Richard Henderson wrote:
> What fun!
>
> This has been successfully tested on pyxis (sx164), cia (pc164),
> and tsunami (ds20). As of last night it nearly, but didn't quite,
> work on mcpcia (as4100). More work to do there, but this patch
> has gotten quite large enough.
<snip>
[-- Attachment #2: Type: text/html, Size: 10619 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-09-03 15:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-31 5:35 axp update for 2.3.15 Richard Henderson
1999-08-31 10:39 ` Mitchell Blank Jr
1999-08-31 13:22 ` Ivan Kokshaysky
1999-09-03 15:35 ` Peter Rival
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox