From patchwork Thu Jan 3 15:40:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Firoz Khan X-Patchwork-Id: 154726 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp787653ljp; Thu, 3 Jan 2019 07:40:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN4d80zMpr6vlhY4RLTawa4VRXHCfMBOInA2bJDhESSrkKepMFdMwGEtl4nZAFScxl3wuP+Y X-Received: by 2002:a17:902:8d8e:: with SMTP id v14mr47255732plo.133.1546530057556; Thu, 03 Jan 2019 07:40:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546530057; cv=none; d=google.com; s=arc-20160816; b=RxHVhAYpGeg5VIb2DzgYFMK5IRX6lTulj6yWURUAPrEp+c2vsltAWPgzhHw+4JeS+T x5Ar2pNYnYzAcN858rJftRwk3NbtJgvdVC05Zu0nwjegvnmHMrnaI2DckMfxfvPDMTgx VBPFybCOL3UQFbv1XPa7bKjz5UMw8oTr0XXTXcN5DvAtfEA4EoMhp/diPTFBC/X3MHvf twmA0GMOsKc3toAJIDz51ne3s7Igkh+xuomtbn9arOSwrvZP5zBey2L6NaWGz44qbE4/ EevtkJl7Lok+KZiQ+ddMS3jyiQjD7JT+cbqHgbUKh6qXv7J9jCmSfD3gvK7dIUFNzZBS chRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=iQ/hozz6h1sPdZTwW5rQK+ct9SafGx3dxp1vjGgqKKE=; b=lEzPdaXtnFYfCPTYA04zbjKUF5MDOtAjKnIHsEXPKbuZjyMAwSAZ4J9MFjfGhEEiSF CsR4InfHP4ImHqYz3PrAUaQWx+EWt0HU4dL6blx6EyHwf5xEHx91eHcpDsj6fetSyg3X 2tjNMLnvZq/AHWWwgs5n0jybAl+/vm1l6MbJXAblxV826eee9mpp3cDt/w78wq1ID3/L R8XfA+h6OWB2MlH1geLtc4N6RVX0QvmMXsNupAj/vaqizVChRNA7LLREUOUfW9THGMmD cmtyDiWC7VLVEMlhN6MuD58Bx+jSUES5TIR1Tew/1HwdM9SH6im4tChWBllWwpGAhn2x Ebow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PLED9VQ8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u22si50489934pgh.286.2019.01.03.07.40.57; Thu, 03 Jan 2019 07:40:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PLED9VQ8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732089AbfACPk4 (ORCPT + 31 others); Thu, 3 Jan 2019 10:40:56 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:37756 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730285AbfACPk4 (ORCPT ); Thu, 3 Jan 2019 10:40:56 -0500 Received: by mail-pg1-f193.google.com with SMTP id c25so16162150pgb.4 for ; Thu, 03 Jan 2019 07:40:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=iQ/hozz6h1sPdZTwW5rQK+ct9SafGx3dxp1vjGgqKKE=; b=PLED9VQ8kawvi8zFTMroY11BRMNvfyFT5kgui5T6P7qQrWLg50udMr7NEWvA41rx7p AIQB2d1T5qxcBUnbJqRWjmZ44QskWLwIzwDNJACeq2qdzvCi1rV4NvdIaz844CbNLiP9 trNWyUy8A4xN3SQbQmxpkMwHp6Ha9vlZpsHAY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=iQ/hozz6h1sPdZTwW5rQK+ct9SafGx3dxp1vjGgqKKE=; b=bD3xUGjsfTBBoDfVhmGfunDYmcx9a+r3xDCnD0Rokx5mAOj7WLywYY7/Lhv48GudkQ zrUik1OFoNk0NGmoPoaEXRB0FQY93LtQM1LzJg1QPGyrvJhNLjiEgx5OIDz95n8hMZr7 2EJ220AKeVtcVAIrFAobU/p4zPLwM4HcHSEYqG6KkCIMv1WhWIOPYO7zXqozXbCfEYLU NvsSQrZA0xrD81O1d6qAVP/GN+U+0EPDtL12weJuIReYDxHTPbyXOc+/KIdRhED7SeRx 5tWgf34ziPOqTSBe4z2djV/kuJoS875blBoX/gutBNbX/1qV6d/89DvA8ureETpQ/y5X r6bA== X-Gm-Message-State: AJcUukc3bfT1sWoU6diu+7GBWQ5wfCSnqA+QNlJ6pQMpMheQWedacRGF ghaCdThGu+/Rl2DXq2TNbFIHjw== X-Received: by 2002:a63:5c22:: with SMTP id q34mr17428052pgb.417.1546530054994; Thu, 03 Jan 2019 07:40:54 -0800 (PST) Received: from qualcomm-HP-ZBook-14-G2.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id w10sm66155494pgi.81.2019.01.03.07.40.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Jan 2019 07:40:54 -0800 (PST) From: Firoz Khan To: Catalin Marinas , Will Deacon , Stefan Agner , Mathieu Desnoyers , Russell King , linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman , Philippe Ombredanne , Thomas Gleixner , Kate Stewart Cc: y2038@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, arnd@arndb.de, deepa.kernel@gmail.com, marcin.juszkiewicz@linaro.org, firoz.khan@linaro.org Subject: [PATCH 0/3] arm64: system call table generation for asm-generic Date: Thu, 3 Jan 2019 21:10:22 +0530 Message-Id: <1546530025-26014-1-git-send-email-firoz.khan@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This will be an automated scripts to provide easy support for add/modify/delete the system call entry by add in respective *.tbl file. System call table generation support for asm-generic is provide for arm64 architecture which will use the common scripts resides in scripts directory and use syscall.tbl syscall_arm32.tbl files as inputs. This implementation will replace asm-generic/unistd.h. This patch depends on: https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.khan@linaro.org/ https://lore.kernel.org/lkml/1546520681-24453-1-git-send-email-firoz.khan@linaro.org/ Firoz Khan (3): arm64: add system call table generation files arm64: assign __NR_*_Linux_syscalls generated by the scripts arm64: generate uapi and kapi headers arch/arm64/Makefile | 3 + arch/arm64/include/asm/Kbuild | 2 + arch/arm64/include/asm/unistd.h | 10 +- arch/arm64/include/asm/unistd32.h | 826 --------------------------- arch/arm64/include/uapi/asm/Kbuild | 4 + arch/arm64/include/uapi/asm/unistd.h | 13 +- arch/arm64/kernel/sys.c | 8 +- arch/arm64/kernel/sys32.c | 8 +- arch/arm64/kernel/syscall.c | 4 +- arch/arm64/kernel/syscalls/Makefile | 70 +++ arch/arm64/kernel/syscalls/syscall_arm32.tbl | 434 ++++++++++++++ lib/compat_audit.c | 2 +- 12 files changed, 540 insertions(+), 844 deletions(-) delete mode 100644 arch/arm64/include/asm/unistd32.h create mode 100644 arch/arm64/kernel/syscalls/Makefile create mode 100644 arch/arm64/kernel/syscalls/syscall_arm32.tbl -- 1.9.1