On Thu, Feb 19, 2015 at 10:25:56AM +0100, Jan Kiszka wrote:
> On 2015-02-19 10:19, Ian Campbell wrote:
> > On Thu, 2015-02-19 at 09:28 +0100, Thierry Reding wrote:
> >> On Tue, Feb 17, 2015 at 11:55:24AM +, Mark Rutland wrote:
> >>> [...]
> >
On Tue, Feb 17, 2015 at 09:09:57AM +0100, Jan Kiszka wrote:
> On 2015-02-16 16:38, Jan Kiszka wrote:
> > On 2015-02-16 15:56, Mark Rutland wrote:
> >> On Mon, Feb 16, 2015 at 02:31:21PM +, Jan Kiszka wrote:
> >>> On 2015-02-16 15:25, Mark Rutland wrote:
> On Mon, Feb 16, 2015 at 01:51:37PM
On Tue, Feb 24, 2015 at 08:23:55AM +0100, Jan Kiszka wrote:
> On 2015-02-20 10:36, Jan Kiszka wrote:
> > On 2015-02-19 10:14, Thierry Reding wrote:
> >> On Wed, Feb 18, 2015 at 09:34:53AM -0700, Stephen Warren wrote:
> >>> On 02/17/2015 11:13 PM, Jan Kiszka wro
On Wed, Feb 18, 2015 at 09:14:03AM +0100, Jan Kiszka wrote:
[...]
> +ENTRY(psci_cpu_off)
> + bl psci_cpu_off_common
> +
> + mrc p15, 0, r1, c0, c0, 5 @ MPIDR
> + and r1, r1, #7 @ number of CPUs in cluster
> +
> + get_csr_reg r1, r2, r3
> +
> +
On Wed, Feb 18, 2015 at 09:14:03AM +0100, Jan Kiszka wrote:
[...]
> diff --git a/arch/arm/cpu/armv7/tegra124/ap.c
> b/arch/arm/cpu/armv7/tegra124/ap.c
[...]
> +void ap_pm_init(void)
> +{
> + struct flow_ctlr *flow = (struct flow_ctlr *)NV_PA_FLOW_BASE;
> + struct pmc_ctlr *pmc = (struct pm
rasad Paladugu
> Signed-off-by: Michal Simek
> ---
>
> include/net.h | 14 +++---
> net/bootp.c | 18 +-
> net/bootp.h | 2 +-
> 3 files changed, 17 insertions(+), 17 deletions(-)
Looks reasonable to me:
Reviewed-
On Wed, Mar 11, 2015 at 11:12:25AM -0400, Tom Rini wrote:
> * PGP Signed by an unknown key
>
> On Mon, Mar 09, 2015 at 08:00:18AM +0100, Jan Kiszka wrote:
>
> > In this case the secure code lives in RAM, and hence the memory node in
> > the device tree needs to be adjusted. This avoids that the O
+
> arch/arm/mach-tegra/tegra124/ap.c | 55 +
> board/nvidia/common/board.c | 4 +
> include/configs/jetson-tk1.h| 5 ++
> 20 files changed, 428 insertions(+), 98 deletions(-)
> create mo
On Thu, Mar 19, 2015 at 07:43:35AM -0600, Simon Glass wrote:
> Hi Hanna,
>
> On 18 March 2015 at 11:17, Hanna Hawa wrote:
> > Hi Simon,
> >
> >
> >
> > My name is Hanna, I’m working in Software team in Marvell with Yehuda.
> >
> >
> >
> > I’m trying to run U-Boot with FDT in 64Bit.
> >
> > I’ve i
From: Thierry Reding
This is mostly useful for debugging the early boot process. Often boards
can provide some low-level code that outputs a character on some debug
port prior to passing the early setup code. Allow boards to implement an
early_putc() function that will be used to redirect printf
From: Thierry Reding
Use the physical address of the debug serial port from the configuration
to provide an early_putc() implementation that can be used with the new
early console support.
Cc: Tom Warren
Signed-off-by: Thierry Reding
---
board/nvidia/common/board.c | 22
From: Thierry Reding
Fix an pointer to integer cast size mismatch warning by casting to
unsigned long instead of unsigned int and fix up the corresponding
printf format string to use %lx instead of %x.
Also remove a pointless cast producing a size mismatch warning.
Cc: Simon Glass
Cc: Tom
From: Thierry Reding
This fixes some build errors and warnings caused by inline assembly and
pointer to integer cast size mismatches. The inline assembly build error
in config_cache() is easy to fix because the code isn't meaningful on 64
bit ARM. For the assembly-level rese
From: Thierry Reding
Explicitly cast the result of a pointer arithmetic to unsigned int so
that it matches the corresponding printf format string. While at it, use
%p to print a buffer address rather than %x and an explicit cast (which
causes a warning in this case because it's cast to uns
From: Thierry Reding
Fix a couple of pointer to integer size mismatch warnings by casting
pointers to unsigned long rather than unsigned int.
Cc: Pantelis Antoniou
Cc: Tom Warren
Signed-off-by: Thierry Reding
---
drivers/mmc/tegra_mmc.c | 6 +++---
1 file changed, 3 insertions(+), 3
From: Thierry Reding
Turn ioaddr into an unsigned long rather than a sized 32-bit variable.
While at it, fix a couple of pointer to integer cast size mismatch
warnings by casting through unsigned long going from pointers to
integers and vice versa.
Cc: Joe Hershberger
Signed-off-by: Thierry
From: Thierry Reding
Fix a couple of pointer to integer size mismatch warnings by casting
pointers to unsigned long rather than unsigned int.
Cc: Heiko Schocher
Signed-off-by: Thierry Reding
---
drivers/i2c/tegra_i2c.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
From: Thierry Reding
Fix a type mismatch in a printf format string.
Cc: Marek Vasut
Signed-off-by: Thierry Reding
---
drivers/usb/eth/asix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c
index 11811094ede8..1cd179baaea7
From: Thierry Reding
Use the %pa specifier to print physical addresses rather than %x. The
latter causes build warnings on 64-bit.
Cc: Tom Warren
Cc: Tom Rini
Signed-off-by: Thierry Reding
---
drivers/pci/pci_tegra.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff
From: Thierry Reding
Cast pointers to unsigned long instead of a sized 32-bit type to avoid
pointer to integer cast size mismatch warnings.
Cc: Tom Warren
Cc: Marek Vasut
Signed-off-by: Thierry Reding
---
drivers/usb/host/ehci-tegra.c | 8
1 file changed, 4 insertions(+), 4
From: Thierry Reding
Fix a printf format mismatch warning seen on 64-bit builds.
Cc: Łukasz Majewski
Cc: Marek Vasut
Signed-off-by: Thierry Reding
---
drivers/usb/gadget/f_mass_storage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/f_mass_storage.c
From: Thierry Reding
Fix a slew of pointer to integer cast size mismatch warnings caused by
this driver explicitly casting pointers to 32-bit integers. While it is
true that the hardware can only deal with 32-bit addresses, truncating
using a cast isn't the right solution because the po
From: Thierry Reding
Use the %lx printf specifier to print unsigned long variables to avoid a
build warning on 64-bit.
Cc: Simon Glass
Signed-off-by: Thierry Reding
---
lib/fdtdec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index
From: Thierry Reding
Fix a slew of pointer to integer cast size mismatch warnings caused by
this driver explicitly casting pointers to 32-bit integers. While it is
true that the hardware can only deal with 32-bit addresses, truncating
using a cast isn't the right solution because the po
From: Thierry Reding
Use the inner shareable attribute for memory, which makes more sense
considering that this code is called when caches are being enabled.
While at it, fix the values for the shareability attribute field to
match the documentation.
Cc: Albert Aribaud
Cc: Marc Zyngier
From: Thierry Reding
While generating the page tables, a running integer index is shifted by
SECTION_SHIFT (29) and causes overflow for any integer bigger than 7.
The page tables therefore alias to the same 8 sections and cause U-Boot
to hang once the MMU is enabled.
Fix this by making the
From: Thierry Reding
Implement early malloc() support in a similar way as on 32-bit ARM. This
is required for 64-bit Tegra SoCs that initialize from the device tree
just like the earlier 32-bit SoCs.
Cc: Albert Aribaud
Cc: Marc Zyngier
Signed-off-by: Thierry Reding
---
arch/arm/include/asm
From: Thierry Reding
For EL3 and EL2, the documentation says that bits 31 and 23 are reserved
but should be written as 1.
For EL1, only bit 23 is not reserved, so only write bit 31 as 1.
Cc: Albert Aribaud
Cc: Marc Zyngier
Signed-off-by: Thierry Reding
---
arch/arm/cpu/armv8/cache_v8.c
From: Thierry Reding
Initialize all GICD_IGROUPRn registers and set up GICC_CTLR to enable
interrupts to the primary CPU. This fixes issues seen after booting a
Linux kernel from U-Boot.
Suggested-by: Marc Zyngier
Suggested-by: Mark Rutland
Cc: Albert Aribaud
Cc: Mark Rutland
Cc: Marc
From: Thierry Reding
Some SoCs come with a custom timer interface, so allow them to use that
instead.
Cc: Albert Aribaud
Cc: Marc Zyngier
Signed-off-by: Thierry Reding
---
arch/arm/cpu/armv8/generic_timer.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/cpu/armv8
From: Thierry Reding
Drivers that need to parse addresses from the device tree will want to
reuse this function rather than duplicating it.
Cc: Simon Glass
Signed-off-by: Thierry Reding
---
include/fdtdec.h | 8
lib/fdtdec.c | 2 +-
2 files changed, 9 insertions(+), 1 deletion
From: Thierry Reding
The fdtdec_get_pci_addr() implementation uses fdt_addr_to_cpu() to read
cells from an FDT blob. That is wrong because cells are always 32 bits
wide, irrespective of the architecture's address bus width, which does
not apply to fdt_addr_t.
Besides reading the wrong re
From: Thierry Reding
The current implementation of fdtdec_get_addr_size() assumes that the
sizes of fdt_addr_t and fdt_size_t match the number of cells specified
by the #address-cells and #size-cells properties. However, there is no
reason why that needs to be the case, so the function
From: Thierry Reding
The source command uses an unsigned long to iterate over the 32-bit
lengths array contained in the legacy image format. On architectures
where unsigned long is 64-bit this fails to find the correct entry
point of a script.
Cc: Tom Rini
Signed-off-by: Thierry Reding
From: Thierry Reding
The bootz command doesn't work with Linux kernel images on 64-bit ARM.
The replacement command with the same interface and functionality is
booti.
Cc: Dennis Gilmore
Cc: Tom Rini
Signed-off-by: Thierry Reding
---
include/config_distro_defaults.h | 4
1 file ch
From: Thierry Reding
Reuse the 32-bit ARM client architecture and identify ARMv8 specifically
by setting the BOOTP VCI string.
Cc: Dennis Gilmore
Cc: Tom Rini
Signed-off-by: Thierry Reding
---
include/config_distro_defaults.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff
From: Thierry Reding
For 64-bit ARM SoCs we rely on non-U-Boot code to bring up the CPU in
AArch64 mode so that we don't need the SPL. Non-cached memory is not
implemented (yet) for 64-bit ARM.
Cc: Tom Warren
Signed-off-by: Thierry Reding
---
include/configs/tegra-common.h | 4
1
From: Thierry Reding
Move various selects from the TEGRA symbol to the symbols for 32-bit
Tegra boards. This is necessary because these settings do not extend
to U-Boot for 64-bit Tegra SoCs. Also tie the private libgcc build
to SPL, it isn't needed on 64-bit Tegra.
Cc: Tom Warren
Signe
From: Thierry Reding
On 64-bit SoCs the I-cache isn't enabled in early code, so the default
cache enable functions for 64-bit ARM can be used.
Cc: Tom Warren
Signed-off-by: Thierry Reding
---
arch/arm/mach-tegra/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
From: Thierry Reding
Most peripherals on Tegra can do DMA only to the lower 32-bit address
space, even on 64-bit SoCs. This limitation is typically overcome by the
use of an IOMMU. Since the IOMMU is not entirely trivial to set up and
serves no other purpose (I/O protection, ...) in U-Boot
From: Thierry Reding
This header file uses type definitions (u8, u32) from linux/types.h but
doesn't include it. If includes aren't carefully ordered this can cause
build failures.
Cc: Tom Warren
Signed-off-by: Thierry Reding
---
arch/arm/include/asm/arch-tegra/pinmux.h | 2
From: Thierry Reding
U-Boot inspects the initrd_high and fdt_high environment variables and
skips relocation of the initial ramdisk and FDT, respectively, if these
variables are set to all-ones. The Tegra configuration sets these
variables to in the default environment. However on 64
On Tue, Mar 24, 2015 at 04:42:04PM +0100, Marek Vasut wrote:
> On Tuesday, March 24, 2015 at 12:36:55 AM, Rob Herring wrote:
> > On Fri, Mar 20, 2015 at 8:19 AM, Marek Vasut wrote:
> > > On Tuesday, March 17, 2015 at 09:46:37 PM, Rob Herring wrote:
> > >> Change addresses to unsigned long to be co
On Sun, Sep 28, 2014 at 04:48:47PM -0600, Simon Glass wrote:
> Hi Thierry,
>
> On 26 August 2014 09:33, Thierry Reding wrote:
>
> > From: Thierry Reding
> >
> > This series adds PCIe support for Tegra20, Tegra30 and Tegra124. The size
> > is
> > mostly
On Fri, Oct 03, 2014 at 10:41:09AM -0700, Tom Warren wrote:
> > -Original Message-
>
> > From: Stephen Warren [mailto:swar...@wwwdotorg.org
> ]
>
> > Sent: Friday, October 03, 2014 8:56 AM
>
> > To: Marcel Ziswiler
>
> > Cc: u-boot@lists
On Wed, Oct 22, 2014 at 09:07:40PM -0600, Simon Glass wrote:
> Hi,
>
> On 11 September 2014 10:00, Albert ARIBAUD wrote:
> > Hi Thierry,
> >
> > On Tue, 26 Aug 2014 17:33:48 +0200, Thierry Reding
> > wrote:
> >
> >> From: Thierry Reding
On Fri, Aug 15, 2014 at 02:39:45PM +0200, Thierry Reding wrote:
> On Fri, Jul 25, 2014 at 05:30:48PM -0600, Stephen Warren wrote:
> > From: Stephen Warren
> >
> > Currently, the BOOTP code sends out its initial request as soon as the
> > Ethernet driver indicates &
On Fri, Jul 25, 2014 at 05:30:48PM -0600, Stephen Warren wrote:
> From: Stephen Warren
>
> Currently, the BOOTP code sends out its initial request as soon as the
> Ethernet driver indicates "link up". If this packet is lost or not
> replied to for some reason, the code waits for a 1s timeout befo
On Fri, Aug 15, 2014 at 10:02:40AM -0600, Stephen Warren wrote:
> On 08/15/2014 06:49 AM, Thierry Reding wrote:
> >On Fri, Aug 15, 2014 at 02:39:45PM +0200, Thierry Reding wrote:
> >>On Fri, Jul 25, 2014 at 05:30:48PM -0600, Stephen Warren wrote:
> >>>From: Stephe
On Fri, Aug 15, 2014 at 11:39:08PM +0200, Thierry Reding wrote:
> On Fri, Aug 15, 2014 at 10:02:40AM -0600, Stephen Warren wrote:
[...]
> > (and as an aside, how on earth is your DHCP server taking >500ms to respond,
> > yet still actually responding?)
>
> It's a bla
From: Thierry Reding
It's not unusual for DHCP servers to take a couple hundred milliseconds
to respond to DHCP discover messages. One possible reason for the delay
can be that the server checks (typically using an ARP request) that the
IP it's about to hand out isn't in use yet.
From: Thierry Reding
When creating build directories also create parents as necessary. This
fixes a failure when building a hierarchical branch (i.e. foo/bar).
Signed-off-by: Thierry Reding
---
tools/buildman/builderthread.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
From: Thierry Reding
Given a device tree node, the fdt_n_addr_cells() function will walk up
the device tree and search for an #address-cells property. It returns
the number of cells required by the device tree node to represent an
address.
Similarly the fdt_n_size_cells() function returns the
From: Thierry Reding
Given a device tree node and a property name, the fdt_get_string_index()
function will look up a given string in the string list contained in the
property's value and return its index.
Signed-off-by: Thierry Reding
---
include/libfdt.h| 11 +++
lib/l
From: Thierry Reding
This series adds PCIe support for Tegra20, Tegra30 and Tegra124. The size is
mostly due to the large number of infrastructure that's added (libfdt, Tegra
specific drivers required by the PCIe driver).
Patches 1-5 add various FDT helpers to make it easier to parse co
From: Thierry Reding
The fdtdec_pci_get_bdf() function returns the bus, device, function
triplet of a PCI device by parsing the "reg" property according to the
PCI device tree binding.
Signed-off-by: Thierry Reding
---
include/fdtdec.h | 11 +++
lib/fdtdec.c | 14 +++
From: Thierry Reding
The fdt_for_each_subnode() iterator macro provided by this patch can be
used to iterate over a device tree node's subnodes. At each iteration a
loop variable will be set to the next subnode.
Signed-off-by: Thierry Reding
---
include/libfdt.h | 20 ++
From: Thierry Reding
This function is required by PCIe and SATA. This patch implements it on
Tegra20, Tegra30 and Tegra124. It isn't implemented for Tegra114 because
it doesn't support PCIe or SATA.
Signed-off-by: Thierry Reding
---
arch/arm/cpu/tegra124-common/clock.c
From: Thierry Reding
Add the fdt_get_resource() and fdt_get_named_resource() functions which
can be used to parse resources (memory regions) from an FDT. A helper to
compute the size of a region is also provided.
Signed-off-by: Thierry Reding
---
include/fdtdec.h | 48
From: Thierry Reding
Implement the powergate API that allows various power partitions to be
power up and down.
Signed-off-by: Thierry Reding
---
arch/arm/cpu/tegra-common/Makefile | 1 +
arch/arm/cpu/tegra-common/powergate.c | 80 ++
arch/arm
From: Thierry Reding
This macro can be overridden in source files (before including common.h)
and can be used to specify a prefix for debug and error messages. An
example of how to use this is shown below:
#define pr_fmt(fmt) "foo: " fmt
#include
...
From: Thierry Reding
The XUSB pad controller is used for pinmuxing of the XUSB, PCIe and SATA
lanes.
Signed-off-by: Thierry Reding
---
arch/arm/dts/tegra124.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/dts/tegra124.dtsi b/arch/arm/dts/tegra124.dtsi
index
From: Thierry Reding
This reset is required for PCIe and the corresponding ID therefore needs
to be defined.
Signed-off-by: Thierry Reding
---
arch/arm/cpu/tegra20-common/clock.c | 4 ++--
arch/arm/cpu/tegra30-common/clock.c | 1 +
arch/arm/include/asm/arch-tegra20
From: Thierry Reding
Add the PCIe and SATA lane configuration to the Jetson TK1 device tree,
so that the XUSB pad controller can be appropriately configured.
Signed-off-by: Thierry Reding
---
arch/arm/dts/tegra124-jetson-tk1.dts | 26 ++
1 file changed, 26 insertions
From: Thierry Reding
The Beaver has an ethernet NIC connected to the PCIe bus. Enable the
PCIe controller and the network device driver so that the device can
boot over the network.
In addition the board has a mini-PCIe expansion slot.
Signed-off-by: Thierry Reding
---
arch/arm/dts/tegra30
From: Thierry Reding
This controller was introduced on Tegra114 to handle XUSB pads. On
Tegra124 it is also used for PCIe and SATA pin muxing and PHY control.
Only the Tegra124 PCIe and SATA functionality is currently implemented,
with weak symbols on Tegra114.
Tegra20 and Tegra30 also provide
From: Thierry Reding
Add the device tree node for the PCIe controller found on Tegra30 SoCs.
Signed-off-by: Thierry Reding
---
arch/arm/dts/tegra30.dtsi | 71 +
include/dt-bindings/clock/tegra30-car.h | 265
2 files changed, 336
From: Thierry Reding
Add the device tree node for the PCIe controller found on Tegra20 SoCs.
Signed-off-by: Thierry Reding
---
arch/arm/dts/tegra20.dtsi | 56 +++
include/dt-bindings/clock/tegra20-car.h | 158
2 files changed, 214
From: Thierry Reding
The TrimSlice has an ethernet NIC connected to the PCIe bus. Enable the
PCIe controller and the network driver so that the device can boot over
the network.
Signed-off-by: Thierry Reding
---
arch/arm/dts/tegra20-trimslice.dts | 35
From: Thierry Reding
Add the device tree node for the PCIe controller found on Tegra124 SoCs.
Signed-off-by: Thierry Reding
---
arch/arm/dts/tegra124.dtsi | 67 ++
include/dt-bindings/clock/tegra124-car.h | 341 +++
2 files changed, 408
From: Thierry Reding
Add support for the PCIe controller found on some generations of Tegra.
Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has 3 root
ports with a total of 6 lanes and Tegra124 has 2 root ports with a total
of 5 lanes.
Signed-off-by: Thierry Reding
---
drivers/pci
From: Thierry Reding
The PCIe bus on Cardhu is routed to the dock connector. An ethernet NIC
is available on the dock over the PCIe bus. Enable the PCIe controller
and the network device driver so that the device can boot over the
network.
Signed-off-by: Thierry Reding
---
arch/arm/dts
From: Thierry Reding
Add a device tree node for the GIC v2 found on the Cortex-A15 CPU
complex of Tegra124. U-Boot doesn't use this but subsequent patches will
add device tree nodes that reference it by phandle.
Signed-off-by: Thierry Reding
---
arch/arm/dts/tegra124.dtsi
From: Thierry Reding
The Jetson TK1 has an ethernet NIC connected to the PCIe bus and routes
the second root port to a miniPCIe slot. Enable the PCIe controller and
the network driver to allow the device to boot over the network.
Signed-off-by: Thierry Reding
---
arch/arm/dts/tegra124-jetson
From: Thierry Reding
When listing the devices on a PCI bus, the current code will blindly try
to access all devices. Internally this causes pci_bus_to_hose() to be
repeatedly called and output an error message every time. Prevent this
by calling pci_bus_to_hose() once and abort early if no bus
From: Thierry Reding
When enumerating devices, honour the pci_skip_dev() function. This can
be used by PCI controller drivers to restrict which devices will be
probed.
This is required by the NVIDIA Tegra PCIe controller driver, which will
fail with a data abort exception if an access is
From: Thierry Reding
size is always non-negative, so it should be unsigned, whereas the
address and size can be larger than 32 bit on 64-bit architectures.
Change the mmu_set_region_dcache_behaviour() to use these types in
anticipation of making the API available on other architectures.
Signed
From: Thierry Reding
Remove two gratuituous blank lines, uses u32 (instead of int) as the
type for values that will be written to a register, moves the beginning
of the variable declaration section to a separate line (rather than the
one with the opening brace) and keeps the function signature
From: Thierry Reding
This series attempts to fix a long-standing problem in the rtl8169 driver
(though the same problem may exist in other drivers as well). Let me first
explain what exactly the issue is:
The rtl8169 driver provides a set of RX and TX descriptors for the device to
use. Once
From: Thierry Reding
Implement an API that can be used by drivers to allocate memory from a
poll that is mapped uncached. This is useful if drivers would otherwise
need to do extensive cache maintenance (or explicitly maintaining the
cache isn't safe).
The API is protected using th
From: Thierry Reding
When DEBUG is set, output memory region used for malloc().
Signed-off-by: Thierry Reding
---
common/dlmalloc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/common/dlmalloc.c b/common/dlmalloc.c
index f9873393c183..3d6391e60acf 100644
--- a/common/dlmalloc.c
From: Thierry Reding
Some boards, most notably those with a PCIe ethernet NIC, require this
to avoid cache coherency problems. Since the option adds very little
code and overhead enable it across all Tegra generations. Other drivers
may also start supporting this functionality at some point, so
From: Thierry Reding
According to the top-level README file, this configuration setting can
be used to override the number of receive buffers that an ethernet NIC
uses.
Signed-off-by: Thierry Reding
---
drivers/net/rtl8169.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff
From: Thierry Reding
RX and TX descriptor rings should be aligned to 256 byte boundaries. Use
the DEFINE_ALIGN_BUFFER() macro to define the buffers so that they don't
have to be manually aligned later on. Also make sure that the buffers do
align to cache-line boundaries in case the cache-li
From: Thierry Reding
To work around potential issues with explicit cache maintenance of the
RX and TX descriptor rings, allocate them from a pool of uncached memory
if the architecture supports it.
Signed-off-by: Thierry Reding
---
drivers/net/rtl8169.c | 43
From: Thierry Reding
This network interface card in found on the NVIDIA Jetson TK1.
Signed-off-by: Thierry Reding
---
drivers/net/rtl8169.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c
index 1c04946d7691..a02968fa4a12 100644
--- a/drivers
On Mon, Aug 18, 2014 at 01:01:17PM -0500, Joe Hershberger wrote:
> Hi Thierry,
>
> On Mon, Aug 18, 2014 at 1:45 AM, Thierry Reding
> wrote:
> >
> > From: Thierry Reding
> >
> > It's not unusual for DHCP servers to take a couple hundred milliseconds
>
From: Thierry Reding
It's not unusual for DHCP servers to take a couple hundred milliseconds
to respond to DHCP discover messages. One possible reason for the delay
can be that the server checks (typically using an ARP request) that the
IP it's about to hand out isn't in use yet.
From: Thierry Reding
When creating build directories also create parents as necessary. This
fixes a failure when building a hierarchical branch (i.e. foo/bar).
Signed-off-by: Thierry Reding
---
Changes in v2:
- only create parent directories for the top build directory to avoid
sloppy
On Mon, Aug 18, 2014 at 11:52:36AM -0600, Simon Glass wrote:
> Hi Thierry,
>
> On 18 August 2014 01:16, Thierry Reding wrote:
> > From: Thierry Reding
> >
> > Given a device tree node, the fdt_n_addr_cells() function will walk up
> > the device tree and search f
On Mon, Aug 18, 2014 at 11:58:09AM -0600, Simon Glass wrote:
> On 18 August 2014 01:16, Thierry Reding wrote:
[...]
> > +int fdt_get_string_index(const void *fdt, int node, const char *property,
> > +const char *string)
> > +{
> > +
On Mon, Aug 18, 2014 at 12:06:26PM -0600, Simon Glass wrote:
> Hi Thierry,
>
> On 18 August 2014 01:16, Thierry Reding wrote:
> > From: Thierry Reding
> >
> > Add the fdt_get_resource() and fdt_get_named_resource() functions which
> > can be used to parse resou
On Mon, Aug 18, 2014 at 12:11:03PM -0600, Simon Glass wrote:
> On 18 August 2014 01:16, Thierry Reding wrote:
> > From: Thierry Reding
> >
> > The fdt_for_each_subnode() iterator macro provided by this patch can be
> > used to iterate over a device tree node'
On Mon, Aug 18, 2014 at 12:24:06PM -0600, Simon Glass wrote:
> On 18 August 2014 01:16, Thierry Reding wrote:
> > From: Thierry Reding
> >
> > This macro can be overridden in source files (before including common.h)
> > and can be used to specify a prefix for d
On Mon, Aug 18, 2014 at 12:37:46PM -0600, Simon Glass wrote:
> Hi Thierry,
>
> On 18 August 2014 01:16, Thierry Reding wrote:
> > From: Thierry Reding
> >
> > The Jetson TK1 has an ethernet NIC connected to the PCIe bus and routes
> > the second root port to
On Tue, Aug 19, 2014 at 06:52:22AM -0600, Simon Glass wrote:
> Hi Theirry,
>
>
> On 19 August 2014 04:59, Thierry Reding wrote:
>
> > On Mon, Aug 18, 2014 at 11:52:36AM -0600, Simon Glass wrote:
> > > Hi Thierry,
> > >
> > > On 18 August 201
On Tue, Aug 19, 2014 at 06:55:18AM -0600, Simon Glass wrote:
> On 19 August 2014 05:35, Thierry Reding wrote:
[...]
> > The Linux kernel handles this by wrapping it in an of_read_number()
> > helper and always returning u64, like this:
> >
> > static inline u64
On Tue, Aug 19, 2014 at 06:57:54AM -0600, Simon Glass wrote:
> Hi Thierry,
>
> On 19 August 2014 06:22, Thierry Reding wrote:
> > On Mon, Aug 18, 2014 at 12:11:03PM -0600, Simon Glass wrote:
> >> On 18 August 2014 01:16, Thierry Reding wrote:
> >> > Fro
On Tue, Aug 19, 2014 at 09:59:00AM -0600, Stephen Warren wrote:
> On 08/19/2014 02:06 AM, Thierry Reding wrote:
> >On Mon, Aug 18, 2014 at 01:01:17PM -0500, Joe Hershberger wrote:
> >>Hi Thierry,
> >>
> >>On Mon, Aug 18, 2014 at 1:45 AM, Thierry Reding
> &
On Tue, Aug 19, 2014 at 03:28:09PM -0600, Simon Glass wrote:
> Hi Thierry,
>
> On 19 August 2014 07:12, Thierry Reding wrote:
> > On Tue, Aug 19, 2014 at 06:55:18AM -0600, Simon Glass wrote:
> >> On 19 August 2014 05:35, Thierry Reding wrote:
> > [...]
> >
201 - 300 of 755 matches
Mail list logo