From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757660AbcKBWgX (ORCPT ); Wed, 2 Nov 2016 18:36:23 -0400 Received: from mout.gmx.net ([212.227.17.20]:64578 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755148AbcKBWgV (ORCPT ); Wed, 2 Nov 2016 18:36:21 -0400 Date: Wed, 2 Nov 2016 23:36:06 +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 architecture fixes and updates for 4.9-rc3 Message-ID: <20161102223606.GA24415@ls3530> 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:DkfNjoPlCppC2wZtRgs0Gd69eEvIuU8mFiFBDFr0r8GjOfKgnB9 rvrfdKHrwvRSh8n0Ge6Hxafe5vSqz5oyn+hSQk4MlVuDasgM46dsAPOzmzbtJ0TlSuuMqhB UXtnwp4OCVtZyWSaddAanXNq6FRq18y51cVBxjKRyIu94/xGWoSZUIM2uzbmlcZGm673lvT +6amlX0LJPZkZVJLshFTg== X-UI-Out-Filterresults: notjunk:1;V01:K0:gdExpUtsUc8=:YBVNJje7rmJZpbyuuolpsL NdtuoNcQl2v2UJcKu27kdvjGtzR2Gl27/am8kAr1yf1szbq8TgVDAR4MYL29aLNUJjHpnMf+c OXmJ4JKN17aB+iPNFHjqp9dRMJne1nf/XAHlpaZeQRVO/qokFgYBsE/cb+0y4d8X4oQA7Au4W U8piT71bxqX6We9DaGUzdshGK41RDukpNBZYNxTF08+H/KjCFLyoVAN9QRJGX0DWq+t3i/nco 1lCm99P2UjMawD7LmidjcDAR7V1BN5YlgxjMr+LC+5zp91tn4yuJ6xE6OBgBLmNkdk14RcjeZ uJy20Bjk11HjxUL5AhFhMmb5H6d3V04nkO8zViENaVnY5E6dOGCQyY3udo61g1AMqK5oJC1a7 7WPZe4+N2W7NFw3NwkdetHdD2Q/utm9bBm0W8ttH17ggsVdru8x31bpKCIY3gzKe+6x9uiHbZ otA0Cg93DRhpjJer/6UDUAqNTt6g60YM4rLG/lttm9K85AHLnr9mE2D4QBLBEYz+/Hp/HTrrs N8rMS47cCzY9oEVT3Z/+Pb0dTVbSlj1PO7Fsv5R3F39pTs1KiwJAM/qjGlxj737Q4vQNXL7LZ mCoH/7nVJt5OajFRnE6z7Kf25r2il4elhN5BR3OVXMENH8JtHcK4O3JBc3K2pTYILpf1H1PTh ZDboeBnCYiFktC8k8B8P7+jlluIJVRDgECZA/GFgQSxQfz+I4XkTLNhaHG8JuQot21lqhb1aE PEHwGEnhufZ0LtUhWkQjDRoJMD6hqzGEIilfdOe3FqGTIvZxyisuGOWTODI= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull some updates and fixes for the parisc architecture for v4.9-rc3 from git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.9-3 The first three patches are trivial and add some required KERN_CONT, ignore the new pkey syscalls on parisc and use the LINUX_GATEWAY_ADDR define instead of hardcoded values. The two patches from Dave Anglin are important. The first one avoids trashing the sr2 and sr3 space registers in the Light-weight syscall path. Especially the usage of sr3 is critical since it may get trashed by the interrupt handler. The second patch is even more important and tagged for stable series. It protects one critical section in the syscall entry path by disabling local interrupts. Without disabling interrupts, the sr7 space register may not be in sync with the current stack setup and thus an incoming hardware interrupt may destroy memory in random userspace areas. Thanks, Helge ---------------------------------------------------------------- Helge Deller (3): parisc: use KERN_CONT when printing device inventory parisc: Use LINUX_GATEWAY_ADDR define instead of hardcoded value parisc: Ignore the pkey system calls for now John David Anglin (2): parisc: Avoid trashing sr2 and sr3 in LWS code parisc: Ensure consistent state when switching to kernel stack at syscall entry arch/parisc/include/uapi/asm/unistd.h | 4 ++- arch/parisc/kernel/drivers.c | 6 ++-- arch/parisc/kernel/syscall.S | 66 ++++++++++++++++++----------------- 3 files changed, 40 insertions(+), 36 deletions(-)