public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "Natalie Protasevich" <protasnb@gmail.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be disabled
Date: Thu, 06 Sep 2007 18:00:09 +0000	[thread overview]
Message-ID: <32209efe0709061100n14a61d73ic524f501d46551c3@mail.gmail.com> (raw)
In-Reply-To: <200708301338.34246.protasnb@gmail.com>

On 9/6/07, David Mosberger-Tang <dmosberger@gmail.com> wrote:
> Natalie,
>
> I'm confused.  In an earlier mail, you wrote:
>
>  > The boot option is only temporary, until the SAL/PAL mechanism will be
>  > shaken up.
>
> Once the SAL/PAL mechanism exists, there won't be a need for
> bootoption or a separate machvec anymore, or am I missing something?

The SAL/PAL will only have information about ptc.g not being available
(like a flag). The OS has to have the code to handle this case which
is the IPI with subsequent local purge. The SAL/PAL mechanism only
releaves us from boot option, just like info in ACPI or SMBIOS would.
For now I just leave it to user input, until the mechanism will be
decided on. It's either mentioned above global tlb purge table entry
in SAL table, or alternative PALO (pal override) suggested by HP i
believe.

>
> The other thing that makes me a bit dubious about using a machvec here
> is that it doesn't just apply for DIG, I'd think.  We wouldn't want to
> duplicate all the existing machvecs (other than SGI, which never used
> ptc.g anyhow), or would we?
>
So far it appears to me that it will be defined for ia64 somewhere in
asm-generic/tlb.h and in asm-ia64/tlb.h as
platform_global_tlb_ipi_purge() something, but I'm not sure about
that, will have to start digging.
Thanks,
--Natalie
>   --david
>
> On 9/5/07, Natalie Protasevich <protasnb@gmail.com> wrote:
> > On 9/5/07, David Mosberger-Tang <dmosberger@gmail.com> wrote:
> > > In my opinion, machvec is a bad idea for a temporary workaround.
> > > You'll need to create new header files etc etc all just for a
> > > short-lived workaround.  Just my 2 cents.
> > >
> > >   --david
> >
> > This is actually a feature. Can be a workaround for platform that
> > didn't manage to make ptcg work, but can be intentionally disabled by
> > design. Big modular scaled out systems may choose to disable it
> > intentionally. I think it's more of feature implementation, which is
> > offered by architecture and has found some users, so I'd say this
> > might stay and not be short-lived. In this case, will machvec be more
> > appropriate?
> > Thanks,
> > --Natalie
> >
> > >
> > > On 9/5/07, Natalie Protasevich <protasnb@gmail.com> wrote:
> > > > On 9/5/07, Robin Holt <holt@sgi.com> wrote:
> > > > > > No :) those interested are big hardware makers of large scaled out
> > > > > > boxes, such as HP, UIS. They are using own asics and are not
> > > > > > necessarily being able to keep chipset native capabilities intact. As
> > > > > > I said in the preamble, the mechanism has to be there so they can turn
> > > > > > the ptc.g off and run the OS.
> > > > >
> > > > > This really sounds like it is best done as a machvec.  Currently, Altix
> > > > > (sn2) does not have a ptc.g that spans nodes.  We have our own tlb purge
> > > > > mechanism which is very flexible and scalable.  Maybe it would be best
> > > > > to follow that example.  To repeat Bjorn's comments, this area can be
> > > > > fraught with _VERY_ difficult to diagnose problems.  A boot test can
> > > > > hardly be expected to uncover all the races so be patient while we walk
> > > > > through this code.
> > > > >
> > > > All right, all right ... :) I'll do the machvec then. Thanks guys,
> > > > will peek into the sn2 to get an idea.
> > > >
> > > > Regards,
> > > > --Natalie
> > > > -
> > > > To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> > > > the body of a message to majordomo@vger.kernel.org
> > > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > > >
> > >
> > >
> > > --
> > > Mosberger Consulting LLC, http://www.mosberger-consulting.com/
> > >
> >
>
>
> --
> Mosberger Consulting LLC, http://www.mosberger-consulting.com/
>

  parent reply	other threads:[~2007-09-06 18:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-30 20:38 [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be disabled Natalie Protasevich
2007-08-31  1:15 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be Zou Nan hai
2007-08-31  1:45 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to bedisabled Luck, Tony
2007-08-31  1:48 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to Zou Nan hai
2007-09-03  8:06 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to bedisabled Natalie Protasevich
2007-09-03  8:06 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be disabled - take 2 Natalie Protasevich
2007-09-03  9:21 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be disabled Jes Sorensen
2007-09-03  9:37 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be disabled - take 2 Jes Sorensen
2007-09-04  8:46 ` Robin Holt
2007-09-04  9:03 ` Luck, Tony
2007-09-04 14:58 ` Natalie Protasevich
2007-09-04 16:05 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be disabled Natalie Protasevich
2007-09-04 19:59 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be disabled - take 2 Bjorn Helgaas
2007-09-04 21:20 ` Natalie Protasevich
2007-09-05 13:35 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be Jes Sorensen
2007-09-05 13:57 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be disabled Robin Holt
2007-09-05 15:29 ` Natalie Protasevich
2007-09-05 15:47 ` David Mosberger-Tang
2007-09-05 16:01 ` Natalie Protasevich
2007-09-06 16:36 ` David Mosberger-Tang
2007-09-06 18:00 ` Natalie Protasevich [this message]
2007-09-07  7:38 ` Luck, Tony
2007-09-07  8:38 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be Jes Sorensen
2007-09-07 16:11 ` [PATCH 1/1] Allow global purge traslation cache (ptc.g) to be disabled Bjorn Helgaas
2007-09-07 16:25 ` Natalie Protasevich

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=32209efe0709061100n14a61d73ic524f501d46551c3@mail.gmail.com \
    --to=protasnb@gmail.com \
    --cc=linux-ia64@vger.kernel.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