Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3336729imu; Thu, 29 Nov 2018 21:14:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/XGtwLl4Bu5rgKpQsA6LPZyYRFCt3iz85JBFytH8T6vYOp/qlPP8fAks9WXAjq9peGBioOY X-Received: by 2002:a63:f658:: with SMTP id u24mr3703228pgj.267.1543554880687; Thu, 29 Nov 2018 21:14:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543554880; cv=none; d=google.com; s=arc-20160816; b=Ls82MDHobTmLcNyx29UZxF4NT2iOS/Kpew8QktJyatEn/bQ3NkpvGb1Owad20X7xqE 94aGpxTrSkjaoSTzDSKRZ2k+hlqGEgitNu1zkXiOhd3AFRjnACwFze9Ep4242Jdyw1Bi xF6Oy+Yx4PxZ4kuWEeOtnuYlkwUO6r4u0POe2BaloGRPuEzFsSn9qh+/M/Y54MhLLtdi IIV3bGz4WqoXkwHlAeAhd4WBHYCALFnrMbrvneO4m+wzCC9aqqfwmG+L60TB9soKcVsh MTgKgnY6cDMRPbytj6b4Paz2D4ZkSFUc8EAwGAdXovbDioIrNcqbZgpSr67EmdXDMHO0 Z4HA== 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=mmo2hKAV4jn2oX+2Bz4e22r9nBzpV0vdm9tze62b+HA=; b=umNMNAircxVyPLdUMf+ZH9WxjW+GLAqaH1iHmsNSjImxcOgXAHilYP51AeKzuTTrqX fJom3XHTEekgNa2Sq/wbP2GPdOqLEypeLTz2MaN4Hkl2wN4AeWyp0z3QgLK5BEJQpYgJ Y0ZbqDnyWNz8ROKeyaNAk22Jt5/Z3NcIak1cGo/30ZCsfkbCFuSo9l4OQh2mZDW8pxdR dovWDVlkncN2NQG3gH4jJN1WK7Kk746PiYs8JvMXh2UoCZil1LXNwtm0Rw6c8YFsyG6w L6p43OBqs9ilbPBPnbI9B8QLoKd4CGF20rJ1TE1eioVKdUoZyPFvP1PBY+tUPd/C56lQ qSew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hpGGzU/u"; 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 a195si4734349pfd.143.2018.11.29.21.14.24; Thu, 29 Nov 2018 21:14:40 -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="hpGGzU/u"; 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 S1726545AbeK3QVx (ORCPT + 99 others); Fri, 30 Nov 2018 11:21:53 -0500 Received: from mail-it1-f194.google.com ([209.85.166.194]:34904 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726387AbeK3QVw (ORCPT ); Fri, 30 Nov 2018 11:21:52 -0500 Received: by mail-it1-f194.google.com with SMTP id p197so7477237itp.0 for ; Thu, 29 Nov 2018 21:13:48 -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=mmo2hKAV4jn2oX+2Bz4e22r9nBzpV0vdm9tze62b+HA=; b=hpGGzU/u7PfYM1VnObh0+9oBriyoH2mjS0JQQe4Qig3CO+dObRB5a+aYq2eD8CHY2l +oyXrImgXWa2bwQGodDcEzrPc6DfJbnxNRmA+7Sgs6iz9OsDa8w3didHc09u0iXNrERj DcnSOSChyirZ8sQBkKyi55vkCQkL6fm9+S3Ok= 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=mmo2hKAV4jn2oX+2Bz4e22r9nBzpV0vdm9tze62b+HA=; b=WII4AAcvGVY7S1XvPctBYNXNqqmJ7hUcX6wLETgwSgG6fFumFfJRmfQ4wt1hsQdMbu Op8frjLLpMEZ5brRFB+pwWHZam09f1Ja72Pg7YlGn1sQuz7Gm5/VfxhvEf5t0kCHGMYe s96yb7h7XLpUDI6Qu15kLhEsiIBykEYaevxjOO3VlNKFhtuKartTLu+jLgggLvemWXFb FAXc3nBIoxObTfQqI2FoN50hFhN4ldDFbNCVR2t1qe/I92df342g/q9HmkMTFHSdTENP bQTyzEqJHSa2FMWj6mP1Q5Oh5pyv5wxWvpILrQ128N7sQH81uVXR64uS+r317+TXxQkE EwLQ== X-Gm-Message-State: AA+aEWYHm/zsYDWQNtt3d02te6/gbSPLE3z+TGdwkhYJKlaWS3hOJFAD nXWuD/HQATJzrtVP1ieyAhSS5R6hMj42Z08OXn7K/A== X-Received: by 2002:a02:f42:: with SMTP id h63mr3942243jad.133.1543554827820; Thu, 29 Nov 2018 21:13:47 -0800 (PST) MIME-Version: 1.0 References: <1543481016-18500-1-git-send-email-firoz.khan@linaro.org> <1543481016-18500-7-git-send-email-firoz.khan@linaro.org> In-Reply-To: From: Firoz Khan Date: Fri, 30 Nov 2018 10:43:36 +0530 Message-ID: Subject: Re: [PATCH v3 6/6] mips: generate uapi header and system call table files To: Arnd Bergmann Cc: "open list:RALINK MIPS ARCHITECTURE" , Ralf Baechle , Paul Burton , James Hogan , Greg Kroah-Hartman , Philippe Ombredanne , Thomas Gleixner , 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, Thanks for the email, On Thu, 29 Nov 2018 at 19:52, Arnd Bergmann wrote: > > On Thu, Nov 29, 2018 at 9:45 AM Firoz Khan wrote: > > > diff --git a/arch/mips/include/uapi/asm/Kbuild b/arch/mips/include/uapi/asm/Kbuild > > index 7a4becd..ed4bd03 100644 > > --- a/arch/mips/include/uapi/asm/Kbuild > > +++ b/arch/mips/include/uapi/asm/Kbuild > > @@ -1,5 +1,11 @@ > > # UAPI Header export list > > include include/uapi/asm-generic/Kbuild.asm > > > > +generated-y += unistd_n32.h > > +generated-y += unistd_n64.h > > +generated-y += unistd_o32.h > > +generated-y += unistd_nr_n32.h > > +generated-y += unistd_nr_n64.h > > +generated-y += unistd_nr_o32.h > > generic-y += bpf_perf_event.h > > generic-y += ipcbuf.h > > I'd argue that the unistd_nr_*.h headers should not be in the uapi directory > but instead be included only from the in-kernel header. That is also fine. I can update in v4. Paul, Do you have any comment on this and could you confirm user space doesn't need this macros - __NR_N32/N64/O32_Linux, __NR_N32/N64/O32_Linux_syscalls ? > > > > diff --git a/arch/mips/kernel/scall64-n64.S b/arch/mips/kernel/scall64-n64.S > > new file mode 100644 > > index 0000000..402a085 > > --- /dev/null > > +++ b/arch/mips/kernel/scall64-n64.S > > @@ -0,0 +1,117 @@ > > +/* > > + * This file is subject to the terms and conditions of the GNU General Public > > + * License. See the file "COPYING" in the main directory of this archive > > + * for more details. > > + * > > + * Copyright (C) 1995, 96, 97, 98, 99, 2000, 01, 02 by Ralf Baechle > > + * Copyright (C) 1999, 2000 Silicon Graphics, Inc. > > + * Copyright (C) 2001 MIPS Technologies, Inc. > > + */ > > +#include > > +#include > > +#include > > +#include > > It looks like you change and rename this file at the same time. > Generally speaking, I would not do that in one patch. Either > leave the slightly inconsistent name unchanged, or rename > it in a separate patch. Ah, you catch this one.I thought it will go with out notice. Ok, I create one more patch in my v4. Paul, FYI, you asked me to convert 64 to n64. Here I'm changing file name - scall64-n64.S (previously it was scall64-64.S) also. Thanks Firoz > > Arnd