Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753083AbeAQL5v (ORCPT + 1 other); Wed, 17 Jan 2018 06:57:51 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:54016 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752560AbeAQL5u (ORCPT ); Wed, 17 Jan 2018 06:57:50 -0500 Date: Wed, 17 Jan 2018 11:57:09 +0000 From: Russell King - ARM Linux To: "Eric W. Biederman" Cc: Dave Martin , linux-arch@vger.kernel.org, Arnd Bergmann , Nicolas Pitre , Tony Lindgren , Catalin Marinas , Tyler Baicar , Will Deacon , linux-kernel@vger.kernel.org, Oleg Nesterov , James Morse , Al Viro , Olof Johansson , Santosh Shilimkar , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 07/11] signal/arm64: Document conflicts with SI_USER and SIGFPE, SIGTRAP, SIGBUS Message-ID: <20180117115708.GM17719@n2100.armlinux.org.uk> References: <87373b6ghs.fsf@xmission.com> <20180112005940.23279-7-ebiederm@xmission.com> <20180115163028.GU22781@e103592.cambridge.arm.com> <87h8rnox3c.fsf@xmission.com> <20180116172407.GA22781@e103592.cambridge.arm.com> <871sipl9p9.fsf@xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871sipl9p9.fsf@xmission.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, Jan 16, 2018 at 04:28:50PM -0600, Eric W. Biederman wrote: > I will keep FPE_FIXME as a place holder until this gets sorted out. > > There is a second issue I am looking at in this location, > and maybe I don't have to address it now. But it looks like the code is > calling send_sig_info instead of force_sig_info for a synchronous > exception. Am I reading that correctly? VFP used to use force_sig_info(), but it seems to be really the wrong call to use. force_sig_info() checks whether the program decided to ignore or block the signal, and if it did, replaces the signal handler with the default handler and unblocks the signal. Are you really suggesting that FP all FP signals should get this treatment? -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up According to speedtest.net: 8.21Mbps down 510kbps up