From patchwork Thu Jan 3 18:13:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 10747685 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 530E3746 for ; Thu, 3 Jan 2019 18:14:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4712828CCF for ; Thu, 3 Jan 2019 18:14:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B41728D08; Thu, 3 Jan 2019 18:14:26 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 4E1A928CCF for ; Thu, 3 Jan 2019 18:14:21 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=LentrXVRiatyXXYVPG1J+34nTlOQ0Uwos7e58z43av4=; b=bVA 2hr4tmbxZ88O8Pw7qrOu13z9+YCFwFgFkopd3Dv4zJIeynpenTDFGUwSNk4AR5NL2MsrHkcM0VRqz PagUUkbz9A5u/H/cGdyup+TUxpzOl5Vb40GhPH0icwmHZR17vEwBPsiesUAVel5BHZw2+TvRk4i8V tlwAaVpIFuTUKWLK30EYZFpluTEV+zGh8TfezBv1HhNJ6Wq2tV9myNRbxj11LRY/FRY/EN/fXWtMd ypj6zXv5ANqJgxIQD6nozVZU9YLQHqeY94+NrV0V744DgcDx9iZEcLQQbLTdMOLRfujKrZrSUWENI ll0msOqkxSSvvkuQ1WnRcgx63GayeWw==; 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 1gf7VX-0004JT-UF; Thu, 03 Jan 2019 18:14:15 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gf7VL-00048b-13 for linux-arm-kernel@lists.infradead.org; Thu, 03 Jan 2019 18:14:05 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 77DD615AD; Thu, 3 Jan 2019 10:14:02 -0800 (PST) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 45E423F5D4; Thu, 3 Jan 2019 10:14:02 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 756941AE0BD1; Thu, 3 Jan 2019 18:14:02 +0000 (GMT) From: Will Deacon To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/3] Fix private compat syscall emulation Date: Thu, 3 Jan 2019 18:13:57 +0000 Message-Id: <1546539240-20647-1-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190103_101403_080475_C432FF5C X-CRM114-Status: UNSURE ( 8.40 ) 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: Will Deacon , Dave.Martin@arm.com, pihsun@chromium.org MIME-Version: 1.0 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 Hi all, These three fixes should address the issues reported in [1] relating to our emulation of the ARM private syscall region. Cheers, Will [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2019-January/623132.html --->8 Will Deacon (3): arm64: compat: Avoid sending SIGILL for unallocated syscall numbers arm64: compat: Don't pull syscall number from regs in arm_compat_syscall arm64: compat: Hook up io_pgetevents() for 32-bit tasks arch/arm64/include/asm/unistd.h | 7 ++++--- arch/arm64/include/asm/unistd32.h | 2 ++ arch/arm64/kernel/sys_compat.c | 11 +++++------ arch/arm64/kernel/syscall.c | 9 ++++----- 4 files changed, 15 insertions(+), 14 deletions(-)