Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Kanoj Sarcar <kanoj@google.engr.sgi.com>
To: ralf@oss.sgi.com (Ralf Baechle)
Cc: linux-mips@oss.sgi.com
Subject: Re: CVS Update@oss.sgi.com: linux
Date: Wed, 6 Sep 2000 16:51:19 -0700 (PDT)	[thread overview]
Message-ID: <200009062351.QAA14035@google.engr.sgi.com> (raw)
In-Reply-To: <20000907014521.A20605@bacchus.dhis.org> from "Ralf Baechle" at Sep 07, 2000 01:45:21 AM

> 
> On Wed, Sep 06, 2000 at 04:36:29PM -0700, Kanoj Sarcar wrote:
> 
> > 	Compile fix: flush only L2 cache.
> 
> That's wrong, sysmips(FLUSH_CACHE) is supposed to flush all caches.
> 
>   Ralf
> 

The act of flushing the L2 cache, should include flushing the L1
cache, whether done by software or processor provided primitives, 
to guarantee the inclusion principle.

Notwithstanding, feel free to add in a call to flush_cache_l1()
(and I don't know whether you want to flush the i and d caches
both, or just one), making sure there are no compile breakages.
(the breakage that I fixed was due to the fact that there is no
__flush_cache_all for mips64).

Kanoj

WARNING: multiple messages have this Message-ID (diff)
From: Kanoj Sarcar <kanoj@google.engr.sgi.com>
To: Ralf Baechle <ralf@oss.sgi.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: CVS Update@oss.sgi.com: linux
Date: Wed, 6 Sep 2000 16:51:19 -0700 (PDT)	[thread overview]
Message-ID: <200009062351.QAA14035@google.engr.sgi.com> (raw)
Message-ID: <20000906235119.kNK_qsVhsBQpoazKun2oYGnjWu3oPZXdavtt1PW3_mQ@z> (raw)
In-Reply-To: <20000907014521.A20605@bacchus.dhis.org> from "Ralf Baechle" at Sep 07, 2000 01:45:21 AM

> 
> On Wed, Sep 06, 2000 at 04:36:29PM -0700, Kanoj Sarcar wrote:
> 
> > 	Compile fix: flush only L2 cache.
> 
> That's wrong, sysmips(FLUSH_CACHE) is supposed to flush all caches.
> 
>   Ralf
> 

The act of flushing the L2 cache, should include flushing the L1
cache, whether done by software or processor provided primitives, 
to guarantee the inclusion principle.

Notwithstanding, feel free to add in a call to flush_cache_l1()
(and I don't know whether you want to flush the i and d caches
both, or just one), making sure there are no compile breakages.
(the breakage that I fixed was due to the fact that there is no
__flush_cache_all for mips64).

