Re: [PATCH] arm: fix returning wrong CALLER_ADDRx

2013-01-29 Thread Dave Martin
g so that wrong value > returned when unwind_frame failed. > > Signed-off-by: sahara Reviewed-by: Dave Martin This is the same as a patch I previously posted: http://lists.infradead.org/pipermail/linux-arm-kernel/2012-November/129381.html ...except for the initialisation of data.addr to NUL

Re: [PATCH 19/19] [INCOMPLETE] ARM: make return_address available for ARM_UNWIND

2013-01-25 Thread Dave Martin
On Fri, Jan 25, 2013 at 02:14:36PM +, Arnd Bergmann wrote: > From: sahara > > This is a reminder that we still need to fix the return_address > function to work correctly with the unwinder. Keun-O Park has > made this attempt in the past, which is still under discussion[1], &g

Re: [PATCH 19/19] [INCOMPLETE] ARM: make return_address available for ARM_UNWIND

2013-01-25 Thread Dave Martin
On Fri, Jan 25, 2013 at 11:44:14AM -0500, Steven Rostedt wrote: > [ I got an error with linux-arm-ker...@list.infradead.org and had to > remove from CC ] Blame Arnd :) > > On Fri, 2013-01-25 at 16:26 +, Dave Martin wrote: > > > However, if the purpose if making return

Re: [PATCH 19/19] [INCOMPLETE] ARM: make return_address available for ARM_UNWIND

2013-01-25 Thread Dave Martin
On Fri, Jan 25, 2013 at 12:08:23PM -0500, Steven Rostedt wrote: > On Fri, 2013-01-25 at 16:59 +0000, Dave Martin wrote: > > > Cool. Are you aware of return_address being used elsewhere? Currently > > I'm not aware of anything else which uses it, and grep is not findin

Re: [PATCH 19/19] [INCOMPLETE] ARM: make return_address available for ARM_UNWIND

2013-01-28 Thread Dave Martin
On Mon, Jan 28, 2013 at 11:33:11AM +0900, Keun-O Park wrote: > Hello guys, > > Could you please review the patch of fixing bug first of returning > wrong address when using frame pointer? > I am wondering if the first patch is not delivered to the mailing. I posted a similar patch to alkml a coup

Re: [PATCH v3 06/25] docs: Xen ARM DT bindings

2012-09-13 Thread Dave Martin
On Wed, Sep 12, 2012 at 07:14:58PM +0100, Stefano Stabellini wrote: > On Wed, 12 Sep 2012, Stefano Stabellini wrote: > > On Tue, 28 Aug 2012, Rob Herring wrote: > > > You should look at ePAPR 1.1 which defines hypervisor related bindings. > > > While it is a PPC doc, we should reuse or extend what

Re: [PATCH v3 06/25] docs: Xen ARM DT bindings

2012-09-13 Thread Dave Martin
On Wed, Sep 12, 2012 at 09:34:28PM -0500, Rob Herring wrote: > On 09/12/2012 01:14 PM, Stefano Stabellini wrote: > > On Wed, 12 Sep 2012, Stefano Stabellini wrote: > >> On Tue, 28 Aug 2012, Rob Herring wrote: > >>> You should look at ePAPR 1.1 which defines hypervisor related bindings. > >>> While

Re: [PATCH v4 3/5] ARM: topology: Update cpu_power according to DT information

2012-09-13 Thread Dave Martin
On Mon, Jul 09, 2012 at 11:27:04AM +0200, Vincent Guittot wrote: > Use cpu compatibility field and clock-frequency field of DT to > estimate the capacity of each core of the system and to update > the cpu_power field accordingly. > This patch enables to put more running tasks on big cores than > on

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-02 Thread Dave Martin
On Mon, Oct 01, 2012 at 12:35:43PM -0600, Jason Gunthorpe wrote: > On Mon, Oct 01, 2012 at 06:56:47PM +0100, Dave Martin wrote: > > > > > If the kernel is intended to be loadable at a physical address which is > > > > not statically known, no ELF loader that does n

Re: [PATCH v2 RESEND 2/2] ARM: local timers: add timer support using IO mapped register

2012-10-02 Thread Dave Martin
On Fri, Sep 28, 2012 at 06:15:53PM +0100, Lorenzo Pieralisi wrote: > On Fri, Sep 28, 2012 at 04:57:46PM +0100, Dave Martin wrote: > > [ Note: please aim to CC devicetree-disc...@lists.ozlabs.org with any > > patches or bindings relevant to device tree. ] > > > > [ Lore

Re: [PATCH v2 RESEND 2/2] ARM: local timers: add timer support using IO mapped register

2012-10-02 Thread Dave Martin
On Tue, Oct 02, 2012 at 02:44:44PM +0100, Lorenzo Pieralisi wrote: > On Tue, Oct 02, 2012 at 12:27:04PM +0100, Dave Martin wrote: > > On Fri, Sep 28, 2012 at 06:15:53PM +0100, Lorenzo Pieralisi wrote: > > > On Fri, Sep 28, 2012 at 04:57:46PM +0100, Dave Martin wrote: > > [

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-03 Thread Dave Martin
[Nicolas, do you have a view on this thread with regard to XIP?] Hi, On Tue, Oct 02, 2012 at 11:47:59AM -0600, Jason Gunthorpe wrote: > On Tue, Oct 02, 2012 at 11:23:46AM +0100, Dave Martin wrote: > > > > Well, no, it boots ELFs, so it can boot anything, with any memory >

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-04 Thread Dave Martin
On Wed, Oct 03, 2012 at 12:44:38PM -0600, Jason Gunthorpe wrote: > On Wed, Oct 03, 2012 at 11:43:35AM +0100, Dave Martin wrote: > > > I'm not sure exactly what you mean by linking the DTB into vmlinux. > > I don't think this is supported upstream, at least fo

Re: [PATCH]Documentation: Chinese translation of Documentation/arm/kernel_user_helpers.txt

2012-10-31 Thread Dave Martin
aintainer directly. However, if you have a problem > +communicating in English you can also ask the Chinese maintainer for > +help. Contact the Chinese maintainer if this translation is outdated > +or if there is a problem with the translation. > + > +Maintainer: Nicolas Pitre >

Re: [PATCH]Documentation: Chinese translation of Documentation/arm/kernel_user_helpers.txt

2012-10-31 Thread Dave Martin
On Tue, Oct 30, 2012 at 03:03:49PM -0400, Theodore Ts'o wrote: > On Wed, Oct 31, 2012 at 12:20:04AM +0800, Tekkaman Ninja wrote: > > This is a Chinese translated version of > > Documentation/arm/kernel_user_helpers.txt > > > > Signed-off-by: Fu Wei > > I wonder if it woiuld be a good idea to not

Re: [PATCH]Documentation: Chinese translation of Documentation/arm/kernel_user_helpers.txt

2012-11-01 Thread Dave Martin
On Wed, Oct 31, 2012 at 05:34:15PM -0400, Theodore Ts'o wrote: > On Wed, Oct 31, 2012 at 12:06:19PM +0100, Dave Martin wrote: > > > > What's the best way of making sure that changes in the source document > > propagate to translated versions? > > > &

Re: [PATCH RESEND] xen/arm: use the __HVC macro

2012-11-05 Thread Dave Martin
On Wed, Oct 24, 2012 at 04:26:08PM +0100, Stefano Stabellini wrote: > Use the new __HVC macro in hypercall.S. > > Signed-off-by: Stefano Stabellini This is correct usage of the __HVC() macro, so Acked-by: Dave Martin > --- > arch/arm/xen/hypercall.S | 14 +- >

Re: [PATCH v3 RESEND 01/17] ARM: add mechanism for late code patching

2012-09-24 Thread Dave Martin
On Fri, Sep 21, 2012 at 11:55:59AM -0400, Cyril Chemparathy wrote: > The original phys_to_virt/virt_to_phys patching implementation relied on early > patching prior to MMU initialization. On PAE systems running out of >4G > address space, this would have entailed an additional round of patching af

Re: [PATCH v3 RESEND 01/17] ARM: add mechanism for late code patching

2012-09-24 Thread Dave Martin
On Mon, Sep 24, 2012 at 10:49:34AM -0400, Cyril Chemparathy wrote: > Hi Dave, > > Thanks for the detailed review... > > On 9/24/2012 8:06 AM, Dave Martin wrote: > >On Fri, Sep 21, 2012 at 11:55:59AM -0400, Cyril Chemparathy wrote: > >>The original phys

Re: [PATCH v3 RESEND 05/17] ARM: LPAE: support 64-bit virt_to_phys patching

2012-09-24 Thread Dave Martin
On Fri, Sep 21, 2012 at 11:56:03AM -0400, Cyril Chemparathy wrote: > This patch adds support for 64-bit physical addresses in virt_to_phys() > patching. This does not do real 64-bit add/sub, but instead patches in the > upper 32-bits of the phys_offset directly into the output of virt_to_phys. >

Re: [PATCH 3/6] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-10-02 Thread Dave Martin
On Tue, Oct 01, 2013 at 03:55:24PM -0400, Nicolas Pitre wrote: > On Tue, 1 Oct 2013, Vyacheslav Tyrtov wrote: > > > From: Tarek Dakhran [...] > > + kfs_use_count[cpu][cluster]++; > > + if (kfs_use_count[cpu][cluster] == 1) { > > + ++core_count[cluster]; > > + if (core_co

Re: [PATCH 3/6] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-10-02 Thread Dave Martin
On Tue, Oct 01, 2013 at 08:17:04PM +0400, Vyacheslav Tyrtov wrote: > From: Tarek Dakhran > > Add EDCS(Exynos Dual Cluster Support) for Samsung Exynos5410 SoC. > This enables all 8 cores, 4 x A7 and 4 x A15 run at the same time. > > Signed-off-by: Tarek Dakhran > Signed-off-by: Vyacheslav Tyrtov

Re: [PATCH v2 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-07-10 Thread Dave Martin
On Wed, Jul 10, 2013 at 02:59:04PM +0200, Pali Rohár wrote: > Other secure functions omap_smc1() and omap_smc2() calling instruction smc #0 > but Nokia RX-51 board needs to call smc #1 for PPA access. > > Signed-off-by: Ivaylo Dimitrov > Signed-off-by: Pali Rohár > --- > arch/arm/mach-omap2/oma

Re: Seg fault occurs when running statically compiled binary from kernel using call_usermodehelper

2013-07-10 Thread Dave Martin
On Wed, Jul 10, 2013 at 05:34:11PM +0100, Will Deacon wrote: > On Wed, Jul 10, 2013 at 11:42:25AM +0100, Ashish Sangwan wrote: > > Any heads up on this? > > > > or could someone just advice what can we do to debug this? > > > > The ret_from_fork currently looks like following: > > /* > > * This

Re: [PATCH v2 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-07-12 Thread Dave Martin
On Thu, Jul 11, 2013 at 03:54:34PM -0400, Santosh Shilimkar wrote: > On Thursday 11 July 2013 03:43 PM, Ивайло Димитров wrote: > > > > > > > > > > > > > Оригинално писмо > > >От: Dave Martin > > >Относно:

Re: [PATCH v4 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-09-16 Thread Dave Martin
Barrier (not sure if needed, copied > > from > > omap_smc2) +smc #1 @ Call PPA service > > + ldmfd sp!, {r4-r11, pc} > > +ENDPROC(omap_smc3) > > + > > ENTRY(omap_modify_auxcoreboot0) > > stmfd sp!, {r1-r12, lr} &g

Re: [PATCH v3 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-09-04 Thread Dave Martin
On Wed, Sep 04, 2013 at 10:10:29AM +0200, Pali Rohár wrote: > On Sunday 11 August 2013 20:36:40 Ивайло Димитров wrote: > > > Оригинално писмо > > > > > >От: Dave Martin > > >Относно: Re: [PATCH v3 1/2] ARM: OMAP: Add secure function &g

Re: [PATCH 3/6] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-10-07 Thread Dave Martin
On Fri, Oct 04, 2013 at 03:51:31PM -0400, Nicolas Pitre wrote: > On Wed, 2 Oct 2013, Dave Martin wrote: > > > On Tue, Oct 01, 2013 at 08:17:04PM +0400, Vyacheslav Tyrtov wrote: > > > +static int exynos_power_up(unsigned int cpu, unsigned int cluster) > &g

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-08 Thread Dave Martin
On Fri, Oct 05, 2012 at 09:45:00AM +0100, Russell King - ARM Linux wrote: > On Mon, Oct 01, 2012 at 10:06:39AM -0600, Jason Gunthorpe wrote: > > On Mon, Oct 01, 2012 at 04:39:53PM +0100, Dave Martin wrote: > > > > Type Offset VirtAddr PhysAddr FileSiz MemSi

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-08 Thread Dave Martin
On Thu, Oct 04, 2012 at 11:59:07AM -0600, Jason Gunthorpe wrote: > On Thu, Oct 04, 2012 at 12:36:37PM +0100, Dave Martin wrote: > > > OK, so it is supported, but not for ARM, yet. I'm not sure that > > such a patch would be rejected, since building in a DTB is not > &g

Re: [PATCH 6/9] ARM: pass -marm to gcc by default for both C and assembler

2012-10-09 Thread Dave Martin
get CPU does not support THUMB > instructions [enabled by default] > firmware/cis/PCMLM28.cis.gen.S:1:0: warning: target CPU does not support > THUMB instructions [enabled by default] > (and many more) > > Signed-off-by: Arnd Bergmann > Acked-by: Nicolas Pitre > Cc: Russell King >

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-10 Thread Dave Martin
On Tue, Oct 09, 2012 at 11:37:06AM -0600, Jason Gunthorpe wrote: > On Mon, Oct 08, 2012 at 11:24:13AM +0100, Dave Martin wrote: > > > Partly this came from some side speculation about whether we could do > > things like privileged read-only permissions on newer CPUs, for prevent

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-10 Thread Dave Martin
On Tue, Oct 09, 2012 at 12:25:14PM -0600, Jason Gunthorpe wrote: > On Mon, Oct 08, 2012 at 11:46:49AM +0100, Dave Martin wrote: > > > > Yes, but we still need rely on complex code like I2C/MTD to create a > > > correct DTB, which again puts us back to patc

Re: [PATCH v2 1/3] ARM: tegra: basic support for Trusted Foundations

2013-06-13 Thread Dave Martin
On Thu, Jun 13, 2013 at 06:12:23PM +0900, Alexandre Courbot wrote: > Add basic support for booting secondary processors on Tegra devices > using the Trusted Foundations secure monitor. > > Signed-off-by: Alexandre Courbot > --- > Documentation/devicetree/bindings/arm/tegra.txt| 11 + > .

Re: [PATCH] ARM: tegra: add basic SecureOS support

2013-06-06 Thread Dave Martin
On Thu, Jun 06, 2013 at 04:28:07PM +0900, Alexandre Courbot wrote: > Boot loaders on some Tegra devices can be unlocked but do not let the > system operate without SecureOS. SecureOS prevents access to some > registers and requires the operating system to perform certain > operations through Secure

Re: [PATCH] ARM: tegra: add basic SecureOS support

2013-06-06 Thread Dave Martin
On Thu, Jun 06, 2013 at 12:17:02PM +0200, Tomasz Figa wrote: > Hi Alex, > > On Thursday 06 of June 2013 16:28:07 Alexandre Courbot wrote: > > Boot loaders on some Tegra devices can be unlocked but do not let the > > system operate without SecureOS. SecureOS prevents access to some > > registers an

Re: [PATCH] ARM: tegra: add basic SecureOS support

2013-06-06 Thread Dave Martin
On Thu, Jun 06, 2013 at 10:44:48AM -0600, Stephen Warren wrote: > On 06/06/2013 01:28 AM, Alexandre Courbot wrote: > > Boot loaders on some Tegra devices can be unlocked but do not let the > > system operate without SecureOS. SecureOS prevents access to some > > registers and requires the operating

Re: [PATCH v2 1/3] ARM: tegra: basic support for Trusted Foundations

2013-06-19 Thread Dave Martin
On Fri, Jun 14, 2013 at 05:43:03PM +0900, Alexandre Courbot wrote: > On Thu, Jun 13, 2013 at 11:35 PM, Dave Martin wrote: > >> diff --git a/Documentation/devicetree/bindings/arm/tegra.txt > >> b/Documentation/devicetree/bindings/arm/tegra.txt > >> index ed9c

Re: scripts/kallsyms: Avoid ARM veneer symbols

2013-06-25 Thread Dave Martin
On Mon, Jun 24, 2013 at 04:01:43PM +0200, Arnd Bergmann wrote: > When building ARM kernels that exceed a certain size, the linker > will add "veneers" that allow long branches. Unfortunately, > using a longer kallsyms section may lead to the extra veneers > being needed, which leads to inconsistent

Re: [PATCH] ARM: tegra: add basic SecureOS support

2013-06-07 Thread Dave Martin
On Fri, Jun 07, 2013 at 04:25:07PM +0900, Alexandre Courbot wrote: > On Thu, Jun 6, 2013 at 8:02 PM, Dave Martin wrote: > > >> +static int __attribute__((used)) __tegra_smc_stack[10]; > > > > Use __used instead of using GCC attributes directly. > > > >>

Re: [PATCH] ARM: tegra: add basic SecureOS support

2013-06-07 Thread Dave Martin
On Thu, Jun 06, 2013 at 12:29:14PM -0600, Stephen Warren wrote: > On 06/06/2013 12:08 PM, Dave Martin wrote: > > On Thu, Jun 06, 2013 at 10:44:48AM -0600, Stephen Warren wrote: > >> On 06/06/2013 01:28 AM, Alexandre Courbot wrote: > >>> Boot loaders on some Tegra devi

Re: [PATCH] ARM: tegra: add basic SecureOS support

2013-06-07 Thread Dave Martin
On Fri, Jun 07, 2013 at 06:03:54PM +0900, Alexandre Courbot wrote: > On Fri, Jun 7, 2013 at 3:08 AM, Dave Martin wrote: > >> I think we need to separate the concept of support for *a* secure > >> monitor, from support for a *particular* secure monitor. > > &

Re: [PATCH] ARM: tegra: add basic SecureOS support

2013-06-10 Thread Dave Martin
On Mon, Jun 10, 2013 at 05:11:15PM +0900, Alexandre Courbot wrote: > On Sat, Jun 8, 2013 at 1:33 AM, Stephen Warren wrote: > >>> I think we need to separate the concept of support for *a* secure > >>> monitor, from support for a *particular* secure monitor. > >> > >> Agreed. In this case, can we a

Re: [PATCH] ARM: tegra: add basic SecureOS support

2013-06-10 Thread Dave Martin
On Mon, Jun 10, 2013 at 05:05:04PM +0900, Alexandre Courbot wrote: > On Sat, Jun 8, 2013 at 3:13 AM, Dave Martin wrote: > > One way to make the backend generic would be to have something like > > one of the following (some syntax omitted due to laziness): > > > >

Re: [PATCH v3 1/5] ARM: add basic Trusted Foundations support

2013-08-15 Thread Dave Martin
On Tue, Aug 13, 2013 at 11:29:48AM +0900, Alexandre Courbot wrote: > Trusted Foundations is a TrustZone-based secure monitor for ARM that > can be invoked using a consistent smc-based API on all supported > platforms. This patch adds initial basic support for Trusted > Foundations using the ARM fi

Re: [PATCH v3 1/5] ARM: add basic Trusted Foundations support

2013-08-16 Thread Dave Martin
On Thu, Aug 15, 2013 at 04:02:52PM -0600, Stephen Warren wrote: > On 08/15/2013 05:52 AM, Dave Martin wrote: > > On Tue, Aug 13, 2013 at 11:29:48AM +0900, Alexandre Courbot wrote: > >> Trusted Foundations is a TrustZone-based secure monitor for ARM that > >> can be invo

Re: [RFC][PATCH 1/2] ARM64: add cpu topology definition

2013-07-29 Thread Dave Martin
On Mon, Jul 29, 2013 at 10:54:01AM +0100, Will Deacon wrote: > On Mon, Jul 29, 2013 at 10:46:06AM +0100, Vincent Guittot wrote: > > On 27 July 2013 12:42, Hanjun Guo wrote: > > > Power aware scheduling needs the cpu topology information to improve the > > > cpu scheduler decision making. > > > >

Re: [PATCH] ARM: Fix r7/r11 confusion when CONFIG_THUMB2_KERNEL=y

2013-07-30 Thread Dave Martin
On Mon, Jul 29, 2013 at 02:21:40PM -0700, Jed Davis wrote: > On Mon, Jul 22, 2013 at 07:52:39PM +0100, Dave Martin wrote: > > On Sun, Jul 21, 2013 at 10:37:53PM +0100, Will Deacon wrote: > > > Ok, I think I'm with you now. I also think that a better solution would be > &

Re: [PATCH] ARM: Fix r7/r11 confusion when CONFIG_THUMB2_KERNEL=y [OT]

2013-07-30 Thread Dave Martin
On Tue, Jul 30, 2013 at 11:38:53AM +0200, Jean-Francois Moine wrote: > On Tue, 30 Jul 2013 10:25:18 +0100 > Dave Martin wrote: > > > The pragmatic route is less contraversial and lower overhead: even though > > it's not correct as per the ABI, GCC is the only supported

Re: [PATCH] ARM: Fix r7/r11 confusion when CONFIG_THUMB2_KERNEL=y [OT]

2013-07-30 Thread Dave Martin
On Tue, Jul 30, 2013 at 12:09:07PM +0200, Jean-Francois Moine wrote: > On Tue, 30 Jul 2013 10:44:57 +0100 > Dave Martin wrote: > > > On Tue, Jul 30, 2013 at 11:38:53AM +0200, Jean-Francois Moine wrote: > > > On Tue, 30 Jul 2013 10:25:18 +0100 > > > Dave Ma

Re: [PATCH v3 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-08-05 Thread Dave Martin
On Sun, Aug 04, 2013 at 10:45:00AM +0200, Pali Rohár wrote: > Here is new version (v3) of omap secure part patch: > > Other secure functions omap_smc1() and omap_smc2() calling instruction smc #0 > but Nokia RX-51 board needs to call smc #1 for PPA access. > > Signed-off-by: Ivaylo Dimitrov > Si

Re: [PATCH 6/7] Add EFI stub for ARM

2013-08-05 Thread Dave Martin
On Fri, Aug 02, 2013 at 02:29:07PM -0700, Roy Franz wrote: > This patch adds EFI stub support for the ARM Linux kernel. The EFI stub > operations similarly to the x86 stub: it is a shim between the EFI firmware > and the normal zImage entry point, and sets up the environment that the > zImage is e

Re: [PATCH 1/7] EFI stub documentation updates

2013-08-05 Thread Dave Martin
On Fri, Aug 02, 2013 at 02:29:02PM -0700, Roy Franz wrote: > The ARM kernel also has an EFI stub which works largely the same way > as the x86 stub, so move the documentation out of x86 directory and > update to reflect that it is generic, and add ARM specific text. > > Signed-off-by: Roy Franz >

Re: [PATCH 16/17] Add EFI stub for ARM

2013-08-07 Thread Dave Martin
On Tue, Aug 06, 2013 at 08:45:12PM -0700, Roy Franz wrote: > This patch adds EFI stub support for the ARM Linux kernel. The EFI stub > operations similarly to the x86 stub: it is a shim between the EFI firmware > and the normal zImage entry point, and sets up the environment that the > zImage is e

Re: [PATCH] ARM: Fix r7/r11 confusion when CONFIG_THUMB2_KERNEL=y

2013-07-22 Thread Dave Martin
On Sun, Jul 21, 2013 at 10:37:53PM +0100, Will Deacon wrote: > Hello Jed, > > Thanks for the reply. > > On Sat, Jul 20, 2013 at 05:46:55AM +0100, Jed Davis wrote: > > On Mon, Jul 15, 2013 at 02:54:20PM +0100, Will Deacon wrote: > > > On Sat, Jul 13, 2013 at 04:18:20AM +0100, Jed Davis wrote: > >

Re: [PATCH 16/16] Add config EFI_STUB for ARM to Kconfig

2013-08-13 Thread Dave Martin
On Fri, Aug 09, 2013 at 04:26:17PM -0700, Roy Franz wrote: > Signed-off-by: Roy Franz > --- > arch/arm/Kconfig | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 43594d5..8607d03 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kco

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-13 Thread Dave Martin
On Fri, Aug 09, 2013 at 04:26:16PM -0700, Roy Franz wrote: > This patch adds EFI stub support for the ARM Linux kernel. The EFI stub > operations similarly to the x86 stub: it is a shim between the EFI firmware > and the normal zImage entry point, and sets up the environment that the > zImage is e

Re: RFC: right way to conditional-ize some macros for LTO

2013-04-08 Thread Dave Martin
On Tue, Apr 02, 2013 at 01:50:37PM +0100, Jon Medhurst (Tixy) wrote: > On Fri, 2013-03-29 at 11:50 -0700, Tim Bird wrote: > > Hi all, > > > > A while ago I was working on supporting link-time optimization > > for ARM, and I'm just now getting around to submitting some of > > the patches from my wo

Re: [PATCH v4 2/2] arm: prefer PSCI for SMP bringup

2013-04-09 Thread Dave Martin
On Tue, Apr 02, 2013 at 12:11:25PM -0400, Nicolas Pitre wrote: > On Tue, 2 Apr 2013, Stefano Stabellini wrote: > > > On Mon, 1 Apr 2013, Nicolas Pitre wrote: > > > On Mon, 1 Apr 2013, Stefano Stabellini wrote: > > > > What are the platforms that are going to use smp_init? Do we know how do > > > >

[RFC PATCH] ARM: Remove backwards-compatibility IT macros for CONFIG_LTO

2013-04-12 Thread Dave Martin
#x27;t barf on those instructions. Signed-off-by: Dave Martin --- If this works, I believe it can supersede other currently proposed patches for working around this issue. I've done dome trivial build-testing, but haven't tried this with LTO yet and don't have a wide variety of older to

Re: [PATCH v4 06/24] docs: Xen ARM DT bindings

2012-09-18 Thread Dave Martin
c; > > >>> - update reg property using 2 address-cells and 2 size-cells. > > >>> > > >>> > > >>> Signed-off-by: Stefano Stabellini > > >>> CC: devicetree-disc...@lists.ozlabs.org > > >>> CC: David Vrabel > >

Re: [PATCH] arm: introduce a DTS for Xen unprivileged virtual machines

2012-09-20 Thread Dave Martin
On Thu, Sep 20, 2012 at 11:06:03AM +0100, Pawel Moll wrote: > Morning, > > On Wed, 2012-09-19 at 18:44 +0100, Stefano Stabellini wrote: > > +/dts-v1/; > > + > > +/include/ "skeleton.dtsi" > > Any particular reason to include skeleton? And I think it would be > better to use #address-cells = <2> a

Re: [Xen-devel] [PATCH] arm: introduce a DTS for Xen unprivileged virtual machines

2012-09-20 Thread Dave Martin
On Thu, Sep 20, 2012 at 11:45:57AM +0100, David Vrabel wrote: > On 19/09/12 18:44, Stefano Stabellini wrote: > > --- /dev/null > > +++ b/arch/arm/boot/dts/vexpress-xenvm-4.2.dts > > Does this make sense? There is no fixed configuration for VMs. > > Is the intention to pass a DTS to the toolstack

Re: [Xen-devel] [PATCH] arm: introduce a DTS for Xen unprivileged virtual machines

2012-09-20 Thread Dave Martin
On Thu, Sep 20, 2012 at 01:04:34PM +0100, Stefano Stabellini wrote: > On Thu, 20 Sep 2012, Dave Martin wrote: > > On Thu, Sep 20, 2012 at 11:45:57AM +0100, David Vrabel wrote: > > > On 19/09/12 18:44, Stefano Stabellini wrote: > > > > --- /dev/null > > > &

Re: [PATCH 4/9] ASoC: imx: Don't use {en,dis}able_fiq() calls

2012-08-07 Thread Dave Martin
On Mon, Aug 06, 2012 at 10:19:50AM -0500, Matt Sealey wrote: > On Sun, Aug 5, 2012 at 6:03 PM, Anton Vorontsov > wrote: > > The driver uses platform-specific mxc_set_irq_fiq() with the VIRQ cookie > > passed to it, so it's pretty clear that the driver is absolutely sure > > that the FIQ is routed

Re: [PATCH v2 02/23] xen/arm: hypercalls

2012-08-08 Thread Dave Martin
On Mon, Aug 06, 2012 at 03:27:05PM +0100, Stefano Stabellini wrote: > Use r12 to pass the hypercall number to the hypervisor. > > We need a register to pass the hypercall number because we might not > know it at compile time and HVC only takes an immediate argument. > > Among the available regist

Re: [PATCH 1/2] ARM: build ssi-fiq.S in ARM mode to prevent CONFIG_THUMB2_KERNEL build breakage

2012-08-09 Thread Dave Martin
On Wed, Aug 08, 2012 at 12:32:39PM -0500, Matt Sealey wrote: [...] > I'm going to do a trapse through and find where Russell nacked Dave's > thumb-aware > rewrite.. would you mind if you have any of these boards seeing if it > really DOES There was no NAK because I didn't get as far as posting

Re: [PATCH 1/2] ARM: build ssi-fiq.S in ARM mode to prevent CONFIG_THUMB2_KERNEL build breakage

2012-08-09 Thread Dave Martin
On Thu, Aug 09, 2012 at 09:32:59AM -0500, Matt Sealey wrote: > Matt Sealey > Product Development Analyst, Genesi USA, Inc. > > > On Thu, Aug 9, 2012 at 5:24 AM, Dave Martin wrote: > > On Wed, Aug 08, 2012 at 12:32:39PM -0500, Matt Sealey wrote: > > > > [...]

Re: [PATCH v2 02/23] xen/arm: hypercalls

2012-08-09 Thread Dave Martin
On Thu, Aug 09, 2012 at 04:37:24PM +0100, Stefano Stabellini wrote: > On Wed, 8 Aug 2012, Dave Martin wrote: > > On Mon, Aug 06, 2012 at 03:27:05PM +0100, Stefano Stabellini wrote: > > > Use r12 to pass the hypercall number to the hypervisor. > > > > > > We n

Re: [PATCH 1/2] ARM: build ssi-fiq.S in ARM mode to prevent CONFIG_THUMB2_KERNEL build breakage

2012-08-09 Thread Dave Martin
On Thu, Aug 09, 2012 at 11:05:47AM -0500, Matt Sealey wrote: > On Thu, Aug 9, 2012 at 9:50 AM, Dave Martin wrote: > > On Thu, Aug 09, 2012 at 09:32:59AM -0500, Matt Sealey wrote: > >> Matt Sealey > >> Product Development Analyst, Genesi USA, Inc. > >> >

Re: [PATCH 04/10] ARM: pass -marm to gcc by default

2012-08-10 Thread Dave Martin
On Thu, Aug 09, 2012 at 05:22:30PM -0400, Nicolas Pitre wrote: > On Thu, 9 Aug 2012, Russell King - ARM Linux wrote: > > > On Thu, Aug 09, 2012 at 05:12:58PM -0400, Nicolas Pitre wrote: > > > CFLAGS_THUMB2 should probably be renamed to something more appropriate > > > in this case, e.g. CFLAGS_MO

Re: [PATCH 9/9] ARM: add uprobes support

2012-10-15 Thread Dave Martin
On Sun, Oct 14, 2012 at 09:23:13PM +0200, Rabin Vincent wrote: > Add basic uprobes support for ARM. > > perf probe --exec and SystemTap's userspace probing work. The ARM > kprobes test code has also been run in a userspace harness to test the > uprobe instruction decoding. The assumption that th

Re: [PATCH 9/9] ARM: add uprobes support

2012-10-15 Thread Dave Martin
On Sun, Oct 14, 2012 at 09:23:13PM +0200, Rabin Vincent wrote: > Add basic uprobes support for ARM. > > perf probe --exec and SystemTap's userspace probing work. The ARM > kprobes test code has also been run in a userspace harness to test the > uprobe instruction decoding. > > Caveats: > > - T

Re: [PATCH 9/9] ARM: add uprobes support

2012-10-15 Thread Dave Martin
On Mon, Oct 15, 2012 at 01:44:55PM +0200, Rabin Vincent wrote: > 2012/10/15 Dave Martin : > > On Sun, Oct 14, 2012 at 09:23:13PM +0200, Rabin Vincent wrote: > >> Add basic uprobes support for ARM. > >> > >> perf probe --exec and SystemTap's userspace prob

Re: [PATCH] Re: Hardcoded instruction causes certain features to fail on ARM platfrom due to endianness

2012-10-16 Thread Dave Martin
On Mon, Oct 15, 2012 at 11:33:08PM +0800, Fei Yang wrote: > 2012/10/15 Mikael Pettersson : > > Yangfei (Felix) writes: > > > Hi all, > > > > > > I found that hardcoded instruction in inline asm can cause certains > > certain features fail to work on ARM platform due to endianness. > > >

Re: [PATCH] Re: Hardcoded instruction causes certain features to fail on ARM platfrom due to endianness

2012-10-16 Thread Dave Martin
On Wed, Oct 17, 2012 at 12:33:54AM +0800, Fei Yang wrote: > 2012/10/16 Dave Martin : > > On Mon, Oct 15, 2012 at 11:33:08PM +0800, Fei Yang wrote: > >> 2012/10/15 Mikael Pettersson : > >> > Yangfei (Felix) writes: > >> > > Hi all, > >> &g

Re: [PATCH v2 RESEND 2/2] ARM: local timers: add timer support using IO mapped register

2012-09-28 Thread Dave Martin
[ Note: please aim to CC devicetree-disc...@lists.ozlabs.org with any patches or bindings relevant to device tree. ] [ Lorenzo, there's a question for you further down this mail. ] On Fri, Sep 28, 2012 at 01:28:58PM +0100, Mark Rutland wrote: > On Tue, Sep 25, 2012 at 08:08:47PM +0100, Rohit Vasw

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-01 Thread Dave Martin
On Sun, Sep 30, 2012 at 05:21:16PM -0600, Jason Gunthorpe wrote: > The standard linux asm-generic/vmlinux.lds.h already supports this, > and it seems other architectures do as well. > > The goal is to create an ELF file that has correct program headers. We > want to see the VirtAddr be the runtime

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-01 Thread Dave Martin
On Mon, Oct 01, 2012 at 10:06:39AM -0600, Jason Gunthorpe wrote: > On Mon, Oct 01, 2012 at 04:39:53PM +0100, Dave Martin wrote: > > > > Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align > > > LOAD 0x008000 0xc0008000 0x80

Re: [PATCH] sysctl: add register_sysctl() dummy helper

2017-11-06 Thread Dave Martin
On Mon, Nov 06, 2017 at 01:36:40PM +, Arnd Bergmann wrote: > The register_sysctl() function has been around for five years with commit > fea478d4101a ("sysctl: Add register_sysctl for normal sysctl users") > but now that arm64 started using it, I ran into a compile error: > > arch/arm64/kernel

Re: [PATCH] sysctl: add register_sysctl() dummy helper

2017-11-06 Thread Dave Martin
On Mon, Nov 06, 2017 at 05:12:03PM +, Arnd Bergmann wrote: > On Mon, Nov 6, 2017 at 5:50 PM, Dave Martin wrote: > > On Mon, Nov 06, 2017 at 01:36:40PM +, Arnd Bergmann wrote: > >> The register_sysctl() function has been around for five years with commit > >>

Re: [PATCHv2] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-06 Thread Dave Martin
On Tue, Oct 06, 2015 at 09:49:29AM +0200, Arnd Bergmann wrote: > On Tuesday 06 October 2015 11:05:43 Manjeet Pawar wrote: > > MINSIGSTKSZ and SIGSTKSZ for ARM64 are not correctly set in latest kernel. > > This patch fixes this issue. > > > > This issue is reported in LTP (testcase: sigaltstack02.c

Re: [PATCHv2] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-06 Thread Dave Martin
On Tue, Oct 06, 2015 at 12:51:24PM +0200, Arnd Bergmann wrote: > On Tuesday 06 October 2015 11:31:34 Dave Martin wrote: > > On Tue, Oct 06, 2015 at 09:49:29AM +0200, Arnd Bergmann wrote: > > > > * Can you explain in the changelog how the numbers were decided? > >

Re: [PATCHv2] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-06 Thread Dave Martin
On Tue, Oct 06, 2015 at 12:59:45PM +0200, Andreas Schwab wrote: > Arnd Bergmann writes: > > > I think it makes sense to stick with the traditional definition > > of MINSIGSTKSZ == "the minimum amount that you will always need, > > add whatever you require yourself" and SIGSTKSZ == "Should be > >

Re: [PATCHv2] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-06 Thread Dave Martin
On Tue, Oct 06, 2015 at 01:52:24PM +0200, Andreas Schwab wrote: > Dave Martin writes: > > > On Tue, Oct 06, 2015 at 12:59:45PM +0200, Andreas Schwab wrote: > >> Arnd Bergmann writes: > >> > >> > I think it makes sense to stick with the traditiona

Re: [PATCHv2] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-12 Thread Dave Martin
On Fri, Oct 09, 2015 at 10:41:43AM +0200, Arnd Bergmann wrote: > On Tuesday 06 October 2015 12:51:24 Arnd Bergmann wrote: > > > > I think it makes sense to stick with the traditional definition > > of MINSIGSTKSZ == "the minimum amount that you will always need, > > add whatever you require yourse

Re: [PATCH] serial: amba-pl011: fix incorrect integer size in pl011_fifo_to_tty()

2015-10-16 Thread Dave Martin
lag, max_count = 256; > + u16 status; > + unsigned int ch, flag, max_count = 256; > int fifotaken = 0; FWIW, Reviewed-by: Dave Martin I guess this tells us something about how often !CREAD is used... Cheers ---Dave -- To unsubscribe from this list: send the line "

Re: [PATCH v3 00/24] arm64: Consolidate CPU feature handling

2015-10-16 Thread Dave Martin
On Tue, Oct 13, 2015 at 06:22:08PM +0100, Suzuki K. Poulose wrote: > This series introduces a new infrastructure to keep track of the CPU > feature registers on ARMv8-A for arm64 kernel. It provides the safe value [...] Please run checkpatch over the series... Cheers ---Dave -- To unsubscribe f

Re: [PATCH v3 00/24] arm64: Consolidate CPU feature handling

2015-10-16 Thread Dave Martin
On Fri, Oct 16, 2015 at 04:32:14PM +0100, Suzuki K. Poulose wrote: > On 16/10/15 16:13, Dave Martin wrote: > >On Tue, Oct 13, 2015 at 06:22:08PM +0100, Suzuki K. Poulose wrote: > >>This series introduces a new infrastructure to keep track of the CPU > >>feature reg

Re: [PATCHv4 02/24] arm64: Delay ELF HWCAP initialisation until all CPUs are up

2015-10-21 Thread Dave Martin
On Mon, Oct 19, 2015 at 02:24:39PM +0100, Suzuki K. Poulose wrote: > Delay the ELF HWCAP initialisation untill all the (enabled) CPUs are nit: untill No need to fix this unless you respin the series for some other reason. [...] Cheers ---Dave -- To unsubscribe from this list: send the line "un

Re: [PATCHv4 08/24] arm64: Keep track of CPU feature registers

2015-10-21 Thread Dave Martin
On Mon, Oct 19, 2015 at 02:24:45PM +0100, Suzuki K. Poulose wrote: > This patch adds an infrastructure to keep track of the CPU feature > registers on the system. For each register, the infrastructure keeps > track of the system wide safe value of the feature bits. Also, tracks > the which fields o

Re: [PATCHv4 23/24] arm64: Expose feature registers by emulating MRS

2015-10-21 Thread Dave Martin
On Mon, Oct 19, 2015 at 02:25:00PM +0100, Suzuki K. Poulose wrote: > This patch adds the hook for emulating MRS instruction to > export the 'user visible' value of supported system registers. > We emulate only the following id space for system registers: > Op0=0, Op1=0, CRn=0. [...] > diff

Re: [PATCHv4 06/24] arm64: Move /proc/cpuinfo handling code

2015-10-21 Thread Dave Martin
h just moves code around, but feel free to add my patch to the series if you want. Cheers ---Dave >From ab00f84e4d45e95b4d816961a0160f1d448aa886 Mon Sep 17 00:00:00 2001 From: Dave Martin Date: Thu, 30 Jul 2015 16:36:25 +0100 Subject: [PATCH 1/2] arm64: Constify hwcap name string arrays

Re: [UPDATED] [PATCHv4 00/24] arm64: Consolidate CPU feature handling

2015-10-21 Thread Dave Martin
capabilities, > failing which could be disastrous. (e.g, alternative code patched in for > a feature avaialble on the system). We add a hotplug notifier to check if > the new CPU is missing any of the advertised capabilities and prevents it > from turning online if it is. [...] For the

Re: [PATCH] ARM: fix alignement of __bug_table section entries

2015-09-02 Thread Dave Martin
le,\"a\"\n" \ > + ".align 2\n" \ > "3:\t.word 1b, 2b\n"\ > "\t.hword " #__line ", 0\n" \ > ".popse

Re: [PATCH] arm64: Trap WFI executed in userspace

2018-08-07 Thread Dave Martin
On Tue, Aug 07, 2018 at 10:33:26AM +0100, Marc Zyngier wrote: > It recently came to light that userspace can execute WFI, and that > the arm64 kernel doesn trap this event. This sounds rather benign, > but the kernel should decide when it wants to wait for an interrupt, > and not userspace. > > Le

Re: [PATCH] arm64: Trap WFI executed in userspace

2018-08-07 Thread Dave Martin
On Tue, Aug 07, 2018 at 11:24:34AM +0100, Marc Zyngier wrote: > On 07/08/18 11:05, Dave Martin wrote: > > On Tue, Aug 07, 2018 at 10:33:26AM +0100, Marc Zyngier wrote: > >> It recently came to light that userspace can execute WFI, and that > >> the arm64 kernel doesn t

Re: [PATCH] arm64: Trap WFI executed in userspace

2018-08-07 Thread Dave Martin
On Tue, Aug 07, 2018 at 01:12:03PM +0100, Robin Murphy wrote: > On 07/08/18 11:30, Dave Martin wrote: > >On Tue, Aug 07, 2018 at 11:24:34AM +0100, Marc Zyngier wrote: > >>On 07/08/18 11:05, Dave Martin wrote: > >>>On Tue, Aug 07, 2018 at 10:33:26AM +0100, Marc Zyngier

Re: [PATCH] arm64: Trap WFI executed in userspace

2018-08-09 Thread Dave Martin
On Wed, Aug 08, 2018 at 01:34:09PM +0100, Catalin Marinas wrote: > On Tue, Aug 07, 2018 at 11:24:34AM +0100, Marc Zyngier wrote: > > On 07/08/18 11:05, Dave Martin wrote: > > > On Tue, Aug 07, 2018 at 10:33:26AM +0100, Marc Zyngier wrote: > > >> It recently came to li

Re: [PATCH] arm64: Trap WFI executed in userspace

2018-08-09 Thread Dave Martin
On Thu, Aug 09, 2018 at 01:38:12PM +0100, Will Deacon wrote: > On Thu, Aug 09, 2018 at 01:34:57PM +0100, Dave Martin wrote: > > On Wed, Aug 08, 2018 at 01:34:09PM +0100, Catalin Marinas wrote: > > > On Tue, Aug 07, 2018 at 11:24:34AM +0100, Marc Zyngier wrote: > > >

  1   2   3   4   5   6   7   >