Message ID | 20180402171354.27706-3-jcmvbkbc@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EE1DF60375 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 2 Apr 2018 17:19:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE4A328A3E for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 2 Apr 2018 17:19:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D108E28A75; Mon, 2 Apr 2018 17:19:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7548A28A3E for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 2 Apr 2018 17:19:28 +0000 (UTC) Received: from localhost ([::1]:49912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1f3379-0008Dp-DG for patchwork-qemu-devel@patchwork.kernel.org; Mon, 02 Apr 2018 13:19:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <jcmvbkbc@gmail.com>) id 1f332F-0004GC-G8 for qemu-devel@nongnu.org; Mon, 02 Apr 2018 13:14:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jcmvbkbc@gmail.com>) id 1f332E-0004ao-Op for qemu-devel@nongnu.org; Mon, 02 Apr 2018 13:14:23 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:37379) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <jcmvbkbc@gmail.com>) id 1f332E-0004aZ-I4 for qemu-devel@nongnu.org; Mon, 02 Apr 2018 13:14:22 -0400 Received: by mail-wr0-x244.google.com with SMTP id l49so14752227wrl.4 for <qemu-devel@nongnu.org>; Mon, 02 Apr 2018 10:14:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=v4YCKL1vBU5nmS79MScwm/8XFxNK3yeCj9nHJuEfrfg=; b=luXvLd/wZFJrnSoh7hDMxNqblrfTklMGsOBKhPZ/ZqX4hoxsgW6SVblj5judFfOhVX K9s6uTz+EkrbbRM9Lyvyq8yUeOQH506QmfxOBbO09OAiUbhx2j+YN2E9+MfkTdI+jwlQ +6vnlurhRJ6FN6tDXqGIvRpDZlScneJ9yydAxpoexbqQjSbmgAKpBj4CE8EhnwYte/VY CUJACQEtu6fWYZaErAdtrMDhkxDj+qS5z67iM2JnolyWoHHY7n4G6mKsFZ6hl4UuHwIR zE4PK7dU0WxJW4Py7wnq/ZtmU+/sRs5m3zmMkqZb8xNVB2jkix0IWgpnJ5zYECNQmu9w 09tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=v4YCKL1vBU5nmS79MScwm/8XFxNK3yeCj9nHJuEfrfg=; b=prvgBBR2w3v60Rr+Qzuf2ZcFLV44L1fwuW5TbUO6H+OacUkEjxO5EYbHznZKQ+OdLB XkTSKFYYvj5GHHIiTm2AdUI4aJVrAmxBV9SeeiRWOuJ1inKnFZROaKOfn4WEFnFMbI8s kEqHurJ0ILOd0ID5mugMk0Fmb45ZC3dpPqH3LKYqXbJ+daHubsd7GnfIqX5w4d1dGKbA O5hMUVWEjgUAaQ2mBkhUpldwFCKdzbuKFHOr8yc6nm5Vi2Nd3943PFAO2cnoiYqqPdzz R7GUO2O7ReO6826v4qRmkMtKFeQGZx7wgMy4H0QXG8YRB14Rm1GZf03CJQk4ONETzlpv eGQw== X-Gm-Message-State: ALQs6tAAfVm0wGGDfTL1vJtCREx7YkJbZ0+TPX0fYA049xbrVbg0ScS+ B011y4fLROn6UqZHnSX3P4ZUbA== X-Google-Smtp-Source: AIpwx48zbrQJRXeU++y747FpYKX7VPuMUw6lYYdWhhgNPGEh3NLvQAmt1IxvB3wOY829ocHKZAf2wA== X-Received: by 2002:a19:1b02:: with SMTP id b2-v6mr5926685lfb.3.1522689261187; Mon, 02 Apr 2018 10:14:21 -0700 (PDT) Received: from octofox.cadence.com (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id s87-v6sm142360lfk.69.2018.04.02.10.14.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Apr 2018 10:14:20 -0700 (PDT) From: Max Filippov <jcmvbkbc@gmail.com> To: qemu-devel@nongnu.org Date: Mon, 2 Apr 2018 10:13:48 -0700 Message-Id: <20180402171354.27706-3-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180402171354.27706-1-jcmvbkbc@gmail.com> References: <20180402171354.27706-1-jcmvbkbc@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 Subject: [Qemu-devel] [PULL 2/8] target/xtensa: linux-user: rewind pc for restarted syscall X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 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: <http://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>, Riku Voipio <riku.voipio@iki.fi>, Laurent Vivier <laurent@vivier.eu>, Max Filippov <jcmvbkbc@gmail.com> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/linux-user/main.c b/linux-user/main.c index ba09b7d0c873..8907a8411411 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -4006,6 +4006,9 @@ void cpu_loop(CPUXtensaState *env) break; case -TARGET_ERESTARTSYS: + env->pc -= 3; + break; + case -TARGET_QEMU_ESIGRETURN: break; }