Kanoj

  reply	other threads:[~2000-09-06 23:54 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20000906233636Z42230-31375+649@oss.sgi.com>
2000-09-06 23:45 ` CVS Update@oss.sgi.com: linux Ralf Baechle
2000-09-06 23:51   ` Kanoj Sarcar [this message]
2000-09-06 23:51     ` Kanoj Sarcar
2000-09-07  0:02     ` Ralf Baechle
2000-09-07  0:05       ` Kanoj Sarcar
2000-09-07  0:05         ` Kanoj Sarcar
2000-09-07  0:26         ` Ralf Baechle
     [not found] <200208230950.g7N9o0fq016617@oss.sgi.com>
2002-08-23 10:13 ` Jan-Benedict Glaw
2002-08-23 10:41   ` Maciej W. Rozycki
     [not found] <200208130138.g7D1cYk3010974@oss.sgi.com>
2002-08-19 12:35 ` Maciej W. Rozycki
2002-08-19 12:57   ` Alan Cox
2002-08-19 13:22     ` Maciej W. Rozycki
2002-08-19 13:56       ` Alan Cox
2002-08-19 13:42   ` Ralf Baechle
2002-08-20 14:10     ` Maciej W. Rozycki
     [not found] <200208151925.g7FJPbfD009802@oss.sgi.com>
     [not found] ` <20020815193340.GB10730@lug-owl.de>
2002-08-15 19:46   ` Ralf Baechle
2002-08-19 12:32     ` Maciej W. Rozycki
     [not found] <200206301157.g5UBvrwF019470@oss.sgi.com>
2002-07-01 19:15 ` Guido Guenther
     [not found] <200202022138.g12LcZU24388@oss.sgi.com>
     [not found] ` <Pine.GSO.3.96.1020203191613.20409B-100000@delta.ds2.pg.gda.pl>
2002-02-03 18:37   ` Ralf Baechle
2002-02-04 11:32     ` Maciej W. Rozycki
2002-02-04 19:03       ` Jun Sun
     [not found] <200112171934.fBHJYx328839@oss.sgi.com>
     [not found] ` <Pine.GSO.4.21.0112181044300.15364-100000@vervain.sonytel.be>
2001-12-19  2:30   ` Ralf Baechle
     [not found] <200111180324.fAI3Ob928062@oss.sgi.com>
     [not found] ` <20011118092625.B23198@lug-owl.de>
     [not found]   ` <001801c17019$56f562a0$0deca8c0@Ulysses>
2001-11-21 23:25     ` Ralf Baechle
2001-11-21 23:36       ` Matthew Dharm
2001-11-21 23:36         ` Matthew Dharm
2001-11-22  8:56       ` Jan-Benedict Glaw
2001-11-22 10:18         ` Geert Uytterhoeven
     [not found] <200111060055.fA60tX331454@oss.sgi.com>
2001-11-06  1:46 ` Florian Lohoff
     [not found] <200109300029.f8U0TZv12410@oss.sgi.com>
     [not found] ` <Pine.GSO.3.96.1011003125730.15867A-100000@delta.ds2.pg.gda.pl>
2001-10-03 17:50   ` Ralf Baechle
2001-10-03 21:13     ` Jun Sun
2001-10-03 21:27       ` Ralf Baechle
     [not found] <200104102242.f3AMgmc19116@oss.sgi.com>
2001-04-11  7:35 ` Ralf Baechle
2001-04-11 18:00   ` Kanoj Sarcar
2001-04-11 18:00     ` Kanoj Sarcar
2001-04-16 17:43     ` Quinn Jensen
2001-04-16 17:43       ` Quinn Jensen
2001-04-17 17:12       ` Ralf Baechle
     [not found] <20001118132233Z553804-494+838@oss.sgi.com>
     [not found] ` <XFMail.001118180639.Harald.Koerfgen@home.ivm.de>
2000-11-18 17:21   ` Ralf Baechle
2000-11-18 18:13     ` Justin Carlson
2000-11-18 18:36     ` Kevin D. Kissell
2000-11-18 18:36       ` Kevin D. Kissell
2000-11-19 15:16     ` Dominic Sweetman
2000-11-21  3:39       ` Ralf Baechle
     [not found] <20000823172400Z42326-31375+197@oss.sgi.com>
2000-08-23 19:56 ` Ralf Baechle
2000-08-23 23:12   ` Kanoj Sarcar
2000-08-23 23:12     ` Kanoj Sarcar
     [not found] <20000702193011Z42202-29274+369@oss.sgi.com>
     [not found] ` <XFMail.000704192753.Harald.Koerfgen@home.ivm.de>
2000-07-04 21:22   ` Ralf Baechle
2000-07-05 18:24     ` Harald Koerfgen
     [not found] <20000524012413.A5507@spock>
2000-05-24 16:50 ` Harald Koerfgen
2000-05-24 23:58   ` Ralf Baechle
2000-05-25 17:14     ` Harald Koerfgen
2000-05-25 17:19       ` Ulf Carlsson
2000-05-25 18:00         ` Ralf Baechle
2000-05-25 18:02           ` Ulf Carlsson
2000-05-25 18:17             ` Ralf Baechle
     [not found] <20000519083237Z305155-391+603@oss.sgi.com>
2000-05-19 11:18 ` Ralf Baechle
     [not found] <20000327210518Z305163-3992+178@oss.sgi.com>
2000-03-28  0:29 ` Ralf Baechle
     [not found] <20000219003324Z305163-11638+186@oss.sgi.com>
     [not found] ` <Pine.GSO.4.10.10002211054270.29481-100000@dandelion.sonytel.be>
2000-02-21 11:58   ` Ralf Baechle
     [not found]     ` <Pine.GSO.4.10.10002211634260.4234-100000@dandelion.sonytel.be>
2000-02-21 18:03       ` Ralf Baechle
2000-02-22  2:45     ` Geert Uytterhoeven

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=200009062351.QAA14035@google.engr.sgi.com \
    --to=kanoj@google.engr.sgi.com \
    --cc=linux-mips@oss.sgi.com \
    --cc=ralf@oss.sgi.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