From: f.fainelli@gmail.com (Florian Fainelli)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: brcmstb: Add appropriate ARM_BE8() macros for swapping
Date: Mon, 25 Sep 2017 11:56:45 -0700 [thread overview]
Message-ID: <81b4ed3d-404c-2dae-6a84-5a891560bafb@gmail.com> (raw)
In-Reply-To: <1504029821-38267-1-git-send-email-f.fainelli@gmail.com>
On 08/29/2017 11:03 AM, Florian Fainelli wrote:
> Building a big-endian kernel for ARCH_BRCMSTB revealed that we would not
> be correctly polling for the right bit in the busyuart macro, turns out
> there are a few transformations needed to work with big-endian kernels.
> First we need to swap the value we read from SUN_TOP_CTRL to properly
> compare it against our local tables. Then, just like 8250.S we need to
> swap the value before storing it, and conversely swap it after a load.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Applied to soc/next.
--
Florian
prev parent reply other threads:[~2017-09-25 18:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-29 18:03 [PATCH] ARM: brcmstb: Add appropriate ARM_BE8() macros for swapping Florian Fainelli
2017-09-25 18:56 ` Florian Fainelli [this message]
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=81b4ed3d-404c-2dae-6a84-5a891560bafb@gmail.com \
--to=f.fainelli@gmail.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;
as well as URLs for NNTP newsgroup(s).