can't find file to patch at input line 102 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From patchwork Fri Jul 9 00:13:22 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: 44281 |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 5C41C3982C9C | for ; Fri, 9 Jul 2021 00:18:25 +0000 (GMT) |DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C41C3982C9C |DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; | s=default; t=1625789905; | bh=nz1yvyxcq5zr4/YnXLrPUYMSY4jGCdRqxnaLkeHyTyU=; | 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=b9jNe0EG/ou8RvDZVlucz8bBBhUD+zJXb6JZuNJBvVezifXNWx98NDofK3CrGL9vi | L/H+gUR03Cr3BYm+6a7E/z5maJhYH3NDAAE5PMpz83WIVzR/o92GA951UCg/D79QKl | nM9N7T9v3HYd9eTM2RE/kpZtW4QG3xpMDJpQRueo= |X-Original-To: libc-alpha@sourceware.org |Delivered-To: libc-alpha@sourceware.org |Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk | [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) | by sourceware.org (Postfix) with ESMTPS id B4C0C3982C8A | for ; Fri, 9 Jul 2021 00:14:27 +0000 (GMT) |DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B4C0C3982C8A |Received: from [127.0.0.1] (localhost [127.0.0.1]) | (Authenticated sender: tonyk) with ESMTPSA id BBDC01F4186C |To: Thomas Gleixner , Ingo Molnar , | Peter Zijlstra , Darren Hart , | linux-kernel@vger.kernel.org, Steven Rostedt , | Sebastian Andrzej Siewior |Subject: [PATCH v5 05/11] selftests: futex2: Add wake/wait test |Date: Thu, 8 Jul 2021 21:13:22 -0300 |Message-Id: <20210709001328.329716-6-andrealmeid@collabora.com> |X-Mailer: git-send-email 2.32.0 |In-Reply-To: <20210709001328.329716-1-andrealmeid@collabora.com> |References: <20210709001328.329716-1-andrealmeid@collabora.com> |MIME-Version: 1.0 |X-Spam-Status: No, score=-12.1 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.4 |X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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?= , | Nicholas Piggin , 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 0e78b49d0f2f..3e2d577c0595 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 111 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 bd1fec59e010..e4e4aa2e0368 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 334 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 11a9d62290f5..dbe82275617c 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