Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp182037imu; Fri, 16 Nov 2018 00:34:03 -0800 (PST) X-Google-Smtp-Source: AJdET5dRsjfYakDoYTdUVPEnADVt5+7A7gUSf7ItjsezHsvrFhK0dh4Ye+M/SPzTojprZmtBo13v X-Received: by 2002:a63:dc54:: with SMTP id f20mr9159051pgj.410.1542357243293; Fri, 16 Nov 2018 00:34:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542357243; cv=none; d=google.com; s=arc-20160816; b=SQ5cyhg6Um4Z5Y4OC6X5E8umuazK6i0ibUTHHFx2FV33QqmtC1noOF5c4FY9b4lmtr 6bcuYgLGqPjKn6rvIjCDWA/6oEbg3bMpLcyfCd961V4oLBagbU3773LHEHH52gCYRjFp Llb5x6QNg6pTBG2i7vp2bUzVShYzF2v2lrRQviqn5nuUUKAaGu4bUvqFAaMfjHSH68BP CO4eqiAZiFIAqxsApHPiSWz4sLJ09jk4gKAI136OroO/R06adS+Ek1egBnxqWFUyrWFU 0RAxu1t2ys+ZwdeUZIGduBxIMHIXEXgaxthP14H5YI8SoJSCOd9EP9zSpCyECAqa/hD4 k4Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject:reply-to :dkim-signature; bh=eYJ5ASopu/myAhVLEw+Bxqbner8R1z9kNbAU9dIvz+s=; b=JskElAHsrdj6WvV/VCflhOCvE7iIVBwatoPFwCQWcsKDD3s1E7B5FBGQMhcINJURhG irtC4NjOWH78dnu2uvT6m4q+jVaPqXOeEIj9ee2ZWxdHV00gXWkaw/EmyEvFzMtM1TGS jjqHnUTX3PF/WyLHpqOAuEFHK1GL0IyTc7QoXGO+jQ06eMEl4CIzOlvWRr9GBNSgfCHh 9JPyxS+QwhXb9ArYIXOuPNUfkW6mKvK26xSTYC+BRmxwgQGsoC+bF17Oi3oCKmBTtcwP sTRGvPwrh75B0+hGiT32BDMkA5hdzLSEGQOpA/+3WEmeL/Whjkl70Tftujkzk7BdqaE9 47vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=dmSAU6a7; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si29529406pgi.324.2018.11.16.00.33.48; Fri, 16 Nov 2018 00:34:03 -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=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=dmSAU6a7; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389500AbeKPSmg (ORCPT + 99 others); Fri, 16 Nov 2018 13:42:36 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34367 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727568AbeKPSmg (ORCPT ); Fri, 16 Nov 2018 13:42:36 -0500 Received: by mail-wr1-f67.google.com with SMTP id j26-v6so23936120wre.1 for ; Fri, 16 Nov 2018 00:31:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=reply-to:subject:to:cc:references:from:openpgp:autocrypt:message-id :date:user-agent:mime-version:in-reply-to; bh=eYJ5ASopu/myAhVLEw+Bxqbner8R1z9kNbAU9dIvz+s=; b=dmSAU6a73gA0bA+NSyX2NxHDRjMkjOv4+qH7Dzmgs1odS/fDHWH3sJ5z6Oehev96Sc +9x4uj+8Je5Odc04tYvwn0fkjti86eWQlu0v8ZrGOiCPp2loJ8fLD/HLS4NW3v4MNjiS slBSVijEA37faupfmjE6b/TwNK7j7AZNQkla2hgGawJZGCoCIYL9WtmPPiWdZRHp/XZG acfBXMIvOhCrJoxedasT9myAcatL95pgUB1Euule/cRi1tmRsZB2xmSqudIJnm1cagK3 48d04ScihpHvKOndD0vCIeSRnjm8aeu1mDC6jr/XOzn1eTRzSQZhHis+R89IZDH+Mqlu a4Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to; bh=eYJ5ASopu/myAhVLEw+Bxqbner8R1z9kNbAU9dIvz+s=; b=tPWrqaMGmWHoZVFubTyH6LTGbueDBqEItxRvjWG4oo//p3KF2Pmn51oNTn83XPhGZ/ qMCN5hYFw9LSj/aBbM2c/pgZb9vEmbDMhQl8pzvI+QlT1sB1JbyVZxCsLuThycrhhPNB o5PzhbJH8c6DXsJXH+dkhRIZi4ZJQ2OJsnuQ2ozUM1y0t9waSG95rY8zCX+c04L6v7Q9 yo2Du93ModY5BM90iCNYG5VpYUPvjLUCrGXDqU9/T4fcV7jh4mVflRte/kt5mbUwD/Ox mqpOpypkOoO19LVFx27k+H+M9HP+Lqdiu85Z8BT3bxZJ+T1AQdHxt1GGvUAYzi1b7qts epFw== X-Gm-Message-State: AA+aEWboJHkyEZDuJZXbBhCbqfh+xLsWD+J8ku15moiVoqELWVRgCqCr LlqEh55/1PzDaK/PVkCS44BwDQ== X-Received: by 2002:a5d:494a:: with SMTP id r10mr6528648wrs.272.1542357074307; Fri, 16 Nov 2018 00:31:14 -0800 (PST) Received: from [64.233.167.108] ([149.199.62.129]) by smtp.gmail.com with ESMTPSA id z17sm5229569wrv.2.2018.11.16.00.31.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 00:31:13 -0800 (PST) Reply-To: monstr@monstr.eu Subject: Re: [PATCH v4 0/3] microblaze: system call table generation support To: Firoz Khan , 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 References: <1542089074-20027-1-git-send-email-firoz.khan@linaro.org> From: Michal Simek Openpgp: preference=signencrypt Autocrypt: addr=monstr@monstr.eu; prefer-encrypt=mutual; keydata= xsFNBFFuvDEBEAC9Amu3nk79+J+4xBOuM5XmDmljuukOc6mKB5bBYOa4SrWJZTjeGRf52VMc howHe8Y9nSbG92obZMqsdt+d/hmRu3fgwRYiiU97YJjUkCN5paHXyBb+3IdrLNGt8I7C9RMy svSoH4WcApYNqvB3rcMtJIna+HUhx8xOk+XCfyKJDnrSuKgx0Svj446qgM5fe7RyFOlGX/wF Ae63Hs0RkFo3I/+hLLJP6kwPnOEo3lkvzm3FMMy0D9VxT9e6Y3afe1UTQuhkg8PbABxhowzj SEnl0ICoqpBqqROV/w1fOlPrm4WSNlZJunYV4gTEustZf8j9FWncn3QzRhnQOSuzTPFbsbH5 WVxwDvgHLRTmBuMw1sqvCc7CofjsD1XM9bP3HOBwCxKaTyOxbPJh3D4AdD1u+cF/lj9Fj255 Es9aATHPvoDQmOzyyRNTQzupN8UtZ+/tB4mhgxWzorpbdItaSXWgdDPDtssJIC+d5+hskys8 B3jbv86lyM+4jh2URpnL1gqOPwnaf1zm/7sqoN3r64cml94q68jfY4lNTwjA/SnaS1DE9XXa XQlkhHgjSLyRjjsMsz+2A4otRLrBbumEUtSMlPfhTi8xUsj9ZfPIUz3fji8vmxZG/Da6jx/c a0UQdFFCL4Ay/EMSoGbQouzhC69OQLWNH3rMQbBvrRbiMJbEZwARAQABzR9NaW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30azG5pKDtAkpRqW283+LueDVQ5P/Gwp5V1 9e6oMggSVn53IRVPB4MzTXVm/Q03c5YXPqgP4bPIF624HAPRnUxCWY1yrZuE4zNPG5dfY0PN RmzhqoTJlA== Message-ID: <632c1d3f-26cf-7e65-4e7a-cc882ef168c4@monstr.eu> Date: Fri, 16 Nov 2018 09:31:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1542089074-20027-1-git-send-email-firoz.khan@linaro.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W0OFtpJrjHn1JGCgnYWWSnZBTKoztM5XW" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --W0OFtpJrjHn1JGCgnYWWSnZBTKoztM5XW Content-Type: multipart/mixed; boundary="Pla37rODYW6n9t799SvllDnYNa0LfYfpM"; protected-headers="v1" From: Michal Simek Reply-To: monstr@monstr.eu To: Firoz Khan , 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 Message-ID: <632c1d3f-26cf-7e65-4e7a-cc882ef168c4@monstr.eu> Subject: Re: [PATCH v4 0/3] microblaze: system call table generation support References: <1542089074-20027-1-git-send-email-firoz.khan@linaro.org> In-Reply-To: <1542089074-20027-1-git-send-email-firoz.khan@linaro.org> --Pla37rODYW6n9t799SvllDnYNa0LfYfpM Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 13. 11. 18 7:04, Firoz Khan wrote: > The purpose of this patch series is, we can easily > add/modify/delete system call table support by cha- > nging entry in syscall.tbl file instead of manually > changing many files. The other goal is to unify the > system call table generation support implementation > across all the architectures. >=20 > The system call tables are in different format in > all architecture. It will be difficult to manually > add, modify or delete the system calls in the resp- > ective files manually. To make it easy by keeping a > script and which'll generate uapi header file and > syscall table file. >=20 > syscall.tbl contains the list of available system > calls along with system call number and correspond- > ing entry point. Add a new system call in this arch- > itecture will be possible by adding new entry in the > syscall.tbl file. >=20 > Adding a new table entry consisting of: > - System call number. > - ABI. > - System call name. > - Entry point name. >=20 > ARM, s390 and x86 architecuture does exist the sim- > ilar support. I leverage their implementation to > come up with a generic solution. >=20 > I have done the same support for work for alpha, ia64, > m68k, mips, parisc, powerpc, sh, sparc and xtensa. > Below mentioned git repository contains more details > about the workflow. >=20 > https://github.com/frzkhn/system_call_table_generator/ >=20 > Finally, this is the ground work to solve the Y2038 > issue. We need to add two dozen of system calls to > solve Y2038 issue. So this patch series will help to > add new system calls easily by adding new entry in > the syscall.tbl. >=20 > changes since v3: > - changed from generic-y to generated-y in Kbuild. >=20 > changes since v2: > - optimized/updated the syscall table generation > scripts. > - fixed all mixed indentation issues in syscall.tbl. > - added "comments" in syscall_*.tbl. >=20 > changes since v1: > - enclosed __NR_sycalls macro with __KERNEL__. > - added missing new line. next time please also keep this changelog in every patch. >=20 > Firoz Khan (3): > microblaze: move __NR_syscalls macro from asm/unistd.h > microblaze: add system call table generation support > microblaze: generate uapi header and system call table files >=20 > arch/microblaze/Makefile | 3 + > arch/microblaze/include/asm/Kbuild | 1 + > arch/microblaze/include/asm/unistd.h | 2 - > arch/microblaze/include/uapi/asm/Kbuild | 1 + > arch/microblaze/include/uapi/asm/unistd.h | 407 +-----------------= ------- > arch/microblaze/kernel/syscall_table.S | 406 +-----------------= ------- > arch/microblaze/kernel/syscalls/Makefile | 38 +++ > arch/microblaze/kernel/syscalls/syscall.tbl | 410 ++++++++++++++++++= ++++++++ > arch/microblaze/kernel/syscalls/syscallhdr.sh | 36 +++ > arch/microblaze/kernel/syscalls/syscalltbl.sh | 32 ++ > 10 files changed, 526 insertions(+), 810 deletions(-) > create mode 100644 arch/microblaze/kernel/syscalls/Makefile > create mode 100644 arch/microblaze/kernel/syscalls/syscall.tbl > create mode 100644 arch/microblaze/kernel/syscalls/syscallhdr.sh > create mode 100644 arch/microblaze/kernel/syscalls/syscalltbl.sh >=20 Looks good now. I have queue it to next. And also asked our team to retest everything. Thanks, Michal --=20 Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs --Pla37rODYW6n9t799SvllDnYNa0LfYfpM-- --W0OFtpJrjHn1JGCgnYWWSnZBTKoztM5XW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlvugEkACgkQykllyylKDCGuLACeLdJgfLbAgvM64yYaH5bB+U3u 4xcAnjD3dwMDCj1P1rF3YGv1ipQsJrSO =0wDO -----END PGP SIGNATURE----- --W0OFtpJrjHn1JGCgnYWWSnZBTKoztM5XW--