Message ID | 20180319155742.13731-280-alexander.levin@microsoft.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 04ADD602BD for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 19 Mar 2018 16:07:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E61D629430 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 19 Mar 2018 16:07:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA8012947E; Mon, 19 Mar 2018 16:07:10 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 A366F29430 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 19 Mar 2018 16:07:06 +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:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3jQx4sxDGzRdDK6KB+UnpEM32n8mL4rIx2VaIVjfD5A=; b=U2oa5CcCrTHcv2 bZEjJElVT6AKapwzzw5g9z5tOfMwwfeN2Wa/0Ky+isagibD5U2LyNhLoPI/ADP7eM0Fqarj+R3viJ WXwsj7wfONF6LJgBMHnakCoYEveiUBNrY4xJCexCQjRUlv1fahql5J7Yj2Hr/nrMmwlWsnCXCTzyI j/o0tWS+8PzRoLi+WkqkkAFk36hbItPwDPcSNU9cdgbFe2AbC4c/ll0MfJNU0JqnNGNvTj9l/ii9V xTNjIrCyffBxCB2pHcxu/mEVcdUj1QBbmUw8CCKneYmj/uqPg7g/qETgo378lypoUcwYt2VLfI3WC exakSOqk05d3lYTGjl0A==; 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 1exxJH-0002j6-Pj; Mon, 19 Mar 2018 16:06:55 +0000 Received: from mail-sn1nam02on0106.outbound.protection.outlook.com ([104.47.36.106] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1exxJC-0002SM-HO for linux-arm-kernel@lists.infradead.org; Mon, 19 Mar 2018 16:06:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=TFAcMeVS2U94MD63cjE+oPvTyeCOJUcWTbXuoiOpxcM=; b=BvVr+pEXOocnXoILkH3HSaedsgJ9YarpT4sPok7c+GeRn66VJdrJWP+z1vK9qKmGBk/rSTsamekgmnaTNsRmKy3JaM0pUeZ/Fu1wmWyz1IOVw6oDqGKCU8cRjaeWgKmhldJwjKg/yAT9aVmN+l4wnIIDoFmz9Ottuf5UUkfWYIM= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0728.namprd21.prod.outlook.com (10.167.110.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.631.0; Mon, 19 Mar 2018 16:06:38 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::3d9b:79e7:94eb:5d62]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::3d9b:79e7:94eb:5d62%5]) with mapi id 15.20.0631.004; Mon, 19 Mar 2018 16:06:38 +0000 From: Sasha Levin <Alexander.Levin@microsoft.com> To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "stable@vger.kernel.org" <stable@vger.kernel.org> Subject: [PATCH AUTOSEL for 4.9 280/281] signal/arm: Document conflicts with SI_USER and SIGFPE Thread-Topic: [PATCH AUTOSEL for 4.9 280/281] signal/arm: Document conflicts with SI_USER and SIGFPE Thread-Index: AQHTv5vRBysmsmFMuUKl8/UCI7sg6Q== Date: Mon, 19 Mar 2018 16:03:27 +0000 Message-ID: <20180319155742.13731-280-alexander.levin@microsoft.com> References: <20180319155742.13731-1-alexander.levin@microsoft.com> In-Reply-To: <20180319155742.13731-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR2101MB0728; 7:Hdei54+34ViPe+In66h2tC+Q8QdhXYgvJdCQErSjUZM41sCSTs/unsE26rN9A43YWdE34Kj+4vNzACzhrWnHHZ9j9FtxM6vjLxSToiOBBZUeDYrC2Y5Q7u3A+jzjZyGEhDQQ3O5WjTI6ik+F2GvVUWLe6WRweDCFtxviqxeuD1k+BPshLU82m6aP7C49VPhNmlxAH4LgNQAxZ8aTfgL144MdkVBIn6Az/HNN+t9j3ETBamHANEvYlIiW74hq5Zpv; 20:W1v0+6hsxJOgGCjeAT4IGqZCZF+x4zh0gftGmom0gHQqHJUaDKaw5pbeMSiDmczYrsUDOcrCQx44EdkrTm773i0W/zPcpYDTj0E7uc3CNiR/ZWHLdRzEuHWaghK2z/iHH0JHWWIJN1j8iCcOefZ+dfByvB2DeZYuaFCyJGc6Kfg= x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 9881659a-0ab6-4ae6-2eee-08d58db36540 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020); SRVR:DM5PR2101MB0728; x-ms-traffictypediagnostic: DM5PR2101MB0728: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: <DM5PR2101MB0728693D53FFAA5A73E61664FBD40@DM5PR2101MB0728.namprd21.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(258649278758335)(84791874153150); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501300)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:DM5PR2101MB0728; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB0728; x-forefront-prvs: 06167FAD59 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(39380400002)(346002)(376002)(39860400002)(396003)(199004)(189003)(8936002)(99286004)(575784001)(478600001)(53936002)(107886003)(966005)(110136005)(86612001)(72206003)(97736004)(76176011)(316002)(3280700002)(5250100002)(2501003)(36756003)(2906002)(105586002)(1076002)(86362001)(14454004)(6436002)(54906003)(6512007)(6116002)(6486002)(6306002)(106356001)(3846002)(22452003)(3660700001)(186003)(59450400001)(68736007)(66066001)(25786009)(102836004)(4326008)(10290500003)(26005)(6666003)(305945005)(2950100002)(7736002)(10090500001)(81156014)(81166006)(8676002)(6506007)(5660300001)(2900100001)(22906009)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB0728; H:DM5PR2101MB1032.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: JeY+2da+g3f4dBlU7kAEHZ4oHbZaijbIYVp+T8GnJbhphRbruast5Gih2cUu1n3OFic7vLVblN5ubJ7VvHOtDOBlV2vLkvVmOiN3pxoQNkNpx8aaKXVQSw8H+PcVeWwN5qRvWACUT7H66QDB8xwJIneWg2LWTJnRqAmW+t9L60QoxMr5X8tHaYz+WY8QKNrftofvXMChve0tDIOekFASEQ5wmdcpxWt0Kx9PEqj0+68uoEBD4boo+Dvmnz5C7JGgKy3yThosAyOJ87dEwHdvjiQ4RlGDW5yu5RBxA4ci10DyQFlYCBQzpJqo6hDx2QgevH+CGKaDSswSKYXJlmBgeA== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9881659a-0ab6-4ae6-2eee-08d58db36540 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2018 16:03:27.6121 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0728 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180319_090650_656462_5EDD1D21 X-CRM114-Status: GOOD ( 17.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Sasha Levin <Alexander.Levin@microsoft.com>, Russell King <rmk@flint.arm.linux.org.uk>, "Eric W. Biederman" <ebiederm@xmission.com>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/include/uapi/asm/siginfo.h b/arch/arm/include/uapi/asm/siginfo.h new file mode 100644 index 000000000000..d0513880be21 --- /dev/null +++ b/arch/arm/include/uapi/asm/siginfo.h @@ -0,0 +1,13 @@ +#ifndef __ASM_SIGINFO_H +#define __ASM_SIGINFO_H + +#include <asm-generic/siginfo.h> + +/* + * SIGFPE si_codes + */ +#ifdef __KERNEL__ +#define FPE_FIXME 0 /* Broken dup of SI_USER */ +#endif /* __KERNEL__ */ + +#endif diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c index da0b33deba6d..911468a3e35a 100644 --- a/arch/arm/vfp/vfpmodule.c +++ b/arch/arm/vfp/vfpmodule.c @@ -257,7 +257,7 @@ static void vfp_raise_exceptions(u32 exceptions, u32 inst, u32 fpscr, struct pt_ if (exceptions == VFP_EXCEPTION_ERROR) { vfp_panic("unhandled bounce", inst); - vfp_raise_sigfpe(0, regs); + vfp_raise_sigfpe(FPE_FIXME, regs); return; }