public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] PPC460GT Canyonlands tlb table overlap?
@ 2009-01-11  3:34 vb
  2009-01-14 11:52 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: vb @ 2009-01-11  3:34 UTC (permalink / raw)
  To: u-boot

The Canyonland board's init.s file (board/amcc/canyonlands/init.S)
defines the contents of the TLB table for that target, it has these
two records in the table among others:

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

        tlbentry(CFG_PCI_BASE, SZ_256M, 0x00000000, 0xC, AC_R|AC_W|SA_G|SA_I)

        tlbentry(CFG_PCIE_BASE, SZ_16K, 0x08010000, 0xC, AC_R|AC_W|SA_G|SA_I)

^^^^^^^^^^^^^^^^^^^^^^^^

Am I missing something, or do they indeed overlap (the first record in
fact encapsulates the second one on the physical address side).

TIA,
vadim

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] PPC460GT Canyonlands tlb table overlap?
  2009-01-11  3:34 [U-Boot] PPC460GT Canyonlands tlb table overlap? vb
@ 2009-01-14 11:52 ` Stefan Roese
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2009-01-14 11:52 UTC (permalink / raw)
  To: u-boot

On Sunday 11 January 2009, vb wrote:
> The Canyonland board's init.s file (board/amcc/canyonlands/init.S)
> defines the contents of the TLB table for that target, it has these
> two records in the table among others:
>
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
>
>         tlbentry(CFG_PCI_BASE, SZ_256M, 0x00000000, 0xC,
> AC_R|AC_W|SA_G|SA_I)
>
>         tlbentry(CFG_PCIE_BASE, SZ_16K, 0x08010000, 0xC,
> AC_R|AC_W|SA_G|SA_I)
>
> ^^^^^^^^^^^^^^^^^^^^^^^^
>
> Am I missing something, or do they indeed overlap (the first record in
> fact encapsulates the second one on the physical address side).

You seem to be correct. This physical addresses overlap. Not sure if this 
really is a problem. A patch to fix this would be welcome. :)

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-14 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-11  3:34 [U-Boot] PPC460GT Canyonlands tlb table overlap? vb
2009-01-14 11:52 ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox