simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/plat-omap/dmtimer.c |8
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/plat-omap/counter_32k.c |6 +++---
1
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/plat-omap/debug-leds.c | 14
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/mach-omap2/board-flash.c |4
This series does trivial replacement of __raw_xxx functions with xxx_relaxed
endian-neutral variants in 'mach-omap2' and 'plat-omap' directories.
Some code here most probably won't be used in BE mode (like debug-leds for
OMAP1 boards), but changes are made anyway to remove __raw_xxx() functions
com
On 03/26/2014 12:35 PM, Taras Kondratiuk wrote:
> On 01/08/2014 02:39 AM, Tony Lindgren wrote:
>> * Taras Kondratiuk [131223 10:20]:
>>> On 23 December 2013 20:10, Taras Kondratiuk
>>> wrote:
>>>> This series does trivial replacement of __raw_xxx funct
On 01/08/2014 02:39 AM, Tony Lindgren wrote:
> * Taras Kondratiuk [131223 10:20]:
>> On 23 December 2013 20:10, Taras Kondratiuk
>> wrote:
>>> This series does trivial replacement of __raw_xxx functions with xxx_relaxed
>>> endian-neutral variants in 'm
but I don't
see a point to spend time for a generic solution for a single user.
If there will be other platforms which need similar changes, then we can
think of some generic solution. Let's drop this patch for now.
We can just disable CPUidle for BE tasks or keep this patch forked.
[1]
On 13 January 2014 17:23, Nishanth Menon wrote:
> On 01/13/2014 09:03 AM, Taras Kondratiuk wrote:
>> From: Victor Kamensky
>>
>> Assembler functions defined in sleep44xx.S need to byteswap values
>> after read / before write from h/w register if code compiled in big
&g
we need
to do it earlier because OMAP's secondary_startup code works with BE data.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
This is a part of RFC series [1].
Based on v3.13-rc8.
[1] http://www.spinics.net/lists/linux-omap/msg99927.html
arch/arm/mach-omap2
ned-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
This is a part of RFC series [1].
Based on v3.13-rc8.
[1] http://www.spinics.net/lists/linux-omap/msg99927.html
arch/arm/mach-omap2/sleep44xx.S | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/
On 23 December 2013 20:10, Taras Kondratiuk wrote:
> This series does trivial replacement of __raw_xxx functions with xxx_relaxed
> endian-neutral variants in 'mach-omap2' and 'plat-omap' directories.
> Some code here most probably won't be used in BE mode (
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/plat-omap/counter_32k.c |6 +++---
1
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/plat-omap/dmtimer.c |8
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/plat-omap/debug-leds.c | 14
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/mach-omap2/board-flash.c |4
latforms.
This patch adds cache flush inside of OMAP4 and Highbank outer_cache.disable()
handlers to make it consistent with default l2x0_disable().
Acked-by: Rob Herring
Acked-by: Santosh Shilimkar
Acked-by: Tony Lindgren
Signed-off-by: Taras Kondratiuk
---
I was not aware about Russell&
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
Posting this as a saparate patch out of RFC series
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/video/omap2/dss/dispc.c |4
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/input/keyboard/omap4-keypad.c | 10
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/char/hw_random/omap-rng.c |4 ++--
1
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/crypto/omap-aes.c |8
1 file
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/spi/spi-omap2-mcspi.c | 38
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/mmc/host/omap.c |4 ++--
drivers
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/gpio/gpio-omap.c | 188
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/plat-omap/counter_32k.c |6 +++---
1
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/crypto/omap-sham.c |4 ++--
1 file
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/mfd/omap-usb-host.c |8
1 file
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/mfd/omap-usb-tll.c |8
1 file
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/usb/host/ehci-omap.c |4 ++--
1 file
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/plat-omap/debug-leds.c | 14
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/mach-omap2/board-flash.c |4
From: Victor Kamensky
Previous patches fixed big endian issues in OMAP4 code,
so mark it as one that supports big endian
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/mach-omap2/Kconfig |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-omap2
ned-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/mach-omap2/sleep44xx.S | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/mach-omap2/sleep44xx.S b/arch/arm/mach-omap2/sleep44xx.S
index 9086ce0..8017016 100644
--- a/arch/arm/mach-omap2/sleep44
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
sound/soc/omap/mcbsp.c | 12
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/bus/omap_l3_noc.c |8
1 file
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/plat-omap/dmtimer.c |8
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/watchdog/omap_wdt.c | 36
we need
to do it earlier because OMAP's secondary_startup code works with BE data.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
arch/arm/mach-omap2/omap-headsmp.S | 13 +
arch/arm/mach-omap2/sleep44xx.S|6 ++
2 files changed, 19 insertions(+)
This series is a split up of Victor's initial BE series for Pandaboard.
The first 20 patches are trivial replacement of __raw_xxx functions
with xxx_relaxed endian neutral variant.
Patches #1-#16 covers OMAP drivers in 'drivers' and 'sound' directories.
Patch #17 covers 'mach-omap2' directory. Ini
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/usb/musb/musb_io.h | 18
simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky
Signed-off-by: Taras Kondratiuk
---
drivers/i2c/busses/i2c-omap.c |6 +++---
1 file
;>> After MPUSS has enterred OSWR and waken up:
>>> - GIC distributor became disabled forever
>>> - scheduling is not performed any more
>>>
>>> Cc: Kevin Hilman
>>> Acked-by: Santosh Shilimkar
>>> Reported-by: Taras Kondratiuk
>>>
d missed
one of ARDY clearings. So current code violates errata.
It causes often i2c bus timeouts on my Pandaboard.
This patch adds a second clearing in place.
Signed-off-by: Grygorii Strashko
Signed-off-by: Taras Kondratiuk
---
Cc: Felipe Balbi
Cc: Richard woodruff
Cc: Tony Lindgren
Cc: Wol
latforms.
This patch adds cache flush inside of OMAP4 and Highbank outer_cache.disable()
handlers to make it consistent with default l2x0_disable().
Also it removes redundant outer_flush_all() call just before outer_disable().
Acked-by: Rob Herring
Acked-by: Santosh Shilimkar
Signed-off-by: T
latforms.
This patch adds cache flush inside of OMAP4 and Highbank outer_cache.disable()
handlers to make it consistent with default l2x0_disable().
Also it removes redundant outer_flush_all() call just before outer_disable().
Signed-off-by: Taras Kondratiuk
---
v2: Make the fix specific to platf
From: Danke Xie
The current TWL 6030 IRQ handler assumes little endianness.
This change makes it endian-neutral.
Signed-off-by: Danke Xie
Signed-off-by: Taras Kondratiuk
---
v2: fixed sparse warning
v1: https://patchwork.kernel.org/patch/2974331/
drivers/mfd/twl6030-irq.c |8 +---
1
On 2 October 2013 20:31, Will Deacon wrote:
> On Wed, Oct 02, 2013 at 06:19:30PM +0100, Taras Kondratiuk wrote:
>> On 2 October 2013 15:49, Will Deacon wrote:
>> > On Wed, Oct 02, 2013 at 12:34:16PM +0100, Taras Kondratiuk wrote:
>> >> diff --git a/arch/arm/kern
On 2 October 2013 19:43, Kim Phillips wrote:
> On Wed, 2 Oct 2013 14:08:44 +0300
> Taras Kondratiuk wrote:
>
>> From: Danke Xie
>>
>> The current TWL 6030 IRQ handler assumes little endianness.
>> This change makes it endian-neutral.
>>
>> Sign
Recent commit 76bac1987ca181d54f8c9456d20997cb1020af2d
"OMAP: UART: Fix the revision register read" changed UART_MVR 16-bit
read to 32-bit.
But pre-OMAP4 devices have 16-bit MVR register.
Is it safe to assume that 32-bit access will return 0's in upper
16-bits in this case?
--
From: Danke Xie
The current TWL 6030 IRQ handler assumes little endianness.
This change makes it endian-neutral.
Signed-off-by: Danke Xie
Signed-off-by: Taras Kondratiuk
---
drivers/mfd/twl6030-irq.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd
d missed
one of ARDY clearings. So current code violates errata.
It causes often i2c bus timeouts on my Pandaboard.
This patch adds a second clearing in place.
Signed-off-by: Taras Kondratiuk
---
drivers/i2c/busses/i2c-omap.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/i2c
On 04/22/2013 09:11 AM, Bedia, Vaibhav wrote:
(removing Anil's email-id since it's no longer valid)
On Sat, Apr 20, 2013 at 05:54:10, Kondratiuk, Taras wrote:
On 04/19/2013 07:21 PM, Nishanth Menon wrote:
On 14:55-20130419, Taras Kondratiuk wrote:
Using a "voltage tolerance&
53 matches
Mail list logo