[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    RE: sti() question
From:       "Daly, Jeffrey" <jeffrey.daly () intel ! com>
Date:       2004-06-11 10:48:05
Message-ID: 29AC424F54821A4FB5D7CBE081922E40B70D14 () hdsmsx403 ! hd ! intel ! com
[Download RAW message or body]

Hard to debug in the dark, here.

> -----Original Message-----
> From: A Matsui [mailto:matsui.akira@canon.co.jp]
> Sent: Friday, June 11, 2004 6:08 AM
> To: shwetac; Daly, Jeffrey; Javier ??varez
> Cc: linux-arm-kernel@lists.arm.linux.org.uk
> Subject: Re: sti() question
> 
> Thank you for you replys.
> 
> It's certan that the cause of the problem is IRQ setting from your
> answers. Certanly, I modified some points about IRQ. Especially, my
> platform doesn't support RTC, then I modified Timer0 setting to use
> sofware interrupt. I don't care anything about RTC.
> 
> I modified the following files to fit my hardware.
> 
> irq.h
> irqs.h
> time.h

That's nice, care to let us in on what you've done?  I don't know if reading this \
here knows what your platform is, but saying "I've got a problem with interrupts on \
my h/w and I made changes to file X and it doesn't work.  Can you comment?"  won't \
get you the help you need.

> 
> From only this information I think it is difficult to comment to the
> problem, but I would be happy to get anything information about it.
> 

You got that right.  I'm trying to get you to realize some things:

1. Asking for help without saying what you've done won't help you.
2. If you're developing a custom bit of h/w, we don't know how it's designed and so \
can't really help you with those types of problems unless you give us a good \
description of the h/w. 3. The non-platform specific pieces of the kernel work just \
fine, so look at your platform specific code for errors first.  Lot's of people have \
been using the ARM code, so thinking the problem might be there is just plain wrong.

I *really* want to help you figure out what your problem is.  Honestly, reading your \
posts are painful, but I've been sucked in and can't start ignoring them now even \
though I really want to.

> Thanks for your help.
> 
> shwetac wrote:
> > bic instruction that is used will clear the 7th bit
> > thus enablig interrupts on your system. I guess
> > the system must be freezing on getting some
> > interrupts.
> 
> Daly, Jeffrey wrote:
> > Are you sure?  Sounds to me like you've got an problem initializing
> > interrupts on your platform.  If you have an unhandled interrupt pending
> > when you unmask interrupts at the CPU (by calling sti()) then Bad Things
> > (tm) will happen.
> 
> Javier ?lvarez wrote:
> > Yes, for example I had a lot of problems a few months ago in the same
> point
> > due to the interrupts of my J-Tag...
> 
> Regards,
> Akira Matsui

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:       http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic