Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1850490imm; Thu, 11 Oct 2018 00:26:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV61cXwpQUkBAm1IW9DmVs6+BXobHcRWxuM/0tPzjDwzGWSX1rxtFOgpugegmWoOpBQdhaWze X-Received: by 2002:a62:8d16:: with SMTP id z22-v6mr415419pfd.185.1539242762425; Thu, 11 Oct 2018 00:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539242762; cv=none; d=google.com; s=arc-20160816; b=koN4quTN1y6QL7IAQf9ech/iiOMeasUTFQcpepoICogmbBD5jr16IDgCM+X4ezHwPk XC3wuzExmKaaGG0JuGma28P3svZEOsnANzcTwTs9LkZkYX1eFVgWeMUp3E7KJsPnASxd dgpnHcfnsqXigrhofcgbu+Vqr6/0E88dfZp8RGbEd7dz26pxA/o8w+vi4KyQ28ge+CE3 A73L64Rrzmk8TlMuA138s9bFcxhGG/AWLonNvJv84XEfOQ5lbGyQUOfHwuuyeRzfqBn8 FXTF/3CcFu02qLKayn4UjDFIVMA3ih+xW0HXr6XSjLZqTHACDxYPHblZjtCSRFN7jvi3 tkgg== 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=2GV1rdaDCMKZT7FhNYHvOOlSnj9U9gOWskJaApXq+rI=; b=qTGYUdE5LjbkwEfj6KYWGi1NO2YMatU3YQ7QmC79z522wtViP2KX0ay1R3mkSIHcMp dTQBiy87Wg6HLBHwVEG3pNKp2EZhJ5bJMw91OhmoqbIIz5ImQOGLI/k1BkXcmkFHjOSN yCVVjxGENoj94dnldmG1Rh4CPqbDXtbvJSUu9GvvVg/nphqbdFWfgH1B5xtQgAYt+P3c K5KnyO2mkzyqIvXV2d+d/mRCE9UbHMPqtELe5omEkLXDg/BmFRDFJvLa8MHfT6wQdKRi fGCb8i3cUcGXKsnRpOBo0v0lGDKYEzfYBtBx0tPnQjyRetzNkHzuI0ri5szHd4ynE4fC 9pIw== 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 f76-v6si31457850pfa.73.2018.10.11.00.25.47; Thu, 11 Oct 2018 00:26:02 -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; 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 S1727103AbeJKOdc (ORCPT + 99 others); Thu, 11 Oct 2018 10:33:32 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:36961 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725995AbeJKOdb (ORCPT ); Thu, 11 Oct 2018 10:33:31 -0400 Received: by mail-qt1-f193.google.com with SMTP id d14-v6so8704466qto.4; Thu, 11 Oct 2018 00:07:35 -0700 (PDT) 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=2GV1rdaDCMKZT7FhNYHvOOlSnj9U9gOWskJaApXq+rI=; b=Nhne4RwgMnsbyWiOiJ4ZFI9Wm0lLZTW/FUib4scqwZNry4vMDWL5Zwwz1f4ZVnyWIU tUuIdO1iP9Z/f9ru+uiIwLEjPuEi4ZrVAYdWbgnAa10ws0SfqxC3h49i2l8df5Oz/M+p MIxilMdIvvHB3Fmw7Q29pWUSZQX0RETbDuQJj1v5GWsQrfDKaVAnuE5iAKBl/X3MeckP 6bqZh1jridFtYIWxcbO2FUtexsK6U9McisZVk5RJfViVaRLBI9s67ceQffqLnIdNYZZg FuQSGw8F8bBHL6zU9A9cZ2deCp8Nd+Hl0BU4DzWcQ0kCqVWJE69m58ibo4hdzlZhAObL c7Aw== X-Gm-Message-State: ABuFfogJp+jS9QOGR2cQ2nVXuqnymeksPnJ9swwPHjU+H/j1OHqisn0M onH1DF+ns8brQe7E8jiwxol4Oba43PF5l+sr0CA= X-Received: by 2002:aed:35cd:: with SMTP id d13-v6mr360721qte.212.1539241655341; Thu, 11 Oct 2018 00:07:35 -0700 (PDT) MIME-Version: 1.0 References: <1538975801-13735-1-git-send-email-firoz.khan@linaro.org> <1538975801-13735-5-git-send-email-firoz.khan@linaro.org> <20181009201321.GA28911@ls3530.fritz.box> In-Reply-To: From: Arnd Bergmann Date: Thu, 11 Oct 2018 09:07:18 +0200 Message-ID: Subject: Re: [PATCH v3 4/6] parisc: uapi header and system call table file generation To: Firoz Khan Cc: Helge Deller , Parisc List , "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 Thu, Oct 11, 2018 at 8:10 AM Firoz Khan wrote: > On Wed, 10 Oct 2018 at 01:48, Helge Deller wrote: > > > > * Firoz Khan : > > > System call table generation script must be run to generate > > > unistd_32/64.h and syscall_table_32/64/c32.h files. This patch > > > will have changes which will invokes the script. > > > > > > This patch will generate unistd_32/64.h and syscall_table_ > > > 32/64/c32.h files by the syscall table generation script > > > invoked by arch/parisc/Makefile and the generated files against > > > the removed files will be identical. > > > > > > The generated uapi header file will be included in uapi/asm/ > > > unistd_32/64.h and generated system call table support file will > > > be included by arch/sparc/kernel/syscall_table_32/64.S file. > > > > > > Signed-off-by: Firoz Khan > > > --- > > > arch/parisc/Makefile | 4 + > > > arch/parisc/include/asm/Kbuild | 3 + > > > arch/parisc/include/uapi/asm/Kbuild | 2 + > > > arch/parisc/include/uapi/asm/unistd.h | 373 +-------------------------- > > > arch/parisc/kernel/syscall.S | 12 +- > > > arch/parisc/kernel/syscall_table.S | 459 ---------------------------------- > > > > > > Can we please get rid of those two new files: > > Yes, we don't need those files some of the architecture and other > architecture does have same/similar files. That's why I added below > files, so every architecture implementation looks same. > > I feel it is better to remove these files. > Arnd, Do u have any comment on this? I agree with Helge. This was a big different in a previous version where you generated the syscall_table.S file from syscalls.tbl, but now that you generade the syscall_table.h file instead, we no longer need to keep the .S file synchronized across architectures. Having a separate .S file would make it easier to replace that with a .c file later, but it's also easier to split it out after your series than as part of it. Arnd