linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] serial: cleanups that strive to do nothing
@ 2012-03-09  0:12 Paul Gortmaker
  2012-03-09  0:12 ` [PATCH 1/7] serial: delete last unused traces of pausing I/O in 8250 Paul Gortmaker
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Paul Gortmaker @ 2012-03-09  0:12 UTC (permalink / raw)
  To: gregkh, alan; +Cc: linux-serial, Paul Gortmaker

Hi Greg, Alan.

This is the same as the earlier series[1] with the following
exceptions:

 -fix the naming inconsistency that Alan pointed out[2]

 -reorder the patches to put the above serial_out_sync
  commmit last.

 -update context to allow for the is_real_interrupt removal that
  Alan did in d4e33fac ("serial: Kill off NO_IRQ").

I've retested on an mpc8349 based board, using these commits on
the tty-next baseline of today -- 58112dfbf "tty: moxa: fix bit test
in moxa_start()"

Aside from Alan's one comment (now fixed) there were no other
issues pointed out, so it would be nice to have these applied
to tty-next.

Thanks,
Paul.

[1] http://marc.info/?l=linux-serial&m=133065565930327&w=2
[2] http://marc.info/?l=linux-serial&m=133068650007688&w=2

---

The following changes since commit 58112dfbfe02d803566a2c6c8bd97b5fa3c62cdc:

  tty: moxa: fix bit test in moxa_start() (2012-03-08 12:55:48 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux.git serial_8250_cleanup

for you to fetch changes up to 57bf9e9f6fce0d077031a401b435c17733e601b1:

  serial: remove back and forth conversions in serial_out_sync (2012-03-08 18:52:32 -0500)

----------------------------------------------------------------

Paul Gortmaker (7):
  serial: delete last unused traces of pausing I/O in 8250
  serial: make 8250's serial_in shareable to other drivers.
  serial: delete useless void casts in 8250.c
  serial: reduce number of indirections in 8250 code
  serial: introduce generic port in/out helpers
  serial: use serial_port_in/out vs serial_in/out in 8250
  serial: remove back and forth conversions in serial_out_sync

 drivers/tty/serial/8250/8250.c |  724 ++++++++++++++++++++--------------------
 drivers/tty/serial/8250/8250.h |   10 +
 include/linux/serial_core.h    |   10 +
 3 files changed, 381 insertions(+), 363 deletions(-)

-- 
1.7.9.1


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [RFC PATCH 0/7] serial: cleanups that strive to do nothing
@ 2012-03-02  2:33 Paul Gortmaker
  2012-03-02  2:33 ` [PATCH 4/7] serial: reduce number of indirections in 8250 code Paul Gortmaker
  0 siblings, 1 reply; 10+ messages in thread
From: Paul Gortmaker @ 2012-03-02  2:33 UTC (permalink / raw)
  To: alan, gregkh; +Cc: linux-serial, Paul Gortmaker

Yes, that may sound stupid, but when dealing with 20+ year old
hardware, you really do not want to change any runtime behaviour.

To that end, these cleanups are things I spotted when doing the
freescale errata addition and figured I could deal with in a way
that was "inert" to the serial and 8250 users at large.

I've stared at the changes to convince myself that they really
don't change the compiled code (and even cheated by diffing the
assembly), and I've tested with serial console on a headless turd
that is ~10 years old and not seen any sort of regressions.  But
please report if you see any problems in this patch set.  I intend
on testing on a few !x86 arch in the next few days myself.

Thanks,
P.
---

Paul Gortmaker (7):
  serial: delete last unused traces of pausing I/O in 8250
  serial: make 8250's serial_in shareable to other drivers.
  serial: delete useless void casts in 8250.c
  serial: reduce number of indirections in 8250 code
  serial: remove back and forth conversions in serial_out_sync
  serial: introduce generic port in/out helpers
  serial: use serial_port_in/out vs serial_in/out in 8250

 drivers/tty/serial/8250/8250.c |  724 ++++++++++++++++++++--------------------
 drivers/tty/serial/8250/8250.h |   10 +
 include/linux/serial_core.h    |   10 +
 3 files changed, 381 insertions(+), 363 deletions(-)

-- 
1.7.9.1


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

end of thread, other threads:[~2012-03-09 10:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-09  0:12 [PATCH v2 0/7] serial: cleanups that strive to do nothing Paul Gortmaker
2012-03-09  0:12 ` [PATCH 1/7] serial: delete last unused traces of pausing I/O in 8250 Paul Gortmaker
2012-03-09  0:12 ` [PATCH 2/7] serial: make 8250's serial_in shareable to other drivers Paul Gortmaker
2012-03-09  0:12 ` [PATCH 3/7] serial: delete useless void casts in 8250.c Paul Gortmaker
2012-03-09  0:12 ` [PATCH 4/7] serial: reduce number of indirections in 8250 code Paul Gortmaker
2012-03-09  0:12 ` [PATCH 5/7] serial: introduce generic port in/out helpers Paul Gortmaker
2012-03-09  0:12 ` [PATCH 6/7] serial: use serial_port_in/out vs serial_in/out in 8250 Paul Gortmaker
2012-03-09  0:12 ` [PATCH 7/7] serial: remove back and forth conversions in serial_out_sync Paul Gortmaker
2012-03-09 10:29 ` [PATCH v2 0/7] serial: cleanups that strive to do nothing Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2012-03-02  2:33 [RFC PATCH " Paul Gortmaker
2012-03-02  2:33 ` [PATCH 4/7] serial: reduce number of indirections in 8250 code Paul Gortmaker

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