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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1327592191.git.rubini@gnudd.com>
Date:	Thu, 26 Jan 2012 16:51:50 +0100
From:	Alessandro Rubini <rubini@...dd.com>
To:	linux-kernel@...r.kernel.org
Cc:	giancarlo.asnaghi@...com, alan@...ux.intel.com,
	sameo@...ux.intel.com, grant.likely@...retlab.ca,
	linus.walleij@...ricsson.com
Subject: [RFC PATCH 0/2] MFD and GPIO for STA2X11

These two patches introduce multi-function device and GPIO support for
the STA2X11 I/O Hub. It's an RFC for both as explained below.

- I think the MFD driver is ok. This MFD_STA2X11 config symbol is
  autoselected by CONFIG_STA2X11, which is pending in the
  "x86: initial support for sta2x11" patch, for which I need to send V2
  later today, with some minor fixes.  Similarly, <asm/sta2x11.h> is
  not upstream yet, so I'll need to resend later, I suppose.

- The GPIO patch has a quirk: I chose to register a single irq chip
  for 128 interrupts but the generic irq_chip only support 32 interrupts.
  I'm sure the hack I did (request the irq descs myself) is not good, but
  what is the best approach here?  Using 4 generic irq chips or defining
  my own, non-generic one?

Thanks a lot
/alessandro

Alessandro Rubini (2):
  mfd: Add driver for STA2X11 MFD block
  gpio: add STA2X11 GPIO block

 drivers/gpio/Kconfig            |    9 +
 drivers/gpio/Makefile           |    1 +
 drivers/gpio/gpio-sta2x11.c     |  380 +++++++++++++++++++++++++++++++
 drivers/mfd/Kconfig             |    6 +
 drivers/mfd/Makefile            |    1 +
 drivers/mfd/sta2x11-mfd.c       |  470 +++++++++++++++++++++++++++++++++++++++
 include/linux/mfd/sta2x11-mfd.h |  186 +++++++++++++++
 7 files changed, 1053 insertions(+), 0 deletions(-)
 create mode 100644 drivers/gpio/gpio-sta2x11.c
 create mode 100644 drivers/mfd/sta2x11-mfd.c
 create mode 100644 include/linux/mfd/sta2x11-mfd.h

-- 
1.7.7.2
--
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