linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] clk: renesas: Use CLK_IS_CRITICAL to handle critical clocks
@ 2017-01-17 12:46 Geert Uytterhoeven
  2017-01-17 12:46 ` [PATCH 1/2] clk: renesas: cpg-mssr: Migrate to CLK_IS_CRITICAL Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2017-01-17 12:46 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: linux-clk, linux-renesas-soc, Geert Uytterhoeven

	Hi Mike, Stephen,

This patch series adds support for the CLK_IS_CRITICAL flag to drivers
for module clocks on Renesas ARM SoCs.  For now, this is used to prevent
disabling of the ARM GIC module clock, which would lead to a system
lock-up when accessing the GIC's registers.

  1. The first patch migrates the Renesas CPG/MSSR driver from the
     never merged CLK_ENABLE_HAND_OFF flag to the CLK_IS_CRITICAL flag.
     Note that as the driver already handled critical clocks (i.e. it
     ignored them :-), this is not a prerequisite for linking the GIC to
     its module clock in DT.

  2. The second patch makes sure the CLK_IS_CRITICAL flag is set for the
     INTC-SYS clock on SoCs not (yet) using the Renesas CPG/MSSR driver.
     Note that this is a hard dependency for describing the INTC-SYS
     clock in DT on R-Mobile APE6 and R-Car Gen2.

I plan to queue these patches in my clk-renesas-for-v4.11 branch, if
you agree.

Thanks!
        
Geert Uytterhoeven (2):
  clk: renesas: cpg-mssr: Migrate to CLK_IS_CRITICAL
  clk: renesas: mstp: Make INTC-SYS a critical clock

 drivers/clk/renesas/clk-mstp.c         |  5 +++++
 drivers/clk/renesas/renesas-cpg-mssr.c | 11 ++---------
 2 files changed, 7 insertions(+), 9 deletions(-)

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-23  9:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-17 12:46 [PATCH 0/2] clk: renesas: Use CLK_IS_CRITICAL to handle critical clocks Geert Uytterhoeven
2017-01-17 12:46 ` [PATCH 1/2] clk: renesas: cpg-mssr: Migrate to CLK_IS_CRITICAL Geert Uytterhoeven
2017-01-20 23:00   ` Stephen Boyd
2017-01-17 12:46 ` [PATCH 2/2] clk: renesas: mstp: Make INTC-SYS a critical clock Geert Uytterhoeven
2017-01-20 23:12   ` Stephen Boyd
2017-01-23  9:50     ` Geert Uytterhoeven
2017-01-20 23:00 ` [PATCH 0/2] clk: renesas: Use CLK_IS_CRITICAL to handle critical clocks Stephen Boyd
2017-01-23  9:34   ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).