From nobody Mon May 27 15:27:19 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VnzzC2XwNz5LL0R; Mon, 27 May 2024 15:27:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VnzzC1XhVz4HTT; Mon, 27 May 2024 15:27:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716823639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hqLO8TICbW2FDQFwn+mgy2c3GF0n2yDK30i20vOSN/U=; b=PGWijkJWt/jPxQEHQ/icpAZT2e5eMhFcuoOU0hJkPdps+84K1IFow8U1DyYP2HsNwYJcIB 0jPyGcq9/74vEJx+tzp1h+FUaM7SAimW/FTsap0khwhqZbGhNxhPfb7GHP3o6ESYORp20l I9ql9WzlRAsAC/Rmqt+OHIPtgtz5MnTked4LNx1aluYgjoge7rqGpnOBOE7BQzLgvTNSTo p+UZGu3Ig9B5Ok/f9QUja54C3x7TmwSP0shGbJpTlA7oN+zYi0f2qv0k43FbuxAxviGKtU MztVDza2GVbPgSFybGYIomh5UQGPc+G5WMriR0T8c91+Bn3CgQ68RBADzcqUuA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716823639; a=rsa-sha256; cv=none; b=PCqC8vAL3+WU27ATo+VylV+++pfQyiKx9Jlz2p8Wnbu5hUPiBb5gdofStP+mgWUscgTnIZ 0lg9vr7ZQrp6JDDdZ5sDMCZ4CeLooHmfwmK9B8rjGXjqJsI2J6r2MqCgnTCIEk7TRXzO3P k4rY5pfUvlihPEdHFYCHa9+pYBoO8U/HdqnzO6MHBs2CBApAatYbX6tlKjlwRt69mt14dm ohUf0bFtVnHfXhncfpyPxuna0xyGECrSiBihxxKb6h6I5/84/AblwPcmHGJsJZdLmMEfp7 E3b+U5CSeVaB++wVlY3VvIWJVSRFcdoVhio6gOcnco9Y4aSe5NADGJcTcZUdyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716823639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hqLO8TICbW2FDQFwn+mgy2c3GF0n2yDK30i20vOSN/U=; b=cfQZg7mwo0hRf+i+DCNqryln/oe0Kg1B1Qdu6RzC1cj6w//HiVL5OHI9/WhdDQtVyauBqW eAishQsHpgmkydWdytnLRa7VEbLAbzg4SF728c61jL2JDKeiB7jb97HhC0M3WI9KpVSAg2 gw7KV2k/NA9S6h8lMK9Wc4FAcTWNahW7xFWK+i1kRb50lsgtE/WezYguyIY72/FgNzp/Lt obcdqk1f+3KNgyr56/Sf+ZN2A88C9/InKyujgb1ZSbDzbUe0BhvgW3Tbtp/wLr6ZnblRd9 jSwzWraymyW3E6usVNeJsFwbobrs0BkVRzWUNqFDxJ4yzVD6ouTHRt/5r2QyDA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VnzzC18t8zqXk; Mon, 27 May 2024 15:27:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44RFRJQs092550; Mon, 27 May 2024 15:27:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44RFRJI1092547; Mon, 27 May 2024 15:27:19 GMT (envelope-from git) Date: Mon, 27 May 2024 15:27:19 GMT Message-Id: <202405271527.44RFRJI1092547@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: c52ca7dd0906 - main - stress2: Don't run aesni.sh on non-x86 platforms List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c52ca7dd09066648b1cc40f758289404d68ab886 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=c52ca7dd09066648b1cc40f758289404d68ab886 commit c52ca7dd09066648b1cc40f758289404d68ab886 Author: Mark Johnston AuthorDate: 2024-05-25 17:21:36 +0000 Commit: Mark Johnston CommitDate: 2024-05-27 15:26:47 +0000 stress2: Don't run aesni.sh on non-x86 platforms aesni.ko only exists on amd64 and i386, so on other platforms we are just running geli.sh twice. In fact, this test has little value anymore because aesni is included in GENERIC, so it's always going to be used in preference to cryptosoft. Reviewed by: pho MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45366 --- tools/test/stress2/misc/aesni.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/test/stress2/misc/aesni.sh b/tools/test/stress2/misc/aesni.sh index a5160d82dd57..0fe7390d2fbd 100755 --- a/tools/test/stress2/misc/aesni.sh +++ b/tools/test/stress2/misc/aesni.sh @@ -29,6 +29,11 @@ # Simple AESNI(4) test. +if [ $(uname -m) != "amd64" -a $(uname -m) != "i386" ]; then + echo "This test requires an x86 system." + exit 0 +fi + kldstat -v | grep -qw aesni || { kldload aesni.ko; loaded=1; } ../misc/geli.sh