From nobody Mon Dec 15 23:27:07 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1643661757791791.5662676917966; Mon, 31 Jan 2022 12:42:37 -0800 (PST) Received: from localhost ([::1]:35952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEdVU-0000Hs-9z for importer@patchew.org; Mon, 31 Jan 2022 15:42:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEcnb-0004ll-Hu for qemu-devel@nongnu.org; Mon, 31 Jan 2022 14:57:15 -0500 Received: from [2607:f8b0:4864:20::131] (port=39530 helo=mail-il1-x131.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEcnD-0002c3-3h for qemu-devel@nongnu.org; Mon, 31 Jan 2022 14:57:06 -0500 Received: by mail-il1-x131.google.com with SMTP id z7so12400811ilb.6 for ; Mon, 31 Jan 2022 11:56:38 -0800 (PST) Received: from dune.bsdimp.com (50-253-99-174-static.hfc.comcastbusiness.net. [50.253.99.174]) by smtp.gmail.com with ESMTPSA id j2sm1972989ilu.82.2022.01.31.11.56.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jan 2022 11:56:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6fk8Rm7tbwnMJwW6ytgiwa7PMfU+rVxxXH2pSHcB2Zs=; b=6DO3aUHBFwRcvQXdDht3Ks10VZ5Oi1OzItTtVonDCJm7duSqHovv5jLOoXV+kYtSgG EAHd9q0cIZYpQuXALjSphnmvV/Um4PxfgoZMsxS0Z257tbFJk0bPxuR3gLBkeLNKfpi7 kv3xtvxhasAD/eGi8Vh5720JxekRKN6N6yfA4XJ+WxyqG/qnI5Vx8A+fC+BHSh0tKWWq JqLC0GLQ15adKndAFaxyL0L8EXXWGaxB965B6KvJvoKO7JkhwOCfAPEgSXy+XCpSiXLj ipkXwnZg6YyWmU7TkKLrH7uHR2gVmXI2sFs4FlzglyZvrYJP7ZLtOGX/MJVYsusHFwrw fdYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6fk8Rm7tbwnMJwW6ytgiwa7PMfU+rVxxXH2pSHcB2Zs=; b=3fiqV0F24Dw9AFQu3O2CcvD7FKzIxHZfNROB0j5Byojjxho24d07NlC6ONojKuydi0 UEy8Ygqs2BKb+yJ4yklUmctNeYcL4tKroAXF3T6bBaBDfQV4KfZxzoD/PxUARRjUP5sT VqYgw2FTmKnvi39yoTXmkNjdlNmXHBUnvEw4vnNttCfZs+/wgINPHL65Ojb5zxqJ74/N Vdo6qn3KwIbouCZyoL+3oi0sPVJ2go7uBQo1lmMPDZ0uiOuK5dk+dBlQLbzv/96jsdL1 HcDSFj+r02V+R07SdDgX/TjYbislma/0ejsaBOCeF3oqAAgLl9T/+ZHJ8GxzDc9UsiZ2 294A== X-Gm-Message-State: AOAM533Yh/sIKT8FbTj3V+qBrB/7wKFeNhaXgM6oAms8cuyk8Ek5GD/4 UCRq0fGJS261blyNNUPLETe4+4fKNJwHyw== X-Google-Smtp-Source: ABdhPJxP8/7HM6nTabyvEwwLaeyYAl078joBNk6OxjAJJQtm9jtMebKrTNPDjjdDBvSktf+8Ixu1BQ== X-Received: by 2002:a92:d84c:: with SMTP id h12mr4698629ilq.168.1643658997179; Mon, 31 Jan 2022 11:56:37 -0800 (PST) From: Warner Losh To: qemu-devel@nongnu.org Subject: [PULL 07/40] bsd-user/arm/target_arch_cpu.h: Move EXCP_ATOMIC to match linux-user Date: Mon, 31 Jan 2022 12:56:03 -0700 Message-Id: <20220131195636.31991-8-imp@bsdimp.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220131195636.31991-1-imp@bsdimp.com> References: <20220131195636.31991-1-imp@bsdimp.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::131 (failed) 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: none client-ip=2607:f8b0:4864:20::131; envelope-from=imp@bsdimp.com; helo=mail-il1-x131.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: Peter Maydell , Kyle Evans , Richard Henderson , def@FreeBSD.org, jrtc27@FreeBSD.org, Warner Losh Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1643661758730100003 Content-Type: text/plain; charset="utf-8" Move the EXCP_ATOMIC case to match linux-user/arm/cpu_loop.c:cpu_loop ordering. Signed-off-by: Warner Losh Reviewed-by: Peter Maydell Reviewed-by: Richard Henderson --- bsd-user/arm/target_arch_cpu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsd-user/arm/target_arch_cpu.h b/bsd-user/arm/target_arch_cpu.h index c675419c30a..c526fc73502 100644 --- a/bsd-user/arm/target_arch_cpu.h +++ b/bsd-user/arm/target_arch_cpu.h @@ -180,12 +180,12 @@ static inline void target_cpu_loop(CPUARMState *env) queue_signal(env, info.si_signo, &info); } break; - case EXCP_ATOMIC: - cpu_exec_step_atomic(cs); - break; case EXCP_YIELD: /* nothing to do here for user-mode, just resume guest code */ break; + case EXCP_ATOMIC: + cpu_exec_step_atomic(cs); + break; default: fprintf(stderr, "qemu: unhandled CPU exception 0x%x - aborting= \n", trapnr); --=20 2.33.1