All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aleksey Makarov <aleksey.makarov@auriga.com>
To: <linux-mips@linux-mips.org>
Cc: Paul Martin <paul.martin@codethink.co.uk>
Subject: Re: [PATCH 2/3] MIPS: OCTEON: Add mach-cavium-octeon/mangle-port.h
Date: Mon, 23 Mar 2015 17:03:37 +0300	[thread overview]
Message-ID: <55101D39.3080201@auriga.com> (raw)
In-Reply-To: <1426867920-7907-3-git-send-email-aleksey.makarov@auriga.com>

> On Fri, Mar 20, 2015 at 07:11:57PM +0300, Aleksey Makarov wrote:
>> From: David Daney <david.daney@cavium.com>
>> 
>> Needed for little-endian ioport access.
>> This fixes NOR flash in little-endian mode
>> 
>> Signed-off-by: David Daney <david.daney@cavium.com>
>> Signed-off-by: Aleksey Makarov <aleksey.makarov@auriga.com>
>> ---
>>  .../include/asm/mach-cavium-octeon/mangle-port.h   | 74 
>> ++++++++++++++++++++++
> 
> This seems to be a new header file that's not used anywhere else.

arch/mips/include/asm/io.h:#include <mangle-port.h>

Also note the compiler flags:

-I./arch/mips/include/asm/mach-cavium-octeon -I./arch/mips/include/asm/mach-generic 

> I get the feeling that there should be at least another three patches
> in this series which have been omitted.
> 
> Certainly, the Octeon peripherals won't work with just the three part
> patch set presented here.

With these patches the cn7000 board boots in little-endian mode with 
all peripherials supported on this board working fine.  The peripherials
on other boards should probably be fixed separately.

> PS. Don't forget the missing htons() in drivers/staging/octeon/ethernet-tx.c

Thanks.  A patch would be appreciated.

Thanks
Aleksey Makarov

WARNING: multiple messages have this Message-ID (diff)
From: Aleksey Makarov <aleksey.makarov@auriga.com>
To: linux-mips@linux-mips.org
Cc: Paul Martin <paul.martin@codethink.co.uk>
Subject: Re: [PATCH 2/3] MIPS: OCTEON: Add mach-cavium-octeon/mangle-port.h
Date: Mon, 23 Mar 2015 17:03:37 +0300	[thread overview]
Message-ID: <55101D39.3080201@auriga.com> (raw)
Message-ID: <20150323140337.vuYVHdVwAn3vo7ky3QMUWfmbw9xS6kQoshdpdYcMc3g@z> (raw)
In-Reply-To: <1426867920-7907-3-git-send-email-aleksey.makarov@auriga.com>

> On Fri, Mar 20, 2015 at 07:11:57PM +0300, Aleksey Makarov wrote:
>> From: David Daney <david.daney@cavium.com>
>> 
>> Needed for little-endian ioport access.
>> This fixes NOR flash in little-endian mode
>> 
>> Signed-off-by: David Daney <david.daney@cavium.com>
>> Signed-off-by: Aleksey Makarov <aleksey.makarov@auriga.com>
>> ---
>>  .../include/asm/mach-cavium-octeon/mangle-port.h   | 74 
>> ++++++++++++++++++++++
> 
> This seems to be a new header file that's not used anywhere else.

arch/mips/include/asm/io.h:#include <mangle-port.h>

Also note the compiler flags:

-I./arch/mips/include/asm/mach-cavium-octeon -I./arch/mips/include/asm/mach-generic 

> I get the feeling that there should be at least another three patches
> in this series which have been omitted.
> 
> Certainly, the Octeon peripherals won't work with just the three part
> patch set presented here.

With these patches the cn7000 board boots in little-endian mode with 
all peripherials supported on this board working fine.  The peripherials
on other boards should probably be fixed separately.

> PS. Don't forget the missing htons() in drivers/staging/octeon/ethernet-tx.c

Thanks.  A patch would be appreciated.

Thanks
Aleksey Makarov

  parent reply	other threads:[~2015-03-23 14:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-20 16:11 [PATCH 0/3] mips: OCTEON: Support for little-endian mode Aleksey Makarov
2015-03-20 16:11 ` Aleksey Makarov
2015-03-20 16:11 ` [PATCH 1/3] MIPS: OCTEON: Handle bootloader structures in " Aleksey Makarov
2015-03-20 16:11   ` Aleksey Makarov
2015-03-20 16:11 ` [PATCH 2/3] MIPS: OCTEON: Add mach-cavium-octeon/mangle-port.h Aleksey Makarov
2015-03-20 16:11   ` Aleksey Makarov
2015-03-23 12:39   ` Paul Martin
2015-03-23 14:03   ` Aleksey Makarov [this message]
2015-03-23 14:03     ` Aleksey Makarov
2015-03-23 14:04   ` Aleksey Makarov
2015-03-23 14:04     ` Aleksey Makarov
2015-03-23 14:18     ` Paul Martin
2015-03-23 18:01       ` David Daney
2015-03-20 16:11 ` [PATCH 3/3] MIPS: OCTEON: Enable little endian kernel Aleksey Makarov
2015-03-20 16:11   ` Aleksey Makarov

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=55101D39.3080201@auriga.com \
    --to=aleksey.makarov@auriga.com \
    --cc=linux-mips@linux-mips.org \
    --cc=paul.martin@codethink.co.uk \
    /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.