Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2201580imu; Fri, 14 Dec 2018 07:20:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/X471P9Ma0F5tjDNz1BK7N6ToIk09HbOnWlMVm6JLZPDNNLkcxiMIsNBYnqadIelfipoVwd X-Received: by 2002:a17:902:784d:: with SMTP id e13mr3324773pln.188.1544800837934; Fri, 14 Dec 2018 07:20:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544800837; cv=none; d=google.com; s=arc-20160816; b=XElD+HUb85ULr4KGGTEGK/xyA05YuVglIP04rG8MiJqo8WcgkHqCoK7d7RLWuygZYQ OHMrd4F6b3DX51To5Q1T3oLjsWtG1zrGlLAdClDRxPpZzimkZPdrguLeFg38c/XpkL9H Dlnj4OCilRdvepTp0D0CPbGIPPWg6orooLpSXurMDDRUFnrMP/trnMPM7uiiAnf0PY3K g8EQ1XxqY1L7nia/TW+kEsmQ0b7G4SapBGxHUzcJ3ZgeX6Xy6slS3sGZc9+yKJGNnmpp geuTxkfwGlW6mUWKdcmxPw4z7a8oXZ3EJCGtNFv6kR4akQOy8eZxMrq/eE9dc4O7T87d hVZQ== 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=SgR7/zvoTitAcWtzspwpFbA2pChllrGr1cdcJ907dAE=; b=HiZOqVo8zl8WcAXsrgT2KtrPun89+lYouZbnHLN/jfQPfAGy3MwT2cvoFx0TDTlHBp wfptyYAPYl+P4TNLrL9Etb9IPQdpCfRLgtbX1eRpV8QQzONDlbY2D2LqFJvnaj2KcAde EotmdYVGMkHCG5u5bmRI8fHca55oJHIfGrQym/7/jUrUzEXG4cLLVd5bZY69F7RIUMLK B+PB8zaS5Lnt2GpXYQ3r6JwU3sOfce9ilsoDYKvJcaVov1eL8TLkgXD/qddgg9IyP0HB SrOY1wn9qfl0s48RSuws8Ufejn2mxioyCxUOH8FfH0SsaSwRnL7cGHCjVg6Sps0ysCtv CLog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MnWJRCM3; 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 m3si4301913pgs.8.2018.12.14.07.20.04; Fri, 14 Dec 2018 07:20:37 -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=MnWJRCM3; 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 S1730291AbeLNPSE (ORCPT + 99 others); Fri, 14 Dec 2018 10:18:04 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:42667 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730059AbeLNPSD (ORCPT ); Fri, 14 Dec 2018 10:18:03 -0500 Received: by mail-io1-f67.google.com with SMTP id x6so4678798ioa.9 for ; Fri, 14 Dec 2018 07:18:03 -0800 (PST) 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=SgR7/zvoTitAcWtzspwpFbA2pChllrGr1cdcJ907dAE=; b=MnWJRCM33UxKWjgGBiFsns1d5BvTi7SYsCn0IqH8uwMe0Cn+75+E3UxGPDGMocDXFv mrT1YSV8hlaTyFIl7mOtqkQM9RPhzOepRzzyZUTO37EYgGnzq0aEZvcKkwvVFZpgXeiH BdmKCob79YpuDItcmlt1nGI0SJrV8RiEUesXU= 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=SgR7/zvoTitAcWtzspwpFbA2pChllrGr1cdcJ907dAE=; b=OYhqcb4haYnPGag5WVungSkDQ9vaUlh/VG6lmZUB/cRIDVxEefBk9d5gfCiPU8bKtH UPPS9xWRz9NmJQe73t6OcjayjRtwgdn+1rLmqRy0nOb9ZO8giZEpgqEaYhDDzda9tQ07 SlKBhCK9ogNgHSTqp3x7jOgWToAKtBYii4d689LmEQtPu0nvqMpKtA8e7QizyLiDhbDT nDOocIGUpfT6oYeOu/TTL4JsHvs9AlCRFrKeeq2o4yUsAwLWb532r27UMhTwt1+51JGY 1yAOtaIcYyNOyXyBTRCtxlB1OosZsU3cLUb66htUqWzXUMAXJWkj/2wGMaHqhR+E8wBB Ns8A== X-Gm-Message-State: AA+aEWbJ2U0IFA2dxtPaTfOnAkU3W0Jp3V/41hAswcMFoiwoPzZCes58 OXkz18N7mFqjpWaPHi4FLn1ZWiCFKhRbVKc53topcQ== X-Received: by 2002:a6b:4106:: with SMTP id n6mr2794140ioa.171.1544800682682; Fri, 14 Dec 2018 07:18:02 -0800 (PST) MIME-Version: 1.0 References: <1542101513-22010-1-git-send-email-firoz.khan@linaro.org> In-Reply-To: <1542101513-22010-1-git-send-email-firoz.khan@linaro.org> From: Firoz Khan Date: Fri, 14 Dec 2018 20:47:51 +0530 Message-ID: Subject: Re: [PATCH v3 0/5] alpha: system call table generation support To: linux-alpha@vger.kernel.org, Richard Henderson , Ivan Kokshaysky , Matt Turner , Thomas Gleixner , Greg Kroah-Hartman , Philippe Ombredanne , Kate Stewart Cc: 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 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. Thanks Firoz