All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Kinard <kumba@gentoo.org>
To: James Hogan <james.hogan@imgtec.com>,
	Manuel Lauss <manuel.lauss@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>,
	Leonid Yegoshin <leonid.yegoshin@imgtec.com>,
	Linux-MIPS <linux-mips@linux-mips.org>
Subject: Re: [PATCH 1/2] MIPS: c-r4k: Sync icache when it fills from dcache
Date: Fri, 22 Jan 2016 08:05:58 -0500	[thread overview]
Message-ID: <56A22936.8050601@gentoo.org> (raw)
In-Reply-To: <20160122121908.GG31243@jhogan-linux.le.imgtec.org>

On 01/22/2016 07:19, James Hogan wrote:
> On Fri, Jan 22, 2016 at 01:06:14PM +0100, Manuel Lauss wrote:
>> Hi James,
[snip]
> 
> Thanks Manuel.
> 
> FWIW, attached is the test program I mentioned, which hits the first
> part of this patch (flush_cache_range) via mprotect(2) and checks if
> icache seems to have been flushed (tested on mips64r6, but should be
> portable).

Here's the output on my Octane, R14000 CPU (mips4):

# ./mprotect
Initial mprotect SUCCESS
Looped { mprotect RW, modify, mprotect RX, test } SUCCESS

This is without your patch applied.  That look good?  I'm assuming this CPU is
too old to be affected.  I can test with your patch after the blizzard is over
later this weekend.

-- 
Joshua Kinard
Gentoo/MIPS
kumba@gentoo.org
6144R/F5C6C943 2015-04-27
177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943

"The past tempts us, the present confuses us, the future frightens us.  And our
lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic

  reply	other threads:[~2016-01-22 13:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-22 10:58 [PATCH 0/2] MIPS: I6400: Avoid dcache flushes James Hogan
2016-01-22 10:58 ` James Hogan
2016-01-22 10:58 ` [PATCH 1/2] MIPS: c-r4k: Sync icache when it fills from dcache James Hogan
2016-01-22 10:58   ` James Hogan
2016-01-22 12:06   ` Manuel Lauss
2016-01-22 12:19     ` James Hogan
2016-01-22 13:05       ` Joshua Kinard [this message]
2016-01-22 13:54         ` James Hogan
2016-01-22 14:03         ` Ralf Baechle
2016-01-22 14:30       ` Manuel Lauss
2016-01-22 15:02         ` James Hogan
2016-01-22 15:55           ` Manuel Lauss
2016-01-22 10:58 ` [PATCH 2/2] MIPS: I6400: Icache " James Hogan
2016-01-22 10:58   ` James Hogan

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=56A22936.8050601@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=james.hogan@imgtec.com \
    --cc=leonid.yegoshin@imgtec.com \
    --cc=linux-mips@linux-mips.org \
    --cc=manuel.lauss@gmail.com \
    --cc=ralf@linux-mips.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 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.