linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@au1.ibm.com>
To: pc@us.ibm.com, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH v2] powerpc: A new cache geometry aux vectors
Date: Mon, 06 Mar 2017 10:11:41 +1100	[thread overview]
Message-ID: <1488755501.2870.119.camel@au1.ibm.com> (raw)
In-Reply-To: <288deec2-a821-316b-5e53-e186deda96f9@us.ibm.com>

On Fri, 2017-03-03 at 07:51 -0600, Paul Clarke wrote:
> > On P9 it all comes from the device tree so if that's wrong the AUX
> > vectors will definitely be wrong.
> 
> mambo-p9 is still falling victim to the device-tree, but "working":
> --
> getauxval(AT_L1I_CACHEGEOMETRY) = 0x0000000000000080
> AT_L1I_CACHEGEOMETRY: associativity 0; line size 128
> getauxval(AT_L1D_CACHEGEOMETRY) = 0x0000000000000080
> AT_L1D_CACHEGEOMETRY: associativity 0; line size 128
> getauxval(AT_L2_CACHEGEOMETRY) = 0x0000000000000000
> getauxval(AT_L2_CACHEGEOMETRY) = 0x0000000000000000
> --

The mambo device-tree comes from the mambo own internals afaik.

On real HW, the values come from HDAT. If they are wrong we need
the HostBoot guys to fix them.

Cheers,
Ben.

  reply	other threads:[~2017-03-05 23:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-02  6:22 [PATCH v2] powerpc: A new cache geometry aux vectors Benjamin Herrenschmidt
2017-03-01 20:53 ` Paul Clarke
2017-03-02  6:33   ` Michael Ellerman
2017-03-02 23:46     ` Paul Clarke
2017-03-03  4:01       ` Michael Ellerman
2017-03-03 13:51         ` Paul Clarke
2017-03-05 23:11           ` Benjamin Herrenschmidt [this message]
2017-03-06  5:46           ` Michael Ellerman
2017-03-06  8:24             ` Segher Boessenkool

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=1488755501.2870.119.camel@au1.ibm.com \
    --to=benh@au1.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=pc@us.ibm.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).