From: David Daney <ddaney.cavm@gmail.com>
To: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH 0/3] Use dedicated RI/XI exceptions for MIPSR5 cores
Date: Tue, 15 Jul 2014 11:50:51 -0700 [thread overview]
Message-ID: <53C5780B.1090602@gmail.com> (raw)
In-Reply-To: <1405429797-18281-1-git-send-email-markos.chandras@imgtec.com>
On 07/15/2014 06:09 AM, Markos Chandras wrote:
> Hi,
>
> This patchset adds support for unique RI/XI exceptions. This feature has
> been added in MIPSr5. Using this feature, we reduce the time it takes
> to deal with a TLB exception caused by the RI/XI bits since the TLB load
> handler is skipped and we use the tlb_do_page_failt_0 path directly.
>
> This patch depends on the Hardware Page Table Walker (HTW) patchset
> http://www.linux-mips.org/archives/linux-mips/2014-07/msg00195.html
They are unrelated features, why the dependency?
>
> Leonid Yegoshin (3):
> MIPS: Add new option for unique RI/XI exceptions
> MIPS: Use dedicated exception handler if CPU supports RI/XI exceptions
> MIPS: kernel: cpu-probe: Detect unique RI/XI exceptions
There is code in mm/fault.c that generates the SIGSEGV for the RI/XI
violations. If we are using the dedicated RI/XI exception vectors, that
code no longer has to make assumptions about what caused the exception.
I wonder if this should be reworked so that we don't make any
assumptions about the cause of the exception.
David Daney
>
> arch/mips/include/asm/cpu-features.h | 3 +++
> arch/mips/include/asm/cpu.h | 1 +
> arch/mips/include/asm/mipsregs.h | 1 +
> arch/mips/kernel/cpu-probe.c | 9 +++++++++
> arch/mips/kernel/traps.c | 7 +++++++
> arch/mips/mm/tlbex.c | 4 ++--
> 6 files changed, 23 insertions(+), 2 deletions(-)
>
next prev parent reply other threads:[~2014-07-15 18:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-15 13:09 [PATCH 0/3] Use dedicated RI/XI exceptions for MIPSR5 cores Markos Chandras
2014-07-15 13:09 ` Markos Chandras
2014-07-15 13:09 ` [PATCH 1/3] MIPS: Add new option for unique RI/XI exceptions Markos Chandras
2014-07-15 13:09 ` Markos Chandras
2014-07-15 16:09 ` Sergei Shtylyov
2014-07-16 7:45 ` Markos Chandras
2014-07-16 7:45 ` Markos Chandras
2014-07-15 13:09 ` [PATCH 2/3] MIPS: Use dedicated exception handler if CPU supports " Markos Chandras
2014-07-15 13:09 ` Markos Chandras
2014-07-15 13:09 ` [PATCH 3/3] MIPS: kernel: cpu-probe: Detect unique " Markos Chandras
2014-07-15 13:09 ` Markos Chandras
2014-07-15 18:50 ` David Daney [this message]
2014-07-16 7:44 ` [PATCH 0/3] Use dedicated RI/XI exceptions for MIPSR5 cores Markos Chandras
2014-07-16 7:44 ` Markos Chandras
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=53C5780B.1090602@gmail.com \
--to=ddaney.cavm@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=markos.chandras@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.