From nobody Mon Feb 9 23:40:35 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1610058351; cv=none; d=zohomail.com; s=zohoarc; b=P8fPR73Nj3H3eRIOsyeJDH1VbuXZMTUg9hEcIHbEt7Z1Aa+3pHzWNd53/vEKvJsOWECui3mZfZvY5DFStKdxyrSQ8ORDd3cPjngf84vdmBhLJGMhQSaHdSPTFeZ8kduCUa1KFzLXdnMNig6oGvvdRT5Q00qLrtRrveCw6u18Ozc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610058351; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=TMeZXBPfIw0UjpZf8Gz8v4KrcSgueeNPugH/0sy+Pio=; b=AcHYg1UrQHzmPV8LCXMdkcWscIJNO7CmoCJhM/6OthmXMIZ1XJD0ImFQmx15gF+ePEkP43IoRsl+7NIPUa/76V/bYyk1D1Fvzy9Zgh/80qnEBC06daOKzWLJL22GQxYvUDfBCQ4KhgxWcGwWLMKWuRG/VgBZ20o0TV7j7xWWjVc= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1610058351095158.2173356839221; Thu, 7 Jan 2021 14:25:51 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-228-ICuStUP3MPC21a2L6g2Htg-1; Thu, 07 Jan 2021 17:25:47 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1863C107ACE6; Thu, 7 Jan 2021 22:25:42 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EB6935D9DD; Thu, 7 Jan 2021 22:25:41 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id B6CFA1809CA0; Thu, 7 Jan 2021 22:25:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 107MPd41030272 for ; Thu, 7 Jan 2021 17:25:39 -0500 Received: by smtp.corp.redhat.com (Postfix) id C593B2026D12; Thu, 7 Jan 2021 22:25:39 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C0FB12026D11 for ; Thu, 7 Jan 2021 22:25:35 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 41190800B3B for ; Thu, 7 Jan 2021 22:25:35 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-40-ru5ZxJJ4OsiuD5QcQyBsNg-1; Thu, 07 Jan 2021 17:25:32 -0500 Received: by mail-wr1-f46.google.com with SMTP id y17so7095805wrr.10; Thu, 07 Jan 2021 14:25:32 -0800 (PST) Received: from x1w.redhat.com (241.red-88-10-103.dynamicip.rima-tde.net. [88.10.103.241]) by smtp.gmail.com with ESMTPSA id k18sm12295867wrd.45.2021.01.07.14.25.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jan 2021 14:25:30 -0800 (PST) X-MC-Unique: ICuStUP3MPC21a2L6g2Htg-1 X-MC-Unique: ru5ZxJJ4OsiuD5QcQyBsNg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=TMeZXBPfIw0UjpZf8Gz8v4KrcSgueeNPugH/0sy+Pio=; b=aE46Jke0YkuKC567cXfjgq18yzeE28K9/tFKl+NP7v1+BlzcOmcY4HBc+FLm4PrOpR o94ATD70LHey7rk1JRN6y7LdJpUhavNOB/59F2pjt5GvTI/vjuip83TdPIZWhnMchf00 GdeIeeVZAj9wNEDwcIKIbwyd2KrAIERH4cyS6k7Y7zbLpxkIFVI8/88BZ//cOjcimMh0 OrDr+2LM7jcq7Mluwh7zR4DuyxDSx5qNSXww0x2Km58BKJ0EuYyS/SRRjA/FNt9B9Eft m8v9Idt0Gx6vKhHA5Oy/A10SelkLkJKYcrrg06ZBl71gagS98jUhiSaf9QV7S6cSI/MV ZwVA== X-Gm-Message-State: AOAM532vyoiDiUq7zh/I7eikdoSIlVSEFdloshygtTqMQJOOmUhRFS7N QV77XKwM4WgU+lOOWQ2Ew6U= X-Google-Smtp-Source: ABdhPJyQheiVWednPyzYmSRVjnmfiD7VWxSYgMeazBYkbky7oQAAQ3mn/UgeIi/xUbmp1CUcnp2SVQ== X-Received: by 2002:adf:fbd2:: with SMTP id d18mr703316wrs.222.1610058331183; Thu, 07 Jan 2021 14:25:31 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 30/66] target/mips: Replace gen_exception_err(err=0) by gen_exception_end() Date: Thu, 7 Jan 2021 23:22:17 +0100 Message-Id: <20210107222253.20382-31-f4bug@amsat.org> In-Reply-To: <20210107222253.20382-1-f4bug@amsat.org> References: <20210107222253.20382-1-f4bug@amsat.org> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Cc: Aleksandar Rikalo , Paul Burton , kvm@vger.kernel.org, libvir-list@redhat.com, Huacai Chen , Richard Henderson , Laurent Vivier , Jiaxun Yang , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini , Aurelien Jarno X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable generate_exception_err(err=3D0) is simply generate_exception_end(). Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson Message-Id: <20201214183739.500368-11-f4bug@amsat.org> --- target/mips/translate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/mips/translate.c b/target/mips/translate.c index 5889d24eb65..445858591a4 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -2898,7 +2898,7 @@ static inline void gen_move_high32(TCGv ret, TCGv_i64= arg) static inline void check_cp0_enabled(DisasContext *ctx) { if (unlikely(!(ctx->hflags & MIPS_HFLAG_CP0))) { - generate_exception_err(ctx, EXCP_CpU, 0); + generate_exception_end(ctx, EXCP_CpU); } } =20 @@ -3104,10 +3104,10 @@ static inline void check_mt(DisasContext *ctx) static inline void check_cp0_mt(DisasContext *ctx) { if (unlikely(!(ctx->hflags & MIPS_HFLAG_CP0))) { - generate_exception_err(ctx, EXCP_CpU, 0); + generate_exception_end(ctx, EXCP_CpU); } else { if (unlikely(!(ctx->CP0_Config3 & (1 << CP0C3_MT)))) { - generate_exception_err(ctx, EXCP_RI, 0); + generate_exception_end(ctx, EXCP_RI); } } } --=20 2.26.2