From patchwork Thu Mar 26 19:31:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Robert Foley X-Patchwork-Id: 184907 Delivered-To: patch@linaro.org Received: by 2002:a92:de47:0:0:0:0:0 with SMTP id e7csp468102ilr; Thu, 26 Mar 2020 13:01:45 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtj7Kwqk3tCmdn48MqKFafdEv0et80ZieIvvA6qbLkG+DNNZMoyK9WFkqE3YvclV6r3KZXY X-Received: by 2002:a1f:bf51:: with SMTP id p78mr8263391vkf.47.1585252905577; Thu, 26 Mar 2020 13:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585252905; cv=none; d=google.com; s=arc-20160816; b=BOtm8TzUTlYod3rNyZG/hZOVqY6UGGngpCus7mgttadlZJgYOGZ9XDQS2Wcvde+4KQ LvB8nRKPSrAecZy7d/6xUiTk6kIteYAEjUPBmLM0vZeRzRIqPbZ8y4ZtHykzmFvwZT47 4oG6LuQm7EWhJpq7Y/jCFNS87to7DJtjQ6Co6DUJhEHesDPQmbhPSCF4hc5f54lb9748 SwUpqSlBEaByzFVGiokfqH+IxNnFR1PuNusGyfmzRb9CrY0rHcoxQDHwhGz8UfstVTOX Jv0wSFsHANHbzZ/8D2yJcOxry81KNPoD8LgS69ZCglIeI9Hk6idwjtAQHnjog+llAES2 tsKA== 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=mmiRxRrUzc6n/Jyo9kUg5Bu0NCG0n21LS2Ois1y8SwI=; b=k3WVA4cXpZ5HeW3OTMuH8P5FkCQ3RsqGM/2ZbgzSU5bh5lOtBChRzWRgHZTdbFr1tl c0jBvPre/B8BaaR0fM0zhLMtS4UqWt56MerrI4V8+RdQwjPMGWYr1vtJEH4fO4RIJfuO vkE/KTmEprxeErCDeVqAiF5mcZm1Kc01ekrS1GsN4rIVlMZFEGJ7Tf1Uk1fSq08N9xmp +LK0CC0iIMQij3MuM4SJIipukzli64j5RbVf9KFc5kpuR+1McYkcbhHiNxxD9CxAcEji AjeQCCV+Vy4pn4FeLbfrIXhqGw+RiqzPQDNQ5N9Rt9YNUXpilVskTeDYhSCUgS+InkIG cIqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DbJ8J4zX; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k26si2191732qta.212.2020.03.26.13.01.45 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Mar 2020 13:01:45 -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=fail header.i=@linaro.org header.s=google header.b=DbJ8J4zX; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHYhF-0000Iv-0T for patch@linaro.org; Thu, 26 Mar 2020 16:01:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58881) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHYKe-0007B3-HR for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:38:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHYKc-0001mU-VX for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:38:23 -0400 Received: from mail-qv1-xf42.google.com ([2607:f8b0:4864:20::f42]:44235) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHYKc-0001m4-RR for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:38:22 -0400 Received: by mail-qv1-xf42.google.com with SMTP id ef12so1652562qvb.11 for ; Thu, 26 Mar 2020 12:38:22 -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=mmiRxRrUzc6n/Jyo9kUg5Bu0NCG0n21LS2Ois1y8SwI=; b=DbJ8J4zXgPvllhvqWxTxrIYv/oC0UGXUaJa5+YDuUb2MIqdbHA22OxTA7iD3g8xKx5 kPzcKq6iVLMCQdazeNDVcbN8SOb24XAgcq69aSO+xhppucVL+c9fas6Je4Nn8+3vuaAD CrG0Eko4LRfXquB1c5f2a3rD5cqUnOYlh8z7UWzJFq+UaNh6+XRXbKMsze8NAp+FLFn1 NQEWfj+DlNZolpdTOrUW2dvUwqaG4TQsY8+YHgib8jCXPV8DF5uHvAvLdWbpUqj6rq03 C8KV/3cwCaEGc6/+TC2yeYO11Zn/+jAKghPbU6Rb+EBUd9MlpCT/7KOnvcKNKNJ6aWQg ACLg== 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:mime-version:content-transfer-encoding; bh=mmiRxRrUzc6n/Jyo9kUg5Bu0NCG0n21LS2Ois1y8SwI=; b=ZmA0q43PsGGp/FC+zvdlwJPVq9Mh0P7d1/8oHSCKI2k9H/byY5tJxsIqCptRukvqB5 o8nw/2z4Lp94HodvJg5mpiU/Ow3Rnry5Ck4IZaBLzjmaNw2xinybUj/0JMTAleG00FHz 5d/fT+fwD+vPeze7eUjVIje+wg9YcK9XQ/0XGQdOIdWjZ8uh7cfqZNWwged0fGDaGYnD 4DPT2/ijn9i6xIXEOFOzplLh8tXBXA5uV7YNaXXNdsi2VCV8cvaww1d7CDNSHC/BM5uy Z/MhvF6oeMmdMKoDPEvuRM0YmVwz3Vx9y5/YB6N5xQNJx3meTge3Elr742J8L6ZHQb90 4y3g== X-Gm-Message-State: ANhLgQ1vtSA6pNoKRaRV0xPLsrBetT1HVsKnb4wXZJWdnUzIW5O1jjJi 2U9SA+s7UU5yL5m9lcNya1qkpKnls/CCKg== X-Received: by 2002:a05:6214:70e:: with SMTP id b14mr9826831qvz.246.1585251501700; Thu, 26 Mar 2020 12:38:21 -0700 (PDT) Received: from Rfoley-MA01.hsd1.ma.comcast.net ([2601:199:4480:60c0:fd55:4e67:1038:8302]) by smtp.gmail.com with ESMTPSA id u51sm2161916qth.46.2020.03.26.12.38.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 12:38:21 -0700 (PDT) From: Robert Foley To: qemu-devel@nongnu.org Subject: [PATCH v8 35/74] exec: use cpu_reset_interrupt Date: Thu, 26 Mar 2020 15:31:17 -0400 Message-Id: <20200326193156.4322-36-robert.foley@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200326193156.4322-1-robert.foley@linaro.org> References: <20200326193156.4322-1-robert.foley@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::f42 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: richard.henderson@linaro.org, "Emilio G. Cota" , alex.bennee@linaro.org, robert.foley@linaro.org, peter.puhov@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Signed-off-by: Emilio G. Cota Signed-off-by: Robert Foley --- exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/exec.c b/exec.c index de9d949902..a379016693 100644 --- a/exec.c +++ b/exec.c @@ -752,7 +752,7 @@ static int cpu_common_post_load(void *opaque, int version_id) /* 0x01 was CPU_INTERRUPT_EXIT. This line can be removed when the version_id is increased. */ - cpu->interrupt_request &= ~0x01; + cpu_reset_interrupt(cpu, 1); tlb_flush(cpu); /* loadvm has just updated the content of RAM, bypassing the