From patchwork Mon Jun 10 14:58:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 803008 Delivered-To: patch@linaro.org Received: by 2002:adf:f147:0:b0:35b:5a80:51b4 with SMTP id y7csp1984239wro; Mon, 10 Jun 2024 07:59:29 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUik+57Og++v5qG6UplkeF4xC67sID3EJKiWA3iZCr9XgUhS0MnRhybdzoQHeE3DJVlnrKoWiWKQqbuqJqh1pK5 X-Google-Smtp-Source: AGHT+IEIiu3ACjYdLdzv3KWJdySUlFaMvPMK2z1yN+nhmv7jrUWcgpb5zL/2+YOpU2UyYTKDYt+b X-Received: by 2002:a05:620a:191e:b0:795:53dd:d643 with SMTP id af79cd13be357-79553ddeaa3mr715556985a.51.1718031569001; Mon, 10 Jun 2024 07:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718031568; cv=none; d=google.com; s=arc-20160816; b=HCgPdToPvwSOS+DvRKzisWO0bb1EKfJe4JddfoL1lzm1mlzrhLAF6WYQS35rjxfZYP k/vcDSjUqj22mdSYsYOpvHkZ0ELf+RpecbY3Bg98sVvTB2uI9rLO+unZJNqT11ADNEDm 2IzU4vQgcdCbNowvoSqoB4exFuowZTO8ElxZL2EfNvdnBSV4Yl3OgIiGwj6GLfmRXytX ENr0eudcNPeeLxYD4Filr88S2dF0UwMellCuB8p1JFJAn3IYgGsHC/w9QPGU0iyZS9A1 VfPhtXanPxWSUDl2B9u4WZaRQWsEvdIYvDAnfJb0Dcd+D8D8Oq6g3wtSfdiMwoo3ZgW8 CXjg== 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=5U3x05a4v+4MAIH1ElGBtlNNkjkLnxPJovuCbksbMLE=; fh=vpjWIbDhIPuc3n1+BZUtQ9kIxE4zzGjcELo7keAGuQE=; b=lDxHVbF/3hoPV5WonJi8OQD1dR2n1y61y6IW3UwwjBNmhQDGdRNgcPI1trjh1WWa0R C5AgWuC28F8HAvyAxGLBDsKZMKKlD1ThtHrEBfxiQWRWQtyCxcWjRC+I5GS41IF8+oeL 6X5bbH/X0lkA02ppplE88bms0YnR2XQT0CQqnIwP7DRfzSzL2F3D1hyj0p16pxJUYstC o/rxqByP75xgnGg2V3crhgG1PGmkmsZsiti0qfpeI0g4tncqJAh1KUdeLlWSpvkQFIz3 TyrqXnter8r/YrAFOis8xgTDL3vI34JCNkCQ7rDkj9UyjrEBgTmjZhC6gHrvP/P/Tijy txoA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pmQ5N30b; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-79799512c7fsi143493085a.439.2024.06.10.07.59.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Jun 2024 07:59:28 -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=pmQ5N30b; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGgTW-00089N-15; Mon, 10 Jun 2024 10:58:22 -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 1sGgTU-00088y-NJ for qemu-devel@nongnu.org; Mon, 10 Jun 2024 10:58:20 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sGgTT-0004Ti-7b for qemu-devel@nongnu.org; Mon, 10 Jun 2024 10:58:20 -0400 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-57c68682d1aso2547850a12.3 for ; Mon, 10 Jun 2024 07:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718031497; x=1718636297; 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=5U3x05a4v+4MAIH1ElGBtlNNkjkLnxPJovuCbksbMLE=; b=pmQ5N30bpnjpHHqU7x20Ij8LsuPAjcZ+fyIu06yPUUUz8iBTCicnbwxXy7GjYZW1BV DimQcGsPJTAnHZ3rSvoBAe/mHmeogFFhzRyXBGXZPj9FJYS7UitA5bXRNpPK0KnJGc37 HSjqlyVZ8WNB6C6j+jTG9x+4rJ8Z5NjEtsmuQ4hnluwvZEBbyn38ZxPFEZNbrWd/qiVQ RaYfwdP65WYfSibU+O4Ikp7Ep8nl88oA6PCl4KOD4XUS5tQ+WrrGQHNzH2Wumh8FYDmL h5718rPlnjUGfCQd4F1MsKkvSRIcUQvTsPcxiCZYqJBl6zae15tA6Qsu2PUenILa4IpT j6IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718031497; x=1718636297; 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=5U3x05a4v+4MAIH1ElGBtlNNkjkLnxPJovuCbksbMLE=; b=AfC0fqJ8kx1YW6Z9MmOy4cBmwk+oJW5c4N5pJ0FBi+lX2nh/Y4H6d5NpChT5Q+y5Jm Dcai7Ad0vDfvTcS6AEnQZt3SCnLOeTQ2y1PD5q2d0qbZUah4r4SuVvYorsQ/m0PhOKZm suSDRdmBJMfTT7wrshGx6gM64Skfpd/PRf0ESeKBRjlGinuLihGuMj4po9wNs5NU3sbs t+/4loW/ZKhOaY+rL+/2MFG/1vUizjv/HvYNzfi1lc7YG+LXEsCqKMK+eA8Rqr7xPJyp CL3CR2una5bXyRr03M1Uqw4oHx0/2rE/GuHRY0owMdrLbXwiZqSP4nyUHv62gjnWm3fV zflw== X-Gm-Message-State: AOJu0YyZjCCd/bkfxH0i+Er5kTtHNLVictkOzelolMuNbUYiCv20o2jP Ly0aW9eIERj5vrydTu1FAF0n2Ku0xowDfNUJXZ9vuJUDgqqgAyWrWgeO6Oxrifsp+78rsCoWUf1 m X-Received: by 2002:a50:ccd1:0:b0:57c:6adf:1035 with SMTP id 4fb4d7f45d1cf-57c6adf12b1mr3365343a12.27.1718031497049; Mon, 10 Jun 2024 07:58:17 -0700 (PDT) Received: from m1x-phil.lan ([176.176.129.242]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57aae13fff4sm7739080a12.53.2024.06.10.07.58.15 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 10 Jun 2024 07:58:16 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= , Anton Johansson , Richard Henderson , Max Filippov , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v3 1/5] target/m68k: Restrict semihosting to TCG Date: Mon, 10 Jun 2024 16:58:03 +0200 Message-ID: <20240610145808.2267-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240610145808.2267-1-philmd@linaro.org> References: <20240610145808.2267-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=philmd@linaro.org; helo=mail-ed1-x536.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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 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é --- 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