Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: James Hogan <james.hogan@imgtec.com>
To: "Maciej W. Rozycki" <macro@imgtec.com>
Cc: Aleksandar Markovic <aleksandar.markovic@rt-rk.com>,
	<linux-mips@linux-mips.org>,
	Goran Ferenc <goran.ferenc@imgtec.com>,
	Miodrag Dinic <miodrag.dinic@imgtec.com>,
	Aleksandar Markovic <aleksandar.markovic@imgtec.com>,
	Douglas Leung <douglas.leung@imgtec.com>,
	<linux-kernel@vger.kernel.org>,
	Paul Burton <paul.burton@imgtec.com>,
	Petar Jovanovic <petar.jovanovic@imgtec.com>,
	Raghu Gandham <raghu.gandham@imgtec.com>,
	Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH v2 2/4] MIPS: VDSO: Add implementation of clock_gettime() fallback
Date: Thu, 6 Jul 2017 15:09:12 +0100	[thread overview]
Message-ID: <20170706140911.GG6973@jhogan-linux.le.imgtec.org> (raw)
In-Reply-To: <alpine.DEB.2.00.1707061405410.3339@tp.orcam.me.uk>

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

On Thu, Jul 06, 2017 at 02:12:37PM +0100, Maciej W. Rozycki wrote:
> On Thu, 6 Jul 2017, James Hogan wrote:
> > > (and would have to forcibly use the 32-bit encoding in the microMIPS
> > > case)?
> > 
> > I don't believe there is a 16-bit SYSCALL encoding in microMIPS, at
> > least I can't see one in the 5.04 manual.
> 
>  I referred to the preceding instruction, presumably LI, that does have a 
> 16-bit variant in the microMIPS instruction set.

Ah yes, I see what you mean.

Hopefully microMIPS support is new enough for that not to matter.

It appears that the restart behaviour was improved in v2.6.36 in commit
8f5a00eb422e ("MIPS: Sanitize restart logics"), whereas first mentions
of micromips are in v3.9, in commit f8fa4811dbb2 ("MIPS: Add support for
the M14KEc core.").

Cheers
James

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: James Hogan <james.hogan@imgtec.com>
To: "Maciej W. Rozycki" <macro@imgtec.com>
Cc: Aleksandar Markovic <aleksandar.markovic@rt-rk.com>,
	linux-mips@linux-mips.org, Goran Ferenc <goran.ferenc@imgtec.com>,
	Miodrag Dinic <miodrag.dinic@imgtec.com>,
	Aleksandar Markovic <aleksandar.markovic@imgtec.com>,
	Douglas Leung <douglas.leung@imgtec.com>,
	linux-kernel@vger.kernel.org,
	Paul Burton <paul.burton@imgtec.com>,
	Petar Jovanovic <petar.jovanovic@imgtec.com>,
	Raghu Gandham <raghu.gandham@imgtec.com>,
	Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH v2 2/4] MIPS: VDSO: Add implementation of clock_gettime() fallback
Date: Thu, 6 Jul 2017 15:09:12 +0100	[thread overview]
Message-ID: <20170706140911.GG6973@jhogan-linux.le.imgtec.org> (raw)
Message-ID: <20170706140912.xg6DbFfTbR0s6qSATkiV93bIQGdlKUZeAIoVRSOYQho@z> (raw)
In-Reply-To: <alpine.DEB.2.00.1707061405410.3339@tp.orcam.me.uk>

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

On Thu, Jul 06, 2017 at 02:12:37PM +0100, Maciej W. Rozycki wrote:
> On Thu, 6 Jul 2017, James Hogan wrote:
> > > (and would have to forcibly use the 32-bit encoding in the microMIPS
> > > case)?
> > 
> > I don't believe there is a 16-bit SYSCALL encoding in microMIPS, at
> > least I can't see one in the 5.04 manual.
> 
>  I referred to the preceding instruction, presumably LI, that does have a 
> 16-bit variant in the microMIPS instruction set.

Ah yes, I see what you mean.

Hopefully microMIPS support is new enough for that not to matter.

It appears that the restart behaviour was improved in v2.6.36 in commit
8f5a00eb422e ("MIPS: Sanitize restart logics"), whereas first mentions
of micromips are in v3.9, in commit f8fa4811dbb2 ("MIPS: Add support for
the M14KEc core.").

Cheers
James

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-07-06 14:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-28 15:55 [PATCH v2 0/4] MIPS: Fix several VDSO-related issues Aleksandar Markovic
2017-06-28 15:55 ` [PATCH v2 1/4] MIPS: VDSO: Fix conversions in do_monotonic()/do_monotonic_coarse() Aleksandar Markovic
2017-06-28 15:55 ` [PATCH v2 2/4] MIPS: VDSO: Add implementation of clock_gettime() fallback Aleksandar Markovic
2017-07-06  0:00   ` Maciej W. Rozycki
2017-07-06  0:00     ` Maciej W. Rozycki
2017-07-06  9:05     ` James Hogan
2017-07-06  9:05       ` James Hogan
2017-07-06 13:12       ` Maciej W. Rozycki
2017-07-06 13:12         ` Maciej W. Rozycki
2017-07-06 14:09         ` James Hogan [this message]
2017-07-06 14:09           ` James Hogan
2017-06-28 15:55 ` [PATCH v2 3/4] MIPS: VDSO: Add implementation of gettimeofday() fallback Aleksandar Markovic
2017-06-28 15:55 ` [PATCH v2 4/4] MIPS: VDSO: Fix a mismatch between comment and preprocessor constant Aleksandar Markovic

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=20170706140911.GG6973@jhogan-linux.le.imgtec.org \
    --to=james.hogan@imgtec.com \
    --cc=aleksandar.markovic@imgtec.com \
    --cc=aleksandar.markovic@rt-rk.com \
    --cc=douglas.leung@imgtec.com \
    --cc=goran.ferenc@imgtec.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@imgtec.com \
    --cc=miodrag.dinic@imgtec.com \
    --cc=paul.burton@imgtec.com \
    --cc=petar.jovanovic@imgtec.com \
    --cc=raghu.gandham@imgtec.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox