linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karl Hiramoto <karl@hiramoto.org>
To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Krzysztof Halasa <khc@pm.waw.pl>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>,
	"ath9k-devel@lists.ath9k.org" <ath9k-devel@lists.ath9k.org>,
	linux-arm-kernel <linux-arm-kernel@lists.arm.linux.org.uk>,
	linux-ide@vger.kernel.org
Subject: Re: PCI IRQ Pins
Date: Thu, 21 May 2009 17:07:34 +0200	[thread overview]
Message-ID: <4A156E36.6080806@hiramoto.org> (raw)
In-Reply-To: <4A156A21.2060108@hiramoto.org>

Karl Hiramoto wrote:
> Sergei Shtylyov wrote:
>   
>> Hello.
>>
>> Karl Hiramoto wrote:
>>
>>     
>>>> Krzysztof Halasa wrote:
>>>>         
>>>>> Russell King - ARM Linux <linux@arm.linux.org.uk> writes:
>>>>>           
>>>>>> Normally you get a backtrace when a "nobody cared" message is
>>>>>> issued -
>>>>>> this should tell you which driver is probably the cause.
>>>>>>             
>>>>> Right - or that the other device is the cause (stuck IRQ line). So,
>>>>> Karl, please just post the backtrace.
>>>>>           
>>>> Krzysztof, you mentioned clearing the IRQ in the platform code, is
>>>> there an example of this somewhere?
>>>>         
>>>> There is a Compact flash on hda connected the the HPT371N, looking
>>>> at the IDE code it looks like the drive my not be ready, or the
>>>> drive may raise the IRQ..
>>>>         
>>>> As soon as request_irq is called, the IRQ happens.
>>>>         
>>>> CCing linux-IDE now, as it may be an issue with this driver.
>>>>         
>>>> Backtrace below, sorry about some of the lines being wrapped.
>>>>         
>>> I think i see the problem:
>>>       
>>> In the platform code, i should save the frequency of 33 Mhz in the
>>> correct register.
>>>       
>> You mean the PCI frequency?
>>
>>     
>>>> hpt366: HPT371N chipset detected
>>>> hpt366 0000:00:01.0: IDE controller (0x1103:0x0007 rev 0x02)
>>>> PCI: enabling device 0000:00:01.0 (0140 -> 0141)
>>>> hpt366 0000:00:01.0: IDE port disabled
>>>> hpt366 0000:00:01.0: no clock data saved by BIOS
>>>> hpt366 0000:00:01.0: DPLL base: 77 MHz, f_CNT: 120, assuming 50 MHz PCI
>>>>         
>> Hum, interesting... is your PCI indeed running at a frequency close to
>> 50 MHz?
>>     
>
> No, it's being miscalculated by the hpt366 driver. I think it should be
> 33 Mhz. At least i have not yet seen this IRQ "nobody cared" message
> when i set it to 33Mhz in the hpt366 driver.
> Still doing more tests to see if it comes up again, but it's hard to
> reproduce.
>
>
>   
Sorry, think i misspoke,  after reading the IXP4xx dev manual it says 
66Mhz PCI version 2.2.



-- 

--
Karl Hiramoto  http://karl.hiramoto.org/



  reply	other threads:[~2009-05-21 15:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4A13EC76.3020206@hiramoto.org>
     [not found] ` <m3r5ykgd97.fsf@intrepid.localdomain>
     [not found]   ` <20090520205151.GC4095@n2100.arm.linux.org.uk>
     [not found]     ` <m3zld7cuxk.fsf@intrepid.localdomain>
2009-05-21  6:14       ` PCI IRQ Pins Karl Hiramoto
2009-05-21  8:06         ` Karl Hiramoto
2009-05-21 14:45           ` Sergei Shtylyov
2009-05-21 14:50             ` Karl Hiramoto
2009-05-21 15:07               ` Karl Hiramoto [this message]
2009-05-21 16:43                 ` Krzysztof Halasa
2009-05-21 19:12                   ` Karl Hiramoto
2009-05-21 16:44               ` Sergei Shtylyov
2009-05-21 11:04         ` Krzysztof Halasa
2009-05-21 16:19           ` Karl Hiramoto

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=4A156E36.6080806@hiramoto.org \
    --to=karl@hiramoto.org \
    --cc=ath9k-devel@lists.ath9k.org \
    --cc=khc@pm.waw.pl \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=sshtylyov@ru.mvista.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).