Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2870475imd; Sun, 28 Oct 2018 20:38:49 -0700 (PDT) X-Google-Smtp-Source: AJdET5ekDhPCv4or2vOOWSQsIeWHTM94yVUpTxiO2q4dyYlTe642dLxvyAerNL7F7wmu72ubYNxj X-Received: by 2002:a63:955a:: with SMTP id t26mr10155509pgn.449.1540784328968; Sun, 28 Oct 2018 20:38:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540784328; cv=none; d=google.com; s=arc-20160816; b=pM/2hwOPpSCbW4NojIF8UD2aE0tq9SX+paalH0Sf/h8o6sAPgbtkcrafb4iDYO04s3 WoLbZs6heD8s89Dk2XKP59/V00TnGEYbZX0Gpu/t6LlJP+DgyTCXfKidQoqrp/NzAZr4 z2BE3vxDZYgLi7AYQQei81yOaap0jLZ5B1gk+FOTFMVoQrxyAVDe28hvUpWrKgU5U/bu smQFfYUB8a0ayuxyLhINCGYpdpRL0kbvU9g8vTKlyoN3sEeMzl9+0rZonMuwHd5q6loZ 2wqVbbW8Fy1Fl9D/aA7IA9F1iMO7cfKL92oeTUTey2oJZGaHzKrlNbbfjr+duECEl7BJ HP1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PrhvkBo5ZKnk4/O4sfkDr3vs9gwKOxwlrsNh7k7vl4w=; b=nDvQICEjZlwCteeiHs7mzI/U7tBjZckiR3tu/3a3SINR279hdtIXIQBZ0zUNA3noAS YJIGmDu43BSZ+Ds9ddhW18qM8SFSKIgpIwbqujNYziHE1kXbUTOCmlI89KZAUzqkAaOH aAvKlTH9L5+t5ImjdelC11gCRsvm5bqPuISaePOZU8Clg+V1ZAO9f6pKEzLMbFnWPHEW 7NGDFqvuioW6SwuyWlt+INsWOtQ2qRKK/511mIQp88XXV1LVlhD1FIJZOeCDUi9olyzG 9hLVf4npc6+or0OPfUvYRg35XFUXHz5WCNVx/athi2DkBRNYHy1ojOA12GHlyePXSd7d VC3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dgUSjv2P; 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 u1-v6si6793901plb.313.2018.10.28.20.38.33; Sun, 28 Oct 2018 20:38:48 -0700 (PDT) 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=dgUSjv2P; 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 S1729322AbeJ2MZD (ORCPT + 99 others); Mon, 29 Oct 2018 08:25:03 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:45074 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729257AbeJ2MZD (ORCPT ); Mon, 29 Oct 2018 08:25:03 -0400 Received: by mail-io1-f65.google.com with SMTP id p83-v6so4056830iod.12 for ; Sun, 28 Oct 2018 20:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PrhvkBo5ZKnk4/O4sfkDr3vs9gwKOxwlrsNh7k7vl4w=; b=dgUSjv2PCW6B83yNOop+fG7DUZcWgIB+ftKt1ny78iD7JFuS1vx+4Pa6Hv2g/GTvAf J0qJFeAZsICbCFIlr0ajqLn6ryOs0ZCpf4mPVTWdvNu/72xK/VF6FXWbcv+A8t6tMRZh RF9N2EE9nLR1Fz/Z7y8Txue5/MArzdPzHVfh0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PrhvkBo5ZKnk4/O4sfkDr3vs9gwKOxwlrsNh7k7vl4w=; b=Xr1UOfI4HD1lk9EoHBLZ+DqBKjtCICOhqEvHXl+FpVaqbf/saB5L8BRz66TWo67Igq q0vbZL2aTYhrHnCRPzYNDMA1sjScGPHBFszVF43o6Ixdy0XIlGXzw/N1HROmRtNwIJFU alBQ5r73ien2o3wzZ8wDJrPIJz0B74FbisSwFHc4zPW1samS+uaFWNX+GkQzTTqhZQjl okhTl/l5UhEHxPtYhGTi4XT85OIPUL85KBmLFIY0t/puh60U1PQlf76l+chxiDwgJsTa TspSEQl17xHbWydLdvvvJ4xDFVs9hFatDl2X8GRSdVWQuEaMA3FNbx+5MedWlrED6Otm EkXA== X-Gm-Message-State: AGRZ1gIQ+4mw4UNACUqz6eVAua3eqFVlY9X7FF0OKIN9gah2nqer+UjN 6lQ3S+KwR2p4Jlw7wPeQwybxAuRaij/yumYuGP5SdA== X-Received: by 2002:a6b:6904:: with SMTP id e4-v6mr7057835ioc.119.1540784291528; Sun, 28 Oct 2018 20:38:11 -0700 (PDT) MIME-Version: 1.0 References: <1540530377-3509-1-git-send-email-firoz.khan@linaro.org> In-Reply-To: From: Firoz Khan Date: Mon, 29 Oct 2018 09:08:00 +0530 Message-ID: Subject: Re: [PATCH v4 0/4] m68k: system call table generation support To: Geert Uytterhoeven Cc: linux-m68k , Greg Kroah-Hartman , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , Linux-Arch , Arnd Bergmann , Deepa Dinamani , Marcin Juszkiewicz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On Sat, 27 Oct 2018 at 20:17, Geert Uytterhoeven wrote: > > Hi Firoz, > > On Fri, Oct 26, 2018 at 7:06 AM Firoz Khan wrote: > > The purpose of this patch series is, we can easily add/modify/delete > > system call table support by changing 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. > > > > 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 respective files manually. To make it easy by keeping > > a script and which'll generate uapi header file and syscall table > > file. > > > > syscall.tbl contains the list of available system calls along with > > system call number and corresponding entry point. Add a new system > > call in this architecture will be possible by adding new entry in > > the syscall.tbl file. > > > > Adding a new table entry consisting of: > > - System call number. > > - ABI. > > - System call name. > > - Entry point name. > > > > ARM, s390 and x86 architecuture does exist the similar support. I > > leverage their implementation to come up with a generic solution. > > > > I have done the same support for work for alpha, ia64, microblaze, > > mips, parisc, powerpc, sh, sparc, and xtensa. Below mentioned git > > repository contains more details. > > Git repo:- https://github.com/frzkhn/system_call_table_generator/ > > > > 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. > > Thanks for the update! > > Can you please tell the audience what has been changed in v4? Sure. - I added the comments in syscall.tbl and solved mixed (space and tab) indentation. - Modified the scripts (syscalltbl.sh and syscallhdr.sh) as per the feedback provided by Arnd, Finn Thain, Eugene Syromiatnikov and Rolf Eike Beer. Eg:- - echo options are not portable; changed to printf - "let" is a bash extension; changed posix-conformant expression. - Finally I optimized the script and solved mixed indentation. > > When posting a new version of a patch or patch series, it is a good > idea to include a changelog in the cover letter and/or patches. Sure, will do! Thanks Firoz > > Thanks! > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds