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: <20200405025123.154688-1-sboyd@kernel.org>
Date:   Sat,  4 Apr 2020 19:51:14 -0700
From:   Stephen Boyd <sboyd@...nel.org>
To:     Michael Turquette <mturquette@...libre.com>,
        Stephen Boyd <sboyd@...nel.org>
Cc:     linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
        Alexander Shiyan <shc_work@...l.ru>,
        Andreas Färber <afaerber@...e.de>,
        Arnd Bergmann <arnd@...db.de>,
        Aurelien Jacquiot <jacquiot.aurelien@...il.com>,
        Catalin Marinas <catalin.marinas@....com>, chenhc@...ote.com,
        Geert Uytterhoeven <geert@...ux-m68k.org>,
        Guan Xuetao <gxt@....edu.cn>,
        Jiaxun Yang <jiaxun.yang@...goat.com>,
        linux-arm-kernel@...ts.infradead.org, linux-c6x-dev@...ux-c6x.org,
        linux-m68k@...ts.linux-m68k.org, linux-mips@...r.kernel.org,
        linux-sh@...r.kernel.org, Lubomir Rintel <lkundrak@...sk>,
        Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
        Mark Brown <broonie@...nel.org>,
        Mark Salter <msalter@...hat.com>,
        Paul Burton <paulburton@...nel.org>,
        Paul Walmsley <paul@...an.com>, Rich Felker <dalias@...c.org>,
        Russell King <linux@...linux.org.uk>,
        Thierry Reding <treding@...dia.com>,
        Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
        Tony Prisk <linux@...sktech.co.nz>,
        uclinux-h8-devel@...ts.sourceforge.jp,
        Will Deacon <will@...nel.org>,
        Yoshinori Sato <ysato@...rs.sourceforge.jp>
Subject: [PATCH 0/9] Allow COMMON_CLK to be selectable

This patch series cleans up a handful of selects that were redundant and
deletes presumably dead code with the goal of making it possible to add
kunit tests for the CCF in the future. To do that, we introduce a
"legacy" clk Kconfig option to mark code that hasn't migrated to the
common clk framework and then make the COMMON_CLK config option visible
in the menuconfig as long as that legacy option isn't enabled. I've also
included a couple patches at the end that may be more controversial but
helped me consolidate all this logic/code.

I haven't done more than compile test a few configs for arm, arm64,
h8300, and mips. More testing is welcome.

The plan is that I'll just merge the whole pile through the clk tree. If
the first five patches or the last three patches are better going
through another tree like arm-soc or architecture trees that's fine too,
but there are potential conflicts between trees so maybe it's better to
just leave it all in one tree.

Stephen Boyd (9):
  ARM: Remove redundant COMMON_CLK selects
  ARM: Remove redundant CLKDEV_LOOKUP selects
  arm64: tegra: Remove redundant CLKDEV_LOOKUP selects
  h8300: Remove redundant CLKDEV_LOOKUP selects
  MIPS: Remove redundant CLKDEV_LOOKUP selects
  clk: Allow the common clk framework to be selectable
  ARM: mmp: Remove legacy clk code
  MIPS: Loongson64: Drop asm/clock.h include
  clk: Move HAVE_CLK config out of architecture layer

Cc: Alexander Shiyan <shc_work@...l.ru>
Cc: "Andreas Färber" <afaerber@...e.de>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: Aurelien Jacquiot <jacquiot.aurelien@...il.com>
Cc: Catalin Marinas <catalin.marinas@....com>
Cc: <chenhc@...ote.com>
Cc: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Guan Xuetao <gxt@....edu.cn>
Cc: Jiaxun Yang <jiaxun.yang@...goat.com>
Cc: <linux-arm-kernel@...ts.infradead.org>
Cc: <linux-c6x-dev@...ux-c6x.org>
Cc: <linux-m68k@...ts.linux-m68k.org>
Cc: <linux-mips@...r.kernel.org>
Cc: <linux-sh@...r.kernel.org>
Cc: Lubomir Rintel <lkundrak@...sk>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
Cc: Mark Brown <broonie@...nel.org>
Cc: Mark Salter <msalter@...hat.com>
Cc: Paul Burton <paulburton@...nel.org>
Cc: Paul Walmsley <paul@...an.com>
Cc: Rich Felker <dalias@...c.org>
Cc: Russell King <linux@...linux.org.uk>
Cc: Thierry Reding <treding@...dia.com>
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: Tony Prisk <linux@...sktech.co.nz>
Cc: uclinux-h8-devel@...ts.sourceforge.jp
Cc: Will Deacon <will@...nel.org>
Cc: Yoshinori Sato <ysato@...rs.sourceforge.jp>

 arch/Kconfig                     |   6 --
 arch/arm/Kconfig                 |   5 +-
 arch/arm/mach-actions/Kconfig    |   1 -
 arch/arm/mach-clps711x/Kconfig   |   1 -
 arch/arm/mach-mmp/Kconfig        |   1 -
 arch/arm/mach-mmp/Makefile       |   6 --
 arch/arm/mach-mmp/clock-mmp2.c   | 114 -------------------------------
 arch/arm/mach-mmp/clock-pxa168.c |  94 -------------------------
 arch/arm/mach-mmp/clock-pxa910.c |  70 -------------------
 arch/arm/mach-mmp/clock.c        | 105 ----------------------------
 arch/arm/mach-mmp/clock.h        |  65 ------------------
 arch/arm/mach-vt8500/Kconfig     |   1 -
 arch/arm64/Kconfig.platforms     |   1 -
 arch/c6x/Kconfig                 |   1 +
 arch/h8300/Kconfig               |   1 -
 arch/m68k/Kconfig.cpu            |   2 +-
 arch/mips/Kconfig                |   8 +--
 arch/mips/loongson2ef/Kconfig    |   2 +-
 arch/mips/loongson64/smp.c       |   1 -
 arch/sh/boards/Kconfig           |   5 ++
 arch/unicore32/Kconfig           |   2 +-
 drivers/clk/Kconfig              |  23 +++++--
 22 files changed, 34 insertions(+), 481 deletions(-)
 delete mode 100644 arch/arm/mach-mmp/clock-mmp2.c
 delete mode 100644 arch/arm/mach-mmp/clock-pxa168.c
 delete mode 100644 arch/arm/mach-mmp/clock-pxa910.c
 delete mode 100644 arch/arm/mach-mmp/clock.c
 delete mode 100644 arch/arm/mach-mmp/clock.h


base-commit: 7111951b8d4973bda27ff663f2cf18b663d15b48
-- 
Sent by a computer, using git, on the internet

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