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.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 4C138C54E68 for ; Tue, 19 Mar 2024 08:22:16 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=UNREkCU/; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TzPpZ6fMCz3vcr for ; Tue, 19 Mar 2024 19:22:14 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=UNREkCU/; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::c2b; helo=mail-oo1-xc2b.google.com; envelope-from=npiggin@gmail.com; receiver=lists.ozlabs.org) Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TzPLt1T5Kz3vfN for ; Tue, 19 Mar 2024 19:01:42 +1100 (AEDT) Received: by mail-oo1-xc2b.google.com with SMTP id 006d021491bc7-5a46ec4050eso2762360eaf.2 for ; Tue, 19 Mar 2024 01:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710835299; x=1711440099; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DHV3i4Gba0d6WT/j4EZFJfZJO1H61IDlaezqmWnREy8=; b=UNREkCU/v70xrTUa8rIeh0n4wiDI5Itc6UanCFp2KOsohlaiKL7jsHKhJt/hLOZWEO NMnYFGIZKQBhreaafxtt6uo/MsTkPRjklIImMqDCr0mX8SnLKVYd41n91Jov1WD2CsxR 3RVwhoSnhd27SJxpwlVXXQ3GquPNFZtQWA+jZFRMB+YfwGtlo9nCRcuBHaIlRPC0s0Gn UkfGgvOoRrGGxXVE9AK55Q69PHOvp2PNuLE5tJyTvwnliwswbnEe4Fr8LKsZs0sXG+uj yY5Ee3HjEmxpDlGEkyiyCImZMXa7thgLFv0F9V6v4ubmSLE3WEHASOUs/1sgT9JwWVaK AJdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710835299; x=1711440099; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DHV3i4Gba0d6WT/j4EZFJfZJO1H61IDlaezqmWnREy8=; b=DHRebIK5fq67/VTNhpnl6YzFxGkXe4ArVT4wN7CoKqLvSWn11hRNqhXXrb+YBdk5t5 7rmEsyek7L7mXyOpYF5FjPSNxpbd/18hR8hZMtzeSuzgPaQIfhTPtocVruyyzHBOQz5w jjSO9lf6RS2DnBNaD+paK/LR1UVgzusH73N3iXXTaccM0CCqEohXUYB+LOObfQgXlTPR Lr2hHXNUmpcNub9iz2C1GV53gwACwOvfqzTbFAFfw3kFBjaiJUnZRzjKYZltmB0/OwHL ZGJAuCRGGfhukP/C/I4L6VOvYqZZkGTayoEkkQBkLAUT8Sj5/gE6y5FPqMvzUCOrwi0i Vvsw== X-Forwarded-Encrypted: i=1; AJvYcCWthuh6lY1JGvl7lP7dURo6mmp4be31S8f3nohwuyGgSG3lEh+HeD+Ap7yzURJHi+L0+0kfSwDYuRm/vtm6VlKhkxBY2S7v9YFTx6wlMQ== X-Gm-Message-State: AOJu0Yxg7ijdLD8owWaNjZj1r3jB/nqOxW3Wx6IFW52B0uln5DwOh/eg AoMx1nzlLVMx5Fu2tc4QRduGp9V90a2Zw6/o+sinrL89CJwBtGcO X-Google-Smtp-Source: AGHT+IEXs0E8Qb6RA4bkQO4VYmb+dtVmkchk4sJqMglG8DUv1dLfuBOTpKPRWovT8+dXEQ7h57Mfvw== X-Received: by 2002:a05:6358:56a2:b0:17e:9ca7:c3a2 with SMTP id o34-20020a05635856a200b0017e9ca7c3a2mr12938120rwf.21.1710835299085; Tue, 19 Mar 2024 01:01:39 -0700 (PDT) Received: from wheely.local0.net (193-116-208-39.tpgi.com.au. [193.116.208.39]) by smtp.gmail.com with ESMTPSA id q23-20020a62ae17000000b006e5c464c0a9sm9121283pff.23.2024.03.19.01.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 01:01:38 -0700 (PDT) From: Nicholas Piggin To: Thomas Huth Subject: [kvm-unit-tests PATCH v7 30/35] powerpc: Add sieve.c common test Date: Tue, 19 Mar 2024 17:59:21 +1000 Message-ID: <20240319075926.2422707-31-npiggin@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240319075926.2422707-1-npiggin@gmail.com> References: <20240319075926.2422707-1-npiggin@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , kvm@vger.kernel.org, Nicholas Piggin , Andrew Jones , Paolo Bonzini , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Now that sieve copes with lack of MMU support, it can be run by powerpc. Signed-off-by: Nicholas Piggin --- powerpc/Makefile.common | 1 + powerpc/sieve.c | 1 + powerpc/unittests.cfg | 3 +++ 3 files changed, 5 insertions(+) create mode 120000 powerpc/sieve.c diff --git a/powerpc/Makefile.common b/powerpc/Makefile.common index 5871da47a..410a675d9 100644 --- a/powerpc/Makefile.common +++ b/powerpc/Makefile.common @@ -8,6 +8,7 @@ tests-common = \ $(TEST_DIR)/selftest.elf \ $(TEST_DIR)/selftest-migration.elf \ $(TEST_DIR)/memory-verify.elf \ + $(TEST_DIR)/sieve.elf \ $(TEST_DIR)/spapr_hcall.elf \ $(TEST_DIR)/rtas.elf \ $(TEST_DIR)/emulator.elf \ diff --git a/powerpc/sieve.c b/powerpc/sieve.c new file mode 120000 index 000000000..fe299f309 --- /dev/null +++ b/powerpc/sieve.c @@ -0,0 +1 @@ +../common/sieve.c \ No newline at end of file diff --git a/powerpc/unittests.cfg b/powerpc/unittests.cfg index 0be787f67..351da46a6 100644 --- a/powerpc/unittests.cfg +++ b/powerpc/unittests.cfg @@ -121,3 +121,6 @@ file = sprs.elf machine = pseries extra_params = -append '-w' groups = migration + +[sieve] +file = sieve.elf -- 2.42.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f42.google.com (mail-oo1-f42.google.com [209.85.161.42]) (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 009D154780 for ; Tue, 19 Mar 2024 08:01:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710835301; cv=none; b=Qdp07p6wUsvkg5ZbFoPOhnkHb1J62oMTn0cVA4ScrQbFum8XOq3pelcp3CmYQxdEULqs7OdecyadFONYqX1s97/arulJ9WuR+OkC9Vl/NYX11G7VoE5i+qwUEfiy/S9e2KNWM2W9OcjdV12+zrUA8llD8P6zUST3mi9z7J73yFw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710835301; c=relaxed/simple; bh=PA3jnpMDQ2JvGO9Tl3mu9YOJoKe9rHZkaAQGNKXTsbk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RdoFyxKE6j0R8rozfh+6EBEbSu95W7jUryrgynYuJWE09OGHp8gXq6WT/oJXEvvdONAHbY199Vq8BJp6p1OHCxxZcCE2zsNKgB87DDTW2XgQJijNK8gxU4OH0dYXRB0uQPV5A9ouwV6QySDpDo+0BX0j+9tSfxbmFfLx0Xc/s4E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Is7bh7O9; arc=none smtp.client-ip=209.85.161.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Is7bh7O9" Received: by mail-oo1-f42.google.com with SMTP id 006d021491bc7-5a496fde460so1543582eaf.1 for ; Tue, 19 Mar 2024 01:01:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710835299; x=1711440099; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DHV3i4Gba0d6WT/j4EZFJfZJO1H61IDlaezqmWnREy8=; b=Is7bh7O9SYj8dr/WOBQuxbIe8VQyWn15A2GLIqhPVloswnFOHxWpuRlltzmNeSCWn9 ZZK6qpepwulkBVFw7Dc6I/fMUF7g05wzQVTJnrTcHf2kw9DKfeiyGC6zvCezudKi9AzW qdEql87MNYMwaRoTRiQpHzEfrPBY6l7q1ynzo91/xi46DvPC3FqWQey/bgYHsMMW5tIp JZJHpVp6hAM/3HN64So7ReBont4hCTft8aylinWCf44ltvd1l9R6dA32In7o2ZNlwGR+ lLgQiYlDNiU6xlzeaP5lvXF/PauBdolwqEdKds0Q0S5KlK6yZhe82Qe8w6X07N5t/cPR MLsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710835299; x=1711440099; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DHV3i4Gba0d6WT/j4EZFJfZJO1H61IDlaezqmWnREy8=; b=gXV5jLeT6r2hB9OkRgExm1maUT7FpX6U95vt9XqwkHNkQPo2HgwDms2hZFn7ofw0M4 B0djkq5r/ROqAHCPmIyiP2Co14qjDweBAmz0PQlWEGhE9L3e5/ADIeVRKu28rQ3DWb4j WWR9gPM5UXzRe+LoUQEvVrdgriaPeTJsHMtz5nxaJeQF0PAr9X+rFtoQCv60Spy7E++h sCAkQRYjiLvLz/e7lxPZq+Y4VIG+lUWP1BysVV7nrR1X7YmXJ2uNrCyWyfJp9BO1jXSB t2DWv1OtcuuK9gvfERUYDQMtoR+SGJa8tuPvGCfAbbE0Hq6VTAzZH98w+ChPr7XFDGNG qQFA== X-Forwarded-Encrypted: i=1; AJvYcCV22VZEXrr5A3wtouZQG4IL7nxghA+qLPP6FXoWnTO0PA6c3F78KTiezy4YItmhhkhrb6jb5EqklYmK81bR/prtQvHj X-Gm-Message-State: AOJu0YxaXT6Y8sa8tzQE+JNXeUR7H8dsT2USd3TnAXs8dPkUwffl+QKp y5kgieDbs1ymKHDkVVHTSOuVzUsIlUJgwQuCCAfLE1+2mudJOBHs X-Google-Smtp-Source: AGHT+IEXs0E8Qb6RA4bkQO4VYmb+dtVmkchk4sJqMglG8DUv1dLfuBOTpKPRWovT8+dXEQ7h57Mfvw== X-Received: by 2002:a05:6358:56a2:b0:17e:9ca7:c3a2 with SMTP id o34-20020a05635856a200b0017e9ca7c3a2mr12938120rwf.21.1710835299085; Tue, 19 Mar 2024 01:01:39 -0700 (PDT) Received: from wheely.local0.net (193-116-208-39.tpgi.com.au. [193.116.208.39]) by smtp.gmail.com with ESMTPSA id q23-20020a62ae17000000b006e5c464c0a9sm9121283pff.23.2024.03.19.01.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 01:01:38 -0700 (PDT) From: Nicholas Piggin To: Thomas Huth Cc: Nicholas Piggin , Laurent Vivier , Andrew Jones , Paolo Bonzini , linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org Subject: [kvm-unit-tests PATCH v7 30/35] powerpc: Add sieve.c common test Date: Tue, 19 Mar 2024 17:59:21 +1000 Message-ID: <20240319075926.2422707-31-npiggin@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240319075926.2422707-1-npiggin@gmail.com> References: <20240319075926.2422707-1-npiggin@gmail.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Now that sieve copes with lack of MMU support, it can be run by powerpc. Signed-off-by: Nicholas Piggin --- powerpc/Makefile.common | 1 + powerpc/sieve.c | 1 + powerpc/unittests.cfg | 3 +++ 3 files changed, 5 insertions(+) create mode 120000 powerpc/sieve.c diff --git a/powerpc/Makefile.common b/powerpc/Makefile.common index 5871da47a..410a675d9 100644 --- a/powerpc/Makefile.common +++ b/powerpc/Makefile.common @@ -8,6 +8,7 @@ tests-common = \ $(TEST_DIR)/selftest.elf \ $(TEST_DIR)/selftest-migration.elf \ $(TEST_DIR)/memory-verify.elf \ + $(TEST_DIR)/sieve.elf \ $(TEST_DIR)/spapr_hcall.elf \ $(TEST_DIR)/rtas.elf \ $(TEST_DIR)/emulator.elf \ diff --git a/powerpc/sieve.c b/powerpc/sieve.c new file mode 120000 index 000000000..fe299f309 --- /dev/null +++ b/powerpc/sieve.c @@ -0,0 +1 @@ +../common/sieve.c \ No newline at end of file diff --git a/powerpc/unittests.cfg b/powerpc/unittests.cfg index 0be787f67..351da46a6 100644 --- a/powerpc/unittests.cfg +++ b/powerpc/unittests.cfg @@ -121,3 +121,6 @@ file = sprs.elf machine = pseries extra_params = -append '-w' groups = migration + +[sieve] +file = sieve.elf -- 2.42.0