Re: [PATCH 1/2] ARM: default PHYS_OFFSET if !MMU

2013-12-04 Thread Jonathan Austin
Hi all, On 13/11/13 11:46, Jonathan Austin wrote: Hi Ming, On 13/11/13 11:15, Ming Lei wrote: From: Jonathan Austin Set CONFIG_PAGE_OFFSET as PHYS_OFFSET when !MMU so that we can keep CONFIG_PAGE_OFFSET same with PAGE_OFFSET. I'm not so sure about this commit message - I don'

Re: [PATCH 1/2] ARM: default PHYS_OFFSET if !MMU

2013-11-13 Thread Jonathan Austin
Hi Ming, On 13/11/13 11:15, Ming Lei wrote: > From: Jonathan Austin > > Set CONFIG_PAGE_OFFSET as PHYS_OFFSET when !MMU so that > we can keep CONFIG_PAGE_OFFSET same with PAGE_OFFSET. > I'm not so sure about this commit message - I don't think it makes sense...S

Re: kernel BUG at kernel/kallsyms.c:222!

2013-11-12 Thread Jonathan Austin
On 12/11/13 03:22, Ming Lei wrote: On Tue, Nov 12, 2013 at 3:32 AM, Russell King - ARM Linux wrote: On Mon, Nov 11, 2013 at 05:15:29PM +, Jonathan Austin wrote: I've tested the patch below and it solves the ARM side of things - so gives you an option other than a complete revert. Hap

Re: kernel BUG at kernel/kallsyms.c:222!

2013-11-11 Thread Jonathan Austin
On 11/11/13 10:41, Ming Lei wrote: > Hi, > > On Mon, Nov 11, 2013 at 5:57 PM, Ming Lei wrote: >> Hi, >> >> On Mon, Nov 11, 2013 at 4:37 PM, Axel Lin wrote: >>> 2013/11/11 Ming Lei : >>> >>> Hi Ming, >>> >>> commit f6537f2f "scripts/kallsyms: filter symbols not in kernel address >>> space", >>>

Re: [PATCHv3] ARM: OMAP2+: am335x-bone*: add DT for BeagleBone Black

2013-09-09 Thread Jonathan Austin
Hi Matt, On 09/09/13 15:16, Matt Porter wrote: On Mon, Sep 09, 2013 at 09:59:26AM -0400, Matt Porter wrote: On Mon, Sep 09, 2013 at 02:51:13PM +0100, Jonathan Austin wrote: Hi Matt, On 09/09/13 14:31, Matt Porter wrote: On Sun, Sep 08, 2013 at 01:12:26PM +0200, Koen Kooi wrote: The

Re: [PATCHv3] ARM: OMAP2+: am335x-bone*: add DT for BeagleBone Black

2013-09-09 Thread Jonathan Austin
Hi Matt, On 09/09/13 14:31, Matt Porter wrote: On Sun, Sep 08, 2013 at 01:12:26PM +0200, Koen Kooi wrote: The BeagleBone Black is basically a regular BeagleBone with eMMC and HDMI added, so create a common dtsi both can use. IMPORTANT: booting the existing am335x-bone.dts will blow up the HDMI

Re: arm: Only load TLS values when needed

2013-08-15 Thread Jonathan Austin
Performance impact I think it'd be good if you can verify the bottom two points - especially the ldrd one: perhaps Russell can tell you which platform it broke on before? So, that's a Tested-by: Jonathan Austin If you want it :) Hope that helps, Jonny Signed-off-by: André Hentsche

Re: arm: Only load TLS values when needed

2013-08-14 Thread 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 with that change? I'd meant to ping you to see if that was coming, sorry. [...] [...] Now we've on

Re: Build breakage due to latest ARM fixes

2013-08-05 Thread Jonathan Austin
on); other than that I didn't notice any no-mmu problems. Also Jonathan Austin does some no-MMU work. We use !MMU internally here for R-class stuff (see the recently added Cortex-R7 support). Our CONFIG_MMU=n testing all happens on Versatile Express, and it should even be possible to

Re: arm: Only load TLS values when needed

2013-07-17 Thread 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:14, André Hentschel wrote: From: André Hentschel This patch intents to reduce loading instructions when the resulting

Re: arm: Only load TLS values when needed

2013-07-16 Thread 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 is not used. It's a follow up on a4780adeefd042482f624f5e0d577bf9cdcbb760 Have you done any benchmarking to see that this has any real impact

