From patchwork Thu Mar 26 19:31:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Robert Foley X-Patchwork-Id: 184926 Delivered-To: patch@linaro.org Received: by 2002:a92:de47:0:0:0:0:0 with SMTP id e7csp482895ilr; Thu, 26 Mar 2020 13:15:23 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtscwdiz9GhMIewG+NtfCIgcnVdCotXHFO5xW86YYcYca2mLv8pz0rjTrnwJ5J8du8EQbBe X-Received: by 2002:a37:6388:: with SMTP id x130mr10651974qkb.429.1585253723476; Thu, 26 Mar 2020 13:15:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585253723; cv=none; d=google.com; s=arc-20160816; b=qGdQ3ZMZkBpWV1yXOLIbSjQ6/FMauXlosGkrHJ+xGQP0kv6nts/fnpOBjFI3mf/WRA y1oV/0sPK0q+CIjWo34urBabmGIhVbYG4UXMiL64xMoV8UXPVGjtrdL9M5UVRVNRbZLQ p0wHTtYi4P9bn/3RTIuKtyb0BmbFYks7Az5AZ8m0IUsagIat1Sw461eFCkCGzsNRXam9 2990AfGTIv7YPX2LbUyCfH44mRZZfjKqMF68ROzl4GYmVIqVRo+PScbt1WxotINstMaU n/2xzNJUMYptfl4BUZYdGNP8P2wW6ie6WrVS2E9pop8qa+zYWC6oh6q58Z814ZiWPvGP B29Q== 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=YLdWPlJvL5kdzN20NeH795EO1wLm2tjo2zF8M6BgqIo=; b=O3gmGDhq1eovkoVJMY8MiZYnC0NLY05VI6qOxY5L1aX0pMKFtxcoKJ86z1m7Ny0+NA BQzoQGIDpZHiy8FYcvRFBHjnwJvmx6wl+KSOrIseqGEjyFfFZnurpY6QCZ5LwBMIqz1k W50rsYo1w9gKGtY6+VMR58qaPV4AtRfTOFV17Kf0imiQ7wjgeGHhVrNJQYENzO8goBaS DlZ0VcCR8LFns5JGXoOn9PG7sEuif06YPn4Alxd5fRCbisRoe0TJoMCwM1KRGyAi4haz IBtsZ5mHDCKfCHl64hSH4okew8tkuE0AaTWFr4wxS2iNUTi/vxvCMHQcIPfsNlgk7Fjp QD2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=dyPcCQG3; 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 w1si2137591qtk.25.2020.03.26.13.15.23 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Mar 2020 13:15:23 -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=dyPcCQG3; 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]:59656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHYuQ-000560-UB for patch@linaro.org; Thu, 26 Mar 2020 16:15:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59256) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHYLB-00086R-O6 for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:38:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHYLA-000274-NC for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:38:57 -0400 Received: from mail-qv1-xf41.google.com ([2607:f8b0:4864:20::f41]:40827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHYLA-00026l-J3 for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:38:56 -0400 Received: by mail-qv1-xf41.google.com with SMTP id cy12so3696154qvb.7 for ; Thu, 26 Mar 2020 12:38:56 -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=YLdWPlJvL5kdzN20NeH795EO1wLm2tjo2zF8M6BgqIo=; b=dyPcCQG3sc6xoUXIurf4Hap44sJRPCagIoQ1SbQH26fBIADdRX/wVKBlUqSI+aD1QJ MQQRSzYnKuXNQ8OD10K8yTHeyRB2y6do+LDx4yw4UjRY05Z2Eu59z2qTsP2cWrnsq3to rtXLySD/9PjjxHuoSdsi+C/gQbxfS4wL8a7t2h6TFCpW3sgAuz2SxBc6kgnbzAmknSfr dOXe+Pb+OGLL6sMbXq2+vNGJUk6xOZyxC2D6N6eV0/XyxvNtklzzhn5G0kzmxR+vE5OH ItGaNo9mvBQUHXNahThcmcqrXGsiVFmw8EDMc2i/Guvqvg4qMAQOwreRaYseVlcyEcAL jYpA== 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=YLdWPlJvL5kdzN20NeH795EO1wLm2tjo2zF8M6BgqIo=; b=KqJ0gGA9RGWLRdbFCeczS+z5YZljeNIlOrocxL5+gMZgahn4pK/GCi4/P/tIV+CjGo 3yaOvFMFv2ypCcf0AqmqfgRFbqP5iCoHEuOGAM9i79tENcUUas5Tort8kmLLt+/paOVR XXmENrBq0O9sQqZHuc6WLWQrFojFzr998OyMaSpAD8HvbGjTETIWnZZAnDuf8jdoe7eS h/qnzcj1i5hK4v0ns+UlMXy4WtNcQrYxa15KF7atJUMx8ixru42XD9HIfIHJI6vpZe0C aQk2stUCV7sXGrlbZ0IHxD9+/6ihbvM2tF0D1XEsJfy0Z8hlYiNyW+qk/BAyL85Zc7Vr /QRQ== X-Gm-Message-State: ANhLgQ3P9cQtEA2ypj0/DDDEsXyN2ziOkNuUoUBnaDRplBQMDoXGQw1S Rey4NLUXSTXW0MUcelK6KsbMmWtG0iPEFg== X-Received: by 2002:a0c:e644:: with SMTP id c4mr9845727qvn.170.1585251535680; Thu, 26 Mar 2020 12:38:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 12:38:55 -0700 (PDT) From: Robert Foley To: qemu-devel@nongnu.org Subject: [PATCH v8 59/74] microblaze: convert to cpu_interrupt_request Date: Thu, 26 Mar 2020 15:31:41 -0400 Message-Id: <20200326193156.4322-60-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::f41 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, "Emilio G. Cota" , peter.puhov@linaro.org, "Edgar E. Iglesias" , alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" Cc: "Edgar E. Iglesias" Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Signed-off-by: Emilio G. Cota Signed-off-by: Robert Foley --- target/microblaze/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c index a2c2f271df..71e3a51161 100644 --- a/target/microblaze/cpu.c +++ b/target/microblaze/cpu.c @@ -84,7 +84,7 @@ static void mb_cpu_set_pc(CPUState *cs, vaddr value) static bool mb_cpu_has_work(CPUState *cs) { - return cs->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI); + return cpu_interrupt_request(cs) & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI); } #ifndef CONFIG_USER_ONLY