lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 12 Sep 2014 15:15:16 +0200
From:	Geert Uytterhoeven <geert+renesas@...der.be>
To:	Thomas Gleixner <tglx@...utronix.de>,
	Jason Cooper <jason@...edaemon.net>,
	Simon Horman <horms@...ge.net.au>,
	Magnus Damm <magnus.damm@...il.com>
Cc:	linux-sh@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
	Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH 0/4] ARM: shmobile: r8a7740: Handle implicitly enabled clocks

	Hi all,

This patch series fixes an issue with the INTCA module clock, which we
currently assume enabled by the bootloader or reset state.
If this clock was not enabled before booting Linux, the intc-irqpin driver
and all devices connected to it (buttons, RTC on i2c-gpio) don't work.

To fix this, the clock is added to the system, and is managed in the driver
through runtime PM, taking into account wake-up sources (gpio-keys, RTC alarm).

There's one remaining issue for armadillo-legacy, which has support for the LCD
controller. Although the shmobile_lcd_fb driver doesn't use MERAM on r8a7740
(unlike on sh7372), the MERAM (Media RAM) and ICB (MERAM Interconnect Buffer)
clocks must be enabled to show a picture on the display. However, the MERAM
doesn't have any device associated with it, so it's non-trivial to hook it up.

This patch series is based on renesas-devel-20140911-v3.17-rc4 and
irqchip/for-next.

Geert Uytterhoeven (4):
  irqchip: renesas-intc-irqpin: Add helper variable dev = &pdev->dev
  irqchip: renesas-intc-irqpin: Add minimal runtime PM support
  ARM: shmobile: r8a7740 legacy: Add missing INTCA clock for irqpin
    module
  ARM: shmobile: r8a7740 dtsi: Add missing INTCA clock for irqpin module

 arch/arm/boot/dts/r8a7740.dtsi            | 14 ++++--
 arch/arm/mach-shmobile/clock-r8a7740.c    |  7 ++-
 drivers/irqchip/irq-renesas-intc-irqpin.c | 83 +++++++++++++++++++++----------
 include/dt-bindings/clock/r8a7740-clock.h |  1 +
 4 files changed, 73 insertions(+), 32 deletions(-)

-- 
1.9.1

Thanks!

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