From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5EF29C43387 for ; Wed, 19 Dec 2018 15:59:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2F46F217D9 for ; Wed, 19 Dec 2018 15:59:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="foyG8pJ6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729501AbeLSP7Y (ORCPT ); Wed, 19 Dec 2018 10:59:24 -0500 Received: from mail-it1-f193.google.com ([209.85.166.193]:54693 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727829AbeLSP7X (ORCPT ); Wed, 19 Dec 2018 10:59:23 -0500 Received: by mail-it1-f193.google.com with SMTP id i145so10383130ita.4; Wed, 19 Dec 2018 07:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L9Oe0ayTRjWuO0bO25VljJGJZxyDQt7qiLMrAfR62L4=; b=foyG8pJ6eYATlT3t/v3/QqPCjazxd7lRYM7EST/C+ScjOFHPmDTcrKjfJP34XdxJ6I E5WVVAH/uQkJfb2Ep7MPoNiacIeEP3M+H4vUTuJ0TO/sYAbl4sYHcHQbgJER6MeIGe0B GEqpaGIgebbIuVTHxWf0nBfhJcjyZcbnk4yAYyEeW9XGZ6Yyb+1SQgvU2gY22rSCBsq2 EuntTFjDJdpmjoZFx0twq8pIlmTN//Y/oaiFotdrESQbZCC5Xl+td7/DPBCpu2+07lZs wRcRLoQyeJMF448/PZuMFaAaJWy7Xd40SnU5rhhtneTGfwojfMKbfKrVwUhaKxzal5r4 +M0w== 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=L9Oe0ayTRjWuO0bO25VljJGJZxyDQt7qiLMrAfR62L4=; b=ImrkS5kPDVUJpzczdDtdCbUv+Jy+WiBcAxfpC/QOtOEzbTOB9ixV+cKFG1DEeRN+R1 8xTuFI7Y3qIQF7PEurk/3661Mxakm0f6Jtx2ptCDJO62XD4qyTl1F6jvit3i+FdA2CDr 5mt9TpXi1p3X83DGngqBgMqM57xcn/spg8ekgVGQf4buyYl0u+tPU6wZ9ds+aztCCjYK 0vX3Hfq3it2BOL/G++1VAiudQVJOoV0hwG1v0Bn+XBEwCVHQL3VsKPtMC736Km/46BQF ZbsKv4BTITQeY8O1rBQU5d8k5z4arETbO06tJV1GviADV06v4BdiSrHFUcv+NUbR5IOR xvnQ== X-Gm-Message-State: AA+aEWavp/wG7+U6dIkNqvFQfwFKf+94Ueb0Qq8gjomSQS0p/AJNT/a1 ERcfvhkIgZYobi0CTOxKwp09l/MrwNwDrXVBOyfMoA== X-Google-Smtp-Source: AFSGD/Wh0Jx88BKBUeeQ3uKUrVxecIc1ivCAky97eA3neZYFKgoHgdRvR4QDLmu6jZ52Wd9YF+WHP9taanbyQdX0pvw= X-Received: by 2002:a24:2d0b:: with SMTP id x11mr7439167itx.85.1545235162579; Wed, 19 Dec 2018 07:59:22 -0800 (PST) MIME-Version: 1.0 References: <1542101513-22010-1-git-send-email-firoz.khan@linaro.org> In-Reply-To: From: Matt Turner Date: Wed, 19 Dec 2018 10:59:10 -0500 Message-ID: Subject: Re: [PATCH v3 0/5] alpha: system call table generation support To: Firoz Khan Cc: linux-alpha , Richard Henderson , Ivan Kokshaysky , Thomas Gleixner , Greg Kroah-Hartman , Philippe Ombredanne , 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 On Fri, Dec 14, 2018 at 10:18 AM Firoz Khan wrote: > > Hi Folks, > > On Tue, 13 Nov 2018 at 15:02, 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. > > > > 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. > > > > 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. > > > > 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 sim- > > ilar support. I leverage their implementation to > > come up with a generic solution. > > > > I have done the same support for work for ia64, m68k, > > microblaze, mips, parisc, powerpc, sh, sparc and xtensa. > > Below mentioned git repository contains more details > > about the workflow. > > > > 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. > > > > changes since v2: > > - changed from generic-y to generated-y in Kbuild. > > - made changes in syscall.tbl for removing entry - > > alpha_ni_syscall. > > > > changes since v1: > > - optimized/updated the syscall table generation > > scripts. > > - fixed all mixed indentation issues in syscall.tbl. > > - added "comments" in syscall.tbl. > > - enclosed __NR_sycalls macro with __KERNEL__. > > - added missing new line. > > > > Firoz Khan (5): > > alpha: move __IGNORE* entries to non uapi header > > alpha: remove CONFIG_OSF4_COMPAT flag from syscall table > > alpha: add __NR_syscalls along with NR_SYSCALLS > > alpha: add system call table generation support > > alpha: generate uapi header and syscall table header files > > Could someone review this patch series and queue it for 4.21 > through alpha tree would be great. Thank you! I'll take a look.