Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2139541imm; Tue, 2 Oct 2018 22:09:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV63prPM2xCkHwkUT2jBxky2nhd8w7h1BZrWhZ5c5PlN13UmBwDGz0jc5Vc+XmUSWXoTP/SwK X-Received: by 2002:a17:902:a58a:: with SMTP id az10-v6mr19837975plb.204.1538543354622; Tue, 02 Oct 2018 22:09:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538543354; cv=none; d=google.com; s=arc-20160816; b=FYdU0jZ3QGLQVfc4Jh+MEIJZg8bjyoTlu/rHB9GJq/FLMarVtY04eperKclQxysNda 9YCu15oHV42GVXdjQOPkmafDUsolVQfi0KPHUYbUXrtl8Vt8Ty0IDOk6QsE8aukhQ/UK dt3my+PoR0z1F8TbSs1cE1K2bOkQKTq3BQbLFTGfIxVcSKS+HTQWadVG39vmFUo+X1bk ZsAHFcSf4rZHvTaIH9a24WeA1tDfOxZ7qb+CrjADNpcylOnSgRntB3zOjgSMj7mo1rSG Aub42ttglDSBe9gYy7GjYVq6jOuFshKgVoniUloUiDXO384gblSCp6LjVDL1dp8xF1SQ Fx2w== 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=SlzELRGUMHI+Tf9HAdiN/T0+FB1AKo6USVzO00wFO10=; b=0lwNJ/JCFHn11Pp5YROFNtjZmKsL9oy6JAvOWQLcbCRti4LI7MjfiSLbTpuKituMAt sFv+z0mGU7uyhSVxycY0nRdyNawyCQgSHlV9Cd0jdFXAjiz0nYCuYHBteFk7opdnaAYt Fzgs7hj9wMWXcTUkLDv6ruVRI6SYWgRsyBlXJDwrkmsgJIpdo/LH24kRNh+mg7Cii3L3 DkLKHB3B7Yid/qPyNxUXQ8PYuWOO815vYTS/ZwvQHGtMKAFl+WGDAj0DtTOqkwTKCeRt zjTZFwkoNWdbh3DO32y5uWB89S8AHsygwSBiDgFk+9f+tNvznMibCdnph2SHefp9wroC Luzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BYukNOP6; 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 3-v6si233813plz.351.2018.10.02.22.08.58; Tue, 02 Oct 2018 22:09:14 -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=BYukNOP6; 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 S1726568AbeJCLzi (ORCPT + 99 others); Wed, 3 Oct 2018 07:55:38 -0400 Received: from mail-yb1-f194.google.com ([209.85.219.194]:36917 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726405AbeJCLzh (ORCPT ); Wed, 3 Oct 2018 07:55:37 -0400 Received: by mail-yb1-f194.google.com with SMTP id h1-v6so1858211ybm.4 for ; Tue, 02 Oct 2018 22:08:51 -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=SlzELRGUMHI+Tf9HAdiN/T0+FB1AKo6USVzO00wFO10=; b=BYukNOP6IbnWUhoWIl1YUgFJvQPBSAt0ltxYRUBEty7gJqOq0PfS1JawGL7o2P8wZP dNx8vsSOz67nvtcjBScKPVIHlkI2nSOiOl73WJrJCjE0OjwTvpy1HghKAwT+eI3lwtdM AcIA39ri1bamHmZsXqtO4okeo+Ih2XreJb5XM= 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=SlzELRGUMHI+Tf9HAdiN/T0+FB1AKo6USVzO00wFO10=; b=jS1F498ZqkZX5v86PjtCgQElAHrg41kzHKS4MH/npCUSL51upwupYJrLIBgXQndAnX eBSOY90bFcc/N4SgkyU8frRPY0bylkTj3ADsAKUT7kzNsJAVnBrFlveGdlC64xgJeTTB UDNw4HeS8W/1RafwJ+E2hRymPbnE9BbL+IjCwkAEOHQee36pRg1sfIekCBB0YatdoQRm FTZK8ZAqFVKnH9pd0sdPbjFLxGXuqptZT4ft6uCl4MmHhJ2rlPNOOmHYFlePln6D/qXG wB2UvloX4b77PHbMBLRP/po7Udfxm8a8zBNdwmhGki8ljMsWWo2PwY4YffEQudm0HJBk 3srw== X-Gm-Message-State: ABuFfoi9eYTD0ONWhQAHBYOgq73MdDCLX3VTVbNBBjigqZu2MDnF5wCn nogMAkxLRaz+keLqGVqm3MPoNtYYx7qjgAejOGSz+w== X-Received: by 2002:a25:8242:: with SMTP id d2-v6mr10629553ybn.166.1538543331485; Tue, 02 Oct 2018 22:08:51 -0700 (PDT) MIME-Version: 1.0 References: <1538397784-4214-1-git-send-email-firoz.khan@linaro.org> <1538397784-4214-4-git-send-email-firoz.khan@linaro.org> <0741f810-58c9-dcf3-8c1c-93860c08e428@xilinx.com> In-Reply-To: <0741f810-58c9-dcf3-8c1c-93860c08e428@xilinx.com> From: Firoz Khan Date: Wed, 3 Oct 2018 10:38:40 +0530 Message-ID: Subject: Re: [PATCH v2 3/3] microblaze: uapi header and system call table file generation To: Michal Simek Cc: Michal Simek , Greg Kroah-Hartman , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , Linux-Arch , Arnd Bergmann , 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 Michal, On Tue, 2 Oct 2018 at 19:37, Michal Simek wrote: > > On 1.10.2018 14:43, Firoz Khan wrote: > > System call table generation script must be run to generate > > unistd_32.h and syscall_table.h files. This patch will have > > changes which will invokes the script. > > > > This patch will generate unistd_32.h and syscall_table.h > > files by the syscall table generation script invoked by > > arch/microblaze/Makefile and the generated files against the > > removed files will be identical. > > > > The generated uapi header file will be included in > > uapi/asm/unistd.h and generated system call table support > > file will be included by kernel/syscall_table.S file. > > > > Signed-off-by: Firoz Khan > > --- > > arch/microblaze/Makefile | 3 + > > arch/microblaze/include/asm/Kbuild | 1 + > > arch/microblaze/include/uapi/asm/Kbuild | 1 + > > arch/microblaze/include/uapi/asm/unistd.h | 411 +----------------------------- > > arch/microblaze/kernel/syscall_table.S | 406 +---------------------------- > > 5 files changed, 10 insertions(+), 812 deletions(-) > > > > diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile > > index 4f3ab57..cda5e03 100644 > > --- a/arch/microblaze/Makefile > > +++ b/arch/microblaze/Makefile > > @@ -81,6 +81,9 @@ all: linux.bin > > archclean: > > $(Q)$(MAKE) $(clean)=$(boot) > > > > +archheaders: > > + $(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all > > + > > linux.bin linux.bin.gz linux.bin.ub: vmlinux > > $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ > > > > diff --git a/arch/microblaze/include/asm/Kbuild b/arch/microblaze/include/asm/Kbuild > > index 569ba9e..d64f5e7 100644 > > --- a/arch/microblaze/include/asm/Kbuild > > +++ b/arch/microblaze/include/asm/Kbuild > > @@ -31,3 +31,4 @@ generic-y += trace_clock.h > > generic-y += vga.h > > generic-y += word-at-a-time.h > > generic-y += xor.h > > +generic-y += syscall_table.h > > \ No newline at end of file > > Still the problem with "No newline at end of file" > > > diff --git a/arch/microblaze/include/uapi/asm/Kbuild b/arch/microblaze/include/uapi/asm/Kbuild > > index 2c6a6bf..3a40659 100644 > > --- a/arch/microblaze/include/uapi/asm/Kbuild > > +++ b/arch/microblaze/include/uapi/asm/Kbuild > > @@ -28,3 +28,4 @@ generic-y += termbits.h > > generic-y += termios.h > > generic-y += types.h > > generic-y += ucontext.h > > +generic-y += unistd_32.h > > \ No newline at end of file > > and here too. Thanks for your comment. checkpatch script didn't warn this one:( Hopefully, I can fix this one in the next version. I would appreciate if you can perform the boot test on the actual platform and share the result with me. Thanks, Firoz > > M