[U-Boot] [PATCH 1/1] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

Lokesh Vutla lokeshvutla at ti.com
Mon Aug 22 05:42:55 CEST 2016



On Sunday 21 August 2016 07:00 PM, Tom Rini wrote:
> This series moves the CONFIG_SYS_CACHELINE_SIZE.  First, in nearly all cases we
> are mirroring the values used by the Linux Kernel here.  Also, so long as (and
> in this case, it is true) we implement flushes in hunks that are no larger than
> the smallest implementation (and given that we mirror the Linux Kernel, again
> we are fine) it is OK to align higher.  The biggest changes here are that we
> always use 64 bytes for CPU_V7 even if for example the underlying core is only
> 32 bytes.  Second, we say ARM64 uses 64 bytes not 80 (as found in the Linux
> Kernel) due to how we use it for forcing alignment from the compiler.  Our
> other option here would be to move up to 128 bytes but as no processors yet use
> 80 bytes, we'll revisit this logic as needed later.
> 
> Finally, it is possible that Uniphier will need to adjust ARCH_DMA_MINALIGN
> in the case of CACHE_UNIPHIER being enabled as previously it moves
> ARCH_DMA_MINALIGN up to 128 bytes
> 
> Cc: Albert Aribaud <albert.u.boot at aribaud.net>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Prafulla Wadaskar <prafulla at marvell.com>
> Cc: Luka Perkov <luka.perkov at sartura.hr>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Nagendra T S <nagendra at mistralsolutions.com>
> Cc: Vaibhav Hiremath <hvaibhav at ti.com>
> Cc: Lokesh Vutla <lokeshvutla at ti.com>
> Cc: Steve Rae <steve.rae at raedomain.com>
> Cc: Igor Grinberg <grinberg at compulab.co.il>
> Cc: Nikita Kiryanov <nikita at compulab.co.il>
> Cc: Stefan Agner <stefan.agner at toradex.com>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Mateusz Kulikowski <mateusz.kulikowski at gmail.com>
> Cc: Peter Griffin <peter.griffin at linaro.org>
> Cc: Paul Kocialkowski <contact at paulk.fr>
> Cc: Anatolij Gustschin <agust at denx.de>
> Cc: "Pali Rohár" <pali.rohar at gmail.com>
> Cc: Adam Ford <aford173 at gmail.com>
> Cc: Steve Sakoman <sakoman at gmail.com>
> Cc: Grazvydas Ignotas <notasas at gmail.com>
> Cc: Nishanth Menon <nm at ti.com>
> Cc: Stephen Warren <swarren at wwwdotorg.org>
> Cc: Robert Baldyga <r.baldyga at samsung.com>
> Cc: Minkyu Kang <mk7.kang at samsung.com>
> Cc: Thomas Weber <weber at corscience.de>
> Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
> Cc: David Feng <fenghua at phytium.com.cn>
> Cc: Alison Wang <b18965 at freescale.com>
> Cc: Michal Simek <michal.simek at xilinx.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: York Sun <york.sun at nxp.com>
> Cc: Shengzhou Liu <Shengzhou.Liu at nxp.com>
> Cc: Mingkai Hu <mingkai.hu at nxp.com>
> Cc: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
> Cc: Aneesh Bansal <aneesh.bansal at freescale.com>
> Cc: Saksham Jain <saksham.jain at nxp.com>
> Cc: Qianyu Gong <qianyu.gong at nxp.com>
> Cc: Wang Dongsheng <dongsheng.wang at nxp.com>
> Cc: Alex Porosanu <alexandru.porosanu at freescale.com>
> Cc: Hongbo Zhang <hongbo.zhang at nxp.com>
> Cc: tang yuantian <Yuantian.Tang at freescale.com>
> Cc: Rajesh Bhagat <rajesh.bhagat at nxp.com>
> Cc: Josh Wu <josh.wu at atmel.com>
> Cc: Bo Shen <voice.shen at atmel.com>
> Cc: Viresh Kumar <viresh.kumar at linaro.org>
> Cc: Hannes Schmelzer <oe5hpm at oevsv.at>
> Cc: Thomas Chou <thomas at wytron.com.tw>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Sam Protsenko <semen.protsenko at linaro.org>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Christophe Ricard <christophe-h.ricard at st.com>
> Cc: Anand Moon <linux.amoon at gmail.com>
> Cc: Beniamino Galvani <b.galvani at gmail.com>
> Cc: Carlo Caione <carlo at endlessm.com>
> Cc: huang lin <hl at rock-chips.com>
> Cc: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> Cc: Xu Ziyuan <xzy.xu at rock-chips.com>
> Cc: "jk.kernel at gmail.com" <jk.kernel at gmail.com>
> Cc: "Ariel D'Alessandro" <ariel at vanguardiasur.com.ar>
> Cc: Kever Yang <kever.yang at rock-chips.com>
> Cc: Samuel Egli <samuel.egli at siemens.com>
> Cc: Chin Liang See <clsee at altera.com>
> Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
> Cc: Hans de Goede <hdegoede at redhat.com>
> Cc: Ian Campbell <ijc at hellion.org.uk>
> Cc: Siarhei Siamashka <siarhei.siamashka at gmail.com>
> Cc: Boris Brezillon <boris.brezillon at free-electrons.com>
> Cc: Andre Przywara <andre.przywara at arm.com>
> Cc: Bernhard Nortmann <bernhard.nortmann at web.de>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Ben Whitten <ben.whitten at gmail.com>
> Cc: Tom Warren <twarren at nvidia.com>
> Cc: Alexander Graf <agraf at suse.de>
> Cc: Sekhar Nori <nsekhar at ti.com>
> Cc: Vitaly Andrianov <vitalya at ti.com>
> Cc: "Andrew F. Davis" <afd at ti.com>
> Cc: Murali Karicheri <m-karicheri2 at ti.com>
> Cc: Carlos Hernandez <ceh at ti.com>
> Cc: Ladislav Michl <ladis at linux-mips.org>
> Cc: Ash Charles <ashcharles at gmail.com>
> Cc: Mugunthan V N <mugunthanvnm at ti.com>
> Cc: Daniel Allred <d-allred at ti.com>
> Cc: Gong Qianyu <Qianyu.Gong at freescale.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  arch/arm/Kconfig                                  |  5 +++++
[..snip..]

>  include/configs/am3517_crane.h                    |  2 --
>  include/configs/am3517_evm.h                      |  2 --
>  include/configs/am43xx_evm.h                      |  2 --

[..snip..]

>  include/configs/omap3_beagle.h                    |  2 --
>  include/configs/omap3_cairo.h                     |  2 --
>  include/configs/omap3_evm.h                       |  2 --
>  include/configs/omap3_logic.h                     |  1 -
>  include/configs/omap3_overo.h                     |  1 -
>  include/configs/omap3_pandora.h                   |  2 --
>  include/configs/omap3_zoom1.h                     |  2 --

[..snip..]

>  include/configs/ti_am335x_common.h                |  1 -
>  include/configs/ti_armv7_keystone2.h              |  1 -
>  include/configs/ti_omap3_common.h                 |  2 --
>  include/configs/ti_omap4_common.h                 |  1 -
>  include/configs/ti_omap5_common.h                 |  2 --

For OMAP changes:
Acked-by: Lokesh Vutla <lokeshvutla at ti.com>

Thanks and regards,
Lokesh



More information about the U-Boot mailing list