On 03.04.24 13:47, Jan Beulich wrote:
On 03.04.2024 13:18, Juergen Gross wrote:
On 03.04.24 12:54, Oleksii wrote:
On Wed, 2024-04-03 at 12:28 +0200, Jan Beulich wrote:
On 03.04.2024 12:19, Oleksii Kurochko wrote:
This patch disables unnecessary configs for two cases:
1. By utilizing EXTRA_FIXED_RANDCONFIG for randconfig builds
(GitLab CI jobs).
2. By using tiny64_defconfig for non-randconfig builds.

Only configs which lead to compilation issues were disabled.

Signed-off-by: Oleksii Kurochko <oleksii.kuroc...@gmail.com>
---
Changes in V7:
   - Disable only configs which cause compilation issues.

Since the description doesn't go into details: While I can see that
PERF_COUNTERS and LIVEPATCH may require (a little / some more) extra
work, are HYPFS, ARGO, and XSM really causing issues?
For Argo, I recieved the following compilation errors:
     common/argo.c:1416:5: error: unknown type name 'p2m_type_t'; did you
     mean 'hvmmem_type_t'?
      1416 |     p2m_type_t p2mt;
           |     ^~~~~~~~~~
           |     hvmmem_type_t
     common/argo.c:1419:11: error: implicit declaration of function
     'check_get_page_from_gfn' [-Werror=implicit-function-declaration]
      1419 |     ret = check_get_page_from_gfn(d, gfn, false, &p2mt, &page);
           |           ^~~~~~~~~~~~~~~~~~~~~~~
     common/argo.c:1427:10: error: 'p2m_ram_rw' undeclared (first use in
     this function)
      1427 |     case p2m_ram_rw:
It seems it should be included xen/p2m-common.h and asm/p2m.h in
common/argo.c.

For CONFIG_HYPFS_CONFIG ( there is no issue with CONFIG_HYPFS,
overlooked that ):
     common/config_data.S:1:10: fatal error: asm/asm_defns.h: No such file
     or directory
         1 | #include <asm/asm_defns.h>

Hmm, this seems to be needed for ASM_INT(), which is currently defined the same
way for arm and x86. Maybe we should move that macro to xen/linkage.h and
include that one instead of asm_defns.h?

Indeed while doing the entry annotation work (also touching the build logic
here iirc) I was thinking of doing so.

Okay, I'm preparing a patch.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to