Message ID | 20230308132857.161793-24-laurent@vivier.eu |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp330431wrb; Wed, 8 Mar 2023 05:35:33 -0800 (PST) X-Google-Smtp-Source: AK7set/YDh4JKxu89a19HM3DQorTqd4JyoFW2yj3L9af/Xbv7barZtIGjE6VRfn+vY73GykU9YFb X-Received: by 2002:ac8:5b08:0:b0:3bf:d490:f218 with SMTP id m8-20020ac85b08000000b003bfd490f218mr32062640qtw.43.1678282533697; Wed, 08 Mar 2023 05:35:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678282533; cv=none; d=google.com; s=arc-20160816; b=kDGrIA32gTiZGBe2SpwX+kwZFdG8vNBLmninCMZbtRuQWiz+MZP/tmHyEPQcBSqd87 i/+VgEcMzBaBo3S+82krp2T+7wenFEdHu9i37S0IchEX9qbsKuKCjObeKIwvSvnPa/vG tJvQY1YaqYHEu8E+f2KIRG1U0/YnABhpXkIRfkuADFaJml9burOSIfHj8RL0IbdT+7gj 44zl5sfhrX30Rh+Z7LBzhK6mz/+MbiWIF1qxKfrMr4eLJF0vyvvYcXhVQqoXdaMnRSj6 nvTwAOusoKJr6q3qF6LEC/OUotjoBhHqd6QXIpYsK0uIa9/5PMS67nIYwHh+MCMIpuZ0 y03A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:ui-outboundreport :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=ExEGnszXMALi5wmr+uegQ42aMjQjUAGHlnErCtx5RjQ=; b=RW8Ar0YrNrssI+fXS7vXO5TB+9PoN+TyW3iATYNI570Uqmi9TVGkUD4fWTKXBDF8PP NjG0TYKrIh+HZkDeakxcyvb2BTuSltMuy2N6dy0XLva7KewPPZza9Yw3e5KUQwRLXpF2 Ax/PimSN7DZbu2+T76PxIyefXktbULuWFw/8xDd6X2SZBjYIk4hNgFXHpxgvumv8tq9V pK01tJWIXnDYmLT1EkSSl4EEzVzHouTEh4QHeqmF4m9WgvdbmLeneehiI4r59p30uxmf VcSvLEBUBhD6bxeC0NvmTY1Z8YbRmOAJwp8YKVEbqgB3ZD+bkOefxF2JMtNcJYbLvcBJ 8XVA== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p15-20020a05622a00cf00b003b676a1b5edsi12268927qtw.421.2023.03.08.05.35.33 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Mar 2023 05:35:33 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1pZtsg-00040i-5L; Wed, 08 Mar 2023 08:30:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <laurent@vivier.eu>) id 1pZtr6-0001lD-Mj for qemu-devel@nongnu.org; Wed, 08 Mar 2023 08:29:22 -0500 Received: from mout.kundenserver.de ([212.227.17.10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <laurent@vivier.eu>) id 1pZtr2-00068h-NE for qemu-devel@nongnu.org; Wed, 08 Mar 2023 08:29:20 -0500 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MKKlN-1prHTq2Wad-00LrA1; Wed, 08 Mar 2023 14:29:13 +0100 From: Laurent Vivier <laurent@vivier.eu> To: qemu-devel@nongnu.org Cc: Richard Henderson <richard.henderson@linaro.org>, Laurent Vivier <laurent@vivier.eu> Subject: [PULL 23/28] linux-user/sparc: Handle privilidged action trap Date: Wed, 8 Mar 2023 14:28:52 +0100 Message-Id: <20230308132857.161793-24-laurent@vivier.eu> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230308132857.161793-1-laurent@vivier.eu> References: <20230308132857.161793-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:6RAAO4vQwXWGHOqmXZYgz20yoyV/pgSxbMb6vpaprBB/PEqb8cj 4BSVOdBA1uY9h7Ks+/Sij1xF5Lx2G/yT5Cg9NnbeDS3KUImoj9Ioj1pLNDp3vYEIo8FbwZQ GsH8fl4DOijGV7+PzfYe/U1gMVCZ7UTXSvCp9ZDNx3palNwjCuvGdGCeBMnxGDKaA5BzApm SZiPMmyaGcIUHJEOsESFw== UI-OutboundReport: notjunk:1;M01:P0:RWngCclXgUo=;HfFZrVHLYG7zei+NmJOWCSsWni2 jWyl95S/k89zFlIe/kPm154ZQWN/y34VnssnK7rtpmk4NyiyyViFGYNQsbEy3o14mY8P5GafP 5+cC/ETlJhR2r/9Kf4kXJJBHHEDSWWtHcs44V7kWTbHdmnL0WqapTfQ0GoiMk8I6rRMxfhRMW JIzzwqKxmc0RSxvWfI0T5qO+OCNxe54Xu9ybcFm5xAH9A6CkckyY0WPAVODHPYfmbsopAe30U tKVKxGSrx75F3xVDGEeTHE6LItoGof5Bs1NwS0ZpjcM3gwpUJbpcL7E932bz9lDvbVXlHI3E3 8lubIw725b5Czb6jT1cuh/Rtkoy6LUzaSUKWpVNj8mqNwShwzOyAnpbepvyWU59yl2OhsLPyu QqIw6E+ASBovOl3wPHJS4EV8oAk4Gshyjs46WcJypQ6A6Ecf7T6cMfU+C8tfDuFgnmSl24DPk uJUT+3ijr0ZIb/V+vKtxB3vsGOP7rMBiV3vldFrg2GLEtIqQXl3lfM0EdITmpZbEdQZP9qUnd dqxPfDnh+i4CtgqUAt7abdqstMsto+m9DajH5ooJFZKZHdQIci2HUpYhreuESCLkU7nMwoVkk FLx1pPpnhdwn8xLI2bQWERygJ4qHWnJx+DgOYu8nI5j/uCwevyXwW4A5aTfGr4+OQgpdgmqll HRs9LJm/u36SHDvQSMZbPmUsujCfoRt14u9ABTYmbg== Received-SPF: none client-ip=212.227.17.10; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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: <https://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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
None
|
expand
|
diff --git a/linux-user/sparc/cpu_loop.c b/linux-user/sparc/cpu_loop.c index 61b6e81459be..43f19fbd9141 100644 --- a/linux-user/sparc/cpu_loop.c +++ b/linux-user/sparc/cpu_loop.c @@ -306,6 +306,12 @@ void cpu_loop (CPUSPARCState *env) case TT_PRIV_INSN: force_sig_fault(TARGET_SIGILL, TARGET_ILL_PRVOPC, env->pc); break; +#ifdef TARGET_SPARC64 + case TT_PRIV_ACT: + /* Note do_privact defers to do_privop. */ + force_sig_fault(TARGET_SIGILL, TARGET_ILL_PRVOPC, env->pc); + break; +#endif case EXCP_ATOMIC: cpu_exec_step_atomic(cs); break;