From nobody Fri Dec 19 20:52:48 2025 Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05A202356DF for ; Wed, 16 Apr 2025 09:38:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744796315; cv=none; b=KJAjGWa+XInPbzEVVAkKKawUAxibeX6GYQ9KTyweFu2QUO0uLULI0g9ElH+D28AoxVKjERId0s0kA/3SX8t2EMbCoQe5ri7x9s7zvJ8JOgVklkD02dT0EyCjmIcK2sNf4noKVHOYmKmU9xQlfTLRxTMvxeQEyzUnblQc1kGQYEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744796315; c=relaxed/simple; bh=sOfxDqWJ9ymYnjosfevYHIkqWVeQgthQJLwgiCPonuo=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=qTyg537ukZjhHcVx4F5Jrqcw8FsHmsNSSAwCqOo93AzMMM2PeMWHVdDmM3NKlCy2RPLjHXbPVwuHw81U6l924cABFrV7X5qBPp/IasH6PjKN4B/mE92lIpLfT/dTznOLhEai/6ve2AVtvIQ0Z4WT0y5IphI2SeUgZfXhHgXI2Kc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--davidgow.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=DU8YlgBp; arc=none smtp.client-ip=209.85.215.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--davidgow.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="DU8YlgBp" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-af8e645a1d1so4498638a12.3 for ; Wed, 16 Apr 2025 02:38:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1744796313; x=1745401113; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=IoFQtZYiuwltMSwksmBWJecA1s6pjQa1QqN35UJ7mbY=; b=DU8YlgBps1gFrCTUXbDMickc9dR8VJrf7sqYW8wxuXwWGuItTswxX1YayUUf+eS8dH z96FkdsaCqQHBA7GDCOLWqhF85jZ3aS680DAqQDz0+nXoftZcc8ruAG2O1r/mNjKdHro yu58pZebT2vXtaPQKovdZJopc/vKvd5KU/FSYOhfU+0uudgwVgMjCz1ZpNqc97g4m8dR +ELZPKmXbnL96iNiNvoTMAlEqnJbF5meIFmghswu03SpylrP2oCIO0ddV4lVtdySOq4Q 7eZ83xS9vIEpxbCbhacPYUcvd9z43EcxbvosajOmouovJnjXCPu3xxK/mdvFdWxTvvST hhcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744796313; x=1745401113; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IoFQtZYiuwltMSwksmBWJecA1s6pjQa1QqN35UJ7mbY=; b=EVDrNsUDZCTYX4PYzXVc5dqBVmIuMdF/rgj6dVb/Co7agJQuxnJEA2M9CKHLSjbT1B hBtGeFNkKFfRFvclnZAyx+qY6oX3j5Ckv+va0hxlCHb2rs0xFtlP1d9e1rFxdUquiWE4 dzg0TYoifkgRLqUm30h3UO2fK1gnoLNW02hhW62Nq9gw1QvlcDNOuCnilko2fSlQ3aXI pmqIiaocz71kTKWxUDH3oLdzIaYt5FTc9jO+GoGOZEZsuMuMbPSeakQKvfILIEm4u1OL vO6yoNtiSaes8e8ZnZZReQLrLTQVil0QCNwPrmkUVHgRMQEZWU2Rgtiu6qGTLwvtCXbM RmnA== X-Forwarded-Encrypted: i=1; AJvYcCUw3clStyvnmdB1AK6d9AjICSXcD2RbDH7qiVn2enqz6Wzk1ktAd53Y4av6pPZA+EAeB9fS8Vtj9fl7lME=@vger.kernel.org X-Gm-Message-State: AOJu0YyYAhNVkPJC8aO0y9PZfDifwJjQKKjVfrIh5x1ayq7JDIY5yq9F TxiESkBS+vU/RPGImBtFXmkaX+54/DSAd0MU5cbY5BCNKhC2nN2cgmrv5FRR2r5WhViw5T5153t +WyDjQHuVTw== X-Google-Smtp-Source: AGHT+IFFPxpgsM7gXnMG5DlNdF6g++0p05toIQ90I7Ym9i5+B/o9N3F0bIR/RIGYEq7KV/oxE4LDXF8+tzSAfQ== X-Received: from pfbcz18.prod.google.com ([2002:aa7:9312:0:b0:730:90b2:dab]) (user=davidgow job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a20:d50d:b0:1f5:8d8f:27aa with SMTP id adf61e73a8af0-203b3e4fe8dmr1797837637.8.1744796313238; Wed, 16 Apr 2025 02:38:33 -0700 (PDT) Date: Wed, 16 Apr 2025 17:38:25 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.49.0.604.gff1f9ca942-goog Message-ID: <20250416093826.1550040-1-davidgow@google.com> Subject: [PATCH] kunit: qemu_configs: Disable faulting tests on 32-bit SPARC From: David Gow To: "=?UTF-8?q?Thomas=20Wei=C3=9Fschuh?=" , Rae Moar , Shuah Khan , Brendan Higgins Cc: David Gow , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The 32-bit sparc configuration (--arch sparc) crashes on the kunit_fault_test. It's known that some architectures don't handle deliberate segfaults in kernel mode well, so there's a config switch to disable tests which rely upon it by default. Use this for the sparc config, making sure the default config for it passes. Fixes: 87c9c1631788 ("kunit: tool: add support for QEMU") Signed-off-by: David Gow Reviewed-by: Thomas Wei=C3=9Fschuh Tested-by: Thomas Wei=C3=9Fschuh --- Another quick fix to the sparc qemu_config I noticed while testing [1]. --- tools/testing/kunit/qemu_configs/sparc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/kunit/qemu_configs/sparc.py b/tools/testing/kuni= t/qemu_configs/sparc.py index 3131dd299a6e..2019550a1b69 100644 --- a/tools/testing/kunit/qemu_configs/sparc.py +++ b/tools/testing/kunit/qemu_configs/sparc.py @@ -2,6 +2,7 @@ from ..qemu_config import QemuArchParams =20 QEMU_ARCH =3D QemuArchParams(linux_arch=3D'sparc', kconfig=3D''' +CONFIG_KUNIT_FAULT_TEST=3Dn CONFIG_SPARC32=3Dy CONFIG_SERIAL_SUNZILOG=3Dy CONFIG_SERIAL_SUNZILOG_CONSOLE=3Dy --=20 2.49.0.604.gff1f9ca942-goog