linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] kunit: qemu_configs: Add MIPS configurations
@ 2025-04-15  7:10 Thomas Weißschuh
  2025-04-15  7:10 ` [PATCH v3 1/2] MIPS: Don't crash in stack_top() for tasks without ABI or vDSO Thomas Weißschuh
  2025-04-15  7:10 ` [PATCH v3 2/2] kunit: qemu_configs: Add MIPS configurations Thomas Weißschuh
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Weißschuh @ 2025-04-15  7:10 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Brendan Higgins, David Gow, Rae Moar,
	Huacai Chen
  Cc: linux-mips, linux-kernel, linux-kselftest, kunit-dev,
	Thomas Weißschuh

Add basic support to run various MIPS variants via kunit_tool using the
virtualized malta platform.

Some of the cs_dsp unittests are broken. They are being disabled by default in
the series "Fix up building KUnit tests for Cirrus Logic modules" [0].

[0] https://lore.kernel.org/lkml/20250411123608.1676462-1-rf@opensource.cirrus.com/

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Changes in v3:
- Also skip VDSO_RANDOMIZE_SIZE adjustment for kthreads
- Link to v2: https://lore.kernel.org/r/20250414-kunit-mips-v2-0-4cf01e1a29e6@linutronix.de

Changes in v2:
- Fix usercopy kunit test by handling ABI-less tasks in stack_top()
- Drop change to mm initialization.
  The broken test is not built by default anymore.
- Link to v1: https://lore.kernel.org/r/20250212-kunit-mips-v1-0-eb49c9d76615@linutronix.de

---
Thomas Weißschuh (2):
      MIPS: Don't crash in stack_top() for tasks without ABI or vDSO
      kunit: qemu_configs: Add MIPS configurations

 arch/mips/kernel/process.c                   | 16 +++++++++-------
 tools/testing/kunit/qemu_configs/mips.py     | 18 ++++++++++++++++++
 tools/testing/kunit/qemu_configs/mips64.py   | 19 +++++++++++++++++++
 tools/testing/kunit/qemu_configs/mips64el.py | 19 +++++++++++++++++++
 tools/testing/kunit/qemu_configs/mipsel.py   | 18 ++++++++++++++++++
 5 files changed, 83 insertions(+), 7 deletions(-)
---
base-commit: 0466dc03fa779373afb807ce7496c404d98ace4b
change-id: 20241014-kunit-mips-e4fe1c265ed7

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh@linutronix.de>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-04-15  8:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15  7:10 [PATCH v3 0/2] kunit: qemu_configs: Add MIPS configurations Thomas Weißschuh
2025-04-15  7:10 ` [PATCH v3 1/2] MIPS: Don't crash in stack_top() for tasks without ABI or vDSO Thomas Weißschuh
2025-04-15  8:26   ` David Gow
2025-04-15  8:47   ` Huacai Chen
2025-04-15  8:57     ` Thomas Weißschuh
2025-04-15  7:10 ` [PATCH v3 2/2] kunit: qemu_configs: Add MIPS configurations Thomas Weißschuh
2025-04-15  8:26   ` David Gow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).