linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5 v3] Fixes for running a big-endian kernel on Cubieboard2
@ 2016-08-02 19:31 Michael Weiser
  2016-08-02 19:31 ` [PATCH 1/5] mmc: sunxi-mmc: change idma descriptor to __le32 Michael Weiser
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Michael Weiser @ 2016-08-02 19:31 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

the following patches fix up endianness problems with DMA descriptors in the
sunxi-mmc and stmmac drivers preventing a big-endian kernel from working
correctly on the Cubieboard2.

The third patch adds the ability to enable diagnostic messages in the
sun4i-emac driver which were instrumental in finding the problem fixed by patch
number four: Endianness confusion caused by dual-purpose I/O register usage in
sun4i-emac.

The final patch enables the big-endian kernel configuration option for sunxi
devices in order to be able to compile a big-endian kernel for the Cubieboard2.
All of these have been tested successfull on a Cubieboard2 DualCard.

Changes since v2:
- Fixed typo in stmmac patch causing a build failure
- Added sun4i-emac patches

Changes since v1:
- Fixed checkpatch niggles
- Added respective Cc:s

Regards,
Michael

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/5 v4] Fixes for running a big-endian kernel on Cubieboard2
@ 2016-08-22 16:42 Michael Weiser
  2016-08-22 16:42 ` [PATCH 5/5] ARM: sunxi: enable big-endian Michael Weiser
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Weiser @ 2016-08-22 16:42 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

the following patches allow to run a big-endian kernel on the
Cubieboard2.

The first two patches fix up endianness problems with DMA descriptors in
the sunxi-mmc and stmmac drivers preventing them from working correctly
when runnning a big-endian kernel.

The third patch adds the ability to enable diagnostic messages in the
sun4i-emac driver which were instrumental in finding the problem fixed
by patch number four: Endianness confusion caused by dual-purpose I/O
register usage in   sun4i-emac.

The final patch enables the big-endian kernel configuration option for
sun7i devices in order to be able to compile a big-endian kernel for the
Cubieboard2.

All of these have been tested successfull on a Cubieboard2 DualCard.

Changes since v3:
- Rebased sunxi-mmc patch against Ulf's mmc.git/next
- Changed Kconfig change to enable big-endian support only for sun7i
  devices

Changes since v2:
- Fixed typo in stmmac patch causing a build failure
- Added sun4i-emac patches

Changes since v1:
- Fixed checkpatch niggles
- Added respective Cc:s

Regards,
Michael

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-22 17:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-02 19:31 [PATCH 0/5 v3] Fixes for running a big-endian kernel on Cubieboard2 Michael Weiser
2016-08-02 19:31 ` [PATCH 1/5] mmc: sunxi-mmc: change idma descriptor to __le32 Michael Weiser
2016-08-22 13:38   ` Ulf Hansson
2016-08-02 19:31 ` [PATCH 2/5] net: ethernet: stmmac: change dma descriptors " Michael Weiser
2016-08-02 19:31 ` [PATCH 3/5] net: ethernet: sun4i-emac: Allow to enable netif messages Michael Weiser
2016-08-02 19:31 ` [PATCH 4/5] net: ethernet: sun4i-emac: Read rxhdr in CPU byte-order Michael Weiser
2016-08-02 19:31 ` [PATCH 5/5] ARM: sunxi: enable big-endian Michael Weiser
2016-08-22  7:57   ` Maxime Ripard
  -- strict thread matches above, loose matches on Subject: below --
2016-08-22 16:42 [PATCH 0/5 v4] Fixes for running a big-endian kernel on Cubieboard2 Michael Weiser
2016-08-22 16:42 ` [PATCH 5/5] ARM: sunxi: enable big-endian Michael Weiser
2016-08-22 17:31   ` Maxime Ripard

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).