All of lore.kernel.org
 help / color / mirror / Atom feed
From: srinidhi kasagar <srinidhi.kasagar@stericsson.com>
To: linux-arm-kernel@lists.infradead.org
Cc: linux@arm.linux.org.uk, avorontsov@mvista.com,
	gregory.clement@free-electrons.com,
	linux-samsung-soc@vger.kernel.org, kernel@pengutronix.de,
	shawn.guo@linaro.org, rubini@unipv.it, linus.walleij@linaro.org,
	linux-omap@vger.kernel.org, tony@atomide.com, horms@verge.net.au,
	magnus.damm@gmail.com, viresh.linux@gmail.com,
	shiraz.hashim@st.com
Subject: [PATCH v2 0/5] ARM: Manage the pl310 erratas in a dynamic way
Date: Tue, 29 Jan 2013 15:40:38 +0530	[thread overview]
Message-ID: <20130129101026.GA1063@bnru10> (raw)

This series of patches attempts to manage the pl310 erratas dynamically rather 
allowing platforms to choose them during build time.

A bit of information which triggered the cause for this series is here:
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/138066.html

v2:
- The commit 74ddcdb868a84f4a9f65e33c1ca0d24e1134e53a 
  (l2x0: Only set .set_debug on PL310 r3p0 and earlier) which makes the
  assumption that non-secure platforms will implement .set_debug interface.
  An attempt is made to set .set_debug only if 'smc' is passed either
  through DT or through legacy interface (l2x0_init).
  With this background, this series adds 'smc' identifier to differentiate
  the paltforms which implements SMC interface.

- Use the stashed value	instead of reading RTL revision all over the place(Will)

- Added l2x0_quirks to manage the errata in cpu_idle path. Tried to address
  Russell's comment on this, but could not completely. Because, neither I can
  keep the #ifdef CONFIG_PL310_ERRATA_769419 nor remove it entirely since
  the platform A suffers from this bug, whereas B do not but shares the same
  defconfig.

srinidhi kasagar (5):
  ARM: cache-l2x0: add 'smc' identifier
  ARM: cache-l2x0: Manage the errata at run time
  ARM: make the platforms not to select the l2x0 erratas
  ARM: Handle l2x0 quirks in cpu_idle path
  ARM: mach-omap2: apply the errata at run time rather

 arch/arm/boot/dts/omap4.dtsi                   |    1 +
 arch/arm/include/asm/hardware/cache-l2x0.h     |   16 ++++-
 arch/arm/kernel/process.c                      |    7 +-
 arch/arm/mach-cns3xxx/core.c                   |    4 +-
 arch/arm/mach-exynos/common.c                  |    4 +-
 arch/arm/mach-imx/Kconfig                      |    3 -
 arch/arm/mach-imx/mm-imx3.c                    |    4 +-
 arch/arm/mach-nomadik/cpu-8815.c               |    4 +-
 arch/arm/mach-omap2/Kconfig                    |    2 -
 arch/arm/mach-omap2/omap4-common.c             |    2 +-
 arch/arm/mach-omap2/sleep44xx.S                |   25 ++++++-
 arch/arm/mach-realview/realview_eb.c           |    4 +-
 arch/arm/mach-realview/realview_pb1176.c       |    4 +-
 arch/arm/mach-realview/realview_pb11mp.c       |    4 +-
 arch/arm/mach-realview/realview_pbx.c          |    4 +-
 arch/arm/mach-shmobile/board-ag5evm.c          |    2 +-
 arch/arm/mach-shmobile/board-armadillo800eva.c |    4 +-
 arch/arm/mach-shmobile/board-bonito.c          |    4 +-
 arch/arm/mach-shmobile/board-kota2.c           |    4 +-
 arch/arm/mach-shmobile/board-kzm9g.c           |    4 +-
 arch/arm/mach-shmobile/setup-r8a7779.c         |    4 +-
 arch/arm/mach-spear13xx/spear13xx.c            |    2 +-
 arch/arm/mach-tegra/Kconfig                    |    3 -
 arch/arm/mach-ux500/Kconfig                    |    1 -
 arch/arm/mach-ux500/cache-l2x0.c               |    2 +-
 arch/arm/mach-vexpress/Kconfig                 |    1 -
 arch/arm/mach-vexpress/ct-ca9x4.c              |    2 +-
 arch/arm/mm/cache-l2x0.c                       |   90 +++++++++++++-----------
 28 files changed, 121 insertions(+), 90 deletions(-)

-- 
1.7.2.dirty

WARNING: multiple messages have this Message-ID (diff)
From: srinidhi.kasagar@stericsson.com (srinidhi kasagar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/5] ARM: Manage the pl310 erratas in a dynamic way
Date: Tue, 29 Jan 2013 15:40:38 +0530	[thread overview]
Message-ID: <20130129101026.GA1063@bnru10> (raw)

This series of patches attempts to manage the pl310 erratas dynamically rather 
allowing platforms to choose them during build time.

A bit of information which triggered the cause for this series is here:
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/138066.html

v2:
- The commit 74ddcdb868a84f4a9f65e33c1ca0d24e1134e53a 
  (l2x0: Only set .set_debug on PL310 r3p0 and earlier) which makes the
  assumption that non-secure platforms will implement .set_debug interface.
  An attempt is made to set .set_debug only if 'smc' is passed either
  through DT or through legacy interface (l2x0_init).
  With this background, this series adds 'smc' identifier to differentiate
  the paltforms which implements SMC interface.

- Use the stashed value	instead of reading RTL revision all over the place(Will)

- Added l2x0_quirks to manage the errata in cpu_idle path. Tried to address
  Russell's comment on this, but could not completely. Because, neither I can
  keep the #ifdef CONFIG_PL310_ERRATA_769419 nor remove it entirely since
  the platform A suffers from this bug, whereas B do not but shares the same
  defconfig.

srinidhi kasagar (5):
  ARM: cache-l2x0: add 'smc' identifier
  ARM: cache-l2x0: Manage the errata at run time
  ARM: make the platforms not to select the l2x0 erratas
  ARM: Handle l2x0 quirks in cpu_idle path
  ARM: mach-omap2: apply the errata at run time rather

 arch/arm/boot/dts/omap4.dtsi                   |    1 +
 arch/arm/include/asm/hardware/cache-l2x0.h     |   16 ++++-
 arch/arm/kernel/process.c                      |    7 +-
 arch/arm/mach-cns3xxx/core.c                   |    4 +-
 arch/arm/mach-exynos/common.c                  |    4 +-
 arch/arm/mach-imx/Kconfig                      |    3 -
 arch/arm/mach-imx/mm-imx3.c                    |    4 +-
 arch/arm/mach-nomadik/cpu-8815.c               |    4 +-
 arch/arm/mach-omap2/Kconfig                    |    2 -
 arch/arm/mach-omap2/omap4-common.c             |    2 +-
 arch/arm/mach-omap2/sleep44xx.S                |   25 ++++++-
 arch/arm/mach-realview/realview_eb.c           |    4 +-
 arch/arm/mach-realview/realview_pb1176.c       |    4 +-
 arch/arm/mach-realview/realview_pb11mp.c       |    4 +-
 arch/arm/mach-realview/realview_pbx.c          |    4 +-
 arch/arm/mach-shmobile/board-ag5evm.c          |    2 +-
 arch/arm/mach-shmobile/board-armadillo800eva.c |    4 +-
 arch/arm/mach-shmobile/board-bonito.c          |    4 +-
 arch/arm/mach-shmobile/board-kota2.c           |    4 +-
 arch/arm/mach-shmobile/board-kzm9g.c           |    4 +-
 arch/arm/mach-shmobile/setup-r8a7779.c         |    4 +-
 arch/arm/mach-spear13xx/spear13xx.c            |    2 +-
 arch/arm/mach-tegra/Kconfig                    |    3 -
 arch/arm/mach-ux500/Kconfig                    |    1 -
 arch/arm/mach-ux500/cache-l2x0.c               |    2 +-
 arch/arm/mach-vexpress/Kconfig                 |    1 -
 arch/arm/mach-vexpress/ct-ca9x4.c              |    2 +-
 arch/arm/mm/cache-l2x0.c                       |   90 +++++++++++++-----------
 28 files changed, 121 insertions(+), 90 deletions(-)

-- 
1.7.2.dirty

             reply	other threads:[~2013-01-29 10:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29 10:10 srinidhi kasagar [this message]
2013-01-29 10:10 ` [PATCH v2 0/5] ARM: Manage the pl310 erratas in a dynamic way srinidhi kasagar
2013-01-29 11:29 ` Russell King - ARM Linux
2013-01-29 11:29   ` Russell King - ARM Linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130129101026.GA1063@bnru10 \
    --to=srinidhi.kasagar@stericsson.com \
    --cc=avorontsov@mvista.com \
    --cc=gregory.clement@free-electrons.com \
    --cc=horms@verge.net.au \
    --cc=kernel@pengutronix.de \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=magnus.damm@gmail.com \
    --cc=rubini@unipv.it \
    --cc=shawn.guo@linaro.org \
    --cc=shiraz.hashim@st.com \
    --cc=tony@atomide.com \
    --cc=viresh.linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.