From nobody Mon Apr 29 11:29:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=suse.de Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1631842291795248.74487006140657; Thu, 16 Sep 2021 18:31:31 -0700 (PDT) Received: from localhost ([::1]:58386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR2iw-0001Ua-FZ for importer@patchew.org; Thu, 16 Sep 2021 21:31:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR2go-0008TV-3q for qemu-devel@nongnu.org; Thu, 16 Sep 2021 21:29:18 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:60984) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR2gm-000273-8D for qemu-devel@nongnu.org; Thu, 16 Sep 2021 21:29:17 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 75A2F20255; Fri, 17 Sep 2021 01:29:14 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0013D13DEF; Fri, 17 Sep 2021 01:29:12 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id mNImLWjvQ2GsFgAAMHmgww (envelope-from ); Fri, 17 Sep 2021 01:29:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1631842154; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XRe8BotprcYmLgv2jEYrvMQEO2bkQ7SMvSpjBUVFwLo=; b=NaFVuy3vAAG3G399Jq8X1LGQ3uVuU2C67vbuw6laQqh1C6P4QXoso5l5a08tkc9s3EX/Uv hkSCICqwP2dABwKzBu6wdsLkTd4Nitk5kQ537Y3fClev2MikZ5E3n46DmtWCvWwPe6UEXu 1c+AdtNr2HA7u539UMm1HGBT9zpVi2o= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1631842154; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XRe8BotprcYmLgv2jEYrvMQEO2bkQ7SMvSpjBUVFwLo=; b=WQ2pv5g9mc4BicyM+p1x0Nv9r9os29jw4GFX1MTKmm0XIOyznpt/YZrP4ldpeARyc+MO4w tj1OmhQJXZ4QKFBw== From: "Jose R. Ziviani" To: qemu-devel@nongnu.org Subject: [PATCH 1/2] meson: introduce modules_arch Date: Thu, 16 Sep 2021 22:29:03 -0300 Message-Id: <20210917012904.26544-2-jziviani@suse.de> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210917012904.26544-1-jziviani@suse.de> References: <20210917012904.26544-1-jziviani@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=195.135.220.29; envelope-from=jziviani@suse.de; helo=smtp-out2.suse.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, kraxel@redhat.com, "Jose R. Ziviani" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (found 2 invalid signatures) X-ZM-MESSAGEID: 1631842294568100002 Content-Type: text/plain; charset="utf-8" This variable keeps track of all modules enabled for a target architecture. This will be used in modinfo to refine the architectures that can really load the .so to avoid errors. Signed-off-by: Jose R. Ziviani --- hw/display/meson.build | 48 ++++++++++++++++++++++++++++++++++++++++++ hw/usb/meson.build | 36 +++++++++++++++++++++++++++++++ meson.build | 1 + 3 files changed, 85 insertions(+) diff --git a/hw/display/meson.build b/hw/display/meson.build index 861c43ff98..ba06f58ff1 100644 --- a/hw/display/meson.build +++ b/hw/display/meson.build @@ -43,6 +43,18 @@ if config_all_devices.has_key('CONFIG_QXL') qxl_ss.add(when: 'CONFIG_QXL', if_true: [files('qxl.c', 'qxl-logger.c', = 'qxl-render.c'), pixman, spice]) hw_display_modules +=3D {'qxl': qxl_ss} + + archs =3D [] + foreach target: target_dirs + if target.endswith('-softmmu') + cfg_target =3D config_target_mak[target] + if cfg_target.has_key('CONFIG_QXL') and cfg_target['CONFIG_QXL'] =3D= =3D 'y' + archs +=3D [cfg_target['TARGET_NAME']] + endif + endif + endforeach + + modules_arch +=3D {'qxl': archs} endif =20 softmmu_ss.add(when: 'CONFIG_DPCD', if_true: files('dpcd.c')) @@ -65,6 +77,18 @@ if config_all_devices.has_key('CONFIG_VIRTIO_GPU') virtio_gpu_gl_ss.add(when: ['CONFIG_VIRTIO_GPU', virgl, opengl], if_true: [files('virtio-gpu-gl.c', 'virtio-gpu-virg= l.c'), pixman, virgl]) hw_display_modules +=3D {'virtio-gpu-gl': virtio_gpu_gl_ss} + + archs =3D [] + foreach target: target_dirs + if target.endswith('-softmmu') + cfg_target =3D config_target_mak[target] + if cfg_target.has_key('CONFIG_VIRTIO_GPU') and cfg_target['CONFIG_VI= RTIO_GPU'] =3D=3D 'y' + archs +=3D [cfg_target['TARGET_NAME']] + endif + endif + endforeach + + modules_arch +=3D {'virtio-gpu': archs, 'virtio-gpu-gl': archs} endif =20 if config_all_devices.has_key('CONFIG_VIRTIO_PCI') @@ -79,6 +103,18 @@ if config_all_devices.has_key('CONFIG_VIRTIO_PCI') virtio_gpu_pci_gl_ss.add(when: ['CONFIG_VIRTIO_GPU', 'CONFIG_VIRTIO_PCI'= , virgl, opengl], if_true: [files('virtio-gpu-pci-gl.c'), pixman]) hw_display_modules +=3D {'virtio-gpu-pci-gl': virtio_gpu_pci_gl_ss} + + archs =3D [] + foreach target: target_dirs + if target.endswith('-softmmu') + cfg_target =3D config_target_mak[target] + if cfg_target.has_key('CONFIG_VIRTIO_PCI') and cfg_target['CONFIG_VI= RTIO_PCI'] =3D=3D 'y' + archs +=3D [cfg_target['TARGET_NAME']] + endif + endif + endforeach + + modules_arch +=3D {'virtio-gpu-pci': archs, 'virtio-gpu-pci-gl': archs} endif =20 if config_all_devices.has_key('CONFIG_VIRTIO_VGA') @@ -93,6 +129,18 @@ if config_all_devices.has_key('CONFIG_VIRTIO_VGA') virtio_vga_gl_ss.add(when: ['CONFIG_VIRTIO_VGA', virgl, opengl], if_true: [files('virtio-vga-gl.c'), pixman]) hw_display_modules +=3D {'virtio-vga-gl': virtio_vga_gl_ss} + + archs =3D [] + foreach target: target_dirs + if target.endswith('-softmmu') + cfg_target =3D config_target_mak[target] + if cfg_target.has_key('CONFIG_VIRTIO_VGA') and cfg_target['CONFIG_VI= RTIO_VGA'] =3D=3D 'y' + archs +=3D [cfg_target['TARGET_NAME']] + endif + endif + endforeach + + modules_arch +=3D {'virtio-vga': archs, 'virtio-vga-gl': archs} endif =20 specific_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_lcdc.c')) diff --git a/hw/usb/meson.build b/hw/usb/meson.build index de853d780d..6b889d2ee2 100644 --- a/hw/usb/meson.build +++ b/hw/usb/meson.build @@ -54,6 +54,18 @@ if cacard.found() usbsmartcard_ss.add(when: 'CONFIG_USB_SMARTCARD', if_true: [cacard, files('ccid-card-emulated.c', 'cci= d-card-passthru.c')]) hw_usb_modules +=3D {'smartcard': usbsmartcard_ss} + + archs =3D [] + foreach target: target_dirs + if target.endswith('-softmmu') + cfg_target =3D config_target_mak[target] + if cfg_target.has_key('CONFIG_USB_SMARTCARD') and cfg_target['CONFIG= _USB_SMARTCARD'] =3D=3D 'y' + archs +=3D [cfg_target['TARGET_NAME']] + endif + endif + endforeach + + modules_arch +=3D {'smartcard': archs} endif =20 # U2F @@ -69,6 +81,18 @@ if usbredir.found() usbredir_ss.add(when: 'CONFIG_USB', if_true: [usbredir, files('redirect.c', 'quirks.c')]) hw_usb_modules +=3D {'redirect': usbredir_ss} + + archs =3D [] + foreach target: target_dirs + if target.endswith('-softmmu') + cfg_target =3D config_target_mak[target] + if cfg_target.has_key('CONFIG_USB') and cfg_target['CONFIG_USB'] =3D= =3D 'y' + archs +=3D [cfg_target['TARGET_NAME']] + endif + endif + endforeach + + modules_arch +=3D {'redirect': archs} endif =20 # usb pass-through @@ -77,6 +101,18 @@ if libusb.found() usbhost_ss.add(when: ['CONFIG_USB', libusb], if_true: files('host-libusb.c')) hw_usb_modules +=3D {'host': usbhost_ss} + + archs =3D [] + foreach target: target_dirs + if target.endswith('-softmmu') + cfg_target =3D config_target_mak[target] + if cfg_target.has_key('CONFIG_USB') and cfg_target['CONFIG_USB'] =3D= =3D 'y' + archs +=3D [cfg_target['TARGET_NAME']] + endif + endif + endforeach + + modules_arch +=3D {'host': archs} endif =20 softmmu_ss.add(when: ['CONFIG_USB', 'CONFIG_XEN', libusb], if_true: files(= 'xen-usb.c')) diff --git a/meson.build b/meson.build index 2711cbb789..d1d3fd84ec 100644 --- a/meson.build +++ b/meson.build @@ -2071,6 +2071,7 @@ tcg_module_ss =3D ss.source_set() =20 modules =3D {} target_modules =3D {} +modules_arch =3D {} hw_arch =3D {} target_arch =3D {} target_softmmu_arch =3D {} --=20 2.33.0 From nobody Mon Apr 29 11:29:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=suse.de Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1631842423360296.6573164410702; Thu, 16 Sep 2021 18:33:43 -0700 (PDT) Received: from localhost ([::1]:33420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR2l4-0003v4-EF for importer@patchew.org; Thu, 16 Sep 2021 21:33:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR2gp-0008UF-B7 for qemu-devel@nongnu.org; Thu, 16 Sep 2021 21:29:19 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:60996) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR2gn-00028q-I0 for qemu-devel@nongnu.org; Thu, 16 Sep 2021 21:29:19 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 6B71420254; Fri, 17 Sep 2021 01:29:16 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id E9D6213DEF; Fri, 17 Sep 2021 01:29:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id EPCYKmrvQ2GsFgAAMHmgww (envelope-from ); Fri, 17 Sep 2021 01:29:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1631842156; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AIDmPLiCUGSEbOY6P1kZf8ttCJM80BMchcTHMSif23c=; b=bbbx9h9sagg/C9Ge+XogzTr5MWUoOBPsnMHKHG3AY6XroFcusMoPVBigEOS3aXs5xPXLMu UpafQ3zwsc2TD+SSxvYrzgmw7AJnPI0sX1ivSq141Qe0YeueEGkNGIKAqdCZLetqI2ABm9 izK9H63IZspGKOITw0mAboqmNKYO4t0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1631842156; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AIDmPLiCUGSEbOY6P1kZf8ttCJM80BMchcTHMSif23c=; b=bRJ8rIPenl4LJpIMQjZXh3vfKuQhoHZTFjAKAQXovezmg+DRLkAbUJhVJJbYG9Y/Hw81te R7nY4hMJDBXFoqBg== From: "Jose R. Ziviani" To: qemu-devel@nongnu.org Subject: [PATCH 2/2] modules: use a list of supported arch for each module Date: Thu, 16 Sep 2021 22:29:04 -0300 Message-Id: <20210917012904.26544-3-jziviani@suse.de> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210917012904.26544-1-jziviani@suse.de> References: <20210917012904.26544-1-jziviani@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=195.135.220.29; envelope-from=jziviani@suse.de; helo=smtp-out2.suse.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, kraxel@redhat.com, "Jose R. Ziviani" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (found 2 invalid signatures) X-ZM-MESSAGEID: 1631842424862100001 Content-Type: text/plain; charset="utf-8" When compiling QEMU with more than one target, for instance, --target-list=3Ds390x-softmmu,x86_64-softmmu, modinfo.c will be filled with modules available for both, with no specification of what modules can/cannot be loaded for a particular target. This will cause message errors when executing the target that shouldn't be loading that module, such as: $ qemu-system-s390x -nodefaults -display none -accel qtest -M none -device = help Failed to open module: /.../hw-display-virtio-vga.so: undefined symbol: vms= tate_vga_common This patch changes the module infrastructure to use a list of architectures, obtained during the build time, to specify what targets can load each module. Signed-off-by: Jose R. Ziviani --- include/qemu/module.h | 2 +- meson.build | 18 +++++++++++++----- scripts/modinfo-collect.py | 10 ++++++++++ scripts/modinfo-generate.py | 7 +++---- util/module.c | 18 +++++++++++++----- 5 files changed, 40 insertions(+), 15 deletions(-) diff --git a/include/qemu/module.h b/include/qemu/module.h index 3deac0078b..3b487c646c 100644 --- a/include/qemu/module.h +++ b/include/qemu/module.h @@ -144,7 +144,7 @@ void module_allow_arch(const char *arch); typedef struct QemuModinfo QemuModinfo; struct QemuModinfo { const char *name; - const char *arch; + const char **archs; const char **objs; const char **deps; const char **opts; diff --git a/meson.build b/meson.build index d1d3fd84ec..efba275092 100644 --- a/meson.build +++ b/meson.build @@ -2343,11 +2343,19 @@ foreach d, list : modules # unique when it comes to lookup in compile_commands.json. # Depnds on a mesion version with # https://github.com/mesonbuild/meson/pull/8900 - modinfo_files +=3D custom_target(d + '-' + m + '.modinfo', - output: d + '-' + m + '.modinfo', - input: module_ss.sources() + genh, - capture: true, - command: [modinfo_collect, module_s= s.sources()]) + if modules_arch.has_key(m) + modinfo_files +=3D custom_target(d + '-' + m + '.modinfo', + output: d + '-' + m + '.modinfo', + input: module_ss.sources() + genh, + capture: true, + command: [modinfo_collect, module_= ss.sources(), '--archs', modules_arch[m]]) + else + modinfo_files +=3D custom_target(d + '-' + m + '.modinfo', + output: d + '-' + m + '.modinfo', + input: module_ss.sources() + genh, + capture: true, + command: [modinfo_collect, module_= ss.sources()]) + endif endif else if d =3D=3D 'block' diff --git a/scripts/modinfo-collect.py b/scripts/modinfo-collect.py index 4acb188c3e..739cd23e2f 100755 --- a/scripts/modinfo-collect.py +++ b/scripts/modinfo-collect.py @@ -50,6 +50,16 @@ def main(args): print("MODINFO_START arch \"%s\" MODINFO_END" % arch) with open('compile_commands.json') as f: compile_commands =3D json.load(f) + + try: + arch_idx =3D args.index('--archs') + archs =3D args[arch_idx + 1:] + args =3D args[:arch_idx] + for arch in archs: + print("MODINFO_START arch \"%s\" MODINFO_END" % arch) + except ValueError: + pass + for src in args: print("MODINFO_DEBUG src %s" % src) command =3D find_command(src, target, compile_commands) diff --git a/scripts/modinfo-generate.py b/scripts/modinfo-generate.py index f559eed007..e1d13acd92 100755 --- a/scripts/modinfo-generate.py +++ b/scripts/modinfo-generate.py @@ -33,7 +33,7 @@ def parse_line(line): return (kind, data) =20 def generate(name, lines): - arch =3D "" + archs =3D [] objs =3D [] deps =3D [] opts =3D [] @@ -47,14 +47,13 @@ def generate(name, lines): elif kind =3D=3D 'opts': opts.append(data) elif kind =3D=3D 'arch': - arch =3D data; + archs.append(data); else: print("unknown:", kind) exit(1) =20 print(" .name =3D \"%s\"," % name) - if arch !=3D "": - print(" .arch =3D %s," % arch) + print_array("archs", archs) print_array("objs", objs) print_array("deps", deps) print_array("opts", opts) diff --git a/util/module.c b/util/module.c index 6bb4ad915a..7009143bfc 100644 --- a/util/module.c +++ b/util/module.c @@ -131,16 +131,24 @@ void module_allow_arch(const char *arch) =20 static bool module_check_arch(const QemuModinfo *modinfo) { - if (modinfo->arch) { + const char **arch; + + if (modinfo->archs) { if (!module_arch) { /* no arch set -> ignore all */ return false; } - if (strcmp(module_arch, modinfo->arch) !=3D 0) { - /* mismatch */ - return false; + + for (arch =3D modinfo->archs; *arch !=3D NULL; arch++) { + if (strcmp(module_arch, *arch) =3D=3D 0) { + return true; + } } + + /* mismatch */ + return false; } + return true; } =20 @@ -245,7 +253,7 @@ bool module_load_one(const char *prefix, const char *li= b_name, bool mayfail) g_hash_table_add(loaded_modules, module_name); =20 for (modinfo =3D module_info; modinfo->name !=3D NULL; modinfo++) { - if (modinfo->arch) { + if (modinfo->archs) { if (strcmp(modinfo->name, module_name) =3D=3D 0) { if (!module_check_arch(modinfo)) { return false; --=20 2.33.0