Re: [PATCH RFC v2 01/16] ARM: call clk_of_init from time_init

2013-09-05 Thread Arnd Bergmann
On Wednesday 04 September 2013, Sören Brinkmann wrote: > On Wed, Sep 04, 2013 at 10:52:09PM +0200, Sebastian Hesselbarth wrote: > > On 09/04/2013 10:41 PM, Sören Brinkmann wrote: > > Anyways, having a custom .init_time gives you full control over > > of_clk_init and clocksource_of_init back again t

Re: [PATCH] Remove support for score architecture

2013-08-31 Thread Arnd Bergmann
puts interested parties > (if there are any) on notice. AFAICT, this is the least maintained architecture we have at the moment, and your analysis is correct. I think it can be removed unless we the maintainers have plans to become more active in the future or someone else steps up to main

Re: [PATCH v6 RESEND 0/5] ARM/ARM64 architected timer updates

2013-09-26 Thread Arnd Bergmann
On Wednesday 25 September 2013, Sudeep KarkadaNagesha wrote: > On 25/09/13 16:06, Daniel Lezcano wrote: > > On 09/18/2013 01:05 PM, Sudeep KarkadaNagesha wrote: > >> From: Sudeep KarkadaNagesha > >> > >> Hi Olof/Kevin, > > > > Added Olof and Kevin in Cc. > > > Thanks Daniel, sorry I assumed mail

Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-09-26 Thread Arnd Bergmann
On Thursday 26 September 2013, Kishon Vijay Abraham I wrote: > On Wednesday 25 September 2013 02:53 AM, Arnd Bergmann wrote: > > On Monday 23 September 2013, Kishon Vijay Abraham I wrote: > >> Btw if we hadn't programmed inbound translation table, the address will go >

Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-09-21 Thread Arnd Bergmann
On Saturday 21 September 2013, Kishon Vijay Abraham I wrote: > { > u32 val; > void __iomem *val1; > void __iomem *dbi_base = pp->dbi_base; > > /* Program viewport 0 : INBOUND : MEMORY*/ > val = PCIE_ATU_REGION_INBOUND | (0 & 0xF); > dw_pcie_writel_rc

Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-09-24 Thread Arnd Bergmann
On Monday 23 September 2013, Kishon Vijay Abraham I wrote: > Btw if we hadn't programmed inbound translation table, the address will go > untranslated (according to the data book). I guess that's how it was working > for Jingoo Han. > > ** > 3.10.4 > Inbound iATU Operation > > When there is no ma

Re: [PATCH 15/17] mfd: dbx540-prcmu creation

2012-09-05 Thread Arnd Bergmann
On Wednesday 05 September 2012, Loic Pallardy wrote: > This driver offers support for ST-Ericsson DB9540 and > DB8540 PRCMU. > - add new communication interface named UniqPAP > - add support for x540 HW > > Signed-off-by: Loic Pallardy > Acked-by: Linus Walleij This makes me doubt the quality

Re: [PATCH 02/17] arm: ux500: add ccu9540 board support

2012-09-05 Thread Arnd Bergmann
On Wednesday 05 September 2012, Loic PALLARDY wrote: > > On 09/05/2012 12:42 PM, Arnd Bergmann wrote: > > On Wednesday 05 September 2012, Loic Pallardy wrote: > >> +MACHINE_START(U9540, "ST-Ericsson 9540 platform") > >> + .atag_offset= 0x100, >

Re: [st-ericsson] [PATCH 15/17] mfd: dbx540-prcmu creation

2012-09-05 Thread Arnd Bergmann
On Wednesday 05 September 2012, Linus Walleij wrote: > On Wed, Sep 5, 2012 at 2:10 PM, Arnd Bergmann wrote: > > On Wednesday 05 September 2012, Loic Pallardy wrote: > >> +#define PRCM_PLLDSITV_FREQ (_PRCMU_BASE + 0x500) > >> +#define PRCM_PLLDSITV_ENABLE

Re: [PATCH v7 1/7] drivers: usb: phy: add a new driver for omap usb2 phy

2012-09-06 Thread Arnd Bergmann
On Thursday 06 September 2012, ABRAHAM, KISHON VIJAY wrote: > > diff --git a/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt > > b/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt > > index d2fe064..bb0c7f4 100644 > > --- a/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt > > ++

Re: [PATCH 04/19] ARM: ux500: Add SDI (MMC) support to the HREF Device Tree

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Lee Jones wrote: > + // External Micro SD slot > + sdi@80126000 { > + arm,primecell-periphid = <0x10480180>; > + max-frequency = <5000>; > + bus-width = <8>; > +

Re: [PATCH 05/19] ARM: ux500: Stop registering HREF's SDI devices from platform data

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Lee Jones wrote: > > The HREF Device Tree now has support for its four SDIs. So, if we > continue registering them from platform code when Device Tree is > enabled we'll cause a double probe of the same devices. To prevent > that we'll just remove registration. > > Si

Re: [PATCH 15/19] mfd: Don't convert just one IRQ using irqdomain if a range is provided

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Lee Jones wrote: > MFD core code attempts to convert specified hardware (local) IRQ > numbers to virtual-IRQs, which something Linux can understand. This > works great when only one IRQ is specified. However, converting > entire ranges is currently unsupported. If this

Re: [PATCH 00/19] First HREF Device Tree enablement patch-set

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Lee Jones wrote: > Based on v3.6-rc4 > > This patch consists of Device Tree related enablement for > ST-Ericsson's development HREF hardware reference board. > Most devices are very similar, if not the same to the > previously enabled Snowball low-cost development boar

Re: [PATCH 15/19] mfd: Don't convert just one IRQ using irqdomain if a range is provided

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Lee Jones wrote: > On Fri, Sep 07, 2012 at 12:35:41PM +0000, Arnd Bergmann wrote: > > On Friday 07 September 2012, Lee Jones wrote: > > > MFD core code attempts to convert specified hardware (local) IRQ > > > numbers to virtual-IRQs

Re: [PATCH 15/19] mfd: Don't convert just one IRQ using irqdomain if a range is provided

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Lee Jones wrote: > On Fri, Sep 07, 2012 at 01:37:26PM +0000, Arnd Bergmann wrote: > > On Friday 07 September 2012, Lee Jones wrote: > > > On Fri, Sep 07, 2012 at 12:35:41PM +0000, Arnd Bergmann wrote: > > > > The examples I had seen befo

Re: [PATCH 00/19] First HREF Device Tree enablement patch-set

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Lee Jones wrote: > Just running this by you, as there is method in the madness. > > Linus wanted to keep changes to the Device Tree and changes > in platform code separate, which is my reason for submitting > all of my changes to date that way. > > What I do (not sure

Re: [PATCH v3 02/31] arm64: Kernel booting and initialisation

2012-09-07 Thread Arnd Bergmann
rdisation, ACPI. > > Signed-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Acked-by: Nicolas Pitre > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger

Re: [PATCH v3 03/31] arm64: Exception handling

2012-09-07 Thread Arnd Bergmann
using > the SP1 stack. The vectors don't have a fixed address, only alignment > (2^11) requirements. > > Signed-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "

Re: [PATCH v3 04/31] arm64: MMU definitions

2012-09-07 Thread Arnd Bergmann
onfiguration is global to all AArch64 platforms and > allows for 1GB sections with SPARSEMEM_VMEMMAP enabled by default. > > Signed-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the

Re: [PATCH v3 05/31] arm64: MMU initialisation

2012-09-07 Thread Arnd Bergmann
> Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v3 06/31] arm64: MMU fault handling and page table management

2012-09-07 Thread Arnd Bergmann
swapper_pg_dir) by TTBR1. There is no translation information shared or > address space overlapping between user and kernel page tables. > > Signed-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this

Re: [PATCH v3 07/31] arm64: Process management

2012-09-07 Thread Arnd Bergmann
the ASID can be either 8 or 16-bit wide (detectable > via the ID_AA64AFR0_EL1 register). > > Signed-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann But please fix a few small issues in process.c: > diff --git a/arch

Re: [PATCH v3 08/31] arm64: CPU support

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Catalin Marinas wrote: > + > +#include > + > +extern unsigned long __cpu_setup(void); > + > +struct cpu_info __initdata cpu_table[] = { > + { > + .cpu_id_val = 0x000f, > + .cpu_id_mask= 0x000f, > + .cpu_name

Re: [PATCH v3 09/31] arm64: Cache maintenance routines

2012-09-07 Thread Arnd Bergmann
t address > + * - size - size of region > + * - dir - DMA direction > + */ > +ENTRY(dmac_unmap_area) > + add x1, x1, x0 > + cmp x2, #DMA_TO_DEVICE > + b.nedmac_inv_range > + ret > +ENDPROC(dmac_unmap_area) Aside from this: Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v3 10/31] arm64: TLB maintenance functionality

2012-09-07 Thread Arnd Bergmann
always present, even on UP systems. > > NOTE: Large part of this patch to be dropped once Peter Z's generic > mmu_gather patches are merged. > > Signed-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To

Re: [PATCH v3 11/31] arm64: IRQ handling

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Catalin Marinas wrote: > +#define __inc_irq_stat(cpu, member) __IRQ_STAT(cpu, member)++ > +#define __get_irq_stat(cpu, member) __IRQ_STAT(cpu, member) Isn't this something that the IRQ core code already keeps track of? > +#endif /* __ASM_HARDIRQ_H */ > diff --git a

Re: [PATCH v3 12/31] arm64: Atomic operations

2012-09-07 Thread Arnd Bergmann
n > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.ht

Re: [PATCH v3 14/31] arm64: DMA mapping API

2012-09-07 Thread Arnd Bergmann
cture) or if corresponding hooks are placed in the generic > swiotlb code to deal with cache maintenance. > > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH v3 15/31] arm64: SMP support

2012-09-07 Thread Arnd Bergmann
more expensive. > > For the SMP booting protocol, see Documentation/arm64/booting.txt. > > Signed-off-by: Will Deacon > Signed-off-by: Marc Zyngier > Signed-off-by: Catalin Marinas > Acked-by: Arnd Bergmann > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubs

Re: [PATCH v3 16/31] arm64: ELF definitions

2012-09-07 Thread Arnd Bergmann
eacon > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.ht

Re: [PATCH v3 17/31] arm64: System calls handling

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Catalin Marinas wrote: > +/* > + * sys_execve() executes a new program. > + */ > +asmlinkage long sys_execve(const char __user *filenamei, > + const char __user *const __user *argv, > + const char __user *const __user *e

Re: [PATCH v3 18/31] arm64: VDSO support

2012-09-07 Thread Arnd Bergmann
d-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.or

Re: [PATCH v3 20/31] arm64: User access library functions

2012-09-07 Thread Arnd Bergmann
by: Will Deacon > Signed-off-by: Marc Zyngier > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordo

Re: [PATCH v3 21/31] arm64: 32-bit (compat) applications support

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Catalin Marinas wrote: > > From: Will Deacon > > This patch adds support for 32-bit applications. The vectors page is a > binary blob mapped into the application user space at 0x (the > AArch64 toolchain does not support compilation of AArch32 code). Full > c

Re: [PATCH v3 23/31] arm64: Debugging support

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Catalin Marinas wrote: > From: Will Deacon > > This patch adds ptrace, debug monitors and hardware breakpoints support. > > Signed-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Looks good to me now, Ac

Re: [PATCH v3 26/31] arm64: Miscellaneous library functions

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Catalin Marinas wrote: > +/* > + * Use compiler builtins for simple inline operations. > + */ > +static inline unsigned long __ffs(unsigned long word) > +{ > + return __builtin_ffsl(word) - 1; > +} > + > +static inline int ffs(int x) > +{ > + return __builtin_f

Re: [PATCH v3 27/31] arm64: Loadable modules

2012-09-07 Thread Arnd Bergmann
d-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/major

Re: [PATCH v3 28/31] arm64: Generic timers support

2012-09-07 Thread Arnd Bergmann
alin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v3 29/31] arm64: Miscellaneous header files

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Catalin Marinas wrote: > > This patch introduces a few AArch64-specific header files together with > Kbuild entries for generic headers. > > Signed-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by:

Re: [PATCH v3 30/31] arm64: Build infrastructure

2012-09-07 Thread Arnd Bergmann
On Friday 07 September 2012, Catalin Marinas wrote: > This patch adds Makefile and Kconfig files required for building an > AArch64 kernel. > > Signed-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann -- To unsubscribe fr

Re: [PATCH 00/19] First HREF Device Tree enablement patch-set

2012-09-10 Thread Arnd Bergmann
On Monday 10 September 2012, Linus Walleij wrote: > Basically that was at a point when we were changing a lot of > subsystem trees with DT patches that were merged in out-of-order > fashion. > > Then it's better to have the DT changes to be pushed > separately at the end of the merge window after

Re: [PATCH 00/19] First HREF Device Tree enablement patch-set

2012-09-10 Thread Arnd Bergmann
On Monday 10 September 2012, Linus Walleij wrote: > > When the driver offers > > two ways of probing a device, this lets us change from one way to > > the other without going through a phase where we use neither of them > > or (worse) both at the same time. > > Maybe unrelated, but as usual it wor

Re: [PATCH v3 17/31] arm64: System calls handling

2012-09-10 Thread Arnd Bergmann
On Monday 10 September 2012, Catalin Marinas wrote: > Yes, I've seen these but since Al's patches are not in mainline, I don't > want to add additional dependencies to the arm64 patches (currently > based on 3.6-rc4). Once they get into mainline, I'll add a patch that > converts arm64 to the generi

Re: [PATCH v3 02/31] arm64: Kernel booting and initialisation

2012-09-10 Thread Arnd Bergmann
On Monday 10 September 2012, Catalin Marinas wrote: > On Mon, Sep 10, 2012 at 06:53:39AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 19:29 Sun 09 Sep , Nicolas Pitre wrote: > > > On Sun, 9 Sep 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > On 17:26 Fri 07 Sep , Catalin M

Re: mfd: Implement devicetree support for AB8500 Btemp

2012-09-10 Thread Arnd Bergmann
On Monday 10 September 2012, Rajanikanth HV wrote: > + > +supplied-to: > + This is a logical binding w.r.t power supply event change > + across energy-management-module drivers where in the > + runtime battery properties are shared along with uevent > + notification. > +

Re: [PATCH] mfd: Implement devicetree support for AB8500 fg

2012-09-10 Thread Arnd Bergmann
On Monday 10 September 2012, Rajanikanth HV wrote: > +Required Properties: > +- compatible = "stericsson,ab8500-fg" > + > +supplied-to: > + This is a logical binding w.r.t power supply event change > + across energy-management-module drivers where in the > + runtime battery properties

Re: [PATCH v3 17/31] arm64: System calls handling

2012-09-10 Thread Arnd Bergmann
On Monday 10 September 2012, Catalin Marinas wrote: > > On Mon, Sep 10, 2012 at 02:51:52PM +0100, Arnd Bergmann wrote: > > On Monday 10 September 2012, Catalin Marinas wrote: > > > Yes, I've seen these but since Al's patches are not in mainline, I don't >

Re: [PATCH v3 02/31] arm64: Kernel booting and initialisation

2012-09-10 Thread Arnd Bergmann
On Monday 10 September 2012, Nicolas Pitre wrote: > On Mon, 10 Sep 2012, Arnd Bergmann wrote: > > On Monday 10 September 2012, Catalin Marinas wrote: > > > On Mon, Sep 10, 2012 at 06:53:39AM +0100, Jean-Christophe > > > PLAGNIOL-VILLARD wrote: > > I think a bunc

Re: [PATCH 07/16] cgroup: fix warning when building without any subsys

2012-10-05 Thread Arnd Bergmann
On Saturday 06 October 2012, Tejun Heo wrote: > On Fri, Oct 05, 2012 at 04:55:21PM +0200, Arnd Bergmann wrote: > > In a configuration where the base cgroup support is enabled but > > every single cgroup subsys is turned off, CGROUP_BUILTIN_SUBSYS_COUNT > > is zero, which ca

Re: [PATCH 08/16] ipvs: fix ip_vs_set_timeout debug messages

2012-10-05 Thread Arnd Bergmann
On Friday 05 October 2012, Julian Anastasov wrote: > > Hello, > > On Fri, 5 Oct 2012, Arnd Bergmann wrote: > > > The ip_vs_set_timeout function sets timeouts for TCP and UDP, which > > can be enabled independently at compile time. The debug message > > alw

Re: [PATCH 08/16] ipvs: fix ip_vs_set_timeout debug messages

2012-10-06 Thread Arnd Bergmann
On Saturday 06 October 2012, Julian Anastasov wrote: > On Sat, 6 Oct 2012, Arnd Bergmann wrote: > > > Are there any CONFIG_IP_VS_PROTO_xxx options in this > > > default config? It is a waste of memory if IPVS is compiled > > > without any protocols. > >

Please add back the asm-generic tree to linux-next

2012-10-06 Thread Arnd Bergmann
Hi Stephen, I haven't used my asm-generic git tree for the last year, but now I have some patches in it again. I was (ab)using the arm-soc tree for now to get the few patches into linux-next, but the URL is still listed in the MAINTAINERS file and I should really be using that one, since it is mos

Re: [PATCH 09/17] ARM: imx: select ARM_CPU_SUSPEND if necessary

2012-10-07 Thread Arnd Bergmann
On Sunday 07 October 2012, Shawn Guo wrote: > Isn't the following the approach we agreed on? > > http://thread.gmane.org/gmane.linux.ports.arm.kernel/183222/focus=1348538 > Yes, you are right, my mistake. That patch was already merged, I just accidentally picked up the older one again when going

Re: Please add back the asm-generic tree to linux-next

2012-10-07 Thread Arnd Bergmann
On Saturday 06 October 2012, Stephen Rothwell wrote: > On Sat, 6 Oct 2012 12:54:45 +0000 Arnd Bergmann wrote: > > > > I haven't used my asm-generic git tree for the last year, but now I have > > some > > patches in it again. I was (ab)using the arm-soc tree fo

[GIT PULL] asm-generic changes for 3.7

2012-10-08 Thread Arnd Bergmann
conflicts between Mark's patch and the following arch header file split patches. In each case the solution will be to keep the new "generic-y += clkdev.h" line, even if it ends up being the only line in the Kbuild file. ----

Re: [PATCH 01/16] ARM: warnings in arch/arm/include/asm/uaccess.h

2012-10-09 Thread Arnd Bergmann
On Monday 08 October 2012, Greg Ungerer wrote: > On 06/10/12 00:55, Arnd Bergmann wrote: > > On NOMMU ARM, the __addr_ok() and __range_ok() macros do not evaluate > > their arguments, which may lead to harmless build warnings in some > > code where the variables are not use

Re: [PATCH 05/16] vfs: bogus warnings in fs/namei.c

2012-10-09 Thread Arnd Bergmann
On Monday 08 October 2012, Jan Kara wrote: > On Fri 05-10-12 16:55:19, Arnd Bergmann wrote: > > The follow_link() function always initializes its *p argument, > > or returns an error, but not all versions of gcc figure this > > out, so we have to work around this using

Re: [PATCH 05/16] vfs: bogus warnings in fs/namei.c

2012-10-09 Thread Arnd Bergmann
On Tuesday 09 October 2012, Arnd Bergmann wrote: > On Monday 08 October 2012, Jan Kara wrote: > > On Fri 05-10-12 16:55:19, Arnd Bergmann wrote: > > > The follow_link() function always initializes its *p argument, > > > or returns an error, but not all versions of gcc f

[PATCH 2/9] ARM: export set_irq_flags

2012-10-09 Thread Arnd Bergmann
_irq_flags with something else or export that function. This patch does the latter. Signed-off-by: Arnd Bergmann Cc: Magnus Damm Cc: Linus Walleij Cc: Rafael J. Wysocki Cc: Thomas Gleixner Cc: Russell King --- arch/arm/kernel/irq.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/

[PATCH 8/9] ARM: binfmt_flat: unused variable 'persistent'

2012-10-09 Thread Arnd Bergmann
at.c:746:17: warning: unused variable 'persistent' [-Wunused-variable] Signed-off-by: Arnd Bergmann Acked-by: Greg Ungerer Cc: Russell King Cc: Bryan Wu --- arch/arm/include/asm/flat.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/flat.h

[PATCH 7/9] ARM: be really quiet when building with 'make -s'

2012-10-09 Thread Arnd Bergmann
t this patch, building any ARM kernel results in: Kernel: arch/arm/boot/Image is ready Kernel: arch/arm/boot/zImage is ready Signed-off-by: Arnd Bergmann Acked-by: Nicolas Pitre Cc: Russell King Cc: Catalin Marinas Cc: Michal Marek --- arch/arm/boot/Makefile | 10 +- arch/a

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

2012-10-09 Thread Arnd Bergmann
not support THUMB instructions [enabled by default] (and many more) Signed-off-by: Arnd Bergmann Acked-by: Nicolas Pitre Cc: Russell King Cc: Dave Martin --- arch/arm/Makefile | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm

[PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Arnd Bergmann
/ERR_PTR family of functions. Signed-off-by: Arnd Bergmann Cc: Stefano Stabellini Cc: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge Cc: xen-de...@lists.xensource.com --- arch/arm/Kconfig |1 + drivers/xen/Kconfig |2 ++ drivers/xen/sys-hypervisor.c |1 + 3 files

[GIT PULL 0/9] ARM architecture fixes for 3.7

2012-10-09 Thread Arnd Bergmann
/scm/linux/kernel/git/arm/arm-soc.git tags/fixes-for-rmk for you to fetch changes up to 93c6cee8e966ceb78a08e6a69a3afc948b74d254: ARM: warnings in arch/arm/include/asm/uaccess.h (2012-10-09 17:07:44 +0200) ---- Arnd Bergmann (9):

[PATCH 3/9] ARM: Fix another build warning in arch/arm/mm/alignment.c

2012-10-09 Thread Arnd Bergmann
be used uninitialized in this function arch/arm/mm/alignment.c:748:21: note: 'offset.un' was declared here Signed-off-by: Arnd Bergmann Cc: Russell King --- arch/arm/mm/alignment.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mm/alignment.c

[PATCH 9/9] ARM: warnings in arch/arm/include/asm/uaccess.h

2012-10-09 Thread Arnd Bergmann
, building at91x40_defconfig results in: fs/read_write.c: In function 'rw_copy_check_uvector': fs/read_write.c:684:9: warning: unused variable 'buf' [-Wunused-variable] Signed-off-by: Arnd Bergmann Acked-by: Greg Ungerer Cc: Russell King --- arch/arm/include/asm/uaccess.h |4

[PATCH 4/9] ARM: export default read_current_timer

2012-10-09 Thread Arnd Bergmann
d_current_timer" [crypto/tcrypt.ko] undefined! Signed-off-by: Arnd Bergmann Cc: Stephen Boyd Cc: Jonathan Austin Cc: Will Deacon Cc: Russell King --- arch/arm/lib/delay.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/lib/delay.c b/arch/arm/lib/delay.c index 9d0a300..

[PATCH 1/9] ARM: kprobes: make more tests conditional

2012-10-09 Thread Arnd Bergmann
processor does not support ARM mode `mls r0,r1,r2,r3' /tmp/ccuMTZ8D.s:2: Error: selected processor does not support ARM mode `mlshi r7,r8,r9,r10' /tmp/ccuMTZ8D.s:22252: Error: selected processor does not support ARM mode `mls lr,r1,r2,r13' Signed-off-by: Arnd Bergmann

[PATCH 0/3] new ARM-soc warning fixes

2012-10-09 Thread Arnd Bergmann
ot;fixes2" branch on top of the patches that are already in "fixes". We can either send them all together, or you send the ones that are already queued first and these ones with the next batch. Feel free to rebase if necessary. Arnd Arnd Bergmann (3): ARM: shmobile: mark

[PATCH 1/3] ARM: shmobile: mark shmobile_init_late as __init

2012-10-09 Thread Arnd Bergmann
). This is often because shmobile_init_late lacks a __init annotation or the annotation of shmobile_suspend_init is wrong. Signed-off-by: Arnd Bergmann Cc: Rafael J. Wysocki Cc: Magnus Damm Cc: Simon Horman --- arch/arm/mach-shmobile/include/mach/common.h |2 +- 1 file changed, 1 inser

[PATCH 2/3] ARM: assabet: fix bogus warning in get_assabet_scr (again)

2012-10-09 Thread Arnd Bergmann
-sa1100/assabet.c:389:16: note: 'scr' was declared here Signed-off-by: Arnd Bergmann Cc: Russell King --- arch/arm/mach-sa1100/assabet.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index e1ccda6..6

[PATCH 3/3] ARM: integrator: use __iomem pointers for MMIO, part 2

2012-10-09 Thread Arnd Bergmann
Due to some interesting merges in the integrator code, not all users of mmio pointers were converted before, this fixes all warnings that got introduced as a consequence. Signed-off-by: Arnd Bergmann Cc: Linus Walleij Cc: Russell King --- arch/arm/mach-integrator/include/mach/cm.h

[PATCH] pinctrl: sirf: remove sirfsoc_gpio_set_pull function

2012-10-09 Thread Arnd Bergmann
P' undeclared (first use in this function) drivers/pinctrl/pinctrl-sirf.c:1338:7: error: 'SIRFSOC_GPIO_PULL_DOWN' undeclared (first use in this function) Signed-off-by: Arnd Bergmann Cc: Barry Song Cc: Linus Walleij diff --git a/arch/arm/mach-prima2/include/mach/gpio.h b/

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Arnd Bergmann
On Tuesday 09 October 2012, Ian Campbell wrote: > > * The tmem hypercall is not available on ARM > > > > * ARMv6 does not support cmpxchg on 16-bit words that are used in the > > missing the end of this sentence? Right, I meant to say * ARMv6 does not support cmpxchg on 16-bit words that are u

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Arnd Bergmann
On Tuesday 09 October 2012, Ian Campbell wrote: > On Tue, 2012-10-09 at 16:39 +0100, Arnd Bergmann wrote: > > On Tuesday 09 October 2012, Ian Campbell wrote: > > > > * The tmem hypercall is not available on ARM > > > > > > > > * ARMv6 does not support

Re: [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-09 Thread Arnd Bergmann
On Tuesday 09 October 2012, Stefano Stabellini wrote: > > config XEN > > bool "Xen guest support on ARM (EXPERIMENTAL)" > > depends on EXPERIMENTAL && ARM && OF > > + depends on !CPU_V6 > > help > > Say Y if you want to run Linux in a Virtual Machine on Xen on ARM. >

Re: [GIT PULL 0/9] ARM architecture fixes for 3.7

2012-10-09 Thread Arnd Bergmann
On Tuesday 09 October 2012, Russell King - ARM Linux wrote: > > On Tue, Oct 09, 2012 at 05:22:54PM +0200, Arnd Bergmann wrote: > > Here are some patches that belong into your domain, I hope you can > > just send the lot to Linus the next time you send other patches. > >

Re: [PATCH 0/3] new ARM-soc warning fixes

2012-10-09 Thread Arnd Bergmann
On Tuesday 09 October 2012, Olof Johansson wrote: > On Tue, Oct 09, 2012 at 05:34:18PM +0200, Arnd Bergmann wrote: > > Hi Olof, > > > > Here are three more fixes that I'd like to merge through the arm-soc > > as time permits. All of them should be completel

[PATCH v2 3/8] mm/slob: use min_t() to compare ARCH_SLAB_MINALIGN

2012-10-09 Thread Arnd Bergmann
#x27;: mm/slob.c:484:153: warning: comparison of distinct pointer types lacks a cast [enabled by default] mm/slob.c: In function 'ksize': mm/slob.c:503:153: warning: comparison of distinct pointer types lacks a cast [enabled by default] Signed-off-by: Arnd Bergmann Acked-by: Chris

[PATCH v2 7/8] video: mark nuc900fb_map_video_memory as __devinit

2012-10-09 Thread Arnd Bergmann
nuc900fb_map_video_memory(). If nuc900fb_map_video_memory is only used by nuc900fb_probe then annotate nuc900fb_map_video_memory with a matching annotation. Signed-off-by: Arnd Bergmann Cc: Wan ZongShun Cc: Florian Tobias Schandinat Cc: linux-fb...@vger.kernel.org --- drivers/video/nuc900fb.c |2

[PATCH v2 1/8] SCSI: ARM: ncr5380/oak uses no interrupts

2012-10-09 Thread Arnd Bergmann
kscsi_intr' defined but not used [-Wunused-function] Signed-off-by: Arnd Bergmann Cc: Russell King Cc: "James E.J. Bottomley" Cc: linux-arm-ker...@lists.infradead.org Cc: linux-s...@vger.kernel.org --- drivers/scsi/arm/oak.c |1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v2 2/8] SCSI: ARM: make fas216_dumpinfo function conditional

2012-10-09 Thread Arnd Bergmann
not used [-Wunused-function] Signed-off-by: Arnd Bergmann Cc: Russell King Cc: "James E.J. Bottomley" Cc: linux-arm-ker...@lists.infradead.org Cc: linux-s...@vger.kernel.org --- drivers/scsi/arm/fas216.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH v2 v2 v2 8/8] spi/s3c64xx: use correct dma_transfer_direction type

2012-10-09 Thread Arnd Bergmann
nsfer_direction' [-Wenum-compare] Signed-off-by: Arnd Bergmann Cc: Ben Dooks Cc: Kukjin Kim Cc: Grant Likely Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-s3c64xx.c |2 +- 1 file chang

[PATCH v2 6/8] pcmcia: sharpsl: don't discard sharpsl_pcmcia_ops

2012-10-09 Thread Arnd Bergmann
]: *** [drivers] Error 2 make: *** [sub-make] Error 2 Signed-off-by: Arnd Bergmann Cc: Dominik Brodowski Cc: Russell King Cc: Pavel Machek Cc: linux-pcm...@lists.infradead.org Cc: Jochen Friedrich Cc: sta...@vger.kernel.org --- drivers/pcmcia/pxa2xx_sharpsl.c |2 +- 1 file changed, 1 insertion

[PATCH v2 0/8] ARM: mostly harmless gcc warnings

2012-10-09 Thread Arnd Bergmann
ce is still to have them go through the subsystem maintainers. Olof: should we add it to for-next? Arnd Arnd Bergmann (8): SCSI: ARM: ncr5380/oak uses no interrupts SCSI: ARM: make fas216_dumpinfo function conditional mm/slob: use min_t() to compare ARCH_SLAB_MINALIGN USB: EHCI:

[PATCH v2 5/8] clk: don't mark clkdev_add_table as init

2012-10-09 Thread Arnd Bergmann
s3c2440_clk_add() to the function .init.text:clkdev_add_table() The function s3c2440_clk_add() references the function __init clkdev_add_table(). This is often because s3c2440_clk_add lacks a __init annotation or the annotation of clkdev_add_table is wrong. Signed-off-by: Arnd Bergmann Cc: Russell King

[PATCH v2 4/8] USB: EHCI: mark ehci_orion_conf_mbus_windows __devinit

2012-10-09 Thread Arnd Bergmann
). If ehci_orion_conf_mbus_windows is only used by ehci_orion_drv_probe then annotate ehci_orion_conf_mbus_windows with a matching annotation. Signed-off-by: Arnd Bergmann Acked-by: Alan Stern Cc: Greg Kroah-Hartman Cc: linux-...@vger.kernel.org --- drivers/usb/host/ehci-orion.c |2 +- 1 file changed, 1 inse

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-10 Thread Arnd Bergmann
On Wednesday 10 October 2012, Ian Campbell wrote: > > * implement your own cmpxchg wrapper that may be implemented using a > > spinlock > > rather than cmpxchg if ARMv6 is enabled. > > Even if ARMv6 is enabled the grant table code will never be running on > one so so it might be ok to just have

Re: [PATCH 6/6] mfd: Differentiate between u8500 and u9540 TCDM address mapping

2012-10-10 Thread Arnd Bergmann
On Wednesday 10 October 2012, Lee Jones wrote: > @@ -2688,7 +2688,11 @@ void __init db8500_prcmu_early_init(void) > iounmap(tcpm_base); > } > > - tcdm_base = __io_address(U8500_PRCMU_TCDM_BASE); > + if (cpu_is_u9540()) > +

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-11-30 Thread Arnd Bergmann
On Wednesday 28 November 2012, Eli Billauer wrote: > > Xillybus is a general-purpose framework for communication between programmable > logic (FPGA) and a host. It provides a simple connection between hardware > FIFOs > in the FPGA and their respective device files on the host. The user space > p

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-11-30 Thread Arnd Bergmann
On Friday 30 November 2012, Eli Billauer wrote: > The problem is if the page size smaller than 4kB. The buffers > allocated by the driver must not cross a 4kB boundary, and it's assumed > that anything returned by __get_free_pages() is 4 kB-aligned. Otherwise > the FPGA will generate illegal PCI

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-12-01 Thread Arnd Bergmann
On Saturday 01 December 2012, Philip Balister wrote: > On 11/30/2012 09:36 AM, Greg KH wrote: > > Yes, I know of at least one more device other than the ones listed above > > that wants this type of functionality as well, so defining it in a > > standard user/kernel api manner would be very good to

