All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Reis <matthias.reis@physik.tu-berlin.de>
To: linux-m68k@vger.kernel.org
Subject: Autovector exceptions on Atari ST
Date: Sun, 7 Aug 2011 22:57:39 +0200	[thread overview]
Message-ID: <20110807205739.GA4527@matze-K8NF4G-SATA2> (raw)
In-Reply-To: <9cfdc3da684fa1f7960cd286766f5832.squirrel@www.physik.tu-berlin.de>

Hi all,

I wanted to tell you that my Atari ST kernel now boots up until calibrate_delay loop, which hangs in an infinite loop ... I have read that this indicates normally that the timer interrupt is not working. I therefore checked if atari_sched_init is called and found that it is invoked by time_init which is ok. However, the interrupt handler timer_interrupt is never called subsequently (I can check that by setting a corresponding breakpoint in the emulator). This means probably that MFP autovector exceptions (the timer interrupt is handled by the MFP chip) are not registered properly.

I have applied most of the patches from Geert's uamiga-untested branch, especially the one regarding the 68000 autovectors (http://git.kernel.org/?p=linux/kernel/git/geert/linux-m68k.git;a=commit;h=21e03a7a7c60b2646bd7edd740cc964091bf8ca0). Comparing the amiga_init_IRQ and the atari_init_IRQ functions, I can see that the Amiga code registers the autovectors with request_irq. Do I need to do something similar in atari_init_IRQ and write a special handler for the MFP autovector (I think it is level 6)? If yes, how would such a handler look like?

Thanks in advance for your help :)

Best regards,
Matthias

  reply	other threads:[~2011-08-07 20:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02 19:25 Support for MMU-less Atari ST Matthias Reis
2011-06-03  7:04 ` Greg Ungerer
2011-06-03  7:43   ` Geert Uytterhoeven
2011-06-04  9:14     ` Geert Uytterhoeven
2011-06-04 12:23       ` Matthias Reis
2011-08-07 20:57         ` Matthias Reis [this message]
2011-08-07 21:09           ` Autovector exceptions on " Geert Uytterhoeven
2011-08-23 18:22             ` Geert Uytterhoeven
2011-08-24 19:47               ` Matthias Reis
2011-08-25  1:51                 ` Joshua Juran
2011-08-25  8:13                   ` Geert Uytterhoeven
2011-08-25 11:38                     ` Greg Ungerer
2011-06-03 10:54   ` Support for MMU-less " Finn Thain

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=20110807205739.GA4527@matze-K8NF4G-SATA2 \
    --to=matthias.reis@physik.tu-berlin.de \
    --cc=linux-m68k@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.