* [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY
2015-10-22 6:25 ` Albert ARIBAUD
@ 2015-10-27 20:38 ` Tom Warren
2015-11-03 19:18 ` Tom Warren
` (2 subsequent siblings)
3 siblings, 0 replies; 13+ messages in thread
From: Tom Warren @ 2015-10-27 20:38 UTC (permalink / raw)
To: u-boot
Albert,
> -----Original Message-----
> From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
> Sent: Wednesday, October 21, 2015 11:26 PM
> To: Stephen Warren <swarren@wwwdotorg.org>
> Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Tom Warren
> <TWarren@nvidia.com>; Stephen Warren <swarren@nvidia.com>; Thierry
> Reding <treding@nvidia.com>; York Sun <yorksun@freescale.com>; Michal
> Simek <michal.simek@xilinx.com>
> Subject: Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> CONFIG_SYS_NONCACHED_MEMORY
>
> Hello Stephen,
>
> On Wed, 21 Oct 2015 10:35:59 -0600, Stephen Warren
> <swarren@wwwdotorg.org> wrote:
> > On 10/05/2015 12:08 PM, Stephen Warren wrote:
> > > From: Stephen Warren <swarren@nvidia.com>
> > >
> > > The implementation of noncached_init() uses define MMU_SECTION_SIZE.
> > > Define this on ARM64.
> > >
> > > Move the prototype of noncached_{init,alloc}() to a location that
> > > doesn't depend on !defined(CONFIG_ARM64).
> > >
> > > Note that noncached_init() calls mmu_set_region_dcache_behaviour()
> > > which relies on something having set up translation tables with 2MB block
> size.
> > > The core ARMv8 MMU setup code does not do this by default, but
> > > currently relies on SoC specific MMU setup code. Be aware of this
> > > before enabling this feature on your platform!
> >
> > Albert, it looks like I forgot to add you to the CC on this email.
> > Sorry! Could you please take a look at this series and tell me what
> > you think? If you need a resend just let me know.
> >
> > Also note that this series is a dependency for PCIe support on 64-bit
> > Tegra systems; I guess either Tom Warren would be looking for an ack
> > so he can apply the series to the Tegra tree, or perhaps if you just
> > apply the whole series, he can base his branch on the branch where you apply
> this.
>
> I'll have a look at it in the coming days.
Please let me know when this series is in arm/master (or u-boot/master), as I need it to base Stephen's PCI/PCIe/XUSB patches on before I can send a PR for u-boot-tegra/master. Thanks!
Tom
--
nvpublic
>
> Amicalement,
> --
> Albert.
^ permalink raw reply [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY
2015-10-22 6:25 ` Albert ARIBAUD
2015-10-27 20:38 ` Tom Warren
@ 2015-11-03 19:18 ` Tom Warren
2015-11-06 16:31 ` Tom Warren
2015-11-09 23:28 ` Tom Warren
3 siblings, 0 replies; 13+ messages in thread
From: Tom Warren @ 2015-11-03 19:18 UTC (permalink / raw)
To: u-boot
Albert,
> -----Original Message-----
> From: Tom Warren
> Sent: Tuesday, October 27, 2015 1:39 PM
> To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; Stephen Warren
> <swarren@wwwdotorg.org>
> Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Stephen Warren
> <swarren@nvidia.com>; Thierry Reding <treding@nvidia.com>; York Sun
> <yorksun@freescale.com>; Michal Simek <michal.simek@xilinx.com>
> Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> CONFIG_SYS_NONCACHED_MEMORY
>
> Albert,
>
> > -----Original Message-----
> > From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
> > Sent: Wednesday, October 21, 2015 11:26 PM
> > To: Stephen Warren <swarren@wwwdotorg.org>
> > Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Tom Warren
> > <TWarren@nvidia.com>; Stephen Warren <swarren@nvidia.com>; Thierry
> > Reding <treding@nvidia.com>; York Sun <yorksun@freescale.com>; Michal
> > Simek <michal.simek@xilinx.com>
> > Subject: Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > CONFIG_SYS_NONCACHED_MEMORY
> >
> > Hello Stephen,
> >
> > On Wed, 21 Oct 2015 10:35:59 -0600, Stephen Warren
> > <swarren@wwwdotorg.org> wrote:
> > > On 10/05/2015 12:08 PM, Stephen Warren wrote:
> > > > From: Stephen Warren <swarren@nvidia.com>
> > > >
> > > > The implementation of noncached_init() uses define
> MMU_SECTION_SIZE.
> > > > Define this on ARM64.
> > > >
> > > > Move the prototype of noncached_{init,alloc}() to a location that
> > > > doesn't depend on !defined(CONFIG_ARM64).
> > > >
> > > > Note that noncached_init() calls mmu_set_region_dcache_behaviour()
> > > > which relies on something having set up translation tables with
> > > > 2MB block
> > size.
> > > > The core ARMv8 MMU setup code does not do this by default, but
> > > > currently relies on SoC specific MMU setup code. Be aware of this
> > > > before enabling this feature on your platform!
> > >
> > > Albert, it looks like I forgot to add you to the CC on this email.
> > > Sorry! Could you please take a look at this series and tell me what
> > > you think? If you need a resend just let me know.
> > >
> > > Also note that this series is a dependency for PCIe support on
> > > 64-bit Tegra systems; I guess either Tom Warren would be looking for
> > > an ack so he can apply the series to the Tegra tree, or perhaps if
> > > you just apply the whole series, he can base his branch on the
> > > branch where you apply
> > this.
> >
> > I'll have a look at it in the coming days.
> Please let me know when this series is in arm/master (or u-boot/master), as I
> need it to base Stephen's PCI/PCIe/XUSB patches on before I can send a PR for
> u-boot-tegra/master. Thanks!
I need this patchset in before I can add Stephen's PCIe/XUSB patchsets to Tegra U-Boot.
If you can Ack them, I can take them in via the Tegra repo, and send them upstream to TomR on my next PR. Or if you can let me know an ETA for getting them in to the ARM/master repo, I can base my schedule off of that. But I'm blocked until the ARMv8 MMU changes are in somewhere, and I'd like to clear this from my plate.
Thanks,
Tom
--
nvpublic
>
> Tom
> --
> nvpublic
> >
> > Amicalement,
> > --
> > Albert.
^ permalink raw reply [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY
2015-10-22 6:25 ` Albert ARIBAUD
2015-10-27 20:38 ` Tom Warren
2015-11-03 19:18 ` Tom Warren
@ 2015-11-06 16:31 ` Tom Warren
2015-11-09 23:28 ` Tom Warren
3 siblings, 0 replies; 13+ messages in thread
From: Tom Warren @ 2015-11-06 16:31 UTC (permalink / raw)
To: u-boot
Albert,
Ping!
> -----Original Message-----
> From: Tom Warren
> Sent: Tuesday, November 03, 2015 12:19 PM
> To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; 'Stephen Warren'
> <swarren@wwwdotorg.org>; Tom Rini (trini at konsulko.com)
> <trini@konsulko.com>
> Cc: 'u-boot at lists.denx.de' <u-boot@lists.denx.de>; 'Simon Glass'
> <sjg@chromium.org>; Stephen Warren <swarren@nvidia.com>; Thierry Reding
> <treding@nvidia.com>; 'York Sun' <yorksun@freescale.com>; 'Michal Simek'
> <michal.simek@xilinx.com>; 'tomcwarren3959 at gmail.com'
> <tomcwarren3959@gmail.com>
> Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> CONFIG_SYS_NONCACHED_MEMORY
>
> Albert,
>
> > -----Original Message-----
> > From: Tom Warren
> > Sent: Tuesday, October 27, 2015 1:39 PM
> > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; Stephen Warren
> > <swarren@wwwdotorg.org>
> > Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Stephen
> > Warren <swarren@nvidia.com>; Thierry Reding <treding@nvidia.com>; York
> > Sun <yorksun@freescale.com>; Michal Simek <michal.simek@xilinx.com>
> > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > CONFIG_SYS_NONCACHED_MEMORY
> >
> > Albert,
> >
> > > -----Original Message-----
> > > From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
> > > Sent: Wednesday, October 21, 2015 11:26 PM
> > > To: Stephen Warren <swarren@wwwdotorg.org>
> > > Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Tom Warren
> > > <TWarren@nvidia.com>; Stephen Warren <swarren@nvidia.com>; Thierry
> > > Reding <treding@nvidia.com>; York Sun <yorksun@freescale.com>;
> > > Michal Simek <michal.simek@xilinx.com>
> > > Subject: Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > CONFIG_SYS_NONCACHED_MEMORY
> > >
> > > Hello Stephen,
> > >
> > > On Wed, 21 Oct 2015 10:35:59 -0600, Stephen Warren
> > > <swarren@wwwdotorg.org> wrote:
> > > > On 10/05/2015 12:08 PM, Stephen Warren wrote:
> > > > > From: Stephen Warren <swarren@nvidia.com>
> > > > >
> > > > > The implementation of noncached_init() uses define
> > MMU_SECTION_SIZE.
> > > > > Define this on ARM64.
> > > > >
> > > > > Move the prototype of noncached_{init,alloc}() to a location
> > > > > that doesn't depend on !defined(CONFIG_ARM64).
> > > > >
> > > > > Note that noncached_init() calls
> > > > > mmu_set_region_dcache_behaviour() which relies on something
> > > > > having set up translation tables with 2MB block
> > > size.
> > > > > The core ARMv8 MMU setup code does not do this by default, but
> > > > > currently relies on SoC specific MMU setup code. Be aware of
> > > > > this before enabling this feature on your platform!
> > > >
> > > > Albert, it looks like I forgot to add you to the CC on this email.
> > > > Sorry! Could you please take a look at this series and tell me
> > > > what you think? If you need a resend just let me know.
> > > >
> > > > Also note that this series is a dependency for PCIe support on
> > > > 64-bit Tegra systems; I guess either Tom Warren would be looking
> > > > for an ack so he can apply the series to the Tegra tree, or
> > > > perhaps if you just apply the whole series, he can base his branch
> > > > on the branch where you apply
> > > this.
> > >
> > > I'll have a look at it in the coming days.
> > Please let me know when this series is in arm/master (or
> > u-boot/master), as I need it to base Stephen's PCI/PCIe/XUSB patches
> > on before I can send a PR for u-boot-tegra/master. Thanks!
> I need this patchset in before I can add Stephen's PCIe/XUSB patchsets to Tegra
> U-Boot.
>
> If you can Ack them, I can take them in via the Tegra repo, and send them
> upstream to TomR on my next PR. Or if you can let me know an ETA for getting
> them in to the ARM/master repo, I can base my schedule off of that. But I'm
> blocked until the ARMv8 MMU changes are in somewhere, and I'd like to clear
> this from my plate.
>
> Thanks,
>
> Tom
> --
> nvpublic
> >
> > Tom
--
nvpublic
> > >
> > > Amicalement,
> > > --
> > > Albert.
^ permalink raw reply [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY
2015-10-22 6:25 ` Albert ARIBAUD
` (2 preceding siblings ...)
2015-11-06 16:31 ` Tom Warren
@ 2015-11-09 23:28 ` Tom Warren
2015-11-09 23:35 ` Tom Rini
3 siblings, 1 reply; 13+ messages in thread
From: Tom Warren @ 2015-11-09 23:28 UTC (permalink / raw)
To: u-boot
TomR,
Any chance of you taking a look at these ARM MMU patches and either taking them in to u-boot/master or ACKing them so I can take them in via the Tegra repo?
Thanks,
TomW
> -----Original Message-----
> From: Tom Warren
> Sent: Friday, November 06, 2015 9:32 AM
> To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; 'Stephen Warren'
> <swarren@wwwdotorg.org>; Tom Rini (trini at konsulko.com)
> <trini@konsulko.com>
> Cc: 'u-boot at lists.denx.de' <u-boot@lists.denx.de>; 'Simon Glass'
> <sjg@chromium.org>; Stephen Warren <swarren@nvidia.com>; Thierry Reding
> <treding@nvidia.com>; 'York Sun' <yorksun@freescale.com>; 'Michal Simek'
> <michal.simek@xilinx.com>; 'tomcwarren3959 at gmail.com'
> <tomcwarren3959@gmail.com>
> Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> CONFIG_SYS_NONCACHED_MEMORY
>
> Albert,
>
> Ping!
>
> > -----Original Message-----
> > From: Tom Warren
> > Sent: Tuesday, November 03, 2015 12:19 PM
> > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; 'Stephen Warren'
> > <swarren@wwwdotorg.org>; Tom Rini (trini at konsulko.com)
> > <trini@konsulko.com>
> > Cc: 'u-boot at lists.denx.de' <u-boot@lists.denx.de>; 'Simon Glass'
> > <sjg@chromium.org>; Stephen Warren <swarren@nvidia.com>; Thierry
> > Reding <treding@nvidia.com>; 'York Sun' <yorksun@freescale.com>; 'Michal
> Simek'
> > <michal.simek@xilinx.com>; 'tomcwarren3959 at gmail.com'
> > <tomcwarren3959@gmail.com>
> > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > CONFIG_SYS_NONCACHED_MEMORY
> >
> > Albert,
> >
> > > -----Original Message-----
> > > From: Tom Warren
> > > Sent: Tuesday, October 27, 2015 1:39 PM
> > > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; Stephen Warren
> > > <swarren@wwwdotorg.org>
> > > Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Stephen
> > > Warren <swarren@nvidia.com>; Thierry Reding <treding@nvidia.com>;
> > > York Sun <yorksun@freescale.com>; Michal Simek
> > > <michal.simek@xilinx.com>
> > > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > CONFIG_SYS_NONCACHED_MEMORY
> > >
> > > Albert,
> > >
> > > > -----Original Message-----
> > > > From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
> > > > Sent: Wednesday, October 21, 2015 11:26 PM
> > > > To: Stephen Warren <swarren@wwwdotorg.org>
> > > > Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Tom
> > > > Warren <TWarren@nvidia.com>; Stephen Warren
> <swarren@nvidia.com>;
> > > > Thierry Reding <treding@nvidia.com>; York Sun
> > > > <yorksun@freescale.com>; Michal Simek <michal.simek@xilinx.com>
> > > > Subject: Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > > CONFIG_SYS_NONCACHED_MEMORY
> > > >
> > > > Hello Stephen,
> > > >
> > > > On Wed, 21 Oct 2015 10:35:59 -0600, Stephen Warren
> > > > <swarren@wwwdotorg.org> wrote:
> > > > > On 10/05/2015 12:08 PM, Stephen Warren wrote:
> > > > > > From: Stephen Warren <swarren@nvidia.com>
> > > > > >
> > > > > > The implementation of noncached_init() uses define
> > > MMU_SECTION_SIZE.
> > > > > > Define this on ARM64.
> > > > > >
> > > > > > Move the prototype of noncached_{init,alloc}() to a location
> > > > > > that doesn't depend on !defined(CONFIG_ARM64).
> > > > > >
> > > > > > Note that noncached_init() calls
> > > > > > mmu_set_region_dcache_behaviour() which relies on something
> > > > > > having set up translation tables with 2MB block
> > > > size.
> > > > > > The core ARMv8 MMU setup code does not do this by default, but
> > > > > > currently relies on SoC specific MMU setup code. Be aware of
> > > > > > this before enabling this feature on your platform!
> > > > >
> > > > > Albert, it looks like I forgot to add you to the CC on this email.
> > > > > Sorry! Could you please take a look at this series and tell me
> > > > > what you think? If you need a resend just let me know.
> > > > >
> > > > > Also note that this series is a dependency for PCIe support on
> > > > > 64-bit Tegra systems; I guess either Tom Warren would be looking
> > > > > for an ack so he can apply the series to the Tegra tree, or
> > > > > perhaps if you just apply the whole series, he can base his
> > > > > branch on the branch where you apply
> > > > this.
> > > >
> > > > I'll have a look at it in the coming days.
> > > Please let me know when this series is in arm/master (or
> > > u-boot/master), as I need it to base Stephen's PCI/PCIe/XUSB patches
> > > on before I can send a PR for u-boot-tegra/master. Thanks!
> > I need this patchset in before I can add Stephen's PCIe/XUSB patchsets
> > to Tegra U-Boot.
> >
> > If you can Ack them, I can take them in via the Tegra repo, and send
> > them upstream to TomR on my next PR. Or if you can let me know an ETA
> > for getting them in to the ARM/master repo, I can base my schedule off
> > of that. But I'm blocked until the ARMv8 MMU changes are in somewhere,
> > and I'd like to clear this from my plate.
> >
> > Thanks,
> >
> > Tom
> > --
> > nvpublic
> > >
> > > Tom
> --
> nvpublic
> > > >
> > > > Amicalement,
> > > > --
> > > > Albert.
^ permalink raw reply [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY
2015-11-09 23:28 ` Tom Warren
@ 2015-11-09 23:35 ` Tom Rini
2015-11-10 15:54 ` Tom Warren
0 siblings, 1 reply; 13+ messages in thread
From: Tom Rini @ 2015-11-09 23:35 UTC (permalink / raw)
To: u-boot
On Mon, Nov 09, 2015 at 11:28:27PM +0000, Tom Warren wrote:
> TomR,
>
> Any chance of you taking a look at these ARM MMU patches and either
> taking them in to u-boot/master or ACKing them so I can take them in
> via the Tegra repo?
So I know Albert was tacking a PR today and then ran into a bug with his
Thumb-1 patchset. If they aren't in that PR then yes, I'll review/ack
them but I suspect / hope Albert is taking a look and got side-tracked
by the bug he found.
>
> Thanks,
>
> TomW
>
> > -----Original Message-----
> > From: Tom Warren
> > Sent: Friday, November 06, 2015 9:32 AM
> > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; 'Stephen Warren'
> > <swarren@wwwdotorg.org>; Tom Rini (trini at konsulko.com)
> > <trini@konsulko.com>
> > Cc: 'u-boot at lists.denx.de' <u-boot@lists.denx.de>; 'Simon Glass'
> > <sjg@chromium.org>; Stephen Warren <swarren@nvidia.com>; Thierry Reding
> > <treding@nvidia.com>; 'York Sun' <yorksun@freescale.com>; 'Michal Simek'
> > <michal.simek@xilinx.com>; 'tomcwarren3959 at gmail.com'
> > <tomcwarren3959@gmail.com>
> > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > CONFIG_SYS_NONCACHED_MEMORY
> >
> > Albert,
> >
> > Ping!
> >
> > > -----Original Message-----
> > > From: Tom Warren
> > > Sent: Tuesday, November 03, 2015 12:19 PM
> > > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; 'Stephen Warren'
> > > <swarren@wwwdotorg.org>; Tom Rini (trini at konsulko.com)
> > > <trini@konsulko.com>
> > > Cc: 'u-boot at lists.denx.de' <u-boot@lists.denx.de>; 'Simon Glass'
> > > <sjg@chromium.org>; Stephen Warren <swarren@nvidia.com>; Thierry
> > > Reding <treding@nvidia.com>; 'York Sun' <yorksun@freescale.com>; 'Michal
> > Simek'
> > > <michal.simek@xilinx.com>; 'tomcwarren3959 at gmail.com'
> > > <tomcwarren3959@gmail.com>
> > > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > CONFIG_SYS_NONCACHED_MEMORY
> > >
> > > Albert,
> > >
> > > > -----Original Message-----
> > > > From: Tom Warren
> > > > Sent: Tuesday, October 27, 2015 1:39 PM
> > > > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; Stephen Warren
> > > > <swarren@wwwdotorg.org>
> > > > Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Stephen
> > > > Warren <swarren@nvidia.com>; Thierry Reding <treding@nvidia.com>;
> > > > York Sun <yorksun@freescale.com>; Michal Simek
> > > > <michal.simek@xilinx.com>
> > > > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > > CONFIG_SYS_NONCACHED_MEMORY
> > > >
> > > > Albert,
> > > >
> > > > > -----Original Message-----
> > > > > From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
> > > > > Sent: Wednesday, October 21, 2015 11:26 PM
> > > > > To: Stephen Warren <swarren@wwwdotorg.org>
> > > > > Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Tom
> > > > > Warren <TWarren@nvidia.com>; Stephen Warren
> > <swarren@nvidia.com>;
> > > > > Thierry Reding <treding@nvidia.com>; York Sun
> > > > > <yorksun@freescale.com>; Michal Simek <michal.simek@xilinx.com>
> > > > > Subject: Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > > > CONFIG_SYS_NONCACHED_MEMORY
> > > > >
> > > > > Hello Stephen,
> > > > >
> > > > > On Wed, 21 Oct 2015 10:35:59 -0600, Stephen Warren
> > > > > <swarren@wwwdotorg.org> wrote:
> > > > > > On 10/05/2015 12:08 PM, Stephen Warren wrote:
> > > > > > > From: Stephen Warren <swarren@nvidia.com>
> > > > > > >
> > > > > > > The implementation of noncached_init() uses define
> > > > MMU_SECTION_SIZE.
> > > > > > > Define this on ARM64.
> > > > > > >
> > > > > > > Move the prototype of noncached_{init,alloc}() to a location
> > > > > > > that doesn't depend on !defined(CONFIG_ARM64).
> > > > > > >
> > > > > > > Note that noncached_init() calls
> > > > > > > mmu_set_region_dcache_behaviour() which relies on something
> > > > > > > having set up translation tables with 2MB block
> > > > > size.
> > > > > > > The core ARMv8 MMU setup code does not do this by default, but
> > > > > > > currently relies on SoC specific MMU setup code. Be aware of
> > > > > > > this before enabling this feature on your platform!
> > > > > >
> > > > > > Albert, it looks like I forgot to add you to the CC on this email.
> > > > > > Sorry! Could you please take a look at this series and tell me
> > > > > > what you think? If you need a resend just let me know.
> > > > > >
> > > > > > Also note that this series is a dependency for PCIe support on
> > > > > > 64-bit Tegra systems; I guess either Tom Warren would be looking
> > > > > > for an ack so he can apply the series to the Tegra tree, or
> > > > > > perhaps if you just apply the whole series, he can base his
> > > > > > branch on the branch where you apply
> > > > > this.
> > > > >
> > > > > I'll have a look at it in the coming days.
> > > > Please let me know when this series is in arm/master (or
> > > > u-boot/master), as I need it to base Stephen's PCI/PCIe/XUSB patches
> > > > on before I can send a PR for u-boot-tegra/master. Thanks!
> > > I need this patchset in before I can add Stephen's PCIe/XUSB patchsets
> > > to Tegra U-Boot.
> > >
> > > If you can Ack them, I can take them in via the Tegra repo, and send
> > > them upstream to TomR on my next PR. Or if you can let me know an ETA
> > > for getting them in to the ARM/master repo, I can base my schedule off
> > > of that. But I'm blocked until the ARMv8 MMU changes are in somewhere,
> > > and I'd like to clear this from my plate.
> > >
> > > Thanks,
> > >
> > > Tom
> > > --
> > > nvpublic
> > > >
> > > > Tom
> > --
> > nvpublic
> > > > >
> > > > > Amicalement,
> > > > > --
> > > > > Albert.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151109/5133f26d/attachment.sig>
^ permalink raw reply [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY
2015-11-09 23:35 ` Tom Rini
@ 2015-11-10 15:54 ` Tom Warren
2015-11-10 17:01 ` Albert ARIBAUD
0 siblings, 1 reply; 13+ messages in thread
From: Tom Warren @ 2015-11-10 15:54 UTC (permalink / raw)
To: u-boot
Thanks, Tom.
> -----Original Message-----
> From: Tom Rini [mailto:trini at konsulko.com]
> Sent: Monday, November 09, 2015 4:36 PM
> To: Tom Warren <TWarren@nvidia.com>
> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>; swarren at wwwdotorg.org; u-
> boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Stephen Warren
> <swarren@nvidia.com>; Thierry Reding <treding@nvidia.com>; York Sun
> <yorksun@freescale.com>; Michal Simek <michal.simek@xilinx.com>;
> 'tomcwarren3959 at gmail.com' <tomcwarren3959@gmail.com>
> Subject: Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> CONFIG_SYS_NONCACHED_MEMORY
>
> * PGP Signed by an unknown key
>
> On Mon, Nov 09, 2015 at 11:28:27PM +0000, Tom Warren wrote:
>
> > TomR,
> >
> > Any chance of you taking a look at these ARM MMU patches and either
> > taking them in to u-boot/master or ACKing them so I can take them in
> > via the Tegra repo?
>
> So I know Albert was tacking a PR today and then ran into a bug with his
> Thumb-1 patchset. If they aren't in that PR then yes, I'll review/ack them but I
> suspect / hope Albert is taking a look and got side-tracked by the bug he found.
>
> >
> > Thanks,
> >
> > TomW
> >
> > > -----Original Message-----
> > > From: Tom Warren
> > > Sent: Friday, November 06, 2015 9:32 AM
> > > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; 'Stephen Warren'
> > > <swarren@wwwdotorg.org>; Tom Rini (trini at konsulko.com)
> > > <trini@konsulko.com>
> > > Cc: 'u-boot at lists.denx.de' <u-boot@lists.denx.de>; 'Simon Glass'
> > > <sjg@chromium.org>; Stephen Warren <swarren@nvidia.com>; Thierry
> > > Reding <treding@nvidia.com>; 'York Sun' <yorksun@freescale.com>;
> 'Michal Simek'
> > > <michal.simek@xilinx.com>; 'tomcwarren3959 at gmail.com'
> > > <tomcwarren3959@gmail.com>
> > > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > CONFIG_SYS_NONCACHED_MEMORY
> > >
> > > Albert,
> > >
> > > Ping!
> > >
> > > > -----Original Message-----
> > > > From: Tom Warren
> > > > Sent: Tuesday, November 03, 2015 12:19 PM
> > > > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; 'Stephen Warren'
> > > > <swarren@wwwdotorg.org>; Tom Rini (trini at konsulko.com)
> > > > <trini@konsulko.com>
> > > > Cc: 'u-boot at lists.denx.de' <u-boot@lists.denx.de>; 'Simon Glass'
> > > > <sjg@chromium.org>; Stephen Warren <swarren@nvidia.com>; Thierry
> > > > Reding <treding@nvidia.com>; 'York Sun' <yorksun@freescale.com>;
> > > > 'Michal
> > > Simek'
> > > > <michal.simek@xilinx.com>; 'tomcwarren3959 at gmail.com'
> > > > <tomcwarren3959@gmail.com>
> > > > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > > CONFIG_SYS_NONCACHED_MEMORY
> > > >
> > > > Albert,
> > > >
> > > > > -----Original Message-----
> > > > > From: Tom Warren
> > > > > Sent: Tuesday, October 27, 2015 1:39 PM
> > > > > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; Stephen Warren
> > > > > <swarren@wwwdotorg.org>
> > > > > Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>;
> > > > > Stephen Warren <swarren@nvidia.com>; Thierry Reding
> > > > > <treding@nvidia.com>; York Sun <yorksun@freescale.com>; Michal
> > > > > Simek <michal.simek@xilinx.com>
> > > > > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > > > CONFIG_SYS_NONCACHED_MEMORY
> > > > >
> > > > > Albert,
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
> > > > > > Sent: Wednesday, October 21, 2015 11:26 PM
> > > > > > To: Stephen Warren <swarren@wwwdotorg.org>
> > > > > > Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Tom
> > > > > > Warren <TWarren@nvidia.com>; Stephen Warren
> > > <swarren@nvidia.com>;
> > > > > > Thierry Reding <treding@nvidia.com>; York Sun
> > > > > > <yorksun@freescale.com>; Michal Simek
> > > > > > <michal.simek@xilinx.com>
> > > > > > Subject: Re: [U-Boot] [PATCH 1/4] armv8: enable compilation
> > > > > > with CONFIG_SYS_NONCACHED_MEMORY
> > > > > >
> > > > > > Hello Stephen,
> > > > > >
> > > > > > On Wed, 21 Oct 2015 10:35:59 -0600, Stephen Warren
> > > > > > <swarren@wwwdotorg.org> wrote:
> > > > > > > On 10/05/2015 12:08 PM, Stephen Warren wrote:
> > > > > > > > From: Stephen Warren <swarren@nvidia.com>
> > > > > > > >
> > > > > > > > The implementation of noncached_init() uses define
> > > > > MMU_SECTION_SIZE.
> > > > > > > > Define this on ARM64.
> > > > > > > >
> > > > > > > > Move the prototype of noncached_{init,alloc}() to a
> > > > > > > > location that doesn't depend on !defined(CONFIG_ARM64).
> > > > > > > >
> > > > > > > > Note that noncached_init() calls
> > > > > > > > mmu_set_region_dcache_behaviour() which relies on
> > > > > > > > something having set up translation tables with 2MB block
> > > > > > size.
> > > > > > > > The core ARMv8 MMU setup code does not do this by default,
> > > > > > > > but currently relies on SoC specific MMU setup code. Be
> > > > > > > > aware of this before enabling this feature on your platform!
> > > > > > >
> > > > > > > Albert, it looks like I forgot to add you to the CC on this email.
> > > > > > > Sorry! Could you please take a look at this series and tell
> > > > > > > me what you think? If you need a resend just let me know.
> > > > > > >
> > > > > > > Also note that this series is a dependency for PCIe support
> > > > > > > on 64-bit Tegra systems; I guess either Tom Warren would be
> > > > > > > looking for an ack so he can apply the series to the Tegra
> > > > > > > tree, or perhaps if you just apply the whole series, he can
> > > > > > > base his branch on the branch where you apply
> > > > > > this.
> > > > > >
> > > > > > I'll have a look at it in the coming days.
> > > > > Please let me know when this series is in arm/master (or
> > > > > u-boot/master), as I need it to base Stephen's PCI/PCIe/XUSB
> > > > > patches on before I can send a PR for u-boot-tegra/master. Thanks!
> > > > I need this patchset in before I can add Stephen's PCIe/XUSB
> > > > patchsets to Tegra U-Boot.
> > > >
> > > > If you can Ack them, I can take them in via the Tegra repo, and
> > > > send them upstream to TomR on my next PR. Or if you can let me
> > > > know an ETA for getting them in to the ARM/master repo, I can base
> > > > my schedule off of that. But I'm blocked until the ARMv8 MMU
> > > > changes are in somewhere, and I'd like to clear this from my plate.
> > > >
> > > > Thanks,
> > > >
> > > > Tom
> > > > --
> > > > nvpublic
> > > > >
> > > > > Tom
> > > --
> > > nvpublic
> > > > > >
> > > > > > Amicalement,
> > > > > > --
> > > > > > Albert.
>
> --
> Tom
>
> * Unknown Key
> * 0x56D6FECD
^ permalink raw reply [flat|nested] 13+ messages in thread* [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY
2015-11-10 15:54 ` Tom Warren
@ 2015-11-10 17:01 ` Albert ARIBAUD
0 siblings, 0 replies; 13+ messages in thread
From: Albert ARIBAUD @ 2015-11-10 17:01 UTC (permalink / raw)
To: u-boot
Hello Tom,
Switching to these ASAP. :)
On Tue, 10 Nov 2015 15:54:58 +0000, Tom Warren <TWarren@nvidia.com>
wrote:
> Thanks, Tom.
>
> > -----Original Message-----
> > From: Tom Rini [mailto:trini at konsulko.com]
> > Sent: Monday, November 09, 2015 4:36 PM
> > To: Tom Warren <TWarren@nvidia.com>
> > Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>; swarren at wwwdotorg.org; u-
> > boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Stephen Warren
> > <swarren@nvidia.com>; Thierry Reding <treding@nvidia.com>; York Sun
> > <yorksun@freescale.com>; Michal Simek <michal.simek@xilinx.com>;
> > 'tomcwarren3959 at gmail.com' <tomcwarren3959@gmail.com>
> > Subject: Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > CONFIG_SYS_NONCACHED_MEMORY
> >
> > * PGP Signed by an unknown key
> >
> > On Mon, Nov 09, 2015 at 11:28:27PM +0000, Tom Warren wrote:
> >
> > > TomR,
> > >
> > > Any chance of you taking a look at these ARM MMU patches and either
> > > taking them in to u-boot/master or ACKing them so I can take them in
> > > via the Tegra repo?
> >
> > So I know Albert was tacking a PR today and then ran into a bug with his
> > Thumb-1 patchset. If they aren't in that PR then yes, I'll review/ack them but I
> > suspect / hope Albert is taking a look and got side-tracked by the bug he found.
> >
> > >
> > > Thanks,
> > >
> > > TomW
> > >
> > > > -----Original Message-----
> > > > From: Tom Warren
> > > > Sent: Friday, November 06, 2015 9:32 AM
> > > > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; 'Stephen Warren'
> > > > <swarren@wwwdotorg.org>; Tom Rini (trini at konsulko.com)
> > > > <trini@konsulko.com>
> > > > Cc: 'u-boot at lists.denx.de' <u-boot@lists.denx.de>; 'Simon Glass'
> > > > <sjg@chromium.org>; Stephen Warren <swarren@nvidia.com>; Thierry
> > > > Reding <treding@nvidia.com>; 'York Sun' <yorksun@freescale.com>;
> > 'Michal Simek'
> > > > <michal.simek@xilinx.com>; 'tomcwarren3959 at gmail.com'
> > > > <tomcwarren3959@gmail.com>
> > > > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > > CONFIG_SYS_NONCACHED_MEMORY
> > > >
> > > > Albert,
> > > >
> > > > Ping!
> > > >
> > > > > -----Original Message-----
> > > > > From: Tom Warren
> > > > > Sent: Tuesday, November 03, 2015 12:19 PM
> > > > > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; 'Stephen Warren'
> > > > > <swarren@wwwdotorg.org>; Tom Rini (trini at konsulko.com)
> > > > > <trini@konsulko.com>
> > > > > Cc: 'u-boot at lists.denx.de' <u-boot@lists.denx.de>; 'Simon Glass'
> > > > > <sjg@chromium.org>; Stephen Warren <swarren@nvidia.com>; Thierry
> > > > > Reding <treding@nvidia.com>; 'York Sun' <yorksun@freescale.com>;
> > > > > 'Michal
> > > > Simek'
> > > > > <michal.simek@xilinx.com>; 'tomcwarren3959 at gmail.com'
> > > > > <tomcwarren3959@gmail.com>
> > > > > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > > > CONFIG_SYS_NONCACHED_MEMORY
> > > > >
> > > > > Albert,
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Tom Warren
> > > > > > Sent: Tuesday, October 27, 2015 1:39 PM
> > > > > > To: 'Albert ARIBAUD' <albert.u.boot@aribaud.net>; Stephen Warren
> > > > > > <swarren@wwwdotorg.org>
> > > > > > Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>;
> > > > > > Stephen Warren <swarren@nvidia.com>; Thierry Reding
> > > > > > <treding@nvidia.com>; York Sun <yorksun@freescale.com>; Michal
> > > > > > Simek <michal.simek@xilinx.com>
> > > > > > Subject: RE: [U-Boot] [PATCH 1/4] armv8: enable compilation with
> > > > > > CONFIG_SYS_NONCACHED_MEMORY
> > > > > >
> > > > > > Albert,
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
> > > > > > > Sent: Wednesday, October 21, 2015 11:26 PM
> > > > > > > To: Stephen Warren <swarren@wwwdotorg.org>
> > > > > > > Cc: u-boot at lists.denx.de; Simon Glass <sjg@chromium.org>; Tom
> > > > > > > Warren <TWarren@nvidia.com>; Stephen Warren
> > > > <swarren@nvidia.com>;
> > > > > > > Thierry Reding <treding@nvidia.com>; York Sun
> > > > > > > <yorksun@freescale.com>; Michal Simek
> > > > > > > <michal.simek@xilinx.com>
> > > > > > > Subject: Re: [U-Boot] [PATCH 1/4] armv8: enable compilation
> > > > > > > with CONFIG_SYS_NONCACHED_MEMORY
> > > > > > >
> > > > > > > Hello Stephen,
> > > > > > >
> > > > > > > On Wed, 21 Oct 2015 10:35:59 -0600, Stephen Warren
> > > > > > > <swarren@wwwdotorg.org> wrote:
> > > > > > > > On 10/05/2015 12:08 PM, Stephen Warren wrote:
> > > > > > > > > From: Stephen Warren <swarren@nvidia.com>
> > > > > > > > >
> > > > > > > > > The implementation of noncached_init() uses define
> > > > > > MMU_SECTION_SIZE.
> > > > > > > > > Define this on ARM64.
> > > > > > > > >
> > > > > > > > > Move the prototype of noncached_{init,alloc}() to a
> > > > > > > > > location that doesn't depend on !defined(CONFIG_ARM64).
> > > > > > > > >
> > > > > > > > > Note that noncached_init() calls
> > > > > > > > > mmu_set_region_dcache_behaviour() which relies on
> > > > > > > > > something having set up translation tables with 2MB block
> > > > > > > size.
> > > > > > > > > The core ARMv8 MMU setup code does not do this by default,
> > > > > > > > > but currently relies on SoC specific MMU setup code. Be
> > > > > > > > > aware of this before enabling this feature on your platform!
> > > > > > > >
> > > > > > > > Albert, it looks like I forgot to add you to the CC on this email.
> > > > > > > > Sorry! Could you please take a look at this series and tell
> > > > > > > > me what you think? If you need a resend just let me know.
> > > > > > > >
> > > > > > > > Also note that this series is a dependency for PCIe support
> > > > > > > > on 64-bit Tegra systems; I guess either Tom Warren would be
> > > > > > > > looking for an ack so he can apply the series to the Tegra
> > > > > > > > tree, or perhaps if you just apply the whole series, he can
> > > > > > > > base his branch on the branch where you apply
> > > > > > > this.
> > > > > > >
> > > > > > > I'll have a look at it in the coming days.
> > > > > > Please let me know when this series is in arm/master (or
> > > > > > u-boot/master), as I need it to base Stephen's PCI/PCIe/XUSB
> > > > > > patches on before I can send a PR for u-boot-tegra/master. Thanks!
> > > > > I need this patchset in before I can add Stephen's PCIe/XUSB
> > > > > patchsets to Tegra U-Boot.
> > > > >
> > > > > If you can Ack them, I can take them in via the Tegra repo, and
> > > > > send them upstream to TomR on my next PR. Or if you can let me
> > > > > know an ETA for getting them in to the ARM/master repo, I can base
> > > > > my schedule off of that. But I'm blocked until the ARMv8 MMU
> > > > > changes are in somewhere, and I'd like to clear this from my plate.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Tom
> > > > > --
> > > > > nvpublic
> > > > > >
> > > > > > Tom
> > > > --
> > > > nvpublic
> > > > > > >
> > > > > > > Amicalement,
> > > > > > > --
> > > > > > > Albert.
> >
> > --
> > Tom
> >
> > * Unknown Key
> > * 0x56D6FECD
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 13+ messages in thread