amba-pl08x and 'get_signal' namespace collision/build error

2013-06-25 Thread Jonathan Austin
Hi all, There's a patch making its way to mainline via Russell's tree (8d96250700: ARM: mm: Transparent huge page support for LPAE systems) that breaks the build of the amba-pl08x driver (drivers/dma/amba-pl08x.c) because the 'get_signal' macro from include/linux/signal.h is now in the driver's s

Re: linux-next: manual merge of the arm-mpidr tree with the arm tree

2013-06-19 Thread Jonathan Austin
On 19/06/13 09:26, Russell King wrote: On Wed, Jun 19, 2013 at 10:44:09AM +1000, Stephen Rothwell wrote: Hi Lorenzo, Today's linux-next merge of the arm-mpidr tree got a conflict in arch/arm/kernel/suspend.c between commit aa1aadc3305c ("ARM: suspend: fix CPU suspend code for !CONFIG_MMU config

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

2013-06-07 Thread Jonathan Austin
treatment in the case that we modify TPIDRURW and call fork(). To avoid this we 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 Linux 3.10-rc2 (c7788792a5e7b0d5d7f96d0766b4cb6112d4

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

2013-05-20 Thread Jonathan Austin
eacon Signed-off-by: Jonathan Austin Hi, I'm not yet very familiar with the development process here, am i getting no feedback on v4 because of the mergewindow being closed? Or is there another reason? Sry for being impatient. This is a feature, not a fix, so most likely it'll

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

2013-05-07 Thread Jonathan Austin
Hi André, On 06/05/13 23:27, André Hentschel wrote: Am 03.05.2013 17:24, schrieb Jonathan Austin: - .macro set_tls_none, tp, tmp1, tmp2 + .macro switch_tls_none, base, tp, trw, tmp1, tmp2 .endm - .macro set_tls_v6k, tp, tmp1, tmp2 + .macro switch_tls_v6k, base

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

2013-05-03 Thread Jonathan Austin
asm stuff (with minor modifications, see the questions) and includes the C-world changes too. Perhaps you could see that it solves your problem? On 03/05/13 10:55, Russell King - ARM Linux wrote: > On Fri, May 03, 2013 at 10:21:34AM +0100, Jonathan Austin wrote: >> .macro set_tls_v6k

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

2013-05-03 Thread Jonathan Austin
> @@ -395,7 +396,10 @@ copy_thread(unsigned long clone_flags, unsigned long > stack_start, > clear_ptrace_hw_breakpoint(p); > > if (clone_flags & CLONE_SETTLS) > - thread->tp_value = childregs->ARM_r3; > + { > + thread

Re: [Suggestion] Latest randconfig build errors for CONFIG_MMU=no

2013-03-14 Thread Jonathan Austin
Hi Chen, On 14/03/13 03:44, Chen Gang wrote: Hello Maintainers: when use randconfig: make V=1 EXTRA_CFLAGS=-W ARCH=arm randconfig (and "grep CONFIG_MMU .config" outputs "# CONFIG_MMU is not set") the error information: arch/arm/kernel/suspend.c: 在函数‘cpu_suspend’中: a

Re: [PATCH] ARM: proc: Add Krait proc info

2013-03-13 Thread Jonathan Austin
On 13/03/13 01:31, Stephen Boyd wrote: On 03/07/13 22:41, Will Deacon wrote: On Wed, Mar 06, 2013 at 05:20:32AM +, Stephen Boyd wrote: On 03/05/13 14:03, Stephen Boyd wrote: On 03/05/13 00:34, Will Deacon wrote: I was looking at this the other day and wondered whether we could set HWCAP_I

[PATCH] Remove stale entry for generated version.h file in .gitignore

2012-12-07 Thread Jonathan Austin
ed up until it is manually removed. This upsets the C library. Since the uapi changes, include/linux/version.h is no longer generated and should not be ignored, so this patch removes it from .gitignore. Reported-by: Kevin Petit Signed-off-by: Jonathan Austin --- .gitignore |1 - 1 files ch

Re: [PATCH 4/9] ARM: export default read_current_timer

2012-10-09 Thread Jonathan Austin
-janitors list and Will Deacon) ---8<- On ARM, get_cycles() is implemented in terms of read_current_timer(), but the latter is not exported to modules, resulting in failure to link: ERROR: "read_current_timer" [fs/ext4/ext4.ko] undefined! This patch exports the symbol as re