public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Michael Schmitz <schmitzmic@gmail.com>
To: Eero Tamminen <oak@helsinkinet.fi>,
	linux-m68k <linux-m68k@lists.linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: [PATCH] m68k: fix TT bootup freeze / unexpected (SCU) interrupt messages
Date: Mon, 24 Jun 2024 11:37:55 +1200	[thread overview]
Message-ID: <e30354cb-934c-46e1-abc5-1b6c4ae4909a@gmail.com> (raw)
In-Reply-To: <20240623232503.9445-1-oak@helsinkinet.fi>

Hi Eero,

thanks for your patch!

On 24/06/24 11:25, Eero Tamminen wrote:
> Avoid freeze on Atari TT / MegaSTe boot with continues messages of:
> 	unexpected interrupt from 112
>
> Which was due to VBL interrupt being enabled in SCU sys mask, but
> there being no handler for that any more.
>
> Fixes: 1fa0b29f3a43f9dd

Fixes: 1fa0b29f3a43f9dd ("fbdev: Kill Atari vblank cursor blinking")

Your Signed-off-by needed as well. And you might want to add:

Link: 
https://lore.kernel.org/all/9aa793d7-82ed-4fbd-bce5-60810d8a9119@helsinkinet.fi

before the signed-off tag.

With that addressed:

Reviewed-by: Michael Schmitz <schmitzmic@gmail.com>

> Reported-By: Nicolas Pomarède and Christian Zietz
>
> (Bug and fix verified first on real Atari TT by Christian Zietz,
> this patch later on in Hatari emulator.)
> ---
>   arch/m68k/atari/ataints.c | 6 +-----
>   1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/arch/m68k/atari/ataints.c b/arch/m68k/atari/ataints.c
> index 230203ffb..fa189eeb7 100644
> --- a/arch/m68k/atari/ataints.c
> +++ b/arch/m68k/atari/ataints.c
> @@ -303,11 +303,7 @@ void __init atari_init_IRQ(void)
>   
>   	if (ATARIHW_PRESENT(SCU)) {
>   		/* init the SCU if present */
> -		tt_scu.sys_mask = 0x10;		/* enable VBL (for the cursor) and
> -									 * disable HSYNC interrupts (who
> -									 * needs them?)  MFP and SCC are
> -									 * enabled in VME mask
> -									 */
> +		tt_scu.sys_mask = 0x0;		/* disable all interrupts */
>   		tt_scu.vme_mask = 0x60;		/* enable MFP and SCC ints */
>   	} else {
>   		/* If no SCU and no Hades, the HSYNC interrupt needs to be

  reply	other threads:[~2024-06-23 23:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-23 23:25 [PATCH] m68k: fix TT bootup freeze / unexpected (SCU) interrupt messages Eero Tamminen
2024-06-23 23:37 ` Michael Schmitz [this message]
2024-06-24  7:15   ` Geert Uytterhoeven

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=e30354cb-934c-46e1-abc5-1b6c4ae4909a@gmail.com \
    --to=schmitzmic@gmail.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=oak@helsinkinet.fi \
    /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