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: <20240822002433.1163814-1-sboyd@kernel.org>
Date: Wed, 21 Aug 2024 17:24:27 -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,
	patches@...ts.linux.dev,
	kunit-dev@...glegroups.com,
	Brendan Higgins <brendan.higgins@...ux.dev>,
	David Gow <davidgow@...gle.com>,
	Rae Moar <rmoar@...gle.com>,
	Peng Fan <peng.fan@....com>
Subject: [PATCH 0/3] clk: test: Test clock-assigned-rates{-u64}

Add some kunit tests for the clock-assigned-rates and
clock-assigned-rates-64 DT properties. I think it may be possible to
crush this down into more carefully chosen DT overlay applications of
properties but this works for now.

This is based on a merge of the clk-assigned-rates and clk-kunit
branches in clk.git

Cc: Brendan Higgins <brendan.higgins@...ux.dev>
Cc: David Gow <davidgow@...gle.com>
Cc: Rae Moar <rmoar@...gle.com>
Cc: Peng Fan <peng.fan@....com>

Stephen Boyd (3):
  clk: test: Add test managed of_clk_add_hw_provider()
  of: kunit: Extract some overlay boiler plate into macros
  clk: test: Add KUnit tests for clock-assigned-rates{-u64} DT
    properties

 drivers/clk/Makefile                          |  14 +
 drivers/clk/clk_kunit_helpers.c               |  30 ++
 drivers/clk/clk_test.c                        | 321 ++++++++++++++++++
 drivers/clk/kunit_clk_assigned_rates.h        |   8 +
 .../kunit_clk_assigned_rates_multiple.dtso    |  16 +
 ..._clk_assigned_rates_multiple_consumer.dtso |  20 ++
 .../clk/kunit_clk_assigned_rates_null.dtso    |  14 +
 ...unit_clk_assigned_rates_null_consumer.dtso |  18 +
 drivers/clk/kunit_clk_assigned_rates_one.dtso |  14 +
 ...kunit_clk_assigned_rates_one_consumer.dtso |  18 +
 ...kunit_clk_assigned_rates_u64_multiple.dtso |  16 +
 ..._assigned_rates_u64_multiple_consumer.dtso |  20 ++
 .../clk/kunit_clk_assigned_rates_u64_one.dtso |  14 +
 ...t_clk_assigned_rates_u64_one_consumer.dtso |  18 +
 .../clk/kunit_clk_assigned_rates_without.dtso |  13 +
 ...t_clk_assigned_rates_without_consumer.dtso |  17 +
 .../clk/kunit_clk_assigned_rates_zero.dtso    |  12 +
 ...unit_clk_assigned_rates_zero_consumer.dtso |  16 +
 include/kunit/clk.h                           |   4 +
 include/kunit/of.h                            |  14 +-
 20 files changed, 613 insertions(+), 4 deletions(-)
 create mode 100644 drivers/clk/kunit_clk_assigned_rates.h
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_multiple.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_multiple_consumer.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_null.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_null_consumer.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_one.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_one_consumer.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_u64_multiple.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_u64_multiple_consumer.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_u64_one.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_u64_one_consumer.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_without.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_without_consumer.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_zero.dtso
 create mode 100644 drivers/clk/kunit_clk_assigned_rates_zero_consumer.dtso


base-commit: 76eb1b6085c2dbae07d584536fe6b1e06245da6a
-- 
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