can't find file to patch at input line 100 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From patchwork Thu Jun 3 19:59:17 2021 |Content-Type: text/plain; charset="utf-8" |MIME-Version: 1.0 |Content-Transfer-Encoding: 8bit |X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Almeida?= | |X-Patchwork-Id: 43673 |Return-Path: |X-Original-To: patchwork@sourceware.org |Delivered-To: patchwork@sourceware.org |Received: from server2.sourceware.org (localhost [IPv6:::1]) | by sourceware.org (Postfix) with ESMTP id 077AD398BC35 | for ; Thu, 3 Jun 2021 20:07:25 +0000 (GMT) |DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 077AD398BC35 |DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; | s=default; t=1622750845; | bh=hlkU7XGT4Cv+b8bOBa5Zhc96QWaMlbdTWtocm42s4ZU=; | h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: | List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | From; | b=ZzXnomSkrvmJlwB/gL7HyhduO3eFYLHMkI+hOgQNomavtpmBwIG4dOOxUbrHMZbDZ | cdnPGuIZU/lYCG39oi5ZaW+y74xZY9RUunundYF2CJz8zdLt8R1n7l3XmMOPLBlOaG | Bk/6JiKETvP+9bpo1OHIsfwzCwSgGGe2vDAWVNP8= |X-Original-To: libc-alpha@sourceware.org |Delivered-To: libc-alpha@sourceware.org |Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) | by sourceware.org (Postfix) with ESMTPS id 33588383543C | for ; Thu, 3 Jun 2021 20:01:01 +0000 (GMT) |DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 33588383543C |Received: from [127.0.0.1] (localhost [127.0.0.1]) | (Authenticated sender: tonyk) with ESMTPSA id D712F1F43468 |To: Thomas Gleixner , Ingo Molnar , | Peter Zijlstra , Darren Hart , | linux-kernel@vger.kernel.org, Steven Rostedt , | Sebastian Andrzej Siewior |Subject: [PATCH v4 08/15] selftests: futex2: Add wake/wait test |Date: Thu, 3 Jun 2021 16:59:17 -0300 |Message-Id: <20210603195924.361327-9-andrealmeid@collabora.com> |X-Mailer: git-send-email 2.31.1 |In-Reply-To: <20210603195924.361327-1-andrealmeid@collabora.com> |References: <20210603195924.361327-1-andrealmeid@collabora.com> |MIME-Version: 1.0 |X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, | KAM_DMARC_STATUS, KAM_MANYTO, SPF_HELO_PASS, SPF_PASS, TXREP, | UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 |X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on | server2.sourceware.org |X-BeenThere: libc-alpha@sourceware.org |X-Mailman-Version: 2.1.29 |Precedence: list |List-Id: Libc-alpha mailing list |List-Unsubscribe: , | |List-Archive: |List-Post: |List-Help: |List-Subscribe: , | |X-Patchwork-Original-From: =?utf-8?q?Andr=C3=A9_Almeida_via_Libc-alpha?= | |From: =?utf-8?q?Andr=C3=A9_Almeida?= |Reply-To: =?utf-8?q?Andr=C3=A9_Almeida?= |Cc: fweimer@redhat.com, shuah@kernel.org, Davidlohr Bueso , | libc-alpha@sourceware.org, corbet@lwn.net, linux-api@vger.kernel.org, | z.figura12@gmail.com, | =?utf-8?q?Andr=C3=A9_Almeida?= , | malteskarupke@fastmail.fm, acme@kernel.org, linux-kselftest@vger.kernel.org, | Andrey Semashev , joel@joelfernandes.org, | Peter Oskolkov , kernel@collabora.com, krisman@collabora.com, | pgriffais@valvesoftware.com |Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org |Sender: "Libc-alpha" | | |Add a simple file to test wake/wait mechanism using futex2 interface. |Test three scenarios: using a common local int variable as private |futex, a shm futex as shared futex and a file-backed shared memory as a |shared futex. This should test all branches of futex_get_key(). | |Create helper files so more tests can evaluate futex2. While 32bit ABIs |from glibc aren't yet able to use 64 bit sized time variables, add a |temporary workaround that implements the required types and calls the |appropriated syscalls, since futex2 doesn't supports 32 bit sized time. | |Signed-off-by: André Almeida |--- | .../selftests/futex/functional/.gitignore | 1 + | .../selftests/futex/functional/Makefile | 4 +- | .../selftests/futex/functional/futex2_wait.c | 195 ++++++++++++++++++ | .../testing/selftests/futex/functional/run.sh | 3 + | .../selftests/futex/include/futex2test.h | 79 +++++++ | 5 files changed, 281 insertions(+), 1 deletion(-) | create mode 100644 tools/testing/selftests/futex/functional/futex2_wait.c | create mode 100644 tools/testing/selftests/futex/include/futex2test.h | |diff --git a/tools/testing/selftests/futex/functional/.gitignore b/tools/testing/selftests/futex/functional/.gitignore |index 0efcd494daab..d61f1df94360 100644 |--- a/tools/testing/selftests/futex/functional/.gitignore |+++ b/tools/testing/selftests/futex/functional/.gitignore -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 109 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile |index 23207829ec75..7142a94a7ac3 100644 |--- a/tools/testing/selftests/futex/functional/Makefile |+++ b/tools/testing/selftests/futex/functional/Makefile -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patching file tools/testing/selftests/futex/functional/futex2_wait.c can't find file to patch at input line 332 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/tools/testing/selftests/futex/functional/run.sh b/tools/testing/selftests/futex/functional/run.sh |index 1acb6ace1680..3730159c865a 100755 |--- a/tools/testing/selftests/futex/functional/run.sh |+++ b/tools/testing/selftests/futex/functional/run.sh -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file tools/testing/selftests/futex/include/futex2test.h