From nobody Sat Nov 15 14:09:01 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1752007486; cv=none; d=zohomail.com; s=zohoarc; b=n8lXgHEw5gc5hk8VtGgqkHGvPlobG7a+lm5+X+fwAmUJW1ICNR/57ZRPmLB8lpWlDlzhtXXnr9d4Z8IvMcyGkd2vmlpFplKGhnx6v2Z0xE8kOrQ78/PdsT75bOvXBL68/m0vx68QXx440XxCRMhYAH/zpQJ6th32fPRpsf56+BE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1752007486; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=vzMk4UkL9eAVR/vohhIY8W6V8rBUqTGnnCp6qj1rt4I=; b=eqel3Bh0gVK4IREKIN9ewkOIt1/rCd9Dkl28fIt1WiaktHMxjbl9H2w1gZ4ysDtxVEeK+L+EIYsDY2RlyWFv1/c86yiEtep5oz3QpMafTy9KFph0ZamxmR4Et4Q6u+P6IS4WfJpeScELRRpcyzWkVrB6D5TjOunElDDpldyu1Q0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1752007486700576.0047083264639; Tue, 8 Jul 2025 13:44:46 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uZF9c-0000Ss-0T; Tue, 08 Jul 2025 16:43:04 -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 1uZDSC-0000my-EU for qemu-devel@nongnu.org; Tue, 08 Jul 2025 14:54:15 -0400 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uZDRu-0008KT-6d for qemu-devel@nongnu.org; Tue, 08 Jul 2025 14:54:04 -0400 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-ae361e8ec32so942903666b.3 for ; Tue, 08 Jul 2025 11:53:14 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-454cd7e2f5dsm16264625e9.6.2025.07.08.02.57.52 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 08 Jul 2025 02:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1752000792; x=1752605592; 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=vzMk4UkL9eAVR/vohhIY8W6V8rBUqTGnnCp6qj1rt4I=; b=WVwzVda+0O28zYWGIYe/tlWu3bAW5AWJrlG4JyJ2zpo2+fuIYE82mBy+rsb/isrBKg er0zMiDuS5V8p61LX95GY6N5sn11jvUXql8EqpPWwFBoZwPb5przyE3IkIK7U6RIJCkP DvRURcaw/ap9BiKDf/F8NYlS1i86JSZEjdNWMq66nej24IRr92V4wq+7hYQWeM6Sdp6Z otfuglvf4oC6KYrKDpJUDDjRU0VoGSMQdccXthlCjushMRbB2W5YvksdDDqA7KM+IFxm 2fKUS25XL4NJN4b9I+XIqG+2bIoFjrWWWjO5h410ovCbYMboZZH3pHZm0vGYvgz7U1PJ yOsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752000792; x=1752605592; 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=vzMk4UkL9eAVR/vohhIY8W6V8rBUqTGnnCp6qj1rt4I=; b=QRj/Q+5zviEByERjTB1mC2hEHUjYCvKvkqJ1FNQuD0YnzNZeTBbSspnrrMvQbCF8Lc tjLk4tIaNURtnmFlgAFsIAbEqJjksCNvJ7u13zmcWIi0EbgujZoDaLW5/13p2zegFzfD uhnXoAjy20ziJt+KOCVnEAqQpnq43SfgHhdliQmVj/qsbZuiJSO8UE51NXjm4Uu10QxS dUtvkHSp107aY6C2DUAlK6Qn0swJX8tNiafIp7FQCnqfG8UPl6dEtPdIOj+ss819l766 Qg+GG7qQDoTpa0DTRgIuSRWDeXZGQKASQf8mUZf9ikdFuGnRwJa2Oh+EJkVt44ewCcJi hLWQ== X-Gm-Message-State: AOJu0Yysg0NUsS+BROEDQwm+nIxD6awvbHsmVtCAZUrcN8PDB8OnDOZw kaMYPnIVcFjhiX95roxNWOFvZvlXKjq+0BPC6e9CNdlOibNQIuCR8f4EsUs3iwuoH67wIp+VJL6 lBKmDuBA= X-Gm-Gg: ASbGncugTkFRNuEXsXyod7SlaltcspagiWyNBCp9ktBNWsMjt6yHN2muSrA8Oe5r80X JQUWxrylC7HhtGUjp6Yi/bD+FBhg5V1qsg9aRx62REU/hWjWKNnnJT9upOXOxKUBGFFuzb9dRcK CdxJaC5HEM2gcqH1feOHmlF4KiJ/sDrXiLIOHy5lLXhMuf6ShFkznRfyKy+oXZZ06D0tAE1l39o SkwdlhuVJIYPcqQ0NS/KNKgSJdLXphSnpYYuBM3+c8TDCT4j5BfX1DhZjwurEbyBvpLPEQb1u6G xAoJI2pTunIl4lWm7JUqJnt47RN3rRIJxSbqyYBKYh8jAljbulsFsZDXR8/c21dbFfDoNQz5cZh tNP0dJUDZ+H+LUtMw6hspRj0rKsbSzzlqIj66 X-Google-Smtp-Source: AGHT+IH9Eb2xgLOM5u41cB8jhtceXkQMJqP5FOYGPVh9MDn7UCU3+96j99E25Ti0s3sN3hniFvGY6A== X-Received: by 2002:a05:6000:2187:b0:3b3:a6c2:1a10 with SMTP id ffacd0b85a97d-3b5dde3f94fmr1899037f8f.12.1751968673235; Tue, 08 Jul 2025 02:57:53 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , David Hildenbrand , Ilya Leoshkevich , Richard Henderson , qemu-s390x@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 1/4] target/s390x: Remove unused s390_cpu_[un]halt() user stubs Date: Tue, 8 Jul 2025 11:57:43 +0200 Message-ID: <20250708095746.12697-2-philmd@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250708095746.12697-1-philmd@linaro.org> References: <20250708095746.12697-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=philmd@linaro.org; helo=mail-ej1-x62e.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1752007487602116600 Since commit da944885469 ("target/s390x: make helper.c sysemu-only") target/s390x/helper.c is only built for system mode, so s390_cpu_halt() and s390_cpu_unhalt() are never called from user mode. Fixes: da944885469 ("target/s390x: make helper.c sysemu-only") Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth --- target/s390x/s390x-internal.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/target/s390x/s390x-internal.h b/target/s390x/s390x-internal.h index a4ba6227ab4..6894f0a2569 100644 --- a/target/s390x/s390x-internal.h +++ b/target/s390x/s390x-internal.h @@ -246,16 +246,6 @@ void s390_cpu_finalize(Object *obj); void s390_cpu_system_class_init(CPUClass *cc); void s390_cpu_machine_reset_cb(void *opaque); bool s390_cpu_has_work(CPUState *cs); - -#else -static inline unsigned int s390_cpu_halt(S390CPU *cpu) -{ - return 0; -} - -static inline void s390_cpu_unhalt(S390CPU *cpu) -{ -} #endif /* CONFIG_USER_ONLY */ =20 =20 --=20 2.49.0