Message ID | 20220422165238.1971496-3-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp655273map; Fri, 22 Apr 2022 09:54:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6/fH/0RpRThEdYL1WG1wzU654XwHTh0j4PVZEJLq0xmzDFWEWB2wBSxa6t5j8hKzNMetm X-Received: by 2002:a05:6902:726:b0:644:e5cc:3353 with SMTP id l6-20020a056902072600b00644e5cc3353mr5193840ybt.219.1650646455245; Fri, 22 Apr 2022 09:54:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650646455; cv=none; d=google.com; s=arc-20160816; b=lF6UL8SYdU+qtNlvUIqsAFDBfGtceDi98qYhvSyURS8NwGEVsNINC09BfwMzWbDKb/ Pi/wH7vJvLvC13W3wup4IcMK42SX6GIrs18n+4QIGqKVJzvYfq7kbW3C1scJKA4vGr2H uY+ucEU+ldewu7Cp2u3G6WdbZRD06ODCftBcDlEkeXouFtoJf1gl+iws66zETt0WddNB Iuyjci9fNBeWOy7kUWgs8ULItQZG83wgETpx0r9UynSmAGTk8hUaI88vLjHvhfGPs4eP g4H51qfD0BNc8IXcwosgKt5PyzP9DK2Q08VTpESTpPVlNKvO7IyCDCSfSkLS+U3bEyCy d29Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=Kt2BBU1GUjUG3/EJVuAysOFujg46su8Ylz5CGCHbv4o=; b=SI52Sy9Z0Ukq1JkYCj91EdhVhpcGJAI+YpyxXrXvpoAP9H+u60p5uyu/kxfcgrbrpr k2eArzGM1qzZEjMrcXzDsgcn1Mz7Kf8QtqwQ4SZX5D5bAtCTX1paGTOSUpaQryK4JXMl J5ZiJExcTDOkRpB5cCRoipCm8tBLTiebtHGeexO0oWQoIAWLND/lW1YuYB+M6ZcY3d8n WRkpm70FUg0pGqtEsmGdCryH37sk004B7YLJgkGXnDPxr4rKX9oA/Biz09rbXRM8/VjY BdWFYIJyO4B9QaYlZ8j1XIKNcATKUUDqgz6xP9Nq6YwDOuMPrSteQRxwIl2ON8gsmWwL 6oEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jStOSJ2b; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id l133-20020a25258b000000b0064588414621si2552631ybl.589.2022.04.22.09.54.15 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Apr 2022 09:54:15 -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=jStOSJ2b; 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]:47266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1nhwXu-0008Uk-NW for patch@linaro.org; Fri, 22 Apr 2022 12:54:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1nhwWW-0008SW-J7 for qemu-devel@nongnu.org; Fri, 22 Apr 2022 12:52:48 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:43882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1nhwWV-0007D9-6S for qemu-devel@nongnu.org; Fri, 22 Apr 2022 12:52:48 -0400 Received: by mail-pf1-x430.google.com with SMTP id y14so7761530pfe.10 for <qemu-devel@nongnu.org>; Fri, 22 Apr 2022 09:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Kt2BBU1GUjUG3/EJVuAysOFujg46su8Ylz5CGCHbv4o=; b=jStOSJ2bRLw+Zj+ZpMRSD7YK67WsZvHedr4I4mVJSyH7shW4Kh9gvW70GM78Wm6Wnb UHq6Q5iEVGO8ceQ9LOnOSqRreVZlTRO/zIW6T7X29dT1hOYpoMQIfEPlMBPDsDKMZvAh 8GViVwK4w6TR6azlz0HPEzXnvFz3VpPecX3BXn9b4LEWP2bO5Cqw8mCk9mdMkag4pSd1 XDxPeMCso4hENrObZAJB0VN6yUPlZX8dSp2QndsKJbab0Q8snRYE8TUDttfJxFHweIex Qbl0y03YBX+QfYFtX2AO6Bqq8MTUfHc2R92ICjUPR6WA3JGZ1llveVJyDxUq3ps8UFS4 9w1w== 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=Kt2BBU1GUjUG3/EJVuAysOFujg46su8Ylz5CGCHbv4o=; b=pjYxIclAERyNcLchZjgLp9EgKwUKMHI2ViyuGRxv7cKHkXGSK8iDnpqhJ/7IrPmAnp e+bbuDs55AMWI/MnrMn0pJgcuJm9yMfYciAvbydiftgxaV2Psj019f24HVjJ0OQdae7P 4cP95sBUwAXfd9yNlrIeRLxthsubav5/Pc4wccj8YRKRzgCdH6E/1PL+wr/qYPWsJGse pvuA00mCRI1EfxRHOmqAMYadZspeuW1GzF6NJyQ0S1B+O4Njor+u58iIWVuqLl91c8nH hRXkti/hZrx/CHTmjbFl6owpErUhFFk/TMqyglqMb/xlAEBljwzltiVyvcjSREhAuMsE H9zA== X-Gm-Message-State: AOAM530gWQp3faxMyn1Yrb8cVlitK7TqEi+hmiFQ+W2jNoiKuPKRXX5r w/skzcyKnaK89IAWZjeytFUcu9NaQpiD1oo5 X-Received: by 2002:a63:c52:0:b0:3aa:2c45:67ba with SMTP id 18-20020a630c52000000b003aa2c4567bamr4793812pgm.102.1650646365757; Fri, 22 Apr 2022 09:52:45 -0700 (PDT) Received: from stoup.. ([2607:fb90:27d0:b0f2:934d:3e2:9f8c:dd1]) by smtp.gmail.com with ESMTPSA id 6-20020a17090a030600b001cd4989ff5fsm6835904pje.38.2022.04.22.09.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 09:52:45 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v8 02/68] linux-user/nios2: Fix clone child return Date: Fri, 22 Apr 2022 09:51:32 -0700 Message-Id: <20220422165238.1971496-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220422165238.1971496-1-richard.henderson@linaro.org> References: <20220422165238.1971496-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x430.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=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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Peter Maydell <peter.maydell@linaro.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
nios2 fixes, cleanups, shadow reg sets
|
expand
|
diff --git a/linux-user/nios2/target_cpu.h b/linux-user/nios2/target_cpu.h index 2d2008f002..830b4c0741 100644 --- a/linux-user/nios2/target_cpu.h +++ b/linux-user/nios2/target_cpu.h @@ -27,6 +27,7 @@ static inline void cpu_clone_regs_child(CPUNios2State *env, target_ulong newsp, env->regs[R_SP] = newsp; } env->regs[R_RET0] = 0; + env->regs[7] = 0; } static inline void cpu_clone_regs_parent(CPUNios2State *env, unsigned flags)