From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08E4184FAC for ; Tue, 2 Apr 2024 13:27:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712064474; cv=none; b=jHFbtWhdzeigSoAmYEfyNaHAoTLhOMBQYUJ28t8G0eCxudo5lCST7xE0Tp1Ul0OYWTA3XmYTJcK8UT13atCZOMhifyrN1XuVm+uGtVIkGOYeEmjTBohSSg74ghFKijZTJ7CV+LIToVbzx8MwYRO/IVu7FFPHfYK0RBiQZ34TROk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712064474; c=relaxed/simple; bh=VrR5PyMv6A70c85py5RVb9ZDuggYQPq5XLbtELzNxTE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-type; b=CVjToXT2AoiL6f1LDX640Qh4WX7DYldsrIWFq9AoXm9RptKL8M0LXHcswAGYSpV9MYfERD+Ta8++SmqkDxeMXOUdSwS/9to3M7nQTiRkWeyzgB7hZjhqRkM76FYY+r8dICo0hppWl3UiqdeS2B6AlP2Q6/jSSnc69N1p5eeCL8Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=JDlZzZQ4; arc=none smtp.client-ip=91.218.175.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="JDlZzZQ4" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1712064469; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=a5zAghspcnzxcTediHPEbtSmYkBJwEf7JdkrAXMAXL0=; b=JDlZzZQ4Hk8pG87e5vzD49+QrTuroXHVnhGIJYgkHoHeljNfnyQAFSQ/4iKOed3SXk3JM8 Vc2fJVOZpVQ8qu577mVBm/k+5vqK5Hc7uaSAx3Q8++GyW59tATCoSHjEXfseQ3vcEh2WNk 7wqeJF9bMpyOoAm6QI1J/yft54tOCdE= From: Andrew Jones To: kvmarm@lists.linux.dev Cc: alexandru.elisei@arm.com, eric.auger@redhat.com, nikos.nikoleris@arm.com, shahuang@redhat.com Subject: [kvm-unit-tests PATCH v2 2/3] arm/arm64: Use 'max' gic type Date: Tue, 2 Apr 2024 15:27:42 +0200 Message-ID: <20240402132739.201939-7-andrew.jones@linux.dev> In-Reply-To: <20240402132739.201939-5-andrew.jones@linux.dev> References: <20240402132739.201939-5-andrew.jones@linux.dev> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT The 'max' GIC type has been supported for six years (Mar. 2018). Ever since its introduction we've considered switching to it for the default in the run scripts. Now, with commit 5dd20ec76ea6 ("runtime: Update MAX_SMP probe"), we no longer always check and restrict MAX_SMP, so we'd have better luck with configurations working by default by finally doing the switch. Of course we also get the benefits of testing more modern models by default and requiring less command line modifications when converting TCG to KVM/HVF. Signed-off-by: Andrew Jones --- arm/run | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/arm/run b/arm/run index efdd44ce86a7..120e406fc703 100755 --- a/arm/run +++ b/arm/run @@ -29,13 +29,7 @@ if ! $qemu -machine '?' | grep -q 'ARM Virtual Machine'; then exit 2 fi -M='-machine virt' - -if [ "$ACCEL" = "kvm" ]; then - if $qemu $M,\? | grep -q gic-version; then - M+=',gic-version=host' - fi -fi +M='-machine virt,gic-version=max' if [ "$ACCEL" = "kvm" ] || [ "$ACCEL" = "hvf" ]; then if [ "$HOST" = "aarch64" ] || [ "$HOST" = "arm" ]; then -- 2.44.0