linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Tony Breeds <tony@bakeyournoodle.com>
Cc: Scott Wood <scottwood@freescale.com>, Jeremy Kerr <jk@ozlabs.org>,
	Ian Munsie <imunsie@au1.ibm.com>,
	linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 1/2] powerpc: Add a proper syscall for switching endianness
Date: Mon, 16 Mar 2015 11:07:53 +1100	[thread overview]
Message-ID: <1426464473.17565.223.camel@kernel.crashing.org> (raw)
In-Reply-To: <20150315225912.GA39518@thor.bakeyournoodle.com>

On Mon, 2015-03-16 at 09:59 +1100, Tony Breeds wrote:
> On Fri, Mar 13, 2015 at 05:38:46PM +1100, Michael Ellerman wrote:
> 
> > According to Paul there are no working implementations of LE on 32-bit cpus, so
> > the syscall doesn't really make sense there.
> 
> Ummm that doesn't sound right.  I don't think there is an LE linux userspace
> but I'm pretty sure we had 32-bit working on 44x.  Check where Ian did the
> initial LE patchset.

Yes but that's done by using a per-page endian flag, not a global MSR
bit, so we never supported a syscall to switch there and never will.

Cheers,
Ben.

  reply	other threads:[~2015-03-16  0:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13  4:39 [PATCH 1/2] powerpc: Add a proper syscall for switching endianness Michael Ellerman
2015-03-13  4:39 ` [PATCH 2/2] selftests/powerpc: Add a test of the switch_endian() syscall Michael Ellerman
2015-03-13  5:01   ` Michael Ellerman
2015-03-13  7:10   ` Ram Pai
2015-03-13  7:16     ` Michael Ellerman
2015-03-13  6:38 ` [PATCH 1/2] powerpc: Add a proper syscall for switching endianness Michael Ellerman
2015-03-13 19:50   ` Scott Wood
2015-03-15 22:59   ` Tony Breeds
2015-03-16  0:07     ` Benjamin Herrenschmidt [this message]
2015-03-16  3:10       ` Michael Ellerman

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=1426464473.17565.223.camel@kernel.crashing.org \
    --to=benh@kernel.crashing.org \
    --cc=imunsie@au1.ibm.com \
    --cc=jk@ozlabs.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=scottwood@freescale.com \
    --cc=tony@bakeyournoodle.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;
as well as URLs for NNTP newsgroup(s).