Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp328173imu; Mon, 19 Nov 2018 23:23:36 -0800 (PST) X-Google-Smtp-Source: AFSGD/WO/KEwZBw90UVt+EROTNLLDqX810RgTDifobsxTqDvQmQcAXxlu5+FYpNOkCFfSqWeJJfR X-Received: by 2002:a17:902:7487:: with SMTP id h7mr1035195pll.145.1542698616750; Mon, 19 Nov 2018 23:23:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542698616; cv=none; d=google.com; s=arc-20160816; b=Wq+AJJQ2KgmC7toJD/bI4VSqQcrS0tkCkMEbwW8G6gED1DZs5wD3Fhq4aQhGC0/8rV xYdY7SsJ39eZ5BdLzZuIy0YhW3N5JHmFoAZH56EKRaVzw8U8hRdN2FBFsk6G2hW+kh/z DnOqDAk5i/AZ9vQRXGQ8WtN7mWmvtTANDcgFpnE0y3teYdnwtwxq4sqyTg1Ycd2Zdgo4 GS62dSmwX+QLE/Posr8tVqcAVr4kZeofvQvN3hh+Az5GBJwkBDt7b/ROquOo27LjbJM9 WyPaYvLzvgApWWCgn+R/z8KJV+dRiiPCfZLxzB+n03wO5bbR14Yps5Qrb4pM8HBrUKia sOMQ== 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=bAts0Gb6wtX4+ypNYNFi2pnx4xhkIPqxi2UclCxVXU4=; b=Gm+fCg0xF/i+IxIDdL/aNMoPBDwmQJg/S3S8JVrmtxPTVSVcT258KBbl6Zh/l0sOJX NtIYwz2RLDMCiTjPx5YFPesGwS2u/zOLyEpxqh68w/RYYQSmMJgwB4H2nVqbGs2DSTC/ D+9NiPusLDcFD0Y+vGaUjmUl7igTth1SPPa1FPjb5Mae+4wN97Ejr7uoF2dDnxPfvZQU OM46Bmm8iLGEOkXFiu+QAWhRUj97V7XIPNnGoU5h8lNTKNbOLRcEl5hIF/wZj2vdpsK1 I0dksyfX47iGxwrPf8/spW+fQXameKvUC5Q/w0fX+FRsZvJZvvjujY9Q5HtEFRPr9w5e hDoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MXi5Pcei; 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 c132si30136168pga.597.2018.11.19.23.23.22; Mon, 19 Nov 2018 23:23:36 -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=MXi5Pcei; 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 S1731910AbeKTRll (ORCPT + 99 others); Tue, 20 Nov 2018 12:41:41 -0500 Received: from mail-it1-f193.google.com ([209.85.166.193]:35008 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726840AbeKTRll (ORCPT ); Tue, 20 Nov 2018 12:41:41 -0500 Received: by mail-it1-f193.google.com with SMTP id v11so2045374itj.0 for ; Mon, 19 Nov 2018 23:14:04 -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=bAts0Gb6wtX4+ypNYNFi2pnx4xhkIPqxi2UclCxVXU4=; b=MXi5PceiuS3IEkmo6XQnDpfTCUNgu2agTXBDwJOp9hqkvh1Ir2LiNV56RsnH/7hRIn 6ppL2wpK4PqM9SlGd4PVWnK+5F4YOMYOMEdo9Vb3bfmQ/Hknn7qVMjeDlBWadDiLWClU q4DCEq4t8clyQFPrInyjMauFmKdLFTwWh5FwE= 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=bAts0Gb6wtX4+ypNYNFi2pnx4xhkIPqxi2UclCxVXU4=; b=Aw3aiOCJF4249YITqVMLVP5BBbXofrVtpzyUwO0NKJmXo+wpMBvVrrTRcbl1HqtlnN X7q/QhIpSClD69emCVig/Qg3Tm6IkviStovcHLiy1+B4KPWB1xjApObwawh97joMkPe1 aOK/J6Wud8f5gmiuLgQUtVXvawPI1C2+ur7Rfmk+25Taart/w137QiqSFiU4Ac5/f7gs aKm4nWYB1THJMmzE4MnqId+o8elB2ZgQO/GFojklyFTtlM2+K1TMrBQk4o/VFWe496ul lFuSbH/vGc0jBcwzyksEYe8LSwnVZHDg5JVXhC2eilenmysSbGCWYi1DLHLz5DCWMVLg Kg0w== X-Gm-Message-State: AGRZ1gLwUFjdlU8lZxecJ+CXc8uaMJdPy2g/hodsok5AMqpPYuT0gR7I bA4/hOIUeOOdZFGQlPhT3p2cexcxvaLT8oMt5w7WDQ== X-Received: by 2002:a02:788:: with SMTP id f130-v6mr828954jaf.58.1542698044441; Mon, 19 Nov 2018 23:14:04 -0800 (PST) MIME-Version: 1.0 References: <1542262461-29024-1-git-send-email-firoz.khan@linaro.org> <1542262461-29024-5-git-send-email-firoz.khan@linaro.org> <20181119223524.gsvjkf5v24ic7ilj@pburton-laptop> In-Reply-To: <20181119223524.gsvjkf5v24ic7ilj@pburton-laptop> From: Firoz Khan Date: Tue, 20 Nov 2018 12:43:53 +0530 Message-ID: Subject: Re: [PATCH v2 4/5] mips: add system call table generation support To: Paul Burton Cc: Ralf Baechle , James Hogan , "open list:RALINK MIPS ARCHITECTURE" , Thomas Gleixner , Greg Kroah-Hartman , Philippe Ombredanne , Kate Stewart , Arnd Bergmann , 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 Paul, On Tue, 20 Nov 2018 at 04:05, Paul Burton wrote: > > Hi Firoz, > > On Thu, Nov 15, 2018 at 11:44:20AM +0530, Firoz Khan wrote: > > diff --git a/arch/mips/kernel/syscalls/Makefile b/arch/mips/kernel/syscalls/Makefile > > new file mode 100644 > > index 0000000..dc6bbb1 > > --- /dev/null > > +++ b/arch/mips/kernel/syscalls/Makefile > > @@ -0,0 +1,71 @@ > > +# SPDX-License-Identifier: GPL-2.0 > > +kapi := arch/$(SRCARCH)/include/generated/asm > > +uapi := arch/$(SRCARCH)/include/generated/uapi/asm > > + > > +_dummy := $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)') \ > > + $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)') > > + > > +syscallo32 := $(srctree)/$(src)/syscall_o32.tbl > > +syscall64 := $(srctree)/$(src)/syscall_64.tbl > > +syscalln32 := $(srctree)/$(src)/syscall_n32.tbl > > +syshdr := $(srctree)/$(src)/syscallhdr.sh > > +systbl := $(srctree)/$(src)/syscalltbl.sh > > Could we go with 'n64' instead of just '64'? > > When we get nanoMIPS support we'll be introducing the p32 ABI, and > there's a reasonable chance that the equivalent p64 ABI may come along > in the future. Using 'n64' now would avoid confusion in that case where > we may have 2 different 64-bit ABIs. Sure, will do. Thanks Firoz > > Thanks, > Paul