From patchwork Mon Jul 22 11:04:08 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: 813710 Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp1811397wro; Mon, 22 Jul 2024 04:06:04 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUbchjraT5+DU3NeIV+PyteavqkZfhTTc0zYWh0kt1sBdacQzNwfpJsPMTATpsq44PJMfzw5MIqnZZUQYbRiYcR X-Google-Smtp-Source: AGHT+IEeJsLtoiXFOhf3xG2hCeuBauP2a3AYEtvFpfS2TKn9koyH5Z++YFkFdCTO/PBLa+cwTyP7 X-Received: by 2002:a05:6214:19ed:b0:6b7:8edd:410f with SMTP id 6a1803df08f44-6b95a5b3c26mr104438376d6.8.1721646363723; Mon, 22 Jul 2024 04:06:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721646363; cv=none; d=google.com; s=arc-20160816; b=BJHwjUKYAbGv0HHfN4j/mxG9OBFf4iuelUYIag9wjfRCtykP+kkzZWKAEVt0lx6DF7 5SOGRSu4QL2zpUi7w1jTKtquwx2OkOkQB0u+lkMFRV4umAlSjCoFlwEc+oTfyOuITd2m xDBabGMS6jvQqXYP4wkRnW73dcuFFv0NZs75tvoqXs3ef64UHOOWScduw6aMvQXrYNx6 S75CUyJd3cRR2yA/179YJRBhXdHadqDgviLf9y+p6toUVEogaFpLg2XyXK3TsGd8C40p 5oxRAUl5Aj8km24w2O3mVqbfN1+sfvKL5RTch/QzDZB2k59SQX/XOZcUY8ZjkIu/Z963 HAbQ== 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=OsxJlG2O21VU9fz45mO2VxagozV0j39OOaB75wjf6W8=; fh=+W1UX2FSWwqig+rOS0FP5WCVBVv8s6YNbR+Rvwdi9Ts=; b=Tl4yNGvFF0KLcveZzxa5EQP1sd6fN++zXc0AkG8bVPZAA/g5+6vcI0/BPYFyOzKOx0 pmDc218y7n4whDyxKK1e0BpZRS2ebYrkI3ukiWJJYQiKwb7brHyxbYMHDfvcUwdQm3Bq BWI3axE23j6zO5kZUZ5ZNzYmElgf/7m9WrgoCnFSSqhi/UFbpb2Q4BxUFdzTsOBscK+W tC7OLhFk5Xq5/MWwJstq9DBdP9LhN++IobHcJgiCBzj3FmaE3hmwqdukuOzlNGYefyPb k4Ygk92WkDss1yc+/rq7ZdLQSmAHfY3S9ISaqjEwgoMAFlAFyWnraxfOcxoCyd0Ela4I uzvA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XUZL3zDx; 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-6b7ac999d46si71505086d6.255.2024.07.22.04.06.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Jul 2024 04:06:03 -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=XUZL3zDx; 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 1sVqqI-0006JL-4H; Mon, 22 Jul 2024 07:04:34 -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 1sVqqD-0005zM-B5 for qemu-devel@nongnu.org; Mon, 22 Jul 2024 07:04:29 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVqqB-0002Uv-48 for qemu-devel@nongnu.org; Mon, 22 Jul 2024 07:04:29 -0400 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2ebe40673d8so51617151fa.3 for ; Mon, 22 Jul 2024 04:04:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721646265; x=1722251065; 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=OsxJlG2O21VU9fz45mO2VxagozV0j39OOaB75wjf6W8=; b=XUZL3zDxrjx/biO+Lxu2gvXLnHHvvK5qnYleovcclpmnv4HmJ1NEs/UdaA0n9NUgtK SvAU2PgLERQmgtUothD6G77VqjgsLNbbiNDHsCnnIHKfkAfOqAQ0ufR8Tuif/ltsO2g0 /M3X+Als1upx7z39oph2O5IKl0TdIFtx29x1Enrde7kBhJyvm/n0rOp6TMvS7RF8ByM0 azHXbagQTtHMsRMQoer6V8TsdTpmA6r6m28GW0vxumloRLfXR2TPlZuQE8PF+UYZJCa3 MOg9O+ErPw4Bk94i05KSf6UviGJ5eudQHKivaf9BbdnNWwmEX/8hLTpFMZXzjW2dgvci EjHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721646265; x=1722251065; 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=OsxJlG2O21VU9fz45mO2VxagozV0j39OOaB75wjf6W8=; b=uSOMl2JzBn5Cenp0fP5RjYRwCkY5sVBt3bIWrtOKxKJVSQLMjSzT5KcFl3gscuS8ol dDdVtQttgEt/iaWhfNqXg/JSdmX/zvyIq52vEmZkqmQeiLwu70rNFUVz1PutTqmji4V4 p60rXNaY/t6nswrQllAsist7BvecQXoUOFdQXU59teDW2mxPmRhbulMNxvtp35iFOEN+ LblpompQ1U1OdBRY2gJlaDadTFMimn54UmwloYD1qs6deF29xC39Pc+SfBQ7DUdO3l7q taFz5w1KjMLRHZsCPf4vw1aAXgeFu3A0XEhT5l4us43caAomIp/tmUaTJ1USD5qPzHhx 30mw== X-Gm-Message-State: AOJu0Ywv01mHTUWIqHCCJDeZoJTND5aQYi4w53g9s2lUZqOAIIZCIZZT G0Oe9KNJqayWHQ88IPI1MVH0bqv98NilWhkz285lQL+qg6kEt8G8O7MpMwgpPrc= X-Received: by 2002:a2e:8006:0:b0:2ef:2c0f:283e with SMTP id 38308e7fff4ca-2ef2c0f35cdmr24288051fa.12.1721646264920; Mon, 22 Jul 2024 04:04:24 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5a30aaa3505sm5954123a12.34.2024.07.22.04.04.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 04:04:20 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id A2365620FA; Mon, 22 Jul 2024 12:04:14 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Anton Johansson , =?utf-8?q?Alex_Benn=C3=A9e?= , Paolo Bonzini , Laurent Vivier Subject: [PULL 11/16] target/m68k: Restrict semihosting to TCG Date: Mon, 22 Jul 2024 12:04:08 +0100 Message-Id: <20240722110413.118418-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240722110413.118418-1-alex.bennee@linaro.org> References: <20240722110413.118418-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=alex.bennee@linaro.org; helo=mail-lj1-x236.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 Message-Id: <20240718094523.1198645-12-alex.bennee@linaro.org> 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