From patchwork Thu May 21 16:39:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Robert Foley X-Patchwork-Id: 187048 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp1726097ilb; Thu, 21 May 2020 10:03:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPkl5CoRPABskWLSrYjMZysjSyVPTdw0SQQaMKsw9V1XNEGALkZaKrZklkSZ2/iGKbxJD/ X-Received: by 2002:a37:46c9:: with SMTP id t192mr7624266qka.3.1590080581944; Thu, 21 May 2020 10:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590080581; cv=none; d=google.com; s=arc-20160816; b=BGwiPerhnXLv75JRKxyTMeBT5QXOUORD7c6gHfMAQGqZvQzhLDw6XFB4ARywMPbQr4 DUnhzvn56N3uTFK+cUgNRg9j91wb4XCtlxvx0nFzjva7hNRQlNJqJOKA6aEXeQdVhXHa gvq33LMvJO3p64USjNI/YwH7gO0GJWNUUCFKsyUAqENDtdrlBGB6PjKyzzVywoT/c8uG X+78mM/vc1Pj1ANRDKF0vFOvCwHlN4arN/QsYRLe1S8hKv75NrTeFUNQVKIUF5YIC4OK 3qHpqTQ+XG/h93vBLdFOoNbcvSVcMtcfceYTVacderi/6bIP8n5+mjrHmyrft51hJgqW IwmQ== 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=OzUdSzbvDHrAdBgz7T3QQ9Qj/8hER0zlUjzEzhKy+Cs=; b=PoHRgP5KhNxjETls7Ozqbsqj268sYRvr2YVV5ObO6GUMUn9Zghrj7Y7xdjgL2d5+AJ GozD9CF0uSUPfdwuaVWgQLeeYg/syh8dOJy7hB7MlPT60YqFoEAnlGVYz7atov5r8E9y s3iE27LeGH3jYa2j22RN3tu5B0LB4RFzyvSRpM/J1wYlRXESgdnv4wcgK1T+OoTfyIdJ T4Vi1ST0NZtipJO8aAudqFLMiGgMTKEX3UNN+wvEZzJgikmwZNEQ0zZTEzZTUUrjYa5q evt5gKN7N77roCwUs4xthK8K5cz9j49W7bEhykzeJOSYTOZtdrkIQLaHpUStWWH15xOX OvAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=epo1pGI3; 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 f1si3737866qtm.223.2020.05.21.10.03.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 May 2020 10:03:01 -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=epo1pGI3; 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]:51520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jboaz-0005yy-D7 for patch@linaro.org; Thu, 21 May 2020 13:03:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jboIg-0003Ts-E4 for qemu-devel@nongnu.org; Thu, 21 May 2020 12:44:06 -0400 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]:33287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jboIf-0006aW-JG for qemu-devel@nongnu.org; Thu, 21 May 2020 12:44:06 -0400 Received: by mail-qk1-x744.google.com with SMTP id z80so7918986qka.0 for ; Thu, 21 May 2020 09:44:05 -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=OzUdSzbvDHrAdBgz7T3QQ9Qj/8hER0zlUjzEzhKy+Cs=; b=epo1pGI3gpW88W5PHsy3ZFJt+SK4RoqLsF/r2FtdCz1E1btUeehJKBeB+0OEcyF5iu Rs/5AlC+AJxI8BUUF6VajZyYwQtuXamDh4fSkvY1ZFPPiU4zt8gKNk3Vnj9zJwKJtZtN YYlRewsQ9NRETBvne6hovJAJi0z1oOcTEbG3aCVVKsRfaICHfwloEVbY5r9pNl01EC2j /xFWudmPAZnfintZgM/2Y4hldekthLaS1+ZM/zMBRqgmYZHRru86pDVRRM/WWdHOPtLH 81uQ2NQx2c92eGYM9bavoo/E1CGZ2wbrYecHJa6OuLuo/CfkhG1Onxb4OmeoWx6xVmyp C/1w== 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=OzUdSzbvDHrAdBgz7T3QQ9Qj/8hER0zlUjzEzhKy+Cs=; b=tviNCnzwBYuf6n83wjT5g4njfRU9NmpQ30XZ1ylRGbZjI+/y0dt1RW7foRoSGZuZrL xUznilPiW6MN+xyllVyOHtfrdDQQwWTAR1f01Ztxt89ewSiyj7MagdN7XJS0isRG1SZe BCF0lCtJQAZ48MVxVCy9/lGinom8Xi9Idrl3THld0ne7utENWwKeEV/nOsMn0YUn+FFo Qb1BJTXljA0sYcfr2Mo2LXrt+YaQwFL2JQB43oU5jYvKz7bK9X5I5h5W+un+/ADxqYwj EW7rfwxL/zVAMhpQrsFOxpJI14itO6Rt90GPUyvtfBt5hZpsgzbWHRfTPdfBd3HcK6Yb 4+xw== X-Gm-Message-State: AOAM530qxB9r/y4IBANrtZyrD/7C8SI+8Uo9oMB1+L3UXwm2m3aOQvIL pH1TrUrUDrtRqVWkv+Imo/bNJHRJDeUX5Q== X-Received: by 2002:a37:7904:: with SMTP id u4mr10743206qkc.297.1590079444291; Thu, 21 May 2020 09:44:04 -0700 (PDT) Received: from Rfoley-MA01.hsd1.ma.comcast.net ([2601:199:4480:60c0:1944:c530:655c:5583]) by smtp.gmail.com with ESMTPSA id x24sm5923829qth.57.2020.05.21.09.44.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 09:44:03 -0700 (PDT) From: Robert Foley To: qemu-devel@nongnu.org Subject: [PATCH v9 37/74] s390x: use cpu_reset_interrupt Date: Thu, 21 May 2020 12:39:34 -0400 Message-Id: <20200521164011.638-38-robert.foley@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200521164011.638-1-robert.foley@linaro.org> References: <20200521164011.638-1-robert.foley@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::744; envelope-from=robert.foley@linaro.org; helo=mail-qk1-x744.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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: robert.foley@linaro.org, richard.henderson@linaro.org, qemu-s390x@nongnu.org, cota@braap.org, peter.puhov@linaro.org, Paolo Bonzini , alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Paolo Bonzini Cc: qemu-s390x@nongnu.org Reviewed-by: David Hildenbrand Reviewed-by: Richard Henderson Reviewed-by: Cornelia Huck Reviewed-by: Alex Bennée Signed-off-by: Paolo Bonzini Signed-off-by: Emilio G. Cota Signed-off-by: Robert Foley --- target/s390x/excp_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/target/s390x/excp_helper.c b/target/s390x/excp_helper.c index db6640ba2c..dde7afc2f0 100644 --- a/target/s390x/excp_helper.c +++ b/target/s390x/excp_helper.c @@ -530,7 +530,7 @@ try_deliver: /* we might still have pending interrupts, but not deliverable */ if (!env->pending_int && !qemu_s390_flic_has_any(flic)) { - cs->interrupt_request &= ~CPU_INTERRUPT_HARD; + cpu_reset_interrupt(cs, CPU_INTERRUPT_HARD); } /* WAIT PSW during interrupt injection or STOP interrupt */