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 34F8BC83F22 for ; Wed, 16 Jul 2025 17:29:35 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uc5vh-0001la-IA; Wed, 16 Jul 2025 13:28:29 -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 1uc5vY-0001gW-Hp for qemu-arm@nongnu.org; Wed, 16 Jul 2025 13:28:21 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uc5vW-00006V-Ll for qemu-arm@nongnu.org; Wed, 16 Jul 2025 13:28:20 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3a54690d369so66379f8f.3 for ; Wed, 16 Jul 2025 10:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1752686896; x=1753291696; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zfdOUM49AERFEXBtCOKeieddkFu03hCWo6FYXNJke2A=; b=Xz3F+PkYjaFKqPRKBAHhBnWUxPT8VPZrt4Cx7ncKKwkOcdEOePH/RhPDcIzzQy7xM0 3T0YzBxLNzoKBrR0WbNZTWZln6xZKd73PHRbq92Ca/a5wa2zntYcDLIiX9PP0DAgrD62 Cq9leII6Gd1HT2w5aoIp2e6Mve+vpQjijtgFwLA76VijTPzFLE8gQtc2E0mIKRT9VwRl Z9mO1P+mShS9gBVmVtYY7WGKz4lea5MnpqMKuLr5v3IAHEOIXo1H+49GSLP8+qytqQdi koaBxTTVIblx6nCyPS3H6iQGJ6JrQxSAtaZzoLXpxTDHIERb//MqAO5HNOFIFR6HzA2k iJLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752686896; x=1753291696; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zfdOUM49AERFEXBtCOKeieddkFu03hCWo6FYXNJke2A=; b=X34TjrvaZr6z3QHfRRkx5rPibY0CMVVdzOeXZ4IhpaIrJnHcmpmejug7AbFk+lL2LU +jGL0CJPePAXukoGPcOALRvVi+dx40+12GSkDPYgM3zFZeFEFRrmFLxreR2Xi7iuBWCz dRtBayFKL6RDsNVrsAxto8/ovo2O5+iO9LTlrsTHOuaMONLoTBfvx4nJ+6G0dNDfFPNL +A7axdQyZ94ZH8PnCuRgzMSkLkXH6+EYU5RRorJrs99vfu5o408sKbhqsRInw7fR9WDF Wy575ys4z3QDqlb1lfSLP9SfzEjPpt+N38xNIHP3nZTfsMqID//T/rfJH11fI3wnKkTp ds5w== X-Forwarded-Encrypted: i=1; AJvYcCU892u1Irt2nnxwXd36FfJ3Sf4XmaWcDBQnJSul0RjP1ij0IilIn05Rz0HXyp+8BiCWyd/7Tn8Kfw==@nongnu.org X-Gm-Message-State: AOJu0YyayCtawpoEQV6aK/ShHFYvI5w81GQ9Kcc0zFYI4cbxIVCR/NT2 gYQVdx/vUdVgsconQXX7NQUyDyHvCELY5X8vXzjWjsYsiS5g1dIv+wkguu4xM43lOjg= X-Gm-Gg: ASbGncsIFzSbI8q4NRg1qVHJ6ymDeiQrK8xJ+Yp2jE+Pr5ZGxeUzYOrZo+ME2jByNZT H4ipedtfPuH5HYuoX+OQtu7e9ZWKqqd95A0HWNwSlGkums1dF4Mn8LvU7wl1R4SddX1cYcIuPnP IZbdVP7mnIQSeSIWZt1qX+Mlvbx02aMITIM7WNgzWsEUjVLPPiBEd+IeCVio3AACeepO6txtuu2 EEez0ZGBzwyB22t6yeaShrXLqzx73wXB8GEvB2Vr5Oz0OP4AL7VFHXmhlMoFH3Xz0JquVzxVu15 5u+oYOADLuG2+kIBMq1OrhBxgkpjN8ALthSWx68oyKiwGBwQ7ObpUdqiYnCCLYTmrWRxa/KtdMh +b+5pStq/ytOdndEiATaAresIpCH02ITRMBiOg51OqGOcYf4fddrofJhE2bdy9Ruo9RnYGeCT X-Google-Smtp-Source: AGHT+IEnQpaKgxrMbeoDi1PApgvzv0TxJCGw3XJhrpzOHlnbGg4/nxjdKi7XEZtpHAUDfKCughKksA== X-Received: by 2002:a05:6000:4383:b0:3a5:27ba:479c with SMTP id ffacd0b85a97d-3b60e50ff53mr2777751f8f.43.1752686895804; Wed, 16 Jul 2025 10:28:15 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3b5e8e14d12sm18627471f8f.70.2025.07.16.10.28.14 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 16 Jul 2025 10:28:15 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Cameron Esfahani , Peter Maydell , qemu-arm@nongnu.org, Roman Bolshakov , Mads Ynddal , Phil Dennis-Jordan , Alexander Graf , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH-for-10.1 0/3] accel/hvf: Do not abort in hvf_arm_get_*_ipa_bit_size() Date: Wed, 16 Jul 2025 19:28:10 +0200 Message-ID: <20250716172813.73405-1-philmd@linaro.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=philmd@linaro.org; helo=mail-wr1-x435.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 Have get_physical_address_range() return when HVF is not usable, allowing to try another accelerator if requested with '-accel hvf:tcg', reported here: https://gitlab.com/qemu-project/qemu/-/issues/2981 Philippe Mathieu-Daudé (3): accel/hvf: Display executable bit as 'X' accel/hvf: Do not abort in hvf_arm_get_*_ipa_bit_size() hw/arm/virt: Warn when HVF doesn't report IPA bit length target/arm/hvf_arm.h | 11 +++++++++++ accel/hvf/hvf-all.c | 2 +- hw/arm/virt.c | 8 ++++++-- target/arm/hvf/hvf.c | 8 ++------ 4 files changed, 20 insertions(+), 9 deletions(-) -- 2.49.0