From nobody Tue Nov 18 19:49:20 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.52 as permitted sender) client-ip=209.85.221.52; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f52.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.52 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1612091669; cv=none; d=zohomail.com; s=zohoarc; b=AKiq53+m/9rlD1OltQtQDElwS+c+szyDCxVt2zuVufWXH0bJEhRZ0SDFnw78wgx6D1TF0VN1tu/AUx4k2HP0apZK0SxCZ60z+GqFkT95GpHobeA9FxSzwA+1X75vItakc7+dLJqw5MyskyujQlXRl9H35uxGTHf54qmfcgQaDVs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612091669; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=G4MEjoHCumEr6ZmgdVDdQeeb4uA9ELO8JMQqAxzVyEA=; b=ExNA1JPSE/s4NHDLkRQAZPFy6XY4seJrtGnKYUKQZ7wKhNNdBhQ/9bKeVOQddZwuB4qPBShGdzKmkKsv6eMSWrYE1lE6lVcbGCkR/wK853AhgkAGB4Q1WTULNfkECC/zVctenZ8lEWAIR+yl0J6MP7B+CCOGKYpW0DSvPt0fE2A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.52 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mx.zohomail.com with SMTPS id 1612091669743719.8644272147925; Sun, 31 Jan 2021 03:14:29 -0800 (PST) Received: by mail-wr1-f52.google.com with SMTP id p15so13411071wrq.8 for ; Sun, 31 Jan 2021 03:14:27 -0800 (PST) Return-Path: Return-Path: Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id 36sm23685585wrj.97.2021.01.31.03.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 03:14:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=G4MEjoHCumEr6ZmgdVDdQeeb4uA9ELO8JMQqAxzVyEA=; b=kGMjQPgg+PuwWLXGyfFpAH63DQkfaoEntKmcDz1/HZ9D/AtSihntOewrXVzp7HFMPn FkoHU+MLckF0Mbzyocu5SZqX+nDDx2bn4b1AKSWcAs9tmxWmoA36iMin6KW+E1QhmA7R Wnh2f8X5qRZ+R+KHroUdSn+8wJoL2v4Ku33SP2lMN37u6T+KWIOdR0Cwus3wEKO746jR RM4GWWLBT/DrZlNHWoVUqMFzu9ZkEmlX/CEkHQltWE/jRPJjcHnN5Vxe6tDdSe4vmYpV S9Yu/uB8iH3boeEwvSLm4lLnBzSmoXvAO90kaD3drrLDEU56y4FHpyHwUN5BIdKSEYzh UbcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=G4MEjoHCumEr6ZmgdVDdQeeb4uA9ELO8JMQqAxzVyEA=; b=SaB5egfqIlnQEocPqnEvlFJ9pQV50o+OXKRh/qtoWSaNrvuSSx/N12Bg7NKIx1H/4+ SZ0UaoIMV2C2eJ6RFYz4zchKpB2DzBu2No/fIDFJ0JTSqBaJug1NRef4khLdCwDbDaRZ ULpY7PEsD7ohoTaGTV4iAjS1AAW6HoiffToQSfRu6Ru+T9WlbaNY/uzsiCmrcFW6KA0D fVxIb8bhQf1tmdHavwg0VJpsaRJkUxrcriPd7uAqRw2mzFeaty2xggI7XQsyEblNgm50 qkyMACsG3wJcjLCvXdsfC/kihB4LPBrPwV1O+DBArj+SvxWWYrmNdZrmYJSZjR4RxBMV KrBQ== X-Gm-Message-State: AOAM530CLCVXGzVlvEr9E7nX75Imt7ohqOciSardPDF3Xnm/pHRGi3Qf 3lC6H5C8ejTmqcfNRzfLEXA= X-Google-Smtp-Source: ABdhPJzivnxdg4uwYTO9s34IycaEKC0liscUg/7SHIKGsTpDu0hLg9F4T5rLfBlKWXqlg0yGSirx9g== X-Received: by 2002:a5d:6847:: with SMTP id o7mr13249603wrw.216.1612091666004; Sun, 31 Jan 2021 03:14:26 -0800 (PST) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= Cc: Sarah Harris , Max Filippov , qemu-block@nongnu.org, "Michael S. Tsirkin" , Eduardo Habkost , Laurent Vivier , Yoshinori Sato , qemu-s390x@nongnu.org, Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anthony Green , Kevin Wolf , Max Reitz , Chris Wulff , Guan Xuetao , qemu-riscv@nongnu.org, David Hildenbrand , qemu-arm@nongnu.org, Marcel Apfelbaum , Mark Cave-Ayland , Michael Walle , Greg Kurz , qemu-ppc@nongnu.org, Peter Maydell , Stafford Horne , Cornelia Huck , Marek Vasut , Aleksandar Rikalo , Sagar Karandikar , Bastian Koppelmann , Jiaxun Yang , "Edgar E. Iglesias" , Thomas Huth , Artyom Tarasenko , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Palmer Dabbelt , Michael Rolnik , Aurelien Jarno , Alistair Francis , David Gibson Subject: [PATCH 10/10] target: Move SEMIHOSTING feature to target Kconfig Date: Sun, 31 Jan 2021 12:13:16 +0100 Message-Id: <20210131111316.232778-11-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131111316.232778-1-f4bug@amsat.org> References: <20210131111316.232778-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) SEMIHOSTING is an architecture feature, move its declaration to each target/ARCH/. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- default-configs/devices/lm32-softmmu.mak | 2 -- default-configs/devices/m68k-softmmu.mak | 2 -- default-configs/devices/mips-softmmu-common.mak | 3 --- default-configs/devices/nios2-softmmu.mak | 2 -- default-configs/devices/unicore32-softmmu.mak | 1 - default-configs/devices/xtensa-softmmu.mak | 2 -- target/lm32/Kconfig | 1 + target/m68k/Kconfig | 1 + target/mips/Kconfig | 1 + target/nios2/Kconfig | 1 + target/unicore32/Kconfig | 1 + target/xtensa/Kconfig | 1 + 12 files changed, 6 insertions(+), 12 deletions(-) diff --git a/default-configs/devices/lm32-softmmu.mak b/default-configs/dev= ices/lm32-softmmu.mak index 1bce3f6e8b6..1f69795b749 100644 --- a/default-configs/devices/lm32-softmmu.mak +++ b/default-configs/devices/lm32-softmmu.mak @@ -4,8 +4,6 @@ # #CONFIG_MILKYMIST_TMU2=3Dn # disabling it actually causes compile-t= ime failures =20 -CONFIG_SEMIHOSTING=3Dy - # Boards: # CONFIG_LM32_EVR=3Dy diff --git a/default-configs/devices/m68k-softmmu.mak b/default-configs/dev= ices/m68k-softmmu.mak index 6629fd2aa33..4fef4bd731d 100644 --- a/default-configs/devices/m68k-softmmu.mak +++ b/default-configs/devices/m68k-softmmu.mak @@ -1,7 +1,5 @@ # Default configuration for m68k-softmmu =20 -CONFIG_SEMIHOSTING=3Dy - # Boards: # CONFIG_AN5206=3Dy diff --git a/default-configs/devices/mips-softmmu-common.mak b/default-conf= igs/devices/mips-softmmu-common.mak index ea78fe72759..af652ec7bdd 100644 --- a/default-configs/devices/mips-softmmu-common.mak +++ b/default-configs/devices/mips-softmmu-common.mak @@ -1,8 +1,5 @@ # Common mips*-softmmu CONFIG defines =20 -# CONFIG_SEMIHOSTING is always required on this architecture -CONFIG_SEMIHOSTING=3Dy - CONFIG_ISA_BUS=3Dy CONFIG_PCI=3Dy CONFIG_PCI_DEVICES=3Dy diff --git a/default-configs/devices/nios2-softmmu.mak b/default-configs/de= vices/nios2-softmmu.mak index 1bc4082ea99..e130d024e62 100644 --- a/default-configs/devices/nios2-softmmu.mak +++ b/default-configs/devices/nios2-softmmu.mak @@ -1,7 +1,5 @@ # Default configuration for nios2-softmmu =20 -CONFIG_SEMIHOSTING=3Dy - # Boards: # CONFIG_NIOS2_10M50=3Dy diff --git a/default-configs/devices/unicore32-softmmu.mak b/default-config= s/devices/unicore32-softmmu.mak index 899288e3d71..0bfce48c6da 100644 --- a/default-configs/devices/unicore32-softmmu.mak +++ b/default-configs/devices/unicore32-softmmu.mak @@ -3,4 +3,3 @@ # Boards: # CONFIG_PUV3=3Dy -CONFIG_SEMIHOSTING=3Dy diff --git a/default-configs/devices/xtensa-softmmu.mak b/default-configs/d= evices/xtensa-softmmu.mak index 4fe1bf00c94..49e4c9da88c 100644 --- a/default-configs/devices/xtensa-softmmu.mak +++ b/default-configs/devices/xtensa-softmmu.mak @@ -1,7 +1,5 @@ # Default configuration for Xtensa =20 -CONFIG_SEMIHOSTING=3Dy - # Boards: # CONFIG_XTENSA_SIM=3Dy diff --git a/target/lm32/Kconfig b/target/lm32/Kconfig index 09de5b703a3..286710fd47b 100644 --- a/target/lm32/Kconfig +++ b/target/lm32/Kconfig @@ -1,2 +1,3 @@ config LM32 bool + select SEMIHOSTING diff --git a/target/m68k/Kconfig b/target/m68k/Kconfig index 23debad519a..9eae71486ff 100644 --- a/target/m68k/Kconfig +++ b/target/m68k/Kconfig @@ -1,2 +1,3 @@ config M68K bool + select SEMIHOSTING diff --git a/target/mips/Kconfig b/target/mips/Kconfig index 6adf1453548..eb19c94c7d4 100644 --- a/target/mips/Kconfig +++ b/target/mips/Kconfig @@ -1,5 +1,6 @@ config MIPS bool + select SEMIHOSTING =20 config MIPS64 bool diff --git a/target/nios2/Kconfig b/target/nios2/Kconfig index 1529ab8950d..c65550c861a 100644 --- a/target/nios2/Kconfig +++ b/target/nios2/Kconfig @@ -1,2 +1,3 @@ config NIOS2 bool + select SEMIHOSTING diff --git a/target/unicore32/Kconfig b/target/unicore32/Kconfig index 62c9d10b38f..c699d5238ea 100644 --- a/target/unicore32/Kconfig +++ b/target/unicore32/Kconfig @@ -1,2 +1,3 @@ config UNICORE32 bool + select SEMIHOSTING diff --git a/target/xtensa/Kconfig b/target/xtensa/Kconfig index a3c8dc7f6d7..5e46049262d 100644 --- a/target/xtensa/Kconfig +++ b/target/xtensa/Kconfig @@ -1,2 +1,3 @@ config XTENSA bool + select SEMIHOSTING --=20 2.26.2