Linux Kernel Selftest development
 help / color / mirror / Atom feed
* Error during --arch x86_64 kunit test run
@ 2025-03-12 21:14 Shuah Khan
  2025-03-12 22:52 ` David Gow
  0 siblings, 1 reply; 5+ messages in thread
From: Shuah Khan @ 2025-03-12 21:14 UTC (permalink / raw)
  To: David Gow, Brendan Higgins, Rae Moar
  Cc: linux-kselftest, linux-kernel, Shuah Khan

David, Brendan, Rae,

I am seeing the following error when I run

./tools/testing/kunit/kunit.py run --arch x86_64

ERROR:root:ld:arch/x86/realmode/rm/realmode.lds:236: undefined symbol `sev_es_trampoline_start' referenced in expression

I isolated it to dependency on CONFIG_AMD_MEM_ENCRYPT

I added the option using --kconfig_add

./tools/testing/kunit/kunit.py run --arch x86_64 --kconfig_add CONFIG_AMD_MEM_ENCRYPT=y

I see the following

RROR:root:Not all Kconfig options selected in kunitconfig were in the generated .config.
This is probably due to unsatisfied dependencies.
Missing: CONFIG_AMD_MEM_ENCRYPT=y

Is there a better way to fix the dependencies? Does kunit default config
need changing for x86_64?

thanks,
-- Shuah

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

end of thread, other threads:[~2025-03-13 20:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-12 21:14 Error during --arch x86_64 kunit test run Shuah Khan
2025-03-12 22:52 ` David Gow
2025-03-12 23:51   ` Shuah Khan
2025-03-13  2:21     ` David Gow
2025-03-13 20:19       ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox