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]
Message-Id: <1436796468-45723-1-git-send-email-andriy.shevchenko@linux.intel.com>
Date:	Mon, 13 Jul 2015 17:07:40 +0300
From:	Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To:	linux-kernel@...r.kernel.org, Sascha Hauer <kernel@...gutronix.de>,
	Peter De Schrijver <pdeschrijver@...dia.com>,
	Tero Kristo <t-kristo@...com>,
	Stephen Boyd <sboyd@...eaurora.org>,
	Russell King <linux@....linux.org.uk>,
	Dinh Nguyen <dinguyen@...nsource.altera.com>
Cc:	Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: [PATCH v5 0/8] clk: replace div_mask() by GENMASK()

This series replaces div_mask() and similar macros in many clock providers by
GENMASK() generic helper.

Changelog v5:
 - amend patch for softpga by covering all cases
 - extend patchset to hisilicon and bcm clk implementation
 - rebase on top of clk-next

Changelog v4:
 - use GENMASK() instead of div_mask() by Stephen Boyd's comment

Changelog v3:
 - fix clk_div_mask() prototype: seems tired like on Friday evening!

Changelog v2:
 - fix patches 5,6,7 where parameter of the macro was d instead of d->width

Andy Shevchenko (8):
  clk: divider: switch to GENMASK()
  clk: mmp: switch to GENMASK()
  clk: socfpga: switch to GENMASK()
  clk: ti: divider: switch to GENMASK()
  clk: tegra: switch to GENMASK()
  clk: hisilicon: switch to GENMASK()
  clk: bcm: switch to GENMASK()
  ARM: imx: switch to GENMASK()

 drivers/clk/bcm/clk-iproc-asiu.c          | 22 ++++++++--------------
 drivers/clk/bcm/clk-iproc-pll.c           | 31 ++++++++++++++-----------------
 drivers/clk/bcm/clk-iproc.h               |  1 -
 drivers/clk/bcm/clk-kona-setup.c          |  2 +-
 drivers/clk/bcm/clk-kona.c                | 12 +++---------
 drivers/clk/clk-divider.c                 | 18 ++++++++----------
 drivers/clk/hisilicon/clkdivider-hi6220.c |  8 +++-----
 drivers/clk/imx/clk-fixup-div.c           |  7 +++----
 drivers/clk/mmp/clk-mix.c                 |  2 +-
 drivers/clk/mmp/clk.h                     |  2 +-
 drivers/clk/socfpga/clk-gate-a10.c        |  2 +-
 drivers/clk/socfpga/clk-gate.c            |  2 +-
 drivers/clk/socfpga/clk-periph-a10.c      |  2 +-
 drivers/clk/socfpga/clk-periph.c          |  2 +-
 drivers/clk/socfpga/clk.h                 |  1 -
 drivers/clk/tegra/clk-divider.c           |  7 +++----
 drivers/clk/tegra/clk-pll.c               | 13 ++++++-------
 drivers/clk/tegra/clk-super.c             |  2 +-
 drivers/clk/ti/divider.c                  | 18 ++++++++----------
 19 files changed, 64 insertions(+), 90 deletions(-)

-- 
2.1.4

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