From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org, void@manifault.com, ats@fb.com,
aneesh.kumar@linux.vnet.ibm.com, adam@wowsignal.io,
akpm@linux-foundation.org
Subject: [folded-merged] selftests-vm-only-run-128tbswitch-with-5-level-paging-v6.patch removed from -mm tree
Date: Sun, 03 Jul 2022 17:04:55 -0700 [thread overview]
Message-ID: <20220704000456.84D3AC341C6@smtp.kernel.org> (raw)
The quilt patch titled
Subject: selftests-vm-only-run-128tbswitch-with-5-level-paging-v6
has been removed from the -mm tree. Its filename was
selftests-vm-only-run-128tbswitch-with-5-level-paging-v6.patch
This patch was dropped because it was folded into selftests-vm-only-run-128tbswitch-with-5-level-paging.patch
------------------------------------------------------
From: Adam Sindelar <adam@wowsignal.io>
Subject: selftests-vm-only-run-128tbswitch-with-5-level-paging-v6
Date: Fri, 1 Jul 2022 18:30:30 +0200
fix formatting issues, rename "die" to "fail"
Link: https://lkml.kernel.org/r/20220701163030.415735-1-adam@wowsignal.io
Signed-off-by: Adam Sindelar <adam@wowsignal.io>
Cc: David Vernet <void@manifault.com>
Cc: Adam Sindelar <ats@fb.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
tools/testing/selftests/vm/va_128TBswitch.sh | 52 ++++++++---------
1 file changed, 26 insertions(+), 26 deletions(-)
--- a/tools/testing/selftests/vm/va_128TBswitch.sh~selftests-vm-only-run-128tbswitch-with-5-level-paging-v6
+++ a/tools/testing/selftests/vm/va_128TBswitch.sh
@@ -13,41 +13,41 @@ exitcode=1
# Kselftest framework requirement - SKIP code is 4.
ksft_skip=4
-die()
+fail()
{
- echo "$1"
- exit $exitcode
+ echo "$1"
+ exit $exitcode
}
check_supported_x86_64()
{
- local config="/proc/config.gz"
- [[ -f "${config}" ]] || config="/boot/config-$(uname -r)"
- [[ -f "${config}" ]] || die "Cannot find kernel config in /proc or /boot"
-
- # gzip -dcfq automatically handles both compressed and plaintext input.
- # See man 1 gzip under '-f'.
- local pg_table_levels=$(gzip -dcfq "${config}" | grep PGTABLE_LEVELS | cut -d'=' -f 2)
-
- if [[ "${pg_table_levels}" -lt 5 ]]; then
- echo "$0: PGTABLE_LEVELS=${pg_table_levels}, must be >= 5 to run this test"
- exit $ksft_skip
- fi
+ local config="/proc/config.gz"
+ [[ -f "${config}" ]] || config="/boot/config-$(uname -r)"
+ [[ -f "${config}" ]] || fail "Cannot find kernel config in /proc or /boot"
+
+ # gzip -dcfq automatically handles both compressed and plaintext input.
+ # See man 1 gzip under '-f'.
+ local pg_table_levels=$(gzip -dcfq "${config}" | grep PGTABLE_LEVELS | cut -d'=' -f 2)
+
+ if [[ "${pg_table_levels}" -lt 5 ]]; then
+ echo "$0: PGTABLE_LEVELS=${pg_table_levels}, must be >= 5 to run this test"
+ exit $ksft_skip
+ fi
}
check_test_requirements()
{
- # The test supports x86_64 and powerpc64. We currently have no useful
- # eligibility check for powerpc64, and the test itself will reject other
- # architectures.
- case `uname -m` in
- "x86_64")
- check_supported_x86_64
- ;;
- *)
- return 0
- ;;
- esac
+ # The test supports x86_64 and powerpc64. We currently have no useful
+ # eligibility check for powerpc64, and the test itself will reject other
+ # architectures.
+ case `uname -m` in
+ "x86_64")
+ check_supported_x86_64
+ ;;
+ *)
+ return 0
+ ;;
+ esac
}
check_test_requirements
_
Patches currently in -mm which might be from adam@wowsignal.io are
selftests-vm-only-run-128tbswitch-with-5-level-paging.patch
reply other threads:[~2022-07-04 0:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220704000456.84D3AC341C6@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=adam@wowsignal.io \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=ats@fb.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=void@manifault.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.