From: Roderick Colenbrander <thunderbird2k@gmail.com>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH v5 0/4] Series short description
Date: Tue, 26 May 2009 14:41:10 +0200 [thread overview]
Message-ID: <c8485d470905260541t65e35d86l8c676a2b016c0ff8@mail.gmail.com> (raw)
In-Reply-To: <c8485d470905251347m4e3b7022u4f0324dfc154cfb2@mail.gmail.com>
On Mon, May 25, 2009 at 10:47 PM, Roderick Colenbrander
<thunderbird2k@gmail.com> wrote:
> On Mon, May 25, 2009 at 4:41 PM, Grant Likely <grant.likely@secretlab.ca>=
wrote:
>> Repost of ml510 series. =A0This time against 2.6.30-rc7 and with the .dt=
s
>> file included.
>>
>> g.
>>
>> --
>> Grant Likely, B.Sc. P.Eng.
>> Secret Lab Technologies Ltd.
>>
>
> Thanks, I will check it out tomorrow.
>
> Roderick
>
Hi,
I have tested the ml510 patches. The code works properly but I had to
make a few slight changes to get it functioning. The most important
change was in xilinx_intc driver. For level interrupts the ack command
was removed during the xilinx_intc rewrite which caused a null pointer
derefence in the i8259 cascade code. I have now changed it to:
/* Let xilinx_intc end the interrupt */
desc->chip->mask(irq);
desc->chip->unmask(irq);
This seems to work properly. Further the driver now also has proper
level support, so i think my dts file has some errors. The pci
interrupts (a/b/c/d) are all active low, so they need to be changed to
'3' for the sense level. Further the i8259 is active high which needs
to be set to 2 instead of 3.
Further I have tested the need for the outb to 0x4d0/0x4d1. Removing
those lines causes interrupt timeouts and ide won't function.
Freescale does the same in arch/powerpc/platforms/fsl_uli1575.c (which
is a much newer version of this chipset) in quirk_final_uli1575 but
they are doing it for some more interrupts. I think this code should
be done using a similar quirk in virtex_ml510.c
Roderick
next prev parent reply other threads:[~2009-05-26 12:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-25 14:41 [PATCH v5 0/4] Series short description Grant Likely
2009-05-25 14:41 ` [PATCH v5 1/4] powerpc/virtex: Add support for Xilinx PCI host bridge Grant Likely
2009-05-25 14:41 ` [PATCH v5 2/4] powerpc/virtex: refactor intc driver and add support for i8259 cascading Grant Likely
2009-05-25 14:41 ` [PATCH v5 3/4] powerpc/virtex: Add Xilinx ML510 reference design support Grant Likely
2009-05-25 14:41 ` [PATCH v5 4/4] powerpc/virtex: Add ml510 reference design device tree Grant Likely
2009-05-25 20:47 ` [PATCH v5 0/4] Series short description Roderick Colenbrander
2009-05-26 12:41 ` Roderick Colenbrander [this message]
2009-05-26 12:50 ` Roderick Colenbrander
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=c8485d470905260541t65e35d86l8c676a2b016c0ff8@mail.gmail.com \
--to=thunderbird2k@gmail.com \
--cc=grant.likely@secretlab.ca \
--cc=linuxppc-dev@ozlabs.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 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).