Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1901967imm; Thu, 11 Oct 2018 01:31:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV62OI3eD0lLvp3WImzn8sxZ5eEN5/BmfE4sN9Hta0I24c68c+pDOo5++Kcii1G0e7aKuVwe8 X-Received: by 2002:a63:d256:: with SMTP id t22-v6mr541291pgi.335.1539246695015; Thu, 11 Oct 2018 01:31:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539246694; cv=none; d=google.com; s=arc-20160816; b=T80gw5GPVzV/Sn5gkobnzZkFqGsAv0MZ1OdtaDMVC7CJtSZILhmL+4Pr8mq18IdcG8 HauyxZLRxDlrSFYzGogNzGA3vHPY283o5vGyH6u7hm9xPqmEhSJ9mWE37p6uKTgzoYIM 0rO7QmN/H8QT6/msuC3I/5tPExOsl6r8qoCG3+YEDh53UjETtOyPSqrTHEf7w2elxEF+ 33TjkjuXBM7QnZpsMbyuMNWHX4Q9bc9svIXUyttefT0da6awdG7DpFff2aDDvYxCHkuI UVZ1+hPisCu5ccBI1ph31KP047sfz3BlSjTrrPp4N6UN/XUwCtZA95bW7/i33L3V88fU IQeQ== 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=77a3+sGNoQVrIAubEjBxwOmYBxL3bilu8H6ROnB7DuA=; b=JVKthC5sewEu9JXgPAxB75w68mVkyx8qW92+Z+G2EiQaup9xCWbE0yIfnUbwnPEgOS Y9Bd6PfJhtMrfSSUuSks4bu2bbmrPrq3WeQgQf31kFwYIrWqSybDFhe8Juv+2UVCUm7W 1hD7rD3pIuJDXhho+snXSh2z/0NVngpayVMWPJ7cn1Sek5NZYglPUT90kNWgd8hxWW9I n47m9OkFiMAZ0zJIfGaovNOdRokIWPr5ApH0EPNxx+FGgNBSdYIwsA6gdlFgsJvE5mBa /5LV0pyViKVOfz7pBt7wsJWNuCFsl/fTLMMDHNMZuNw2YiLj31Qhll0SlZnyPRq/g1Mq iO4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X+zbE3D9; 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 z27-v6si25079553pgk.297.2018.10.11.01.31.19; Thu, 11 Oct 2018 01:31:34 -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=X+zbE3D9; 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 S1727809AbeJKP5L (ORCPT + 99 others); Thu, 11 Oct 2018 11:57:11 -0400 Received: from mail-yb1-f193.google.com ([209.85.219.193]:46429 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726035AbeJKP5L (ORCPT ); Thu, 11 Oct 2018 11:57:11 -0400 Received: by mail-yb1-f193.google.com with SMTP id o8-v6so3280667ybk.13 for ; Thu, 11 Oct 2018 01:30:57 -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=77a3+sGNoQVrIAubEjBxwOmYBxL3bilu8H6ROnB7DuA=; b=X+zbE3D9TIQ3dBP1JkFS6pJf/06Z0haJiV+7xTdnfovH3D8b7xfsgg/DAXG5I+QfPP oHnJO7WuzSxaR0qiuljWB9KsanVdK21BBx1VeraFD+Ox4lOj50ktU7nPTaa6ZRC9Vdzi Z5yvaopbFa0LmeuAFWJKm551f1VcZjYp9NF40= 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=77a3+sGNoQVrIAubEjBxwOmYBxL3bilu8H6ROnB7DuA=; b=iS6HbzRkxgXjEHdkdQePiGstmOv6THydcu7R/h2eLiZ18DXMKHCH26ungjxFh6xwz8 ZDrQZZnNi+PKR6VKcxUIz+d6BQgxlG8H/WzYlyg8QxrX6BzeuxnlL35pCm+7Fek55Ho4 zYikhcpIzBcyhlh/IXYCExYofK1XUHVnOWzBq4usEyoecvFyvx+Zcaa8cpWzmFm0GWWf 38EbAVoVAp1mCe2ZSBex+bgHyMY2ag7UJtTFTO1LlsRq1jtQVQ8+/n2XoscrXz5bQIWA eJtjhBAh9MNxBAsRza+YBhV5S+ES+y1CkfOL/8eLLZ2jGBeKlzlhPjFRGEwxZ6GgQw1L U9aA== X-Gm-Message-State: ABuFfojwZ8z9QtLGYRW8+FJ3wwMttJEZdQwxQ/zrtWXtWiQmSD1gYdcE dmurbbYq3HtCrj5I9/QNORE3/I6wg9PCcHLSnsSEOQ== X-Received: by 2002:a25:b127:: with SMTP id g39-v6mr237179ybj.483.1539246656992; Thu, 11 Oct 2018 01:30:56 -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: Firoz Khan Date: Thu, 11 Oct 2018 14:00:45 +0530 Message-ID: Subject: Re: [PATCH v3 4/6] parisc: uapi header and system call table file generation To: Arnd Bergmann Cc: Helge Deller , linux-parisc@vger.kernel.org, "James E . J . Bottomley" , Thomas Gleixner , Greg Kroah-Hartman , 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 Hi Arnd, On Thu, 11 Oct 2018 at 12:37, Arnd Bergmann wrote: > > 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. Sure. Thanks for your comments. Firoz > > Arnd