Russell King - ARM Linux | 1 Jun 2004 09:48
Picon

Re: init_FIQ

On Tue, Jun 01, 2004 at 02:18:39PM +0900, A Matsui wrote:
> After I've kept the kernels own definition like the above, I tried but
> the result was not change. I'm reading data sheet of the CPU but I'm not
> sure that the CPU supports High Vector or not.
> 
> Can I use Low vector with 720T in this kernels? If possible I would like
> to know what part of the kernel should be modified (ex. entry-common.S).

The 720T supports high vectors.  If it didn't the kernel wouldn't run at
all.

-------------------------------------------------------------------
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

A Matsui | 1 Jun 2004 10:47
Picon
Picon

Re: init_FIQ

Thank you for comment.

> > Can I use Low vector with 720T in this kernels? If possible I would like
> > to know what part of the kernel should be modified (ex. entry-common.S).
> 
> The 720T supports high vectors.  If it didn't the kernel wouldn't run at
> all.

I see. I'm confirming the maker whether this CPU supports High vector or
not. When I get the reply I'll post to the mailing lists.

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

Javier Álvarez | 1 Jun 2004 11:04
Picon

Re: init_FIQ

I don´t think you need to confirm this... Believe me. If Mr. King tell you
this, then it is true...

----- Original Message -----
From: "A Matsui" <matsui.akira <at> canon.co.jp>
To: <linux-arm-kernel <at> lists.arm.linux.org.uk>
Cc: "Philip Blundell" <pb <at> nexus.co.uk>
Sent: Tuesday, June 01, 2004 10:47 AM
Subject: Re: init_FIQ

> Thank you for comment.
>
> > > Can I use Low vector with 720T in this kernels? If possible I would
like
> > > to know what part of the kernel should be modified (ex.
entry-common.S).
> >
> > The 720T supports high vectors.  If it didn't the kernel wouldn't run at
> > all.
>
> I see. I'm confirming the maker whether this CPU supports High vector or
> not. When I get the reply I'll post to the mailing lists.
>
> 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
(Continue reading)

A Matsui | 1 Jun 2004 11:15
Picon
Picon

Re: init_FIQ

I believe you and Mr. king said. 720T support high vector but, is not
there the case that the CPU dose not support high vector? 

> I don´t think you need to confirm this... Believe me. If Mr. King tell you
> this, then it is true...

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

A Matsui | 3 Jun 2004 02:28
Picon
Picon

Re: init_FIQ

Hello,

I got the reply that the CPU supports high vector as Mr. King and
Mr. Plvarez(I'm not sure the spelling. Sorry for the wrong spelling.)
said. But the CPU allocates original registers from 0xFFFF0000, then
some settings should be done before using high vector.

1. Set 1 to V bit(bit 13) of the CP15. (I think this has been done
   already.)

2. Allocate the logical address area from 0xFFFF0000-0xFFFF0FFF to
   physical address where the vector tabel is assined to using MMU.

3. Set to VIC(Vector Interrupt Controller) where is allocated to
   0xFFFFF000(VICbase).

Now I'm thinking which is better using high vector setting like the
above or using low vector setting to CP15=0 if the kernel work. I don't
know that the kernel run in this case. Can I have a coment?

And I couldn't find the point where the V bit of the CP15 is set to 1 in
the kernel source code. Would you show me the point?

Further I should research how to do above 2.

Regards,
Akira Matsui

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
(Continue reading)

Russell King - ARM Linux | 3 Jun 2004 09:30
Picon

Re: init_FIQ

On Thu, Jun 03, 2004 at 09:28:55AM +0900, A Matsui wrote:
> I got the reply that the CPU supports high vector as Mr. King and
> Mr. Plvarez(I'm not sure the spelling. Sorry for the wrong spelling.)
> said. But the CPU allocates original registers from 0xFFFF0000, then
> some settings should be done before using high vector.
> 
> 1. Set 1 to V bit(bit 13) of the CP15. (I think this has been done
>    already.)
> 
> 2. Allocate the logical address area from 0xFFFF0000-0xFFFF0FFF to
>    physical address where the vector tabel is assined to using MMU.
> 
> 3. Set to VIC(Vector Interrupt Controller) where is allocated to
>    0xFFFFF000(VICbase).

I _really_ do not understand what your problem is.  The kernel supports
high vectors and they *WORK*.  We do all the correct setup in the right
order across all CPUs that support it.

As I've already said, if you're seeing crashes while _READING_ a memory
location which should exist, then that is _NOT_ a high vector problem.
The possibility is that you either overwrote the mapping for 0xffff0000,
or have disabled access to that memory in some way.

Unfortunately, without seeing the modifications you've done to the kernel
there's no way for anyone here to diagnose your problem.  However, since
you're working on open source, there's nothing to prevent you from posting
a patch showing all your modifications to date.

So please get off the high vector whinge train and start thinking about
(Continue reading)

A Matsui | 3 Jun 2004 13:31
Picon
Picon

Re: init_FIQ

> I _really_ do not understand what your problem is.  The kernel supports
> high vectors and they *WORK*.  We do all the correct setup in the right
> order across all CPUs that support it.

Yes, I understood high vectors work in the kernel. And I'm getting to
understand what the problem is.

> As I've already said, if you're seeing crashes while _READING_ a memory
> location which should exist, then that is _NOT_ a high vector problem.
> The possibility is that you either overwrote the mapping for 0xffff0000,
> or have disabled access to that memory in some way.

I'll confirm IRQ vectors setting from the begining.

> Unfortunately, without seeing the modifications you've done to the kernel
> there's no way for anyone here to diagnose your problem.  However, since
> you're working on open source, there's nothing to prevent you from posting
> a patch showing all your modifications to date.

I'll try to modify irq vectors setting from the beginning, after that
I'll post to the mailing lists.

> So please get off the high vector whinge train and start thinking about
> what's going on.  Otherwise I'm just going to ignore your future postings
> on this subject.

Yes, I'll start thinking about settings of vectors table and MMU. Is
that correct way? Thank you for your comments.

Regards,
(Continue reading)

Tony Lindgren | 1 Jun 2004 19:18
Gravatar

Re: init_FIQ

* A Matsui <matsui.akira <at> canon.co.jp> [040601 02:17]:
> I believe you and Mr. king said. 720T support high vector but, is not
> there the case that the CPU dose not support high vector? 
> 
> > I don?$B!-t think you need to confirm this... Believe me. If Mr. King tell you
> > this, then it is true...

Just FYI, I could not get the high vector to work on NEC ARM710T used in 
Psions. The symptoms are that it won't run at all like Mr. King mentioned
earlier in the thread. Other than that 710T and 720T seem to be the same.

So if you have 720T and it boots, it uses high vector. If it's 710T, it
will use low vector base. But the chances of having a 710T are slim,
I don't think it's manufactured any longer.

Regards,

Tony

-------------------------------------------------------------------
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

Russell King - ARM Linux | 1 Jun 2004 19:29
Picon

Re: init_FIQ

On Tue, Jun 01, 2004 at 10:18:07AM -0700, Tony Lindgren wrote:
> * A Matsui <matsui.akira <at> canon.co.jp> [040601 02:17]:
> > I believe you and Mr. king said. 720T support high vector but, is not
> > there the case that the CPU dose not support high vector? 
> > 
> > > I don?$B!-t think you need to confirm this... Believe me. If Mr. King tell you
> > > this, then it is true...
> 
> Just FYI, I could not get the high vector to work on NEC ARM710T used in 
> Psions. The symptoms are that it won't run at all like Mr. King mentioned
> earlier in the thread. Other than that 710T and 720T seem to be the same.

ARM710T is a rather confusing name - the ARM710 I know and have here
is an ARM architecture version 3 device which predates the StrongARM
and does not have high vector support (ARMv3 doesn't have that
supported.)

Also, I thought Psions were CLPS711x-based devices, which are based on
the ARM710A core (which is ARMv3)

-------------------------------------------------------------------
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

Tony Lindgren | 1 Jun 2004 19:46
Gravatar

Re: init_FIQ

* Russell King - ARM Linux <linux <at> arm.linux.org.uk> [040601 10:29]:
> On Tue, Jun 01, 2004 at 10:18:07AM -0700, Tony Lindgren wrote:
> > * A Matsui <matsui.akira <at> canon.co.jp> [040601 02:17]:
> > > I believe you and Mr. king said. 720T support high vector but, is not
> > > there the case that the CPU dose not support high vector? 
> > > 
> > > > I don?$B!-t think you need to confirm this... Believe me. If Mr. King tell you
> > > > this, then it is true...
> > 
> > Just FYI, I could not get the high vector to work on NEC ARM710T used in 
> > Psions. The symptoms are that it won't run at all like Mr. King mentioned
> > earlier in the thread. Other than that 710T and 720T seem to be the same.
> 
> ARM710T is a rather confusing name - the ARM710 I know and have here
> is an ARM architecture version 3 device which predates the StrongARM
> and does not have high vector support (ARMv3 doesn't have that
> supported.)

Sounds like the NEC 710T is different, here's from dmesg:

CPU: ARM710T [41807101] revision 1 (ARMv4T)
Machine: Psion Windermere NEC ARM710T

I don't remember if I tested the thumb stuff as it's been few years, 
but it's a v4 :)

> Also, I thought Psions were CLPS711x-based devices, which are based on
> the ARM710A core (which is ARMv3)

Yeah, the original Series 5 is CLPS711x. Psion 5MX, Revo, Diamond
(Continue reading)


Gmane