From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753180AbbLYMTp (ORCPT ); Fri, 25 Dec 2015 07:19:45 -0500 Received: from mout.gmx.net ([212.227.15.15]:62411 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752204AbbLYMTl (ORCPT ); Fri, 25 Dec 2015 07:19:41 -0500 Date: Fri, 25 Dec 2015 13:19:27 +0100 From: Helge Deller To: Linus Torvalds , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [GIT PULL] parisc syscall restart fix for v4.4 Message-ID: <20151225121927.GA6170@ls3530.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:PxnVva/Xl/hhpcMZujoZ0QTHtehBMOoYNV4BfcB6ZsdtZZoUzC6 dKx6VTCIcveuFYFowN78aJlwQSnQ2Slxw3bmG5ctNqD5w+wNEN1LHBXWP7+vqhFt29jv+uh m4LuaGvQJugacTubSyf4i92qoZ30bgJtRicGmvyqhRspvEU6csK6HXuUWOYABJXH3cYlGcU VeCYSTecFCq1FVopT2v+w== X-UI-Out-Filterresults: notjunk:1;V01:K0:ynbaKkReZ2U=:D1zIxWFxqpBMMAe1aHXyTD F5EF5c6f7MwYHqx+WXZ4fM5QXYtt0YGNzkrQmRfzviu7/ZxImiHFgFf4C9w33UlJvbsUEHMRI idOefrLjX3HKTPv8ITB+SuxopW6PD9S/shzwreU9KMiNiNA6wHYaFIXwPjJIONfIDmfKd98h3 cPdRSJOYBfgwEsdC9ERipmScqaeMa66R0DrirHwcIHrU4HhLsZzvm0zgE0A9+5By8LHaU5LL5 RsTAs+iwFN35pMJ9gBwjoNZ+NZI288sMLz7qiiM3UGn6vN75OWdA6EyUvawJbn4NDqPdrhf4l IdPwUyq8e4eH6akV9ZDHXD5iMW7MLxP9H5q13xKLsEet1Jg/9N3kdli81H6ZSRaOeaHC6QXVs rjQzlsXdA7BYXjap/YudVT7qNmTAdf8Q49rDWLn81v49tYFgkXu+LOvPI+oRnBZuq+FvXdDvk 5+f1qpE4Ytlx4PQOiPUkFdpPkPOVRysUTo2YylKMsHpcEeKMUrovJStlqt75DUeCc2eDwLp3U ep2sosKSdhnKzbrEP2k7SH68cwIDZgmH2ZmN/CJhJ0AnaCN81+/WIWofstyNRz0Zzyvjvo2VJ iO7y8mm8kB06dfg4M7eAU808i2amgitAbpNHAZhbjxPEoZBgFLJDwWlAkmNQ7aVJ5Brr5542W qQaBUycD0x3BtNp5TRnNOQN8bF6vHqlwGya/wT00O/61vEv3RlI0DaE6Yl0p5rxQcIfnB4D+N eSrUYuYYMNXO0wCh/mdlo1DG0EQLGz2oS6s4J7UGwlNByUYtdc38q9cDMkc= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, please pull one late patch for the parisc architecture for kernel v4.4 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.4-4 The architectural design of parisc always uses two instructions to call kernel syscalls (delayed branch feature). This means that the instruction following the branch (located in the delay slot of the branch instruction) is executed before control passes to the branch destination. Depending on which assembler instruction and how it is used in usersapce in the delay slot, this sometimes made restarted syscalls like futex() and poll() failing with -ENOSYS. Thanks, Helge ---------------------------------------------------------------- Helge Deller (1): parisc: Fix syscall restarts arch/parisc/kernel/signal.c | 64 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 52 insertions(+), 12 deletions(-)