From patchwork Thu Jul 18 09:45:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 813163 Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp209291wro; Thu, 18 Jul 2024 02:48:07 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVZqstOoym5hXLg2Ms/uMHYCowwPlvPQo2MT7V+dQlaY7TQXxNhVQ603SVVrt9jLHBMKpOw9oRiJdt7TYgJbJTT X-Google-Smtp-Source: AGHT+IGDJ9D+XDt76pzD2sVOKfh3+2ScawV+D83x99YtzPg3RDblC22BWoUs4gm7LCKkDBEYm2b2 X-Received: by 2002:a05:6214:130c:b0:6b0:62bb:ab9a with SMTP id 6a1803df08f44-6b78ca81e5dmr60576076d6.19.1721296087049; Thu, 18 Jul 2024 02:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721296087; cv=none; d=google.com; s=arc-20160816; b=FzydBWmFWyvfEperTI9LQLwObeJ1dWQ5WpTJibmqHt5grEsgDr41Y0fPlRtj6f2S1k L8peoP6LteMGxXLCp+PU1gwLl1SETltHqsKbY1f2Dbn3GqQcArsnyq+PqFSh22ZWF7wh a+ewCdetOrnsoKrzoth5pdqF5/Vd75bjOml06/zKVLCJR4hruSGj5+1Kz7napVJ+WGH2 OfBqXwOgFfgsZT5w5RPjTspGbFylXNoZSDmQdH3ZZKk7Mir2N537DcFPFldBMaSGNRJi /jjEc9JjKORxjM57QvDn1zX7Lx9F1SYyU/tKiz9dPapFfqGMuosKz7MplzevggsHYmiu 8GBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=w/7VI3SrH+zYbARBw7BAZJVT4QrnBg3//kUdSkwSc88=; fh=sovPD4wkHfJ9bVr28Ru1bKGyprdwCzLBlH3OiEorkRE=; b=JTZhwRsFN0j5LN/RGHxuhma9riPZE6Lctuw/QgYQkIBG5Y/s0JuNEJHjVBz9vYj4/I VADOjV4XqhH5M79p4rdKvTb6jkohb1Xa+JqkhZpI+8CH1osruPQ1GXdyU0DhnQ3/iydu t0OGGSGz7J4HctOyEZkReeY1cgvG6GNHSjx3LOuo8VN+MthGZriJ5pqlFfQPeoJXTiGF bjqa6O4w6wLvZsmbou3AB1XIbF1qUJ0lBqBhaXQWJX134Q0QtmLDf/EG+GqahQhdEYz6 rmBJOXVBHZ01+8t4i6M5/vlg5E9GGhk6KUf6ibATpzxN6ygYVUcsALINFLvfngtMTIgL VIpA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="lvhCLR/k"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6b79c57b63esi15194506d6.44.2024.07.18.02.48.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jul 2024 02:48:07 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="lvhCLR/k"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUNhp-00048z-L6; Thu, 18 Jul 2024 05:45:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUNhl-0003pC-B4 for qemu-devel@nongnu.org; Thu, 18 Jul 2024 05:45:41 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sUNhg-0007fI-1i for qemu-devel@nongnu.org; Thu, 18 Jul 2024 05:45:41 -0400 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2eecb63de15so7914661fa.0 for ; Thu, 18 Jul 2024 02:45:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721295934; x=1721900734; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=w/7VI3SrH+zYbARBw7BAZJVT4QrnBg3//kUdSkwSc88=; b=lvhCLR/kr5rUecCPJAWbY3Y4wSN4I9Dw6jIxwj2mfokY4BgFH8jjMftF2q3DgNNqu8 qXvsANQXcEhx+V3X+LL/jdxcWwdSf1L0+kEnfle45uvsaaLgghktDZtpWCa2Ztzbt066 byJjLmlXKLu4CGIU2EEUbk++7lR87PtutAm69crsLOyO+299ChyOMgZj6W6D8oBZrJ4E ZtC/vlFhyFhKWX1oCnavhSaRPo9DCbukfd4irdhlYrUKHHZd0VsCN+iet7MxDD6uRETQ kUeMXIpwjHijsq7APK9RlAPZYuX5lDICNvYolZgxT/rkfvUZb5BnBznhYTRioiGKmPCq 3ILw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721295934; x=1721900734; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w/7VI3SrH+zYbARBw7BAZJVT4QrnBg3//kUdSkwSc88=; b=rdS6jyv1WAAehLCosg/w1PI6Nop3WZRHqpEQegge0OEYX1SXFHQlSqUS7z5XyYXQw1 2vb+4IZmP6rm2brIxXmYThHh9DHHhmb6HcJLnqr6kwPtkutw+UbI9Gz+7nFtLuApJi5g jQ8Jia+GCGE5+JWedLU9y6M79qe5N1QzN51P17tybPDAUuhGaUsgnPbd7/gJ767WOLzw TuXMMkPvCgC8gULufcUwLLoaoNA8P5sPJACz2q7wWXnk31OKG2Uyq4LJm0Z+UF0xkcKw 7YRckHbxjpVvoz/npOvNR9dNv9+0aI2E6b/EoiBBOUFxYmkNy6N1yHkciAmNhgsPea9w z0sA== X-Gm-Message-State: AOJu0Yy0+ZWgqO4qR956TZOiSYPcHQ58fuKabg0vBRGqYESMGT1HM+yP n+9li2hZOGwoQIVGyFbsBb9w848Wvry5K6ytzDjZ+QnRdEA5Ed/kw7F27St/1kM= X-Received: by 2002:a2e:9b54:0:b0:2ee:8d07:3d51 with SMTP id 38308e7fff4ca-2ef05d73becmr12317431fa.49.1721295933810; Thu, 18 Jul 2024 02:45:33 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-59b24a76f02sm8189084a12.2.2024.07.18.02.45.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 02:45:28 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 15DCD5FBD9; Thu, 18 Jul 2024 10:45:25 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Jiaxun Yang , Aurelien Jarno , Thomas Huth , Daniel Henrique Barboza , Alexandre Iooss , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , qemu-arm@nongnu.org, Bin Meng , qemu-riscv@nongnu.org, Aleksandar Rikalo , Pierrick Bouvier , Liu Zhiwei , Peter Maydell , Wainer dos Santos Moschetta , Palmer Dabbelt , Beraldo Leal , Li-Wen Hsu , Ed Maste , Richard Henderson , Weiwei Li , Alistair Francis , Max Filippov , Mahmoud Mandour , Paolo Bonzini , Laurent Vivier , Anton Johansson Subject: [PATCH 11/15] target/m68k: Restrict semihosting to TCG Date: Thu, 18 Jul 2024 10:45:19 +0100 Message-Id: <20240718094523.1198645-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240718094523.1198645-1-alex.bennee@linaro.org> References: <20240718094523.1198645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=alex.bennee@linaro.org; helo=mail-lj1-x230.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé The semihosting feature depends on TCG (due to the probe_access API access). Although TCG is the single accelerator currently available for the m68k target, use the Kconfig "imply" directive which is more correct (if we were to support a different accel). Reported-by: Anton Johansson Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20240717105723.58965-5-philmd@linaro.org> Signed-off-by: Alex Bennée --- target/m68k/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/m68k/Kconfig b/target/m68k/Kconfig index 9eae71486f..23aae24ebe 100644 --- a/target/m68k/Kconfig +++ b/target/m68k/Kconfig @@ -1,3 +1,3 @@ config M68K bool - select SEMIHOSTING + imply SEMIHOSTING if TCG