Re: [PATCH 1/5] asm-generic/mmu.h: Remove unused vmlist field from mm_context_t

2012-12-03 Thread Arnd Bergmann
: Lars-Peter Clausen Whole series: Acked-by: Arnd Bergmann Do you want to include the patches in a patch set of your own, or should I put them into the asm-generic tree? Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-12-04 Thread Arnd Bergmann
On Tuesday 04 December 2012, Eli Billauer wrote: > I'm currently writing some documentation which will cover the API and > also help reading the code, I hope. It takes some time... > > Until it's done, let's look at a usage example: Suppose that the FPGA's > application is to receive a high-spee

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-12-04 Thread Arnd Bergmann
On Tuesday 04 December 2012, Philip Balister wrote: > On 12/01/2012 12:48 PM, Arnd Bergmann wrote: > > On Saturday 01 December 2012, Philip Balister wrote: > >> On 11/30/2012 09:36 AM, Greg KH wrote: > >>> Yes, I know of at least one more device other than the ones

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-12-04 Thread Arnd Bergmann
On Tuesday 04 December 2012, Eli Billauer wrote: > On 12/04/2012 10:43 PM, Arnd Bergmann wrote: > > On Tuesday 04 December 2012, Eli Billauer wrote: > > It's also a bit confusing because it doesn't appear > > to be a "bus" in the Linux sense of bein

Re: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-17 Thread Arnd Bergmann
On Tuesday 16 October 2012, Jaegeuk Kim wrote: > 2012-10-16 (화), 16:14 +0000, Arnd Bergmann: > > On Tuesday 16 October 2012, Jaegeuk Kim wrote: > > For the lower bound, being able to support as little as 2 logs for > > cheap hardware would be nice, but 4 logs is the important

Re: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-17 Thread Arnd Bergmann
On Wednesday 17 October 2012, Jaegeuk Kim wrote: > As discussed with Dave, I propose the following items. > > [In v2] > - Extension list >: Mkfs supports configuring extensions by user, and that information > will be stored in the superblock. > I'll add a mount option to enable/disab

Re: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-17 Thread Arnd Bergmann
On Tuesday 16 October 2012, Jaegeuk Kim wrote: > > > > > > An xattr on the root inode that holds a list like this is something > > > > that could be set at mkfs time, but then also updated easily by new > > > > software packages that are installed... > > > > Yes, good idea. > > Likewise many fil

<    1   2   3   4   5   6   7   8   9   10   >