From: alexander.sverdlin@nokia.com (Alexander Sverdlin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] ARM: earlycon: Fix <CR><LF><CR> end-of-line
Date: Wed, 27 Sep 2017 13:49:27 +0200 [thread overview]
Message-ID: <20170927114929.9259-1-alexander.sverdlin@nokia.com> (raw)
Since very beginning the early serial console on ARM produces <CR><LF><CR>
line terminator. There are couple of problems connected:
1. C function early_write() adds <CR> to each <LF> even though underlying
Assembler printch() does this already
2. printch() adds <CR> *after* <LF>, not before, as it is usually being done
This patchset is tested on a Keystone2 machine (Cortex-A15) with
CONFIG_THUMB2_KERNEL=n.
Alexander Sverdlin (2):
ARM: Make DEBUG_LL produce CRLF instead of LFCR
ARM: early_printk: Stop emitting double CR on the console
arch/arm/kernel/debug.S | 11 +++++++----
arch/arm/kernel/early_printk.c | 2 --
2 files changed, 7 insertions(+), 6 deletions(-)
--
2.4.6
next reply other threads:[~2017-09-27 11:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-27 11:49 Alexander Sverdlin [this message]
2017-09-27 11:49 ` [PATCH 1/2] ARM: Make DEBUG_LL produce CRLF instead of LFCR Alexander Sverdlin
2017-09-27 11:49 ` [PATCH 2/2] ARM: early_printk: Stop emitting double CR on the console Alexander Sverdlin
2017-09-27 11:52 ` [PATCH 0/2] ARM: earlycon: Fix <CR><LF><CR> end-of-line Russell King - ARM Linux
2017-09-27 11:57 ` Alexander Sverdlin
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=20170927114929.9259-1-alexander.sverdlin@nokia.com \
--to=alexander.sverdlin@nokia.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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