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 X-Spam-Level: X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F652C2B9F7 for ; Mon, 24 May 2021 17:13:26 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 438736140E for ; Mon, 24 May 2021 17:13:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 438736140E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:49298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llE8r-0000IB-Bd for qemu-devel@archiver.kernel.org; Mon, 24 May 2021 13:13:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llDso-0003Al-Bo for qemu-devel@nongnu.org; Mon, 24 May 2021 12:56:50 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:43992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llDsl-0001Lx-QX for qemu-devel@nongnu.org; Mon, 24 May 2021 12:56:50 -0400 Received: by mail-pg1-x533.google.com with SMTP id e22so4792226pgv.10 for ; Mon, 24 May 2021 09:56:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=/BE8GQotuAxCnJErtLEhLKYlIw/wJ3YwlSBiOkiCd80=; b=DqQFty9mvMsmbOLfnJXat/Lyo3kqBXHgAxMQkbMwsXFLsT4E6uSGqJHJDQ1DwZ15rD soCWZb190NLJOvdMJcKDX1xA3JCRkZnAkkB0D3QKFdz3Z062gDrvyzvrEibkLy2CvU8K /aSQIkg+qYONp9KYWnngPmf/l0re9R1YY8BbDZpnjYLA7GpGkmgHfnvCV+IaPNe09R5s HJxtI2QfaLDNFJaxsnjRooxiwsZMTPm/zuWRvnaL6NR2T6A3YBpzp4fPsPulidAG3KGR 4B6bFBb6MuvulqIBtLlswBYNXxjuMU/R/M3kX9MnLj2BseZwL2cyUYI0ZZnlHFP2t6x1 pITw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/BE8GQotuAxCnJErtLEhLKYlIw/wJ3YwlSBiOkiCd80=; b=oAbam2znSa6ikskeq1o8Adai5GGMEtXP04QDcZkmgQYIcka/traa0rtVzWz2RYTsnL K7PD1VF1MhfqQEflPLcU6vJqxue40s7oNLwJtcgCTJp2BRBd8qeZf+QMOyLL5dfTVd0N KbiWRxVTrtROpZ++YBSJ9bvfgnto3fRVtVBdniUat8KVW39ONMs5UnJOdo8J5HQSz+vV nuOz4F8PKPqg6h272sMiIqbFSDuSd1hcfThogKjHdfEgGAjUz+z6A0UpwXHenNUHnvwS QqJdQiC8/+WlPNRbpA2p70Z5st1WuilWYT1EY29kX2yZOWBtc/0qI5KwE9A4hMWN6ZeJ lVew== X-Gm-Message-State: AOAM531qnnPAh763/2XxQtC0pGyUq9qRbBjAkFpR36gRW08zlWMp7ZDW r4XZPNq/q6IttYc9zQGG2eLJw3OHIxs1ug== X-Google-Smtp-Source: ABdhPJx3HqznwonGtITH0Lt/7bbybUvqEABBZ/e/4LmxnTRONNqnQFID6P2hrFl5ubkf+sVrJK9QZw== X-Received: by 2002:a63:5b0e:: with SMTP id p14mr14168704pgb.110.1621875406211; Mon, 24 May 2021 09:56:46 -0700 (PDT) Received: from [192.168.1.11] (174-21-70-228.tukw.qwest.net. [174.21.70.228]) by smtp.gmail.com with ESMTPSA id ci2sm10555008pjb.56.2021.05.24.09.56.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 May 2021 09:56:45 -0700 (PDT) Subject: Re: [PATCH 7/9] target/arm: Make FPSCR.LTPSIZE writable for MVE To: Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org References: <20210520152840.24453-1-peter.maydell@linaro.org> <20210520152840.24453-8-peter.maydell@linaro.org> From: Richard Henderson Message-ID: <23a65549-1a53-c5c3-18c3-9e3f2355ce3b@linaro.org> Date: Mon, 24 May 2021 09:56:44 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210520152840.24453-8-peter.maydell@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x533.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 autolearn=ham autolearn_force=no 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: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 5/20/21 8:28 AM, Peter Maydell wrote: > The M-profile FPSCR has an LTPSIZE field, but if MVE is not > implemented it is read-only and always reads as 4; this is how QEMU > currently handles it. > > Make the field writable when MVE is implemented. > > We can safely add the field to the MVE migration struct because > currently no CPUs enable MVE and so the migration struct is never > used. > > Signed-off-by: Peter Maydell > --- > target/arm/cpu.h | 3 ++- > target/arm/machine.c | 1 + > target/arm/vfp_helper.c | 9 ++++++--- > 3 files changed, 9 insertions(+), 4 deletions(-) Reviewed-by: Richard Henderson r~