[PATCH 1/2] ARM: dts: omap3-echo: Update LED configuration

2021-01-30 Thread André Hentschel
Signed-off-by: André Hentschel --- Changes made in 54212f5a1ba3123281877e54c1e5f672bf7563d8 and previous commits broke with the way the LED drivers were described in device-trees before. These adjustments fix that. arch/arm/boot/dts/omap3-echo.dts | 469 ++- 1

[PATCH 2/2] ARM: dts: omap3-echo: Add ath6kl node

2021-01-30 Thread André Hentschel
Signed-off-by: André Hentschel --- Attention, here I am not sure if this is supposed to work like that. The ath6kl driver needs to be loaded as a module anyway and automatically find the right device. So this might be useful for documentation purpose, but also might be wrong device-tree wise

[PATCH] ARM: dts: omap3-echo: Add speaker sound card support

2020-12-27 Thread André Hentschel
This adds audio playback to the first generation Amazon Echo Signed-off-by: André Hentschel --- It took me by far too long to get this working as the codec sets one important bit based on the combination of provided supplies. That was just too hidden for me. The first generation Amazon Echo

Re: [PATCH v2] arm64: Preserve the user r/w register tpidr_el0 on context switch and fork in compat mode

2015-05-28 Thread André Hentschel
Am 27.05.2015 um 16:36 schrieb Will Deacon: > Hi André, > > On Wed, May 20, 2015 at 05:18:29PM +0100, André Hentschel wrote: >> From: André Hentschel >> >> Since commit a4780adeefd042482f624f5e0d577bf9cdcbb760 the user writeable TLS >> register on ARM is prese

[PATCH v2] arm64: Preserve the user r/w register tpidr_el0 on context switch and fork in compat mode

2015-05-20 Thread André Hentschel
From: André Hentschel Since commit a4780adeefd042482f624f5e0d577bf9cdcbb760 the user writeable TLS register on ARM is preserved per thread. This patch does it analogous to the ARM patch, but for compat mode on ARM64. Signed-off-by: André Hentschel Cc: Will Deacon Cc: Catalin Marinas

Re: [PATCH] arm64: Preserve the user r/w register tpidr_el0 on context switch and fork in compat mode

2015-05-05 Thread André Hentschel
Am 05.05.2015 um 19:15 schrieb Will Deacon: > On Tue, May 05, 2015 at 06:09:57PM +0100, André Hentschel wrote: >> Am 05.05.2015 um 12:51 schrieb Will Deacon: >>> On Sun, May 03, 2015 at 05:24:18PM +0100, André Hentschel wrote: >>>> From: André Hen

Re: [PATCH] arm64: Preserve the user r/w register tpidr_el0 on context switch and fork in compat mode

2015-05-05 Thread André Hentschel
Am 05.05.2015 um 12:51 schrieb Will Deacon: > On Sun, May 03, 2015 at 05:24:18PM +0100, André Hentschel wrote: >> From: André Hentschel >> >> Since commit a4780adeefd042482f624f5e0d577bf9cdcbb760 the user writeable TLS >> register on ARM is preserved per thread. >>

[PATCH] arm64: Preserve the user r/w register tpidr_el0 on context switch and fork in compat mode

2015-05-03 Thread André Hentschel
From: André Hentschel Since commit a4780adeefd042482f624f5e0d577bf9cdcbb760 the user writeable TLS register on ARM is preserved per thread. This patch does it analogous to the ARM patch, but for compat mode on ARM64. Signed-off-by: André Hentschel Cc: Will Deacon Cc: Jonathan Austin

Re: arm: Only load TLS values when needed

2013-08-26 Thread André Hentschel
Am 15.08.2013 20:27, schrieb André Hentschel: > Hi Jonathan, > > Am 15.08.2013 19:29, schrieb Jonathan Austin: >> Hi André >> What I've *not* tested: >> * As this CPU does not have the tls register, I haven't run any tests that >> try to read/write it,

Re: arm: Only load TLS values when needed

2013-08-15 Thread André Hentschel
Hi Jonathan, Am 15.08.2013 19:29, schrieb Jonathan Austin: > Hi André > > (I've put RMK and LAKML back on Cc: they got dropped somewhere along the way) > > On 14/08/13 22:21, André Hentschel wrote: >>>>>> [...] >>>>>>>> Now

Re: arm: Only load TLS values when needed

2013-08-14 Thread André Hentschel
Am 14.08.2013 18:20, schrieb Jonathan Austin: > Hi André, > > On 14/08/13 15:07, André Hentschel wrote: >> Hi Jonathan, >> Any updates on this? >> > > I was holding out to see the version with ldrd at the top, as discussed below > - I never saw a version wit

Re: arm: Only load TLS values when needed

2013-08-14 Thread André Hentschel
Hi Jonathan, Any updates on this? Am 17.07.2013 21:49, schrieb André Hentschel: > Am 17.07.2013 13:10, schrieb Jonathan Austin: >> Hi André, >> Do you have access to anything v6-NOT-k-ish? If not I can try and test this >> on something appropriate. How does your test-case a

Re: arm: Only load TLS values when needed

2013-07-17 Thread André Hentschel
Am 17.07.2013 13:10, schrieb Jonathan Austin: > Hi André, > > On 16/07/13 20:27, André Hentschel wrote: >> Hi Jonathan, First, thank you for your review. >> >> Am 16.07.2013 19:31, schrieb Jonathan Austin: >>> Hi André, >>> >>> On 15/07/13 18

Re: arm: Only load TLS values when needed

2013-07-16 Thread André Hentschel
Hi Jonathan, First, thank you for your review. Am 16.07.2013 19:31, schrieb Jonathan Austin: > Hi André, > > On 15/07/13 18:14, André Hentschel wrote: >> From: André Hentschel >> >> This patch intents to reduce loading instructions when the resulting value >>

arm: Only load TLS values when needed

2013-07-15 Thread André Hentschel
From: André Hentschel This patch intents to reduce loading instructions when the resulting value is not used. It's a follow up on a4780adeefd042482f624f5e0d577bf9cdcbb760 Signed-off-by: André Hentschel --- This patch is against Linux 3.11-rc1 (ad81f0545ef01ea651886dddac4bef6cec9

[PATCH v7] arm: Preserve the user r/w register TPIDRURW on context, switch and fork

2013-06-18 Thread André Hentschel
From: André Hentschel Since commit 6a1c53124aa1 the user writeable TLS register was zeroed to prevent it from being used as a covert channel between two tasks. There are more and more applications coming to Windows RT, Wine could support them, but mostly they expect to have the thread

Re: [PATCH v6] arm: Preserve the user r/w register TPIDRURW on context, switch and fork

2013-06-18 Thread André Hentschel
On 18.06.2013 12:07, Will Deacon wrote: > On Mon, Jun 17, 2013 at 11:13:48PM +0100, André Hentschel wrote: >> From: André Hentschel >> >> Since commit 6a1c53124aa1 the user writeable TLS register was zeroed to >> prevent it from being used as a covert channel between

[PATCH v6] arm: Preserve the user r/w register TPIDRURW on context, switch and fork

2013-06-17 Thread André Hentschel
From: André Hentschel Since commit 6a1c53124aa1 the user writeable TLS register was zeroed to prevent it from being used as a covert channel between two tasks. There are more and more applications coming to Windows RT, Wine could support them, but mostly they expect to have the thread

[PATCH v5] arm: Preserve the user r/w register TPIDRURW on context switch and fork

2013-05-22 Thread André Hentschel
From: André Hentschel Since commit 6a1c53124aa1 the user writeable TLS register was zeroed to prevent it from being used as a covert channel between two tasks. There are more and more applications coming to Windows RT, Wine could support them, but mostly they expect to have the thread

Re: [PATCHv4] arm: Preserve the user r/w register TPIDRURW on context switch and fork

2013-05-20 Thread André Hentschel
Am 20.05.2013 13:03, schrieb Jonathan Austin: > Hi André > > On 18/05/13 16:02, André Hentschel wrote: >> Am 08.05.2013 21:03, schrieb André Hentschel: >>> From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= >>> > > This is strangely formatted for me too, and I use

Re: [PATCHv4] arm: Preserve the user r/w register TPIDRURW on context switch and fork

2013-05-18 Thread André Hentschel
Am 08.05.2013 21:03, schrieb André Hentschel: > From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= > > Since commit 6a1c53124aa1 the user writeable TLS register was zeroed to > prevent it from being used as a covert channel between two tasks. > > There are more and more applications com

[PATCHv4] arm: Preserve the user r/w register TPIDRURW on context switch and fork

2013-05-08 Thread André Hentschel
must always read TPIDRURW in copy_thread. Signed-off-by: André Hentschel Signed-off-by: Will Deacon Signed-off-by: Jonathan Austin --- This patch is against a86d52667d8eda5de39393ce737794403bdce1eb Why so much Signed-off-bys? Some History: The first patch had performance issues pointed out

Re: [PATCHv3] arm: Preserve the user r/w register TPIDRURW on context switch and fork

2013-05-08 Thread André Hentschel
Hi Will, thx for having a look. Am 08.05.2013 10:57, schrieb Will Deacon:> Hi Andre, > > On Tue, May 07, 2013 at 09:51:00PM +0100, André Hentschel wrote: >> From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= > > Might just be my mailer, but you should check that your name is intact

[PATCHv3] arm: Preserve the user r/w register TPIDRURW on context switch and fork

2013-05-07 Thread André Hentschel
must always read TPIDRURW in copy_thread. Signed-off-by: André Hentschel Signed-off-by: Will Deacon Signed-off-by: Jonathan Austin --- This patch is against a86d52667d8eda5de39393ce737794403bdce1eb I could only test it with kernel 3.4.6, beside using Wine for testing i also used https

Re: [PATCHv2] arm: Preserve TPIDRURW on context switch

2013-05-06 Thread André Hentschel
uld like to suggest the patch below. Reasons include: My thoughts about tp&tpuser naming and the helper function for copy_thread, further i'd really like to get a bit credit for spending weeks on getting my second kernel patch in :) If that patch is fine for you and no one object, i&#

Re: [PATCHv2] arm: Preserve TPIDRURW on context switch

2013-05-04 Thread André Hentschel
Am 03.05.2013 17:24, schrieb Jonathan Austin: > Hi Russell, > > Thanks for the comments - you're right about the 'switch_tls' > being more appropriate - needed to take a step back to see that. > > I've got a few questions, added inline. > > André, Assuming I've understood things okay, there's a

Re: [PATCHv2] arm: Preserve TPIDRURW on context switch

2013-05-02 Thread André Hentschel
Am 24.04.2013 11:42, schrieb Will Deacon: > Hi Andrew, > > On Tue, Apr 23, 2013 at 11:42:22PM +0100, André Hentschel wrote: >> Am 23.04.2013 11:15, schrieb Will Deacon: >>> You could introduce `get' tls functions, which don't do anything for CPUs >>> wit

Re: [PATCHv2] arm: Preserve TPIDRURW on context switch

2013-04-23 Thread André Hentschel
Am 23.04.2013 11:15, schrieb Will Deacon: > On Mon, Apr 22, 2013 at 10:07:35PM +0100, André Hentschel wrote: >> Am 22.04.2013 17:18, schrieb Will Deacon: >>> On Mon, Apr 22, 2013 at 03:36:16PM +0100, Russell King - ARM Linux wrote: >>>> On Fri, Apr 19, 2013 at 05:

Re: [PATCHv2] arm: Preserve TPIDRURW on context switch

2013-04-22 Thread André Hentschel
Am 22.04.2013 17:18, schrieb Will Deacon: > On Mon, Apr 22, 2013 at 03:36:16PM +0100, Russell King - ARM Linux wrote: >> On Fri, Apr 19, 2013 at 05:54:35PM +0200, André Hentschel wrote: >>> From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= >>> >>> There are more and mor

[PATCHv2] arm: Preserve TPIDRURW on context switch

2013-04-19 Thread André Hentschel
From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= There are more and more applications coming to WinRT, Wine could support them, but mostly they expect to have the thread environment block (TEB) in TPIDRURW. This register must be preserved per thread instead of being cleared. Signed-off-by: André

Re: [PATCH] arm: Preserve TPIDRURW on context switch

2013-02-20 Thread André Hentschel
Am 12.02.2013 16:02, schrieb Matthieu CASTET: > Will Deacon a écrit : >> Hi Andre, >> >> On Tue, Feb 12, 2013 at 02:02:59PM +, André Hentschel wrote: >>> Am 08.02.2013 16:48, schrieb Will Deacon: >>>> On Wed, Feb 06, 2013 at 11:01:23PM +, André H

Re: [PATCH] arm: Preserve TPIDRURW on context switch

2013-02-12 Thread André Hentschel
Am 12.02.2013 15:09, schrieb Will Deacon: > Hi Andre, > > On Tue, Feb 12, 2013 at 02:02:59PM +0000, André Hentschel wrote: >> Am 08.02.2013 16:48, schrieb Will Deacon: >>> On Wed, Feb 06, 2013 at 11:01:23PM +, André Hentschel wrote: >>>> No, i'm n

Re: [PATCH] arm: Preserve TPIDRURW on context switch

2013-02-12 Thread André Hentschel
Am 08.02.2013 16:48, schrieb Will Deacon: > On Wed, Feb 06, 2013 at 11:01:23PM +0000, André Hentschel wrote: >> Am 06.02.2013 23:51, schrieb Russell King - ARM Linux: >>> On Wed, Feb 06, 2013 at 11:43:10PM +0100, André Hentschel wrote: >>>> There are more and mor

Re: [PATCH] arm: Preserve TPIDRURW on context switch

2013-02-09 Thread André Hentschel
Am 08.02.2013 16:48, schrieb Will Deacon: > On Wed, Feb 06, 2013 at 11:01:23PM +0000, André Hentschel wrote: >> Am 06.02.2013 23:51, schrieb Russell King - ARM Linux: >>> On Wed, Feb 06, 2013 at 11:43:10PM +0100, André Hentschel wrote: >>>> There are more and mor

Re: [PATCH] arm: Preserve TPIDRURW on context switch

2013-02-06 Thread André Hentschel
Am 06.02.2013 23:51, schrieb Russell King - ARM Linux: > On Wed, Feb 06, 2013 at 11:43:10PM +0100, André Hentschel wrote: >> There are more and more applications coming to WinRT, Wine could support >> them, >> but mostly they expect to have the thread environment block

[PATCH] arm: Preserve TPIDRURW on context switch

2013-02-06 Thread André Hentschel
could only test it with kernel 3.4.6 Signed-off-by: André Hentschel From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 6 Feb 2013 23:24:54 +0100 Subject: [PATCH] arm: Preserve TPIDRURW on context switch --- arch/arm/include/asm/thread_info.h | 1 + arch/arm/include/asm/tls.h | 43

[PATCH] arm: Include soc.h to fix compiling

2013-02-06 Thread André Hentschel
I needed this when compiling for pandaboard at commit: 0944c0a03465718909ba8e800a5230528aeabafb Signed-off-by: André Hentschel From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 6 Feb 2013 23:16:20 +0100 Subject: [PATCH] arm: Include soc.h to fix