From nobody Thu Apr 25 16:56:28 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C27DC43217 for ; Thu, 24 Nov 2022 15:20:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230121AbiKXPT7 (ORCPT ); Thu, 24 Nov 2022 10:19:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbiKXPTH (ORCPT ); Thu, 24 Nov 2022 10:19:07 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4908E16FB01 for ; Thu, 24 Nov 2022 07:16:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669302993; h=from:from:reply-to:subject:subject: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=EX0J0sgPn3/VZ/zS9HOQelAJB+dUZIbAy2+CqEVbXFE=; b=SE8+o1eWKTEthGDfI8cEkyaK9bb/Ubg2go9XbOUjULyrYabOImHSm6ZehSK9/yYbAVY1xJ e2YS3q3rZ4zdAwgBsBXFVf4OJ5bJhpE4+ofuTI8+YqcEd9iLZspKRSRNFatEGFJKoeiEc9 atgEAP0KEptiu3/XtZdty/mhS2+xvqU= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-518-6XjPAMALPxCvtgClpPRx1Q-1; Thu, 24 Nov 2022 10:16:30 -0500 X-MC-Unique: 6XjPAMALPxCvtgClpPRx1Q-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B6B801C05B0E; Thu, 24 Nov 2022 15:16:29 +0000 (UTC) Received: from plouf.redhat.com (unknown [10.39.193.200]) by smtp.corp.redhat.com (Postfix) with ESMTP id 01A3B40C2064; Thu, 24 Nov 2022 15:16:27 +0000 (UTC) From: Benjamin Tissoires To: Greg KH , Jiri Kosina , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Dmitry Torokhov Cc: Tero Kristo , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, Benjamin Tissoires Subject: [RFC hid v1 10/10] wip: vmtest aarch64 Date: Thu, 24 Nov 2022 16:16:03 +0100 Message-Id: <20221124151603.807536-11-benjamin.tissoires@redhat.com> In-Reply-To: <20221124151603.807536-1-benjamin.tissoires@redhat.com> References: <20221124151603.807536-1-benjamin.tissoires@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" untested Signed-off-by: Benjamin Tissoires --- tools/testing/selftests/hid/config.aarch64 | 39 ++++++++++++++++++++++ tools/testing/selftests/hid/vmtest.sh | 6 +++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 tools/testing/selftests/hid/config.aarch64 diff --git a/tools/testing/selftests/hid/config.aarch64 b/tools/testing/sel= ftests/hid/config.aarch64 new file mode 100644 index 000000000000..76581bc6395b --- /dev/null +++ b/tools/testing/selftests/hid/config.aarch64 @@ -0,0 +1,39 @@ +# EFI +CONFIG_EFI_PARAMS_FROM_FDT=3Dy +CONFIG_EFI_GENERIC_STUB=3Dy +CONFIG_EFI_ARMSTUB_DTB_LOADER=3Dy + +# Disable unsupported AARCH64 platforms +CONFIG_ARCH_ACTIONS=3Dn +CONFIG_ARCH_SUNXI=3Dn +CONFIG_ARCH_ALPINE=3Dn +CONFIG_ARCH_APPLE=3Dn +CONFIG_ARCH_BERLIN=3Dn +CONFIG_ARCH_EXYNOS=3Dn +CONFIG_ARCH_K3=3Dn +CONFIG_ARCH_LAYERSCAPE=3Dn +CONFIG_ARCH_LG1K=3Dn +CONFIG_ARCH_HISI=3Dn +CONFIG_ARCH_KEEMBAY=3Dn +CONFIG_ARCH_MEDIATEK=3Dn +CONFIG_ARCH_MESON=3Dn +CONFIG_ARCH_MVEBU=3Dn +CONFIG_ARCH_MXC=3Dn +CONFIG_ARCH_QCOM=3Dn +CONFIG_ARCH_RENESAS=3Dn +CONFIG_ARCH_S32=3Dn +CONFIG_ARCH_SEATTLE=3Dn +CONFIG_ARCH_INTEL_SOCFPGA=3Dn +CONFIG_ARCH_SYNQUACER=3Dn +CONFIG_ARCH_TEGRA=3Dn +CONFIG_ARCH_TESLA_FSD=3Dn +CONFIG_ARCH_SPRD=3Dn +CONFIG_ARCH_THUNDER=3Dn +CONFIG_ARCH_THUNDER2=3Dn +CONFIG_ARCH_UNIPHIER=3Dn +CONFIG_ARCH_VEXPRESS=3Dn +CONFIG_ARCH_VISCONTI=3Dn +CONFIG_ARCH_XGENE=3Dn +CONFIG_ARCH_ZYNQMP=3Dn + +CONFIG_NET_VENDOR_MELLANOX=3Dn diff --git a/tools/testing/selftests/hid/vmtest.sh b/tools/testing/selftest= s/hid/vmtest.sh index bd60f65acb72..d9e4a4c0557a 100755 --- a/tools/testing/selftests/hid/vmtest.sh +++ b/tools/testing/selftests/hid/vmtest.sh @@ -4,9 +4,13 @@ set -u set -e =20 -# This script currently only works for x86_64 +# This script currently only works for x86_64 and aarch64. ARCH=3D"$(uname -m)" case "${ARCH}" in +aarch64) + QEMU_BINARY=3Dqemu-system-aarch64 + BZIMAGE=3D"arch/aarch64/boot/bzImage" + ;; x86_64) QEMU_BINARY=3Dqemu-system-x86_64 BZIMAGE=3D"arch/x86/boot/bzImage" --=20 2.38.1