All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] serial, Malta: Fixes to make the CBUS UART work big-endian
@ 2021-06-10 18:37 Maciej W. Rozycki
  2021-06-10 18:38 ` [PATCH 1/2] serial: 8250: Mask out floating 16/32-bit bus bits Maciej W. Rozycki
  2021-06-10 18:38 ` [PATCH 2/2] MIPS: Malta: Do not byte-swap accesses to the CBUS UART Maciej W. Rozycki
  0 siblings, 2 replies; 7+ messages in thread
From: Maciej W. Rozycki @ 2021-06-10 18:37 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Thomas Bogendoerfer
  Cc: linux-serial, linux-mips, linux-kernel

Hi,

 Earlier this year I noticed the CBUS UART, a discrete TI16C550C part 
wired directly to the system controller's device bus and supposed to come 
up as ttyS2 in addition to ttyS0 and ttyS1 ports from a Super I/O device 
behind the PCI southbridge, is not recognised with my MIPS Malta board 
booting big-endian.

 I used to use it just fine, many many years ago, although in the board's 
little-endian configuration only, and then with a local patch to get it 
supported with Linux 2.4.x, which I didn't get to submitting however due 
to the turn of events back then.  Support was then added by someone else 
with 2.6.23.

 I got to the bottom of the problem now and as it turns out we have two 
long-standing bugs causing it, one in generic 8250 code and another in 
Malta platform code, and this has never worked in the big-endian mode.  
Evidently, this has never been verified, and I guess this is because back 
in the MIPS UK days we usually ran the boards in the little-endian mode.

 This pair of patches addresses these bugs individually.  See the 
respective change descriptions for details.

 Please apply.

  Maciej

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

end of thread, other threads:[~2021-06-26  4:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 18:37 [PATCH 0/2] serial, Malta: Fixes to make the CBUS UART work big-endian Maciej W. Rozycki
2021-06-10 18:38 ` [PATCH 1/2] serial: 8250: Mask out floating 16/32-bit bus bits Maciej W. Rozycki
2021-06-11  6:07   ` Jiri Slaby
     [not found]   ` <CAHp75VeGn_wCLevAvD3iyykA73y+mh8k7pjQ2TY-9mt5cqEFWg@mail.gmail.com>
2021-06-11  6:55     ` Greg Kroah-Hartman
2021-06-26  4:12       ` Maciej W. Rozycki
2021-06-11 17:07   ` Philippe Mathieu-Daudé
2021-06-10 18:38 ` [PATCH 2/2] MIPS: Malta: Do not byte-swap accesses to the CBUS UART Maciej W. Rozycki

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.