From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E77B3C43334 for ; Wed, 8 Jun 2022 16:54:39 +0000 (UTC) Received: from localhost ([::1]:33266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyyx4-0005Pd-LM for qemu-devel@archiver.kernel.org; Wed, 08 Jun 2022 12:54:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyyvk-0004OQ-3s for qemu-devel@nongnu.org; Wed, 08 Jun 2022 12:53:16 -0400 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]:47076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyyvi-0000Op-Md for qemu-devel@nongnu.org; Wed, 08 Jun 2022 12:53:15 -0400 Received: by mail-pg1-x531.google.com with SMTP id c14so19402016pgu.13 for ; Wed, 08 Jun 2022 09:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=+58fz43SXUyyc+VnJwcaDad68Lr2mJNR9L1z85R1GzI=; b=PN0FD975b3aJMh4XqSOA7SfGmtK2BkXsdsQ2BS6XxyjhuMR2O9zmwzUaVQQZPvGcQu ceI6dC2TBGd1z3Cwu0g5HdjRPwB61gNg18jCPsVTnq7jwbEAVS+ouvAwvTJ1g0CIZtGw 46VI9oZKpGQMH36tOKofR/vrqD3pvo8iHhX6ORKkJt3qrOYnUHI7s8QionR/oYdT5+O+ JeyD5t1U3xebQsmH/I42sqo6nA4xHa0IpawRSfExSGnebHZVa1kXpeDifPid3etKtB9t S1SBk2u5i4cx1Kf616M0/xJFy2TPiTEGP3ZHPukV+VG9i3pvXGylOnOJ+IJdFXX8CYJ1 f7Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=+58fz43SXUyyc+VnJwcaDad68Lr2mJNR9L1z85R1GzI=; b=W2d8frJ0LiXPAoQd+yj6H9xvfI7qc30b6N8DfoAzRkFMNrWDrWJY1QuBzILIPipVBR xUKeYFCuvrKhZM4OmhNNot4NzvViw8bk0DALd/uFF52eVJ19qNB4YFGxhfYT7JO6v1z+ aMpy+U5N883TKpOMeLWRFMwHSWiSRknUFX8yMs3h/jSfSdabC1vOHNVk2S4k0/laVZzi coClkPnEUUSk6WCTqXPwv5CQ64uyPoYFkS9+bXGHtUHiyNKujlnbMTAjGOQsp0NRpAUn CDTLWcIcHIGbf7IGCbLZ8boEOnwP8qbAjRpyz8x+1h9UoQVNE7MumdkOqTVIK6zvseeG 2gQQ== X-Gm-Message-State: AOAM532ykAWx2fJA+or3aq9OErlmRsR8SDA6u6IVXXTNFkJJHp2DEg/f /tHQmH2zmUM/XxtqDHFWBcyDdw== X-Google-Smtp-Source: ABdhPJx8kJGsrQPKHO5LID7SXKhSxLXuzdzAfovVLevpD4tYGaR7JsNkA6XPJlWEc4FqNuMIQxLNVw== X-Received: by 2002:aa7:88cc:0:b0:51c:319e:772c with SMTP id k12-20020aa788cc000000b0051c319e772cmr11195326pff.41.1654707192243; Wed, 08 Jun 2022 09:53:12 -0700 (PDT) Received: from ?IPV6:2602:ae:1547:e101:6812:d08e:b22c:43d7? ([2602:ae:1547:e101:6812:d08e:b22c:43d7]) by smtp.gmail.com with ESMTPSA id v10-20020aa7850a000000b0051868418b06sm13110379pfn.35.2022.06.08.09.53.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jun 2022 09:53:11 -0700 (PDT) Message-ID: <6455580a-7344-8531-cd2c-708f8ddfb04b@linaro.org> Date: Wed, 8 Jun 2022 09:53:09 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v4 4/4] target/riscv: Force disable extensions if priv spec version does not match Content-Language: en-US To: Anup Patel , Peter Maydell , Palmer Dabbelt , Alistair Francis , Sagar Karandikar Cc: Atish Patra , Anup Patel , qemu-riscv@nongnu.org, qemu-devel@nongnu.org References: <20220608161405.729964-1-apatel@ventanamicro.com> <20220608161405.729964-5-apatel@ventanamicro.com> From: Richard Henderson In-Reply-To: <20220608161405.729964-5-apatel@ventanamicro.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x531.google.com 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 6/8/22 09:14, Anup Patel wrote: > + struct isa_ext_data isa_edata_arr[] = { static const? r~