Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1087262imu; Fri, 16 Nov 2018 15:43:41 -0800 (PST) X-Google-Smtp-Source: AJdET5dQBvfykkyX7QMHYP9+etDYgjQGUXF/c2ZYoyVPj6vvrqJ4FzPGrrLSUkFBL7hgeS+Shvpd X-Received: by 2002:a63:f241:: with SMTP id d1mr11859114pgk.2.1542411821510; Fri, 16 Nov 2018 15:43:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542411821; cv=none; d=google.com; s=arc-20160816; b=H1YuBvabqhxHHUKngLrIG3VCgAod9yt3zHpmlHTVpT5ebm8oPvFeSICBa8gFF14urf jPIVPPOuFHbrd/fxxOtVdEE3obd90bJnnUehPP5EpQ0SvhAM2Jq5ivEmU3Xcqv5wuOsQ XWAiv+9TmrHZRNcaus1hyyjC9ru/t9etAAhsSgLRJN231FyWBdKeyBTqWSwoxERcG7i1 KZIrSk7/BtkBwCcYRyksBMvNpRKu8o5G7h1VdxJ84jfp/jrfld7sc5xfNVW58N/eOmJt 1jSNG1nOmKPX0L0uLjF8OI3kr5P/BI99UjOYquAdD5mTTMiPG4LJAUYwIRuAtaM2WQv+ GNWg== 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; bh=M5JQlFR6BO6RYI54fXE5W/jmMguUs5fceI1+3QHSGVU=; b=YpUzBheSRaK/DWVcgNYgZOFKG/KyZPuVLtIPZEKDNPKCluvods604ZuqnVMheQIQor iMz+ualPZBVhUQbNld5ozWOB1832JGbiOBJKKLSf8HTwBs2+XELpNJBiSNSLjghWr0gk hMrpIVB2skbQdZaGqBa4y1F2YMuFbuAYcSIOMdcMUpat3QTQHNHwW01ywUIBRT6K2WLN 67zpAI38Gl9UjSB7v4vdKmxnY7Jy/674jFe1BcTSs8WUJKk97e4UXPmzvzpU8HheJnPJ 5HPBJ/zHwoB109tFbDNiY9pNvHwMqLMSoXszuTbtrKlfZxH+Wz37pi2Kp205aaPC5YR3 haXw== ARC-Authentication-Results: i=1; mx.google.com; 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 m11-v6si34518801pla.251.2018.11.16.15.43.20; Fri, 16 Nov 2018 15:43:41 -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; 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 S1729993AbeKQJfi (ORCPT + 99 others); Sat, 17 Nov 2018 04:35:38 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:43491 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726222AbeKQJfh (ORCPT ); Sat, 17 Nov 2018 04:35:37 -0500 Received: by mail-qk1-f196.google.com with SMTP id r71so40153732qkr.10; Fri, 16 Nov 2018 15:21:16 -0800 (PST) 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=M5JQlFR6BO6RYI54fXE5W/jmMguUs5fceI1+3QHSGVU=; b=grKbqiBAh7iC52XOPEdR2L07ZmFZF2rcbm8IsT4TrviUNxXe4atNvjP4t0b22wwWuf mkzMUcKZx/u3jD/Fq337LmSYkEBVcDekjiT3QN2I//t0IdLmq/ThKCFiOOBKGJiW3pFK 6whKMT+1TDkCtZNnnm/5RZcl9qsLL22CW6Y8bYdny3g2I7+GSJR33MxWGaaRNKKGiWUZ Z4zB7E1TGB2l4R9XEOe+2brcCcMqN4HihmzUa9g1GzsDu56hK5ZZFc11D4IVk6l8B8O2 vPodbRW+pEsX0LFqEFF62X4HQ+a3YPVobD16np8avo7csAAANwowhkSk1AVijqPVy518 53DA== X-Gm-Message-State: AGRZ1gLuj8aOGPi28JWqRaniNYLQTR60T5TX0eGI1lqvX9ZQ0bBApj/w pHdMrP4mJOhvTK+GsKxVrDdZmVij0xx+9+N+j5g= X-Received: by 2002:ac8:2c34:: with SMTP id d49mr12303947qta.152.1542410475690; Fri, 16 Nov 2018 15:21:15 -0800 (PST) MIME-Version: 1.0 References: <1542177301-25844-1-git-send-email-firoz.khan@linaro.org> <58c3c4a4-7f55-bf08-1c96-ef1aa7f97072@gmx.de> <20181116215502.GA6585@ls3530.dellerweb.de> In-Reply-To: <20181116215502.GA6585@ls3530.dellerweb.de> From: Arnd Bergmann Date: Fri, 16 Nov 2018 15:20:57 -0800 Message-ID: Subject: Re: [PATCH v7 0/5] parisc: system call table generation support To: Helge Deller Cc: Firoz Khan , Parisc List , James.Bottomley@hansenpartnership.com, John David Anglin , "James E.J. Bottomley" , Thomas Gleixner , gregkh , Philippe Ombredanne , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , linux-arch , 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, Nov 16, 2018 at 1:55 PM Helge Deller wrote: > > On Fri, 16 Nov 2018 at 01:01, Helge Deller wrote: > > > > > > On 14.11.2018 07:34, 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. > > > > > > > > .... > > > > Firoz Khan (5): > > > > parisc: move __IGNORE* entries to non uapi header > > > > parisc: add __NR_syscalls along with __NR_Linux_syscalls > > > > parisc: add system call table generation support > > > > parisc: generate uapi header and system call table files > > > > parisc: syscalls: ignore nfsservctl for other architectures > > > > > > Firoz, you may add > > > Acked-by: Helge Deller > > > to the whole parisc series. > > > > Sure, will do. > > I'm on a vacation right now. will send mid next week. > > That's ok, there is no urgency. > > Actually, I noticed that the generated files unistd_32.h > and unistd_64.h do have the same contents, since on parisc > we keep the syscall numbers the same for 32- and 64-bit. > With that in mind, we can simply generate on unistd.h > file for both variants. It depends on what we want to do in the future. When we add around 20 new system calls fro y2038, my plan was to only add them for 32-bit architectures, leaving holes on 64-bit ones. We can also assign the new numbers on parisc64 but they would have the same entry point as existing calls. If you prefer doing it like that, your patch seems fine for that, it's just slightly inconsistent with the other 64-bit architectures then. Arnd