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 7B340C87FCB for ; Mon, 4 Aug 2025 21:28:31 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uj2il-0004KA-Q5; Mon, 04 Aug 2025 17:27:51 -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 1uj2iM-0004Ci-UN for qemu-arm@nongnu.org; Mon, 04 Aug 2025 17:27:30 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uj2iJ-00015h-SV for qemu-arm@nongnu.org; Mon, 04 Aug 2025 17:27:26 -0400 Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-31f53b3b284so5724978a91.1 for ; Mon, 04 Aug 2025 14:27:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1754342841; x=1754947641; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=DiBOPXvJDe3R1KzyVPGMdu1dw2Eaxd6/leRLY949d3Q=; b=qZ4TE3kS/TM0oU6LutiXQm4WdR+Ca6dZprVyl4pHeC/EEowUl/S0qAArEsJfLTM0Yn ZoVH/uHzABe3KeerC9Q0k2a3PF7pHUj328g/Ci87GBiCPqYqbRFZlnUkvIpHu4o+vfCQ JUI8cqLH86HS/9Q/1ZjWCnZVnfYB3j80jZ6KfxS0/PfAepvKBRD+SUGgWWNseEEjgzYU 1Z/xL36BrgWT8QZ9AREbEprK6W35WxCh/Imw8FkSGaeoS4rVD73APDjYi6E8tN+K++G6 f71utACHMz6nfGgXoSlQtKNvzBQITtWQgPzYRQUafNejp/v1c3QD9sDblWPX/AgiNVr1 YRnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754342841; x=1754947641; h=content-transfer-encoding:in-reply-to: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=DiBOPXvJDe3R1KzyVPGMdu1dw2Eaxd6/leRLY949d3Q=; b=oQLpbkWNYeJYGFcC0s3NcFShouOzPO0dCrIGC6eAgAyZMZQ4pV9seexw+P+ieJSckc XPlGm07tOBdmj9vqXDSfH33TV+b9m17lpCBOOcbTZo0NMRba49qA0wDsVoyC3GCTsuje qgiAgft/sXIG5HUcH33hJ5fPL60yq80krCfT4p801a5ry3UFZOmh6aM14zGNi1z8JCpy 19CpNfTl3v/PmvXs1/qGG6seuzRKJtCBxeJWik7NFsENwA4RxX7t4INpp1C/zEOL7cud Aj6gtz0QDTFSYLpADycBdtfoNwT7X6Ud/B3JFWxwxpvN+ZMEkvpLNKHgMjeoILi+JYpp 8shw== X-Forwarded-Encrypted: i=1; AJvYcCXEanyFDugFT37Pe+PtCF7+YiBhcKn0w2CPbJBtskWEd4DF5czdq6gZZRDQuBqwiO/mFArinehBcg==@nongnu.org X-Gm-Message-State: AOJu0YyRcetFgjdzhU0LKd7NhqzL5Yi17wLHWtv6328pO98eIEzc+VFz ePLawXI0egH7PGz9dVe+UroOejxNi5wMLaO6LRwQr7eiWgl/5WHQmjHFb6QgUAMuvHY= X-Gm-Gg: ASbGnctevtM9kEesFVG8/HnSQi+qqepx9uHa8/nMFpXukHg7kemDcEE5sN/rmEolPZE 7a3PotvE42W2UEF6fMlW5tCUzOXdYwve+oL3dWAbK1oV6ex55QLXAfA9lSMjtV7z/G30VvTVmK5 acgKVIISbXEee2SanYrPkWINyixonf4M5O3qMQPEAkaQ5JWIfbbWgB1mZhpHP7nIwApSS9yfegs b3e3y4nvJ6k9vUR3xrUPxImrZINIsP7OgLnLrVm46o46oZCK2KV9BgN4D8xTIPU11twGyqfFeSH OI2uQm0QTolIGACnFwHcEHEUjo0PU3ZfGGcjs5awp/ozwizOH4/Wq+vb1+u9z7fHGL3sKIQgSHs 17YT0HTVXyFG266SlPr72ZQP/fxr+zOYqCug= X-Google-Smtp-Source: AGHT+IG6GkhvwTgNEPW9CTuSRrzf89xhW8ZiKiSEfXIkrGG/f9i9KOA7QFDvqBYjaZW8hV7JDSDjGA== X-Received: by 2002:a17:90b:1804:b0:312:dbcd:b94f with SMTP id 98e67ed59e1d1-3214fe966c8mr1298763a91.11.1754342841262; Mon, 04 Aug 2025 14:27:21 -0700 (PDT) Received: from [192.168.1.87] ([38.41.223.211]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-31f63f0b4aesm15333525a91.26.2025.08.04.14.27.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Aug 2025 14:27:20 -0700 (PDT) Message-ID: <4182240b-59bf-4bb3-ba73-e5c4216608e4@linaro.org> Date: Mon, 4 Aug 2025 14:27:19 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 15/17] whpx: arm64: implement -cpu host Content-Language: en-US To: Mohamed Mediouni , qemu-devel@nongnu.org Cc: Shannon Zhao , Ani Sinha , =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , Phil Dennis-Jordan , Roman Bolshakov , Igor Mammedov , Eduardo Habkost , Mads Ynddal , =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , Sunil Muthuswamy , Zhao Liu , "Michael S. Tsirkin" , Alexander Graf , qemu-arm@nongnu.org, Peter Maydell , Marcel Apfelbaum , Yanan Wang , Richard Henderson , Cameron Esfahani , Paolo Bonzini , =?UTF-8?Q?Marc-Andr=C3=A9_Lureau?= References: <20250804142326.72947-1-mohamed@unpredictable.fr> <20250804142326.72947-16-mohamed@unpredictable.fr> From: Pierrick Bouvier In-Reply-To: <20250804142326.72947-16-mohamed@unpredictable.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pj1-x1033.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, 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-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+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org On 8/4/25 7:23 AM, Mohamed Mediouni wrote: > OpenProcessorKey and ReadRegU64 adapted from: > https://github.com/FEX-Emu/FEX/blob/e6de17e72ef03aa88ba14fa0ec13163061608c74/Source/Windows/Common/CPUFeatures.cpp#L62 > > Signed-off-by: Mohamed Mediouni > --- > hw/arm/virt.c | 2 +- > target/arm/cpu64.c | 19 ++++--- > target/arm/whpx/whpx-all.c | 107 +++++++++++++++++++++++++++++++++++++ > target/arm/whpx_arm.h | 1 + > 4 files changed, 122 insertions(+), 7 deletions(-) Reviewed-by: Pierrick Bouvier Additional question, what is missing for SVE/SME support?