Received: by 2002:a17:906:1917:b0:98d:b2f5:1316 with SMTP id a23csp3266555eje; Thu, 13 Jul 2023 04:52:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlFhtf1hJsOMQUmtN0I8dXohItq22M53au2UThgAVq/T69vZxiFjXvY43z2YJ28ilaE9OrNR X-Received: by 2002:a37:ea1d:0:b0:766:57c:d2b4 with SMTP id t29-20020a37ea1d000000b00766057cd2b4mr1532062qkj.65.1689249150611; Thu, 13 Jul 2023 04:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689249150; cv=none; d=google.com; s=arc-20160816; b=h1H34fv5GPDpZemXZi3toCOzIgr40ZZ0tFUL1u5F3oT00smQOGLrL7fLF2/9a+hc/E dVHyKhQpXDEgPpN34k7LhUpk0af9gE14V0OJq1rwFN0izFC6ScYdv2n3FakXvpB3SjTB VohONNOcO4Mn4BACvzlY8r2AFgpOcwFrT/eH/+y52i6fu29kmmEGsBuCyknKQQTYyHjS YVIJGGI+Jm7rKlbbFS7TSBC0zz9vW8rAiZn/qe+3zCSSUEs+R7SFvBpArajuScSgA8/N EMY45j74EE8+t0KRRMQ25Aoc0N+9vNmsrIACFiRy/BnqIhddN0VzRgDVNulTOg+xEmUP GEUw== 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:content-transfer-encoding :in-reply-to:organization:from:references:cc:to:content-language :subject:user-agent:mime-version:date:message-id:dkim-signature; bh=XFjNfn7R1H5fhzbWuvnUMECb004rySEmdgokQIdNG2I=; fh=oIwMRO6eGxxaWaUUgB+bHYAzdQ/rrhfPs1tPLkxg3tw=; b=cYpQZVSsJJUf7EffWi79bb7y4WnZQlZsrQzvrz+hCCyLhDgmEbsaYibDoMqNeiwUL5 k/emPoqVKZ67zqGoTQVbVT7JjwygM+2EXvaIClECBJnjtbGTe2Spf/TRiUbrlyQywn8c Ni5YuEeAqVsaSg8FB1ZBns2G3y88ZpbvYM6BT20a36Oq+MswzjWjvySEh/guDTHX4slm vRNrRQkYZhWFOzVskwCjXyWTfSFOfgjQUYOrse4JGuKNwTyUwQ3LAM4EwaicqJQMi4q/ 51jbrJx0mkjFe6aebWCCsEbMaWqyji2EElGluM+wMWymuHY1T6cnSNUCqrF2jXwLG4LV vO0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d3sMBqKS; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (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 q4-20020a05620a024400b00767327f00c9si2899363qkn.242.2023.07.13.04.52.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Jul 2023 04:52:30 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d3sMBqKS; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJuro-0006AM-Mw; Thu, 13 Jul 2023 07:52:16 -0400 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 ) id 1qJurn-00069d-Dv for qemu-arm@nongnu.org; Thu, 13 Jul 2023 07:52:15 -0400 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qJurl-0002hD-Pi for qemu-arm@nongnu.org; Thu, 13 Jul 2023 07:52:15 -0400 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-51e56749750so784477a12.0 for ; Thu, 13 Jul 2023 04:52:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689249131; x=1691841131; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=XFjNfn7R1H5fhzbWuvnUMECb004rySEmdgokQIdNG2I=; b=d3sMBqKSkPAkcXxeoNeOS+2SRLayWFJx+KBP4IpXEqBgP39JllcLr0mQDGIBmiZFEc 06DgsryXUMbkcIRwDUU5HRRRt97enz+MWjUM/GZIjtS7rnlsIZtc7R5E5NN7DbEmLVYw 0skSZ+2kiDyuUH96XR5KVMWTj/jgrGCBxJgapexboi9vyyHhaXTw9y1CDifAsN63K2eS q7+VJSYEmS9idyOcyySxmBMrcCSKvHR/2+AJFoAdSZYGEi0vHj9q4ypA27pN7gQitOh4 oUh7bU69awt7cgoUUH1Hjxfak70x2OHJZ+aM39KMQAAow5eF1CPQ2fkPl7IhXA9nDSZM FllA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689249131; x=1691841131; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XFjNfn7R1H5fhzbWuvnUMECb004rySEmdgokQIdNG2I=; b=EYNcXXlwLopQn7DciSSW3psBTh+lky1G2GJJMhp3d9gqZbcFiG/3ahOGTUS9tDAzzQ lU1y4cwjOlu+BigRwRSInOnW6ifNKp4R08zk9JgINrs9zfwCCcA2rVD4mLfMasbGGEyv jK9bbDxiiB863kPucs9Y6e1pnpp92JobaoA+mz9vzkhwD32dE/0ERd5sCS0tT82LbCi5 vQCLtMpmyJV96dxcSn2Z14BwpgTWYEVFZSkR/Vl6Mlkz0mOksNz9SZelCWmpWFskFa8o FeHNAZ+0LtyIdf6uugI5fGoR6m9v5+JH88tOpiPZZfEeX7Y5iIhf27Wj+B8FKVjdumJM 4kqA== X-Gm-Message-State: ABy/qLYS43V0CJ3e5Se0Fp/cQFLmGkZ/yb8IZC4qbRXWuB9PxQnxIdtK tBdEQYJK8Q/uEFSXEKR/U8+fbQ== X-Received: by 2002:a50:fb17:0:b0:51e:26c8:25f7 with SMTP id d23-20020a50fb17000000b0051e26c825f7mr1434379edq.42.1689249131414; Thu, 13 Jul 2023 04:52:11 -0700 (PDT) Received: from [192.168.200.206] (83.21.150.147.ipv4.supernova.orange.pl. [83.21.150.147]) by smtp.gmail.com with ESMTPSA id w13-20020a50fa8d000000b0051dfa2e30b2sm4147837edr.9.2023.07.13.04.52.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jul 2023 04:52:11 -0700 (PDT) Message-ID: <2d21e89f-c965-e8f1-3705-dfea8367fc7e@linaro.org> Date: Thu, 13 Jul 2023 13:52:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 0/3] hw/arm/virt: Use generic CPU invalidation Content-Language: pl-PL, en-GB, en-HK To: Peter Maydell , Gavin Shan Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, pbonzini@redhat.com, eduardo@habkost.net, marcel.apfelbaum@gmail.com, philmd@linaro.org, wangyanan55@huawei.com, shan.gavin@gmail.com References: <20230713054502.410911-1-gshan@redhat.com> From: Marcin Juszkiewicz Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=marcin.juszkiewicz@linaro.org; helo=mail-ed1-x52c.google.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 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.096, 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-arm@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-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: TkeFxbkZZ0aG W dniu 13.07.2023 o 13:44, Peter Maydell pisze: > I see this isn't a change in this patch, but given that > what the user specifies is not "cortex-a8-arm-cpu" but > "cortex-a8", why do we include the "-arm-cpu" suffix in > the error messages? It's not valid syntax to say > "-cpu cortex-a8-arm-cpu", so it's a bit misleading... Internally those cpu names are "max-{TYPE_ARM_CPU}" and similar for other architectures. I like the change but it (IMHO) needs to cut "-{TYPE_*_CPU}" string from names: 13:37 marcin@applejack:qemu$ ./build/aarch64-softmmu/qemu-system-aarch64 -M virt -cpu cortex-r5 qemu-system-aarch64: Invalid CPU type: cortex-r5-arm-cpu The valid types are: cortex-a7-arm-cpu, cortex-a15-arm-cpu, cortex-a35-arm-cpu, cortex-a55-arm-cpu, cortex-a72-arm-cpu, cortex-a76-arm-cpu, a64fx-arm-cpu, neoverse-n1-arm-cpu, neoverse-v1-arm-cpu, cortex-a53-arm-cpu, cortex-a57-arm-cpu, host-arm-cpu, max-arm-cpu 13:37 marcin@applejack:qemu$ ./build/aarch64-softmmu/qemu-system-aarch64 -M virt -cpu cortex-a57-arm-cpu qemu-system-aarch64: unable to find CPU model 'cortex-a57-arm-cpu' I can change sbsa-ref to follow that change but let it be userfriendly.