From patchwork Mon Sep 24 12:09:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Eric W. Biederman" X-Patchwork-Id: 10612313 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 962271803 for ; Mon, 24 Sep 2018 12:10:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81A4E29E6B for ; Mon, 24 Sep 2018 12:10:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 735BC29E71; Mon, 24 Sep 2018 12:10:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B189029E6B for ; Mon, 24 Sep 2018 12:10:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-ID:Date:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=nWzyvM/iL8jk/B1X7MVwo8QN8kYKJ4d620HYF/dc6CE=; b=SgAH2jvCQgolQk Cjs1+U4tVZYffrrlOVtZbU6PLtorFC4dNoaQQVFy34jOpqhvYmuxJbD7nTOY7AQpZ5yRG4Hg9xB9l 7CVW8BLXeC/3mK9L9C8LrBr1iF8wQIKnpgENNnUF2EGbpxAHb4JWTQHDm9X0q7oCw4m5KWdMoF5xm PM1xu4HzBYDZ1AakmALlYny2YtA5+qx79F//zylJoH+03Dw7s48D0kxwd49ik0GDG3Brem4Q3islS Iv+w6STR03apHKKVTatz2Y9QzC+C/HqRs/8PRee4iF+cgadHcT/zLBPnaybI3EPT3HMy+SRaQtCEn heGPlXjVQ5O+M9WhIwhA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g4PgT-0006ev-Fb; Mon, 24 Sep 2018 12:09:49 +0000 Received: from out03.mta.xmission.com ([166.70.13.233]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g4PgO-0006WW-JG for linux-arm-kernel@lists.infradead.org; Mon, 24 Sep 2018 12:09:46 +0000 Received: from in01.mta.xmission.com ([166.70.13.51]) by out03.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1g4Pg9-0006Tr-Fa; Mon, 24 Sep 2018 06:09:29 -0600 Received: from [105.184.227.67] (helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1g4Pg8-0001CO-6z; Mon, 24 Sep 2018 06:09:29 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Date: Mon, 24 Sep 2018 14:09:18 +0200 Message-ID: <87pnx32j2p.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 X-XM-SPF: eid=1g4Pg8-0001CO-6z; ; ; mid=<87pnx32j2p.fsf@xmission.com>; ; ; hst=in01.mta.xmission.com; ; ; ip=105.184.227.67; ; ; frm=ebiederm@xmission.com; ; ; spf=neutral X-XM-AID: U2FsdGVkX1/G6/QdhbzQ92cIMzIFIoE5ul6ApH6SIO4= X-SA-Exim-Connect-IP: 105.184.227.67 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: [REVIEW][PATCH 0/4] signal/arm: siginfo cleanups X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180924_050944_676279_2CFA1A5E X-CRM114-Status: UNSURE ( 6.05 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, Russell King , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This is the latest and hopefully round of siginfo cleanups for arm. This replaces the use of siginal sending functions that take siginfo with siginfo sending functions that take the values that go in siginfo and this is harder to get wrong, and frequently results in cleaner code. I don't think I have made made any mistakes in this coversion but if people can look the code over and see if they can spot anything I would appreciate it. Eric W. Biederman (4): signal/arm: Push siginfo generation into arm_notify_die signal/arm: Use force_sig_fault where appropriate signal/arm: Use send_sig_fault where appropriate signal/arm/kvm: Use send_sig_mceerr arch/arm/include/asm/bug.h | 4 +-- arch/arm/kernel/ptrace.c | 11 ++------ arch/arm/kernel/swp_emulate.c | 16 +++++------ arch/arm/kernel/traps.c | 63 ++++++++++++------------------------------- arch/arm/mm/alignment.c | 10 +------ arch/arm/mm/fault.c | 28 ++++--------------- arch/arm/vfp/vfpmodule.c | 11 +++----- virt/kvm/arm/mmu.c | 14 +++------- 8 files changed, 41 insertions(+), 116 deletions(-) Eric