Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1739223 > unrolled thread

Re: [PATCH] ARM: brcmstb: Add appropriate ARM_BE8() macros for swapping

Started byFlorian Fainelli <f.fainelli@gmail.com>
First post2017-09-25 21:00 +0200
Last post2017-09-25 21:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] ARM: brcmstb: Add appropriate ARM_BE8() macros for  swapping Florian Fainelli <f.fainelli@gmail.com> - 2017-09-25 21:00 +0200

#1739223 — Re: [PATCH] ARM: brcmstb: Add appropriate ARM_BE8() macros for swapping

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2017-09-25 21:00 +0200
SubjectRe: [PATCH] ARM: brcmstb: Add appropriate ARM_BE8() macros for swapping
Message-ID<utGLL-1Ok-7@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web