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>] [day] [month] [year] [list]
Message-Id: <1350415315-2451-1-git-send-email-linus.walleij@linaro.org>
Date:	Tue, 16 Oct 2012 21:21:55 +0200
From:	Linus Walleij <linus.walleij@...aro.org>
To:	linux-kernel@...r.kernel.org
Cc:	Rob Herring <rob.herring@...xeda.com>,
	Grant Likely <grant.likely@...retlab.ca>,
	Linus Walleij <linus.walleij@...aro.org>
Subject: [PATCH 0/7] gpio: assorted irqdomain cleanups

I have noted that some of the GPIO drivers have been copy-pasting
and contaminating each other with bad examples, so I've tried in
this series to mitigate this by correcting the most obvious
examples.

I have no clue how to even compile-test some of these, so I rely
on maintainers to test them and maybe refactor them up if they are
sucky.

Remains: gpio-omap, gpio-pxa and gpio-twl4030.

These three drivers do *REALLY* scary stuff, like creating domains
and flat out ignoring to use them, keeping the irq_base after
allocating descriptors around and abusing it etc. I would really
like to see these fixed up to use irqdomains properly. The
twl4030 looks really hairy with the IRQ handling centralized
into the main MFD driver...

Linus Walleij (7):
  gpio/tc3589x: convert to use the simple irqdomain
  gpio/em: convert to linear IRQ domain
  gpio/mvebu: convert to use irq_domain_add_simple()
  gpio/mxs: convert to use linear irqdomain
  gpio/pcf857x: find the irq domain mapping
  gpio/langwell: find the irq domain mapping
  gpio/tegra: convert to use linear irqdomain

 drivers/gpio/gpio-em.c       | 22 +++-------------------
 drivers/gpio/gpio-langwell.c |  2 +-
 drivers/gpio/gpio-mvebu.c    |  6 +++---
 drivers/gpio/gpio-mxs.c      | 19 ++++++-------------
 drivers/gpio/gpio-pcf857x.c  |  2 +-
 drivers/gpio/gpio-tc3589x.c  | 14 +++-----------
 drivers/gpio/gpio-tegra.c    | 12 ++++--------
 7 files changed, 21 insertions(+), 56 deletions(-)

-- 
1.7.11.7

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