Test that clks registered with 'struct clk_parent_data' work as
intended and can find their parents.
Cc: Christian Marangi
Cc: Brendan Higgins
Cc: David Gow
Signed-off-by: Stephen Boyd
---
drivers/clk/clk_test.c| 456 +-
drivers/of/kunit/clk.dtsi | 15
To fully exercise common clk framework code in KUnit we need to
associate 'struct device' pointers with 'struct device_node' pointers so
that things like clk_get() can parse DT nodes for 'clocks' and so that
clk providers can use DT to provide clks; the most common mode of
operation for clk provide
Test that the fixed rate basic type clk works as intended.
Cc: Brendan Higgins
Cc: David Gow
Signed-off-by: Stephen Boyd
---
This should be extended somewhat to test various combinations of the
registration functions.
drivers/clk/.kunitconfig | 3 +
drivers/clk/Kconfig
Document the linux,kunit board compatible string. This board is loaded
into the Linux kernel when KUnit is testing devicetree dependent code.
Cc: Rob Herring
Cc: Krzysztof Kozlowski
Cc: Brendan Higgins
Cc: David Gow
Signed-off-by: Stephen Boyd
---
.../bindings/kunit/linux,kunit.yaml
Describe a binding for a device that provides and consumes clks in DT so
that a KUnit test can register clks based on the device node and test
clk_hw_register() with clk_parent_data.
Cc: Rob Herring
Cc: Krzysztof Kozlowski
Cc: Brendan Higgins
Cc: David Gow
Signed-off-by: Stephen Boyd
---
...
Unit tests are more ergonomic and simpler to understand if they don't
have to hoist a bunch of code into the test harness init and exit
functions. Add some test managed wrappers for the clk APIs so that clk
unit tests can write more code in the actual test and less code in the
harness.
Only add AP
Introduce KUnit resource wrappers around platform_driver_register(),
platform_device_alloc(), and platform_device_add() so that test authors
can register platform drivers/devices from their tests and have the
drivers/devices automatically be unregistered when the test is done.
This makes test setu
Describe a binding for a device that consumes a fixed rate clk in DT so
that a KUnit test can get the clk registered by of_fixed_clk_setup() and
test that it is setup properly.
Cc: Rob Herring
Cc: Krzysztof Kozlowski
Cc: Brendan Higgins
Cc: David Gow
Signed-off-by: Stephen Boyd
---
.../kunit
This patch series adds unit tests for the clk fixed rate basic type and
the clk registration functions that use struct clk_parent_data. To get
there, we add support for loading a DTB into the UML kernel that's
running the unit tests along with probing platform drivers to bind to
device nodes specif
The pull request you sent on Wed, 1 Mar 2023 09:07:03 +0100 (CET):
> git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux.git
> tags/uml-for-linus-6.3-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/64e851689e441e66e001ae063d4536602f9f74cb
Thank you!
--
Deet-
On Sat, Feb 18, 2023 at 01:14:05PM -0800, Rick Edgecombe wrote:
The x86 Control-flow Enforcement Technology (CET) feature includes a new
type of memory called shadow stack. This shadow stack memory has some
unusual properties, which requires some core mm changes to function
properly.
One of thes
On 01.03.23 08:03, Christophe Leroy wrote:
Le 27/02/2023 à 23:29, Rick Edgecombe a écrit :
The x86 Control-flow Enforcement Technology (CET) feature includes a new
type of memory called shadow stack. This shadow stack memory has some
unusual properties, which requires some core mm changes to f
Linus,
The following changes since commit 2241ab53cbb5cdb08a6b2d4688feb13971058f65:
Linux 6.2-rc5 (2023-01-21 16:27:01 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux.git
tags/uml-for-linus-6.3-rc1
for you to fetch changes up to 04df9
13 matches
Mail list logo