From: Rob Herring
Ensure that the descriptor writes are visible before the ring buffer head
is updated. Since writel is a barrier, we can simply update the head after
the writel.
Reported-by: Lennert Buytenhek
Signed-off-by: Rob Herring
---
drivers/net/ethernet/calxeda/xgmac.c | 3 ++-
1
From: Rob Herring
The TX completion code may have freed an skb before the entire sg list
was transmitted. The DMA unmap calls for the fragments could also get
skipped. Now set the skb pointer on every entry in the ring, not just
the head of the sg list. We then use the FS (first segment) bit in
From: Rob Herring
It is possible for the xgmac_tx_complete to run concurrently with
xgmac_tx_err since there are no locks. Fix this by moving the tx
error handling to a workqueue so we can disable napi while we reset
the transmitter.
Reported-by: Andreas Herrmann
Signed-off-by: Rob Herring
From: Rob Herring
On a DMA mapping error in xgmac_xmit, we should simply free the skb and
return NETDEV_TX_OK rather than -EIO. In the case of errors in mapping
frags, we need to undo everything that has been setup.
Reported-by: Andreas Herrmann
Signed-off-by: Rob Herring
---
drivers/net
From: Rob Herring
xgmac_desc_get_buf_len appears to have a copy/paste error. flags is the
wrong field to read. We should be reading buf_size field. cpu_to_le32
should also be le32_to_cpu. This never really mattered as this function
is only used for DMA mapping calls which happen to be nops with
On Tue, Aug 27, 2013 at 2:57 AM, Andreas Larsson wrote:
> This changes the dummy version of of_irq_find_parent to be defined when
> !defined(CONFIG_OF_IRQ) instead of when !defined(CONFIG_OF). Without
> this of_irq_find_parent is undefined on SPARC that defines CONFIG_OF but
> not CONFIG_OF_IRQ.
On Tue, Aug 27, 2013 at 9:08 AM, Lee Jones wrote:
> On Tue, 27 Aug 2013, Mark Rutland wrote:
>
>> On Tue, Aug 27, 2013 at 09:06:35AM +0100, Lee Jones wrote:
>> > On Fri, 23 Aug 2013, Mark Rutland wrote:
>> >
>> > > On Fri, Aug 23, 2013 at 08:56:07AM +0100, Lee Jones wrote:
>> > > > I had a short c
From: Rob Herring
xen_pm_init was unconditionally setting pm_power_off and arm_pm_restart
function pointers. This breaks multi-platform kernels. Move this
initialization into xen_guest_init, so it is conditional on running as a
Xen guest.
Cc: Stefano Stabellini
Signed-off-by: Rob Herring
On Wed, Aug 28, 2013 at 11:32 AM, Julien Grall wrote:
> On 08/28/2013 05:19 PM, Rob Herring wrote:
>> From: Rob Herring
>>
>> xen_pm_init was unconditionally setting pm_power_off and arm_pm_restart
>> function pointers. This breaks multi-platform kernels. Move
From: Rob Herring
xen_pm_init was unconditionally setting pm_power_off and arm_pm_restart
function pointers. This breaks multi-platform kernels. Make this
conditional on running as a Xen guest and make it a late_initcall to
ensure it is setup after platform code for Dom0.
Cc: Stefano Stabellini
From: Rob Herring
xen_pm_init was unconditionally setting pm_power_off and arm_pm_restart
function pointers. This breaks multi-platform kernels. Make this
conditional on running as a Xen guest and make it a late_initcall to
ensure it is setup after platform code for Dom0.
Cc: Stefano Stabellini
On 10/01/2013 06:13 AM, Sricharan R wrote:
> Hi,
>
> On Monday 30 September 2013 08:39 PM, Rob Herring wrote:
>> On 09/30/2013 08:59 AM, Sricharan R wrote:
>>> Some socs have a large number of interrupts requests to service
>>> the needs of its many perip
On 10/01/2013 08:57 AM, Santosh Shilimkar wrote:
> On Tuesday 01 October 2013 09:48 AM, Rob Herring wrote:
>> On 10/01/2013 06:13 AM, Sricharan R wrote:
>>> Hi,
>>>
>>> On Monday 30 September 2013 08:39 PM, Rob Herring wrote:
>>>> On 09/30/2013 08:
On Wed, Oct 2, 2013 at 12:42 PM, Stephen Boyd wrote:
> On 10/02/13 10:27, Santosh Shilimkar wrote:
>> On Wednesday 02 October 2013 01:22 PM, Stephen Boyd wrote:
>>> On 10/02/13 10:14, Santosh Shilimkar wrote:
On Wednesday 02 October 2013 01:09 PM, Will Deacon wrote:
> On Wed, Oct 02, 2013
Adding devicetree list since you are defining bindings...
On 10/03/2013 06:24 AM, Leif Lindholm wrote:
> This patch provides documentation of the [U]EFI runtime services and
> configuration features.
>
> Cc: linux-...@vger.kernel.org
> Signed-off-by: Leif Lindholm
> Acked-by: Rob Landley
> ---
On Thu, Oct 3, 2013 at 4:33 AM, Vineet Gupta wrote:
> [Trimmed CC list a bit]
>
> On 09/27/2013 10:26 AM, Vineet Gupta wrote:
>> On 09/27/2013 12:21 AM, Rob Herring wrote:
>>> From: Rob Herring
>>>
>>> This is the second series of clean-up for architec
On Wed, Oct 2, 2013 at 12:22 PM, Konrad Rzeszutek Wilk
wrote:
> On Wed, Oct 02, 2013 at 06:13:35PM +0100, Stefano Stabellini wrote:
>> The real issue is that some devices (xgmac, I am looking at you), don't
>> set the dma_mask, even though they are perfectly capable of doing dma.
>
> So this looks
c22cebf5c311a6f1895fcca9f78efd0478
Author: Linus Torvalds
Date: Tue Jul 10 12:49:32 2012 -0700
Revert "of: match by compatible property first"
This reverts commit 107a84e61cdd3406c842a0e4be7efffd3a05dba6.
Meelis Roos reports a regression since 3.5-rc5 that stops Sun Fi
On 10/03/2013 04:51 PM, Marc Kleine-Budde wrote:
> On 10/03/2013 10:37 PM, Rob Herring wrote:
>> On 10/03/2013 01:51 PM, Marc Kleine-Budde wrote:
>>> The function of_match_device() should tell if a struct device
>>> matches an of_device_id list and return the speci
On Tue, Jul 9, 2013 at 3:10 AM, Huang Shijie wrote:
> 于 2013年07月09日 15:51, Sascha Hauer 写道:
>
>> On Tue, Jul 09, 2013 at 03:46:34PM +0800, Huang Shijie wrote:
>>>
>>> 于 2013年07月09日 15:05, Sascha Hauer 写道:
Why don't you set the matching order in the driver the way you want it
to be,
On 07/10/2013 08:46 AM, Gerhard Sittig wrote:
> On Wed, Jul 10, 2013 at 14:21 +0400, Alexander Popov wrote:
>>
>> This is SCLPC device driver for the Freescale MPC512x.
>> It is needed for Direct Memory Access to the devices on LocalPlus Bus.
>>
>> Signed-off-by: Alexander Popov
>> ---
>> arch/po
On 07/12/2013 12:31 PM, Joe Perches wrote:
> Documentation shouldn't be executable.
>
> Signed-off-by: Joe Perches
Acked-by: Rob Herring
> ---
> diff --git a/Documentation/devicetree/bindings/mfd/tps6507x.txt
> b/Documentation/devicetree/bindings/mfd/tps6507x.txt
>
On Sun, Sep 15, 2013 at 7:43 AM, Grant Likely wrote:
> On Fri, 13 Sep 2013 08:49:06 -0700, Olof Johansson wrote:
>> On Fri, Sep 13, 2013 at 7:00 AM, Rob Herring wrote:
>> > On Thu, Sep 12, 2013 at 8:31 PM, Emilio López wrote:
[snip]
>> > Better, but this is st
On 09/16/2013 03:32 AM, Thierry Reding wrote:
> This is a version of irq_create_of_mapping() that propagates the precise
> error code instead of returning 0 for all errors. It will be used in
> subsequent patches to allow further propagation of error codes.
>
> To avoid code duplication, implement
On 09/16/2013 03:32 AM, Thierry Reding wrote:
> This is a version of of_irq_to_resource() that propagates the precise
> error code instead of returning 0 for all errors. It will be used in
> subsequent patches to allow further propagation of error codes.
>
> To avoid code duplication, implement of
On 09/16/2013 03:32 AM, Thierry Reding wrote:
> This is a version of irq_of_parse_and_map() that propagates the precise
> error code instead of returning 0 for all errors. It will be used in
> subsequent patches to allow further propagation of error codes.
>
> To avoid code duplication, implement
From: Rob Herring
Convert mips to use new early_init_dt_scan function.
Remove early_init_dt_scan_memory_arch
Signed-off-by: Rob Herring
Cc: Ralf Baechle
Cc: linux-m...@linux-mips.org
---
arch/mips/include/asm/prom.h | 3 ---
arch/mips/kernel/prom.c | 39
From: Rob Herring
In order to unify the initrd scanning for DT across architectures, make
arm set initrd_start and initrd_end instead of the physical addresses.
This is aligned with all other architectures.
Signed-off-by: Rob Herring
Cc: Russell King
Cc: linux-arm-ker...@lists.infradead.org
From: Rob Herring
In order to unify the initrd scanning for DT across architectures, make
arm64 use initrd_start and initrd_end instead of the physical addresses.
Signed-off-by: Rob Herring
Cc: Catalin Marinas
Cc: Will Deacon
Cc: linux-arm-ker...@lists.infradead.org
---
arch/arm64/mm/init.c
From: Rob Herring
Convert mips to use the common of_flat_dt_get_machine_name function.
Signed-off-by: Rob Herring
Cc: Ralf Baechle
Cc: linux-m...@linux-mips.org
---
arch/mips/kernel/prom.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/arch/mips/kernel
From: Rob Herring
Convert arm to use the common of_flat_dt_match_machine function.
Signed-off-by: Rob Herring
Cc: Russell King
Cc: linux-arm-ker...@lists.infradead.org
---
arch/arm/kernel/devtree.c | 42 --
1 file changed, 20 insertions(+), 22
From: Rob Herring
Convert arm64 to use the common of_flat_dt_get_machine_name function.
Signed-off-by: Rob Herring
Cc: Catalin Marinas
Cc: Will Deacon
Cc: linux-arm-ker...@lists.infradead.org
---
arch/arm64/kernel/setup.c | 11 +--
1 file changed, 1 insertion(+), 10 deletions
From: Rob Herring
All arches do essentially the same thing now for
early_init_dt_setup_initrd_arch, so it can now be removed.
Signed-off-by: Rob Herring
Cc: Vineet Gupta
Cc: Russell King
Cc: Mark Salter
Cc: Aurelien Jacquiot
Cc: James Hogan
Cc: Michal Simek
Cc: Ralf Baechle
Cc: Jonas
From: Rob Herring
Convert arc to use the common of_flat_dt_match_machine function.
Signed-off-by: Rob Herring
Cc: Vineet Gupta
---
arch/arc/kernel/devtree.c | 65 +--
1 file changed, 18 insertions(+), 47 deletions(-)
diff --git a/arch/arc/kernel
From: Rob Herring
Introduce common of_flat_dt_match_machine and
of_flat_dt_get_machine_name functions to unify architectures' handling
of machine level model and compatible properties.
Several architectures match the root compatible string with an arch
specific list of machine descri
From: Rob Herring
Create a weak version of early_init_dt_add_memory_arch which uses
memblock or is an empty function when memblock is not enabled. This
will unify all architectures except ones with custom memory bank
structs.
Signed-off-by: Rob Herring
Cc: Catalin Marinas
Cc: Will Deacon
Cc
From: Rob Herring
It appears openrisc prom.c was just copied from another arch with a
bunch of unnecessary includes. Remove all the unecessary ones.
Signed-off-by: Rob Herring
Cc: Jonas Bonn
Cc: li...@lists.openrisc.net
---
arch/openrisc/kernel/prom.c | 22 --
1 file
From: Rob Herring
Convert openrisc to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Cc: Jonas Bonn
Cc: li...@lists.openrisc.net
---
arch/openrisc/kernel/prom.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/arch/openrisc/kernel/prom.c b
From: Rob Herring
Convert microblaze to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Cc: Michal Simek
Cc: microblaze-ucli...@itee.uq.edu.au
---
arch/microblaze/kernel/prom.c | 17 +++--
arch/microblaze/kernel/setup.c | 2 +-
2 files changed, 4 insertions
From: Rob Herring
Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section. This moves the copy later in the boot, but there
do not appear to be any references to strings in the FDT before the copy.
Signed-off-by: Rob Herring
Cc: Jonas Bonn
Cc: li
From: Rob Herring
Convert xtensa to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Cc: Chris Zankel
Cc: Max Filippov
Cc: linux-xte...@linux-xtensa.org
---
arch/xtensa/kernel/setup.c | 21 +
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a
From: Rob Herring
Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section.
Signed-off-by: Rob Herring
Cc: James Hogan
---
arch/metag/kernel/devtree.c | 16
arch/metag/kernel/setup.c | 4 +---
2 files changed, 1 insertion(+), 19 deletions
From: Rob Herring
Convert arm64 to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Cc: Catalin Marinas
Cc: Will Deacon
Cc: linux-arm-ker...@lists.infradead.org
---
arch/arm64/kernel/setup.c | 31 +++
1 file changed, 3 insertions(+), 28 deletions
From: Rob Herring
Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section.
Signed-off-by: Rob Herring
Cc: Vineet Gupta
---
arch/arc/include/asm/mach_desc.h | 1 -
arch/arc/kernel/devtree.c| 15 ---
arch/arc/kernel/setup.c | 3
From: Rob Herring
Convert c6x to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Cc: Mark Salter
Cc: Aurelien Jacquiot
Cc: linux-c6x-...@linux-c6x.org
---
arch/c6x/kernel/devicetree.c | 19 ---
arch/c6x/kernel/setup.c | 2 +-
2 files changed, 1
From: Rob Herring
Convert arc to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Cc: Vineet Gupta
---
arch/arc/kernel/devtree.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/arch/arc/kernel/devtree.c b/arch/arc/kernel/devtree.c
index
From: Rob Herring
Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section.
Signed-off-by: Rob Herring
Cc: Chris Zankel
Cc: Max Filippov
Cc: linux-xte...@linux-xtensa.org
---
arch/xtensa/kernel/setup.c | 19 +--
1 file changed, 1 insertion
From: Rob Herring
This is the first of 2 series to do some consolidation of per
architecture Device Tree code. We now have 12 architectures with DT
support. As new architectures have been added, much of the DT related
code for the early flattened DT scanning has been duplicated. Yet little
of
From: Rob Herring
Convert arm to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Cc: Russell King
Cc: linux-arm-ker...@lists.infradead.org
---
arch/arm/kernel/devtree.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/arch/arm/kernel
From: Rob Herring
Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section.
Signed-off-by: Rob Herring
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
Cc: x...@kernel.org
---
arch/x86/kernel/devicetree.c | 23 -
From: Rob Herring
Most architectures scan the all the same items early in the FDT and none
are really architecture specific. Create a common early_init_dt_scan to
unify the early scan of root, memory, and chosen nodes in the flattened
DT.
Signed-off-by: Rob Herring
Cc: Grant Likely
From: Rob Herring
Save some pointless copying of the kernel command line and just use
boot_command_line instead. The DT code already handles CONFIG_CMDLINE,
so a separate copy is not needed.
Signed-off-by: Rob Herring
Cc: Jonas Bonn
Cc: li...@lists.openrisc.net
---
arch/openrisc/kernel
From: Rob Herring
Several architectures using DT support built-in dtb's in the init
section. These platforms need to copy the dtb from init since the
strings are referenced after unflattening. Every arch has their own
copying routine which do the same thing. Create a common fun
From: Rob Herring
Save some pointless copying of the kernel command line and just use
boot_command_line instead.
Also remove default_command_line as it is not referenced anywhere, and
the DT code already handles the default command line.
Signed-off-by: Rob Herring
Cc: Mark Salter
Cc
From: Rob Herring
Convert metag to use the common of_flat_dt_get_machine_name function.
Signed-off-by: Rob Herring
Cc: James Hogan
---
arch/metag/kernel/devtree.c | 67 -
1 file changed, 18 insertions(+), 49 deletions(-)
diff --git a/arch/metag
On Tue, Sep 17, 2013 at 3:46 AM, Catalin Marinas
wrote:
> On 17 Sep 2013, at 00:09, Rob Herring wrote:
>> --- a/arch/arm64/kernel/setup.c
>> +++ b/arch/arm64/kernel/setup.c
>> @@ -147,24 +147,6 @@ static void __init setup_machine_fdt(phys_addr_t
>> dt_phys)
>
On Tue, Sep 17, 2013 at 10:33 PM, Grant Likely wrote:
> On Mon, 16 Sep 2013 18:09:14 -0500, Rob Herring wrote:
>> From: Rob Herring
>>
>> Create a weak version of early_init_dt_add_memory_arch which uses
>> memblock or is an empty function when memblock is not enab
From: Rob Herring
Much of of_irq.h is needlessly ifdef'ed. Clean this up and minimize the
amount ifdef'ed code. This fixes some build warnings when CONFIG_OF
is not enabled (seen on i386 and x86_64):
include/linux/of_irq.h:82:7: warning: 'struct device_node' declared in
On 09/04/2013 10:27 PM, 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 firmware API. Curren
From: Rob Herring
Clean-up some copy/paste declarations that are not necessary. All the
functions either don't exist or are already declared in other headers.
This is needed in preparation of of_irq.h clean-up.
Signed-off-by: Rob Herring
Cc: Jonas Bonn
Cc: li...@lists.openrisc.net
---
Th
On 09/10/2013 04:13 AM, Marek Szyprowski wrote:
> It is not needed to include asm/dma-contiguous.h header to compile
> reserved memory initialization code, so remove it to avoid build break
> on architectures without CMA support.
>
> Signed-off-by: Marek Szyprowski
Acked-by: Rob
On 09/10/2013 04:44 PM, Linus Torvalds wrote:
> On Tue, Sep 10, 2013 at 2:39 PM, Tim Bird wrote:
>>
>> Well, I'm not sure how many bits of randomness this will add anyway.
>> The way we're using device tree, we get the same values every boot, on
>> all instances of the same phone model. So this s
On 09/12/2013 01:15 PM, Kumar Gala wrote:
>
> On Sep 12, 2013, at 1:04 PM, Olof Johansson wrote:
>
>> On Thu, Sep 12, 2013 at 10:55 AM, Kumar Gala
>> wrote:
>>>
>>> On Sep 12, 2013, at 12:06 PM, Olof Johansson wrote:
>>>
On Thu, Sep 12, 2013 at 9:53 AM, Kumar Gala
wrote:
>
On Thu, Sep 12, 2013 at 8:31 PM, Emilio López wrote:
> Hi Olof,
>
> El 12/09/13 21:57, Olof Johansson escribió:
>
>> On Thu, Sep 12, 2013 at 5:30 PM, Emilio López
>> wrote:
>>>
>>> This driver's only job is to claim and ensure the necessary clock
>>> for memory operation on a DT-powered machine r
On Fri, Jul 26, 2013 at 6:28 AM, Cho KyongHo wrote:
> Signed-off-by: Cho KyongHo
> ---
> .../bindings/iommu/samsung,exynos4210-sysmmu.txt | 103 +++
> arch/arm/boot/dts/exynos4.dtsi | 122
> arch/arm/boot/dts/exynos4210.dtsi | 25 ++
> arch
From: Rob Herring
This is the first of 2 series to do some consolidation of per
architecture Device Tree code. We now have 12 architectures with DT
support. As new architectures have been added, much of the DT related
code for the early flattened DT scanning has been duplicated. Yet little
of
From: Rob Herring
Convert arc to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Acked-by: Vineet Gupta
---
arch/arc/kernel/devtree.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/arch/arc/kernel/devtree.c b/arch/arc/kernel/devtree.c
index
From: Rob Herring
Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section.
Signed-off-by: Rob Herring
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
Cc: x...@kernel.org
---
arch/x86/kernel/devicetree.c | 23 -
From: Rob Herring
Convert mips to use the common of_flat_dt_get_machine_name function.
Signed-off-by: Rob Herring
Cc: Ralf Baechle
Cc: linux-m...@linux-mips.org
Acked-by: John Crispin
---
arch/mips/kernel/prom.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions(-)
diff
From: Rob Herring
In order to unify the initrd scanning for DT across architectures, make
arm64 use initrd_start and initrd_end instead of the physical addresses.
Signed-off-by: Rob Herring
Acked-by: Catalin Marinas
Cc: Will Deacon
Cc: linux-arm-ker...@lists.infradead.org
---
arch/arm64/mm
From: Rob Herring
Introduce common of_flat_dt_match_machine and
of_flat_dt_get_machine_name functions to unify architectures' handling
of machine level model and compatible properties.
Several architectures match the root compatible string with an arch
specific list of machine descri
From: Rob Herring
Convert c6x to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Acked-by: Mark Salter
Cc: Aurelien Jacquiot
Cc: linux-c6x-...@linux-c6x.org
---
arch/c6x/kernel/devicetree.c | 19 ---
arch/c6x/kernel/setup.c | 2 +-
2 files changed, 1
From: Rob Herring
Convert arm64 to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Acked-by: Catalin Marinas
Cc: Will Deacon
Cc: linux-arm-ker...@lists.infradead.org
---
arch/arm64/kernel/setup.c | 31 +++
1 file changed, 3 insertions(+), 28
From: Rob Herring
Convert arm to use the common of_flat_dt_match_machine function.
Signed-off-by: Rob Herring
Cc: Russell King
Cc: linux-arm-ker...@lists.infradead.org
---
arch/arm/kernel/devtree.c | 42 --
1 file changed, 20 insertions(+), 22
From: Rob Herring
Create a weak version of early_init_dt_add_memory_arch which uses
memblock. This will unify all architectures except ones with custom
memory bank structs.
Signed-off-by: Rob Herring
Cc: Catalin Marinas
Cc: Will Deacon
Cc: Michal Simek
Cc: Jonas Bonn
Acked-by: Grant Likely
From: Rob Herring
Convert metag to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Cc: James Hogan
---
arch/metag/kernel/devtree.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/metag/kernel/devtree.c b/arch/metag/kernel/devtree.c
index 049af56
From: Rob Herring
All arches do essentially the same thing now for
early_init_dt_setup_initrd_arch, so it can now be removed.
Signed-off-by: Rob Herring
Acked-by: Vineet Gupta
Cc: Russell King
Cc: Mark Salter
Cc: Aurelien Jacquiot
Cc: James Hogan
Cc: Michal Simek
Cc: Ralf Baechle
Cc
From: Rob Herring
Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section.
Signed-off-by: Rob Herring
Cc: Chris Zankel
Acked-by: Max Filippov
Cc: linux-xte...@linux-xtensa.org
Acked-by: Grant Likely
---
arch/xtensa/kernel/setup.c | 19
From: Rob Herring
Convert openrisc to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Cc: Jonas Bonn
Cc: li...@lists.openrisc.net
---
arch/openrisc/kernel/prom.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/arch/openrisc/kernel/prom.c b
From: Rob Herring
Several architectures using DT support built-in dtb's in the init
section. These platforms need to copy the dtb from init since the
strings are referenced after unflattening. Every arch has their own
copying routine which do the same thing. Create a common fun
From: Rob Herring
Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section.
Signed-off-by: Rob Herring
Cc: James Hogan
---
arch/metag/kernel/devtree.c | 16
arch/metag/kernel/setup.c | 4 +---
2 files changed, 1 insertion(+), 19 deletions
From: Rob Herring
Save some pointless copying of the kernel command line and just use
boot_command_line instead.
Also remove default_command_line as it is not referenced anywhere, and
the DT code already handles the default command line.
Signed-off-by: Rob Herring
Cc: Mark Salter
Cc
From: Rob Herring
Convert arm to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Cc: Russell King
Cc: linux-arm-ker...@lists.infradead.org
---
arch/arm/kernel/devtree.c | 16 +---
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/arch/arm/kernel
From: Rob Herring
It appears openrisc prom.c was just copied from another arch with a
bunch of unnecessary includes. Remove all the unecessary ones.
Signed-off-by: Rob Herring
Cc: Jonas Bonn
Cc: li...@lists.openrisc.net
---
arch/openrisc/kernel/prom.c | 22 --
1 file
From: Rob Herring
Convert arm64 to use the common of_flat_dt_get_machine_name function.
Signed-off-by: Rob Herring
Acked-by: Catalin Marinas
Cc: Will Deacon
Cc: linux-arm-ker...@lists.infradead.org
---
arch/arm64/kernel/setup.c | 11 +--
1 file changed, 1 insertion(+), 10 deletions
From: Rob Herring
Convert metag to use the common of_flat_dt_get_machine_name function.
Signed-off-by: Rob Herring
[james.hogan: fix missing arch_get_next_mach and const mismatch]
Reported-by: Guenter Roeck
Signed-off-by: James Hogan
---
arch/metag/include/asm/mach/arch.h | 2 +-
arch
From: Rob Herring
Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section. This moves the copy later in the boot, but there
do not appear to be any references to strings in the FDT before the copy.
Signed-off-by: Rob Herring
Cc: Jonas Bonn
Cc: li
From: Rob Herring
Convert xtensa to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Acked-by: Max Filippov
Cc: Chris Zankel
Cc: linux-xte...@linux-xtensa.org
---
arch/xtensa/kernel/setup.c | 21 +
1 file changed, 9 insertions(+), 12 deletions(-)
diff
From: Rob Herring
In order to unify the initrd scanning for DT across architectures, make
arm set initrd_start and initrd_end instead of the physical addresses.
This is aligned with all other architectures.
Signed-off-by: Rob Herring
Cc: Russell King
Cc: linux-arm-ker...@lists.infradead.org
From: Rob Herring
Save some pointless copying of the kernel command line and just use
boot_command_line instead. The DT code already handles CONFIG_CMDLINE,
so a separate copy is not needed.
Signed-off-by: Rob Herring
Cc: Jonas Bonn
Cc: li...@lists.openrisc.net
Reviewed-by: Grant Likely
From: Rob Herring
Most architectures scan the all the same items early in the FDT and none
are really architecture specific. Create a common early_init_dt_scan to
unify the early scan of root, memory, and chosen nodes in the flattened
DT.
Signed-off-by: Rob Herring
Acked-by: Grant Likely
From: Rob Herring
Convert arc to use the common of_flat_dt_match_machine function.
Signed-off-by: Rob Herring
Acked-by: Vineet Gupta
---
arch/arc/kernel/devtree.c | 65 +--
1 file changed, 18 insertions(+), 47 deletions(-)
diff --git a/arch/arc
From: Rob Herring
Convert microblaze to use new early_init_dt_scan function.
Signed-off-by: Rob Herring
Tested-by: Michal Simek
Cc: microblaze-ucli...@itee.uq.edu.au
---
arch/microblaze/kernel/prom.c | 17 +++--
arch/microblaze/kernel/setup.c | 2 +-
2 files changed, 4
From: Rob Herring
Convert mips to use new early_init_dt_scan function.
Remove early_init_dt_scan_memory_arch
Signed-off-by: Rob Herring
Cc: Ralf Baechle
Cc: linux-m...@linux-mips.org
Acked-by: John Crispin
---
arch/mips/include/asm/prom.h | 3 ---
arch/mips/kernel/prom.c | 39
From: Rob Herring
Use the common unflatten_and_copy_device_tree to copy the built-in FDT
out of init section.
Signed-off-by: Rob Herring
Acked-by: Vineet Gupta
Acked-by: Grant Likely
---
arch/arc/include/asm/mach_desc.h | 1 -
arch/arc/kernel/devtree.c| 15 ---
arch/arc
From: Rob Herring
Add asm-generic/parport.h to help fix allyesconfig builds.
Signed-off-by: Rob Herring
Cc: Catalin Marinas
Cc: Will Deacon
---
arch/arm64/include/asm/Kbuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/include/asm/Kbuild b/arch/arm64/include/asm/Kbuild
From: Rob Herring
xen-tpmfront fails to build on arm64 with the following error:
drivers/char/tpm/xen-tpmfront.c: In function ‘xen_tpmfront_init’:
drivers/char/tpm/xen-tpmfront.c:422:2: error: implicit declaration of function
‘xen_domain’ [-Werror=implicit-function-declaration]
Add include of
de_by_phandle’ [-Werror=implicit-function-declaration]
> bridge_node = of_find_node_by_phandle(
> ^
> drivers/mfd/vexpress-config.c:117:16: warning: assignment makes pointer from
> integer without a cast [enabled by default]
> bridge_node = of_find_node_by_phandle(
>
> Si
On Tue, Oct 8, 2013 at 12:42 AM, Vineet Gupta
wrote:
> Hi Rob,
>
> On 10/07/2013 09:59 PM, Rob Herring wrote:
>> From: Rob Herring
>>
>> Convert arc to use the common of_flat_dt_match_machine function.
>>
>> Signed-off-by: Rob Herring
>>
>> A
in and resubmit it
rebased on top of Will's barriers series.
Rob
8<
From: Rob Herring
Date: Tue, 3 Sep 2013 07:35:41 -0500
Subject: [PATCH] ARM: fix undefined reference to erratum_a15_798181_init on
!SMP
Fix build error on !SMP builds introdu
101 - 200 of 16148 matches
Mail list logo