can't find file to patch at input line 103 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From patchwork Wed Jun 9 20:38:36 2021 |Content-Type: text/plain; charset="utf-8" |MIME-Version: 1.0 |Content-Transfer-Encoding: 7bit |X-Patchwork-Submitter: Vineet Gupta |X-Patchwork-Id: 43795 |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 15EEE39A002A | for ; Wed, 9 Jun 2021 20:39:24 +0000 (GMT) |DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15EEE39A002A |DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; | s=default; t=1623271164; | bh=zGKJTvnyGe9hKTG/r7R5bIJ5cG3VDHSpdbVLR5oHc/4=; | h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: | List-Help:List-Subscribe:From:Reply-To:Cc:From; | b=o6dcgACPkVyMQTKLk+5PJ6om3djY3vh5zgnlYJ9dW50MnBlpnO2to5IVgp46t2lsF | Me3Duvqf9LHbUKxEdDmawExF0NcSFXtY+3BHDjwBEQ/jJ6RdCSZZl89zYm5rZKZ4Vj | U0SARHK+GT+b+hlGaJ0T1lgS8Dp4ElCk1gE5VJgs= |X-Original-To: libc-alpha@sourceware.org |Delivered-To: libc-alpha@sourceware.org |Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com | [149.117.73.133]) | by sourceware.org (Postfix) with ESMTPS id 9768A39A0033 | for ; Wed, 9 Jun 2021 20:38:41 +0000 (GMT) |DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9768A39A0033 |Received: from mailhost.synopsys.com (sv1-mailhost1.synopsys.com | [10.205.2.131]) | (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) | (Client CN "mailhost.synopsys.com", Issuer "SNPSica2" (verified OK)) | by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 8988840137; | Wed, 9 Jun 2021 20:38:40 +0000 (UTC) |Received: from vineetg-Latitude-7400.internal.synopsys.com | (snps-fugpbdpduq.internal.synopsys.com [10.202.17.37]) | by mailhost.synopsys.com (Postfix) with ESMTP id 64D4BA005E; | Wed, 9 Jun 2021 20:38:38 +0000 (UTC) |X-SNPS-Relay: synopsys.com |To: linux-snps-arc@lists.infradead.org |Subject: [PATCH] ARCv2: save ABI registers across signal handling |Date: Wed, 9 Jun 2021 13:38:36 -0700 |Message-Id: <20210609203836.2213688-1-vgupta@synopsys.com> |X-Mailer: git-send-email 2.25.1 |MIME-Version: 1.0 |X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, | DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H4, | RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, | TXREP 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: Vineet Gupta via Libc-alpha | |From: Vineet Gupta |Reply-To: Vineet Gupta |Cc: Vladimir Isaev , | Vineet Gupta , libc-alpha@sourceware.org, | linux-kernel@vger.kernel.org, stable@vger.kernel.org |Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org |Sender: "Libc-alpha" | | |ARCv2 has some configuration dependent registers (r30, r58, r59) which |could be targetted by the compiler. To keep the ABI stable, these were |unconditionally part of the glibc ABI |(sysdeps/unix/sysv/linux/arc/sys/ucontext.h:mcontext_t) however we |missed populating them (by saving/restoring them across signal |handling). | |This patch fixes the issue by | - adding arcv2 ABI regs to kernel struct sigcontext | - populating them during signal handling | |Change to struct sigcontext might seem like a glibc ABI change (although |it primarily uses ucontext_t:mcontext_t) but the fact is | - it has only been extended (existing fields are not touched) | - the old sigcontext was ABI incomplete to begin with anyways | |Fixes: https://github.com/foss-for-synopsys-dwc-arc-processors/linux/issues/53 |Cc: |Reported-by: Vladimir Isaev |Signed-off-by: Vineet Gupta |--- | arch/arc/include/uapi/asm/sigcontext.h | 1 + | arch/arc/kernel/signal.c | 29 ++++++++++++++++++++++++++ | 2 files changed, 30 insertions(+) | |diff --git a/arch/arc/include/uapi/asm/sigcontext.h b/arch/arc/include/uapi/asm/sigcontext.h |index 95f8a4380e11..7a5449dfcb29 100644 |--- a/arch/arc/include/uapi/asm/sigcontext.h |+++ b/arch/arc/include/uapi/asm/sigcontext.h -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 115 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c |index b3ccb9e5ffe4..534b3d9bafc8 100644 |--- a/arch/arc/kernel/signal.c |+++ b/arch/arc/kernel/signal.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored