All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Paul Burton <paul.burton@imgtec.com>,
	"linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
	Matthew Fortune <matthew.fortune@imgtec.com>,
	Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	LKML <linux-kernel@vger.kernel.org>,
	Richard Weinberger <richard@nod.at>,
	James Hogan <james.hogan@imgtec.com>,
	Andy Lutomirski <luto@amacapital.net>,
	Markos Chandras <markos.chandras@imgtec.com>,
	Manuel Lauss <manuel.lauss@gmail.com>,
	"Maciej W. Rozycki" <macro@codesourcery.com>,
	"linux-next@vger.kernel.org" <linux-next@vger.kernel.org>
Subject: Re: [PATCH 04/16] MIPS: use struct mips_abi offsets to save FP context
Date: Sun, 19 Jul 2015 02:25:42 +0200	[thread overview]
Message-ID: <20150719002542.GA5090@linux-mips.org> (raw)
In-Reply-To: <CAP=VYLr-DAi0TGuDiSZSeceKQ=Bb6Z9UXNZ=eBKVeP0g1SpOhg@mail.gmail.com>

On Sat, Jul 18, 2015 at 08:21:53PM -0400, Paul Gortmaker wrote:
> Date:   Sat, 18 Jul 2015 20:21:53 -0400
> From: Paul Gortmaker <paul.gortmaker@windriver.com>
> To: Paul Burton <paul.burton@imgtec.com>
> Cc: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>, Matthew
>  Fortune <matthew.fortune@imgtec.com>, Leonid Yegoshin
>  <Leonid.Yegoshin@imgtec.com>, Michael Ellerman <mpe@ellerman.id.au>, LKML
>  <linux-kernel@vger.kernel.org>, Richard Weinberger <richard@nod.at>, James
>  Hogan <james.hogan@imgtec.com>, Andy Lutomirski <luto@amacapital.net>,
>  Markos Chandras <markos.chandras@imgtec.com>, Ralf Baechle
>  <ralf@linux-mips.org>, Manuel Lauss <manuel.lauss@gmail.com>, "Maciej W.
>  Rozycki" <macro@codesourcery.com>, "linux-next@vger.kernel.org"
>  <linux-next@vger.kernel.org>
> Subject: Re: [PATCH 04/16] MIPS: use struct mips_abi offsets to save FP
>  context
> Content-Type: text/plain; charset=UTF-8
> 
> On Fri, Jul 10, 2015 at 11:00 AM, Paul Burton <paul.burton@imgtec.com> wrote:
> > When saving FP state to struct sigcontext, make use of the offsets
> > provided by struct mips_abi to obtain appropriate addresses for the
> > sc_fpregs & sc_fpc_csr fields of the sigcontext. This is done only for
> > the native struct sigcontext in this patch (ie. for O32 in CONFIG_32BIT
> > kernels or for N64 in CONFIG_64BIT kernels) but is done in preparation
> > for sharing this code with compat ABIs in further patches.
> >
> > Signed-off-by: Paul Burton <paul.burton@imgtec.com>
> > ---
> >
> >  arch/mips/kernel/r4k_fpu.S       | 151 +++++++++++++++++++++------------------
> >  arch/mips/kernel/signal-common.h |   6 ++
> >  arch/mips/kernel/signal.c        |  85 +++++++++++++++-------
> >  3 files changed, 145 insertions(+), 97 deletions(-)
> >
> 
>  The current version of this in linux-next picked up a booger in transit.
> 
> $ git show 6775b4ea74d5922e5310b7b7a902a8fbe61a0c9d|diffstat
>  arch/mips/kernel/r4k_fpu.S       |  151 ++++++++++++++++++++-------------------
>  arch/mips/kernel/signal-common.h |    6 +
>  arch/mips/kernel/signal.c        |   85 ++++++++++++++-------
>  index.html                       |   16 ++++
>  4 files changed, 161 insertions(+), 97 deletions(-)
> 
> Guessing it happened at Ralf's end.

Yes and I fixed a few hours ago.  Should be ok in the next -next.

  Ralf

  reply	other threads:[~2015-07-19  0:26 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-10 15:00 [PATCH 00/16] MSA vector context signal handling & HWCAPs Paul Burton
2015-07-10 15:00 ` Paul Burton
2015-07-10 15:00 ` [PATCH 01/16] MIPS: remove outdated comments in sigcontext.h Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-14 13:56   ` Ralf Baechle
2015-07-10 15:00 ` [PATCH 02/16] MIPS: simplify EVA FP context handling code Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 03/16] MIPS: add offsets to sigcontext FP fields to struct mips_abi Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 04/16] MIPS: use struct mips_abi offsets to save FP context Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-19  0:21   ` Paul Gortmaker
2015-07-19  0:25     ` Ralf Baechle [this message]
2015-07-10 15:00 ` [PATCH 05/16] MIPS: move FP usage checks into protected_{save,restore}_fp_context Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 06/16] MIPS: skip odd double FP registers when copying FP32 sigcontext Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 07/16] MIPS: use common FP sigcontext code for O32 compat Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 08/16] MIPS: remove unused {get,put}_sigset functions Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 09/16] MIPS: indicate FP mode in sigcontext sc_used_math Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 10/16] MIPS: add definitions for extended context Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-10-25 21:10   ` [PATCH 10/16] compile error: " Hauke Mehrtens
2015-10-25 21:47     ` Florian Fainelli
2015-10-25 22:18       ` Hauke Mehrtens
2015-07-10 15:00 ` [PATCH 11/16] MIPS: save MSA extended context around signals Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 12/16] MIPS: AT_HWCAP aux vector infrastructure Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 13/16] MIPS: advertise MIPSr6 via HWCAP when appropriate Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 14/16] MIPS: advertise MSA support via HWCAP when present Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 15/16] MIPS: require O32 FP64 support for MIPS64 with O32 compat Paul Burton
2015-07-10 15:00   ` Paul Burton
2015-07-10 15:00 ` [PATCH 16/16] MIPS: drop EXPERIMENTAL tag from O32+FP64 & MSA Paul Burton
2015-07-10 15:00   ` Paul Burton

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=20150719002542.GA5090@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=Leonid.Yegoshin@imgtec.com \
    --cc=james.hogan@imgtec.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-next@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=macro@codesourcery.com \
    --cc=manuel.lauss@gmail.com \
    --cc=markos.chandras@imgtec.com \
    --cc=matthew.fortune@imgtec.com \
    --cc=mpe@ellerman.id.au \
    --cc=paul.burton@imgtec.com \
    --cc=paul.gortmaker@windriver.com \
    --cc=richard@nod.at \
    /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.