From: Michael Schmitz <schmitzmic@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Paolo Pisati <p.pisati@gmail.com>,
linux-m68k <linux-m68k@lists.linux-m68k.org>
Subject: Re: Amiga, serial and SYSRQ
Date: Wed, 22 May 2024 09:11:16 +1200 [thread overview]
Message-ID: <514487d7-08be-43f7-b31d-d38818607766@gmail.com> (raw)
In-Reply-To: <CAMuHMdXAovcF8rhAeWjDVqQsnQPzMaBmNrQ+bQHe=35hcznTEA@mail.gmail.com>
Hi Geert,
On 21/05/24 19:07, Geert Uytterhoeven wrote:
>> The interrupt vector number will tell us what interrupt level is causing
>> the storm (if it's an autovector int).
> If it's _not_ an autovector int?
If it isn't an autovector interrupt, the vector address were generated
by the interrupting hardware, and its offset from the vector base
register won't tell us anything about the IPL.
>
> Anyway, unlike Atari, Amiga only uses autovector interrupts, and most
> expansion boards use IRQ_AMIGA_PORTS (IRQ_AUTO_2) (some can be jumpered
> for IRQ_AMIGA_EXTER (IRQ_AUTO_6). As lots of other components use
> IRQ_AUTO_2, these are all shared interrupts. Hence handle_badint()
> is never called, the "bad" interrupt is never disabled by the irq core
> code, and you end up with an eternal interrupt storm.
Makes perfect sense now. And Paolo's report on successful boot with
IRQ_AUTO_2 never getting enabled confirms this.
Shame the generic IRQ handlers do not return information about whether
an interrupt could be handled ...
Cheers,
Michael
>
>>> that didn't change a bit. I understand it requires a new fw from the board
>>> manufacturer or a quirk in the bootloader, but i would like to get something more
>>> verbose before i ping them.
>> Interrupt level and vector number would help the manufacturer to give us
>> the information required to disable the problematic interrupt source.
> IRQ_AMIGA_PORTS :-)
>
> I guess the system would boot if you hack arch/m68k/amiga/amiints.c
> to never enable IRQ_AMIGA_PORTS in amiga_custom.intena, but then you
> would also lose the ability to use e.g. the builtin A1200 IDE.
>
> BTW, code to reset/silence the hardware components on Warp 1260
> could not only be added to Amiboot, but also to e.g.
> arch/m68k/amiga/config.c:amiga_parse_bootinfo().
> Reverse-engineering the AmigaOS interrupt handlers for the board may
> also help.
>
> Gr{oetje,eeting}s,
>
> Geert
>
prev parent reply other threads:[~2024-05-21 21:11 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-18 18:17 Amiga, serial and SYSRQ Paolo Pisati
2024-05-19 7:36 ` Michael Schmitz
2024-05-19 9:17 ` Geert Uytterhoeven
2024-05-19 19:22 ` Michael Schmitz
2024-05-19 20:09 ` Geert Uytterhoeven
2024-05-20 21:03 ` Michael Schmitz
2024-05-19 13:24 ` Paolo Pisati
2024-05-19 13:31 ` Geert Uytterhoeven
2024-05-19 13:54 ` Paolo Pisati
2024-05-19 19:12 ` Michael Schmitz
2024-05-20 17:08 ` Paolo Pisati
2024-05-19 14:58 ` Geert Uytterhoeven
2024-05-20 17:17 ` Paolo Pisati
2024-05-20 21:01 ` Michael Schmitz
2024-05-20 21:15 ` Andreas Schwab
2024-05-20 22:01 ` Michael Schmitz
2024-05-21 7:07 ` Geert Uytterhoeven
2024-05-21 17:56 ` Paolo Pisati
2024-05-21 21:11 ` Michael Schmitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=514487d7-08be-43f7-b31d-d38818607766@gmail.com \
--to=schmitzmic@gmail.com \
--cc=geert@linux-m68k.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=p.pisati@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).