All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
To: "Maciej W. Rozycki" <macro@imgtec.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>,
	Justin Chen <justinpopo6@gmail.com>, <linux-mips@linux-mips.org>,
	<bcm-kernel-feedback-list@broadcom.com>,
	Justin Chen <justin.chen@broadcom.com>
Subject: Re: [RFC] MIPS: Add cacheinfo support
Date: Tue, 13 Dec 2016 11:18:27 -0800	[thread overview]
Message-ID: <58504983.2050608@imgtec.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1612131101200.6743@tp.orcam.me.uk>

On 12/13/2016 03:09 AM, Maciej W. Rozycki wrote:
> On Tue, 13 Dec 2016, Leonid Yegoshin wrote:
>
>> Well, I prefer the collection of 3 flags:
>>
>> flush_required        - or flush to next level is required to force coherency
>> between this level and next after update of this level
>> invalidate_required   - or invalidate is required to force coherency between
>> this level and next after update of next level
>> coherent_to_level     - object is coherent with this level (only one domain of
>> coherency on this level is assumed)
>   A "flush" has always been an ambiguous term -- meaning anything from
> "write-back", through "write-back+invalidate" to "invalidate".  What is
> "flush" is supposed to exactly mean here?  If specifically any of the two
> formers (the latter is obviously the other flag), then I suggest using the
> respective name, or otherwise if it is meant to be generic "do what is
> needed", then perhaps "synchronize" will work, like with the name of the
> SYNCI instruction?
>
Well, I am not expert in choosing names, you know. I just would like to 
make a distinguishing between "transfer data from this level to next 
one" - any way - writeback or write-back-invalidate, and "clear data in 
this level to be pulled on demand from next level".

This is an information purpose as Florian described, so details can be 
skipped. The only useful info here - some efforts are needed after event 
(see above) and that efforts are not cheap from performance point of view.

If we put here details then it is a long way because we need a lot of 
details, see my original post. However, I would like to differ "flush" 
and "invalidate" because it is triggered by different kind of event 
(from upstream or from downstream).

- Leonid.

WARNING: multiple messages have this Message-ID (diff)
From: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
To: "Maciej W. Rozycki" <macro@imgtec.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>,
	Justin Chen <justinpopo6@gmail.com>,
	linux-mips@linux-mips.org, bcm-kernel-feedback-list@broadcom.com,
	Justin Chen <justin.chen@broadcom.com>
Subject: Re: [RFC] MIPS: Add cacheinfo support
Date: Tue, 13 Dec 2016 11:18:27 -0800	[thread overview]
Message-ID: <58504983.2050608@imgtec.com> (raw)
Message-ID: <20161213191827.z97dvZn-saQ3kAcELvRwgK8p8izRCwTCBfsv-WouBtU@z> (raw)
In-Reply-To: <alpine.DEB.2.00.1612131101200.6743@tp.orcam.me.uk>

On 12/13/2016 03:09 AM, Maciej W. Rozycki wrote:
> On Tue, 13 Dec 2016, Leonid Yegoshin wrote:
>
>> Well, I prefer the collection of 3 flags:
>>
>> flush_required        - or flush to next level is required to force coherency
>> between this level and next after update of this level
>> invalidate_required   - or invalidate is required to force coherency between
>> this level and next after update of next level
>> coherent_to_level     - object is coherent with this level (only one domain of
>> coherency on this level is assumed)
>   A "flush" has always been an ambiguous term -- meaning anything from
> "write-back", through "write-back+invalidate" to "invalidate".  What is
> "flush" is supposed to exactly mean here?  If specifically any of the two
> formers (the latter is obviously the other flag), then I suggest using the
> respective name, or otherwise if it is meant to be generic "do what is
> needed", then perhaps "synchronize" will work, like with the name of the
> SYNCI instruction?
>
Well, I am not expert in choosing names, you know. I just would like to 
make a distinguishing between "transfer data from this level to next 
one" - any way - writeback or write-back-invalidate, and "clear data in 
this level to be pulled on demand from next level".

This is an information purpose as Florian described, so details can be 
skipped. The only useful info here - some efforts are needed after event 
(see above) and that efforts are not cheap from performance point of view.

If we put here details then it is a long way because we need a lot of 
details, see my original post. However, I would like to differ "flush" 
and "invalidate" because it is triggered by different kind of event 
(from upstream or from downstream).

- Leonid.

  reply	other threads:[~2016-12-13 19:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08  1:16 [RFC] MIPS: Add cacheinfo support justinpopo6
2016-12-08 23:26 ` Leonid Yegoshin
2016-12-08 23:26   ` Leonid Yegoshin
2016-12-09  0:28   ` Justin Chen
2016-12-09  1:01     ` Leonid Yegoshin
2016-12-09  1:01       ` Leonid Yegoshin
2016-12-12 18:24       ` Florian Fainelli
2016-12-12 20:45         ` Leonid Yegoshin
2016-12-12 20:45           ` Leonid Yegoshin
2016-12-12 21:57           ` Florian Fainelli
2016-12-13  0:19             ` Leonid Yegoshin
2016-12-13  0:19               ` Leonid Yegoshin
2016-12-13 11:09               ` Maciej W. Rozycki
2016-12-13 11:09                 ` Maciej W. Rozycki
2016-12-13 19:18                 ` Leonid Yegoshin [this message]
2016-12-13 19:18                   ` Leonid Yegoshin
2016-12-13 20:01                   ` Justin Chen
2016-12-13 20:05                     ` Florian Fainelli
2016-12-13 20:15                       ` Leonid Yegoshin
2016-12-13 20:15                         ` Leonid Yegoshin
2016-12-13 21:53           ` Ralf Baechle
2016-12-13 21:48       ` Ralf Baechle

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=58504983.2050608@imgtec.com \
    --to=leonid.yegoshin@imgtec.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=f.fainelli@gmail.com \
    --cc=justin.chen@broadcom.com \
    --cc=justinpopo6@gmail.com \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@imgtec.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.