Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp571709imm; Fri, 14 Sep 2018 03:03:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYU+yGniSkysb3bIyTyH0Rmxy9N8PwIwr8S7KQMzpSTxcDvbVXxZsmuzZcKgcJ/Eq/kaDAk X-Received: by 2002:a63:f966:: with SMTP id q38-v6mr10758146pgk.213.1536919435769; Fri, 14 Sep 2018 03:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536919435; cv=none; d=google.com; s=arc-20160816; b=EvwVUE1moC27KhCbT9tvhWkXHuM4Juj/k+fqRxwtxLhRssrNp8pbLYb9c++ogzPq84 tb0oqu01rwq2DgIBTgXjM4iya0yj467b36FYJIJqS7hWC3FR65BTGiV956HHeFWJNEGV rwhyMSQZmSxdRNiz3/UDravqyvJf4HjZniZt99JvTAujtCAXUMZkOmoKkEUmGulp0u9T 4lziVPrR81alIHJD4D1hXqSzs/siA2HAyn1usSvBWHwtulLWLJBXw4zcKj5dvSTrDgd+ m3p3g6HVJv0gS8Yro9COYTEOSclVpo1WJuNpHDnGUF6IXY+taTDYbv7eYYt6skgyIrbB kW6Q== 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=gY/ZDLWi1ATSiCbxdsGOq71b3jg9GV2aBjpqoe3hNmc=; b=rctevBKDLAZger2vddviTWYM+khvdISzlYU9enxSCR/tVcu3rrsQT1Xj7WADjJpgSW FblpxJZGC2NxQoFf0tXMyJzQvY+LHJODTDgYq3TcwyYxasKs65AHSRJ9QRIJaogpG/I3 uydhIQwUEYZ8TcVhMx3mw/aKABADDG5X7qZYJLkdKHHf9EBVOrFM/tDB8LsQa7pc04ls KT2E6rGU/F88Uh6itAB2t9si/gjjuSnyz3NoQckjFDO02+UFL1AoI6W/KWL++kOWkl1V KjK9EyM4tfKCXsmKiU76gpdFElQB64BdQ/BCZng4OPO757Puqq7ARegZBCbPIC3Ms9Wl lV6Q== 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 u8-v6si6419778plz.481.2018.09.14.03.03.40; Fri, 14 Sep 2018 03:03:55 -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 S1727966AbeINPPy (ORCPT + 99 others); Fri, 14 Sep 2018 11:15:54 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:44872 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726872AbeINPPx (ORCPT ); Fri, 14 Sep 2018 11:15:53 -0400 Received: by mail-qt0-f196.google.com with SMTP id k38-v6so8135541qtk.11; Fri, 14 Sep 2018 03:02:07 -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=gY/ZDLWi1ATSiCbxdsGOq71b3jg9GV2aBjpqoe3hNmc=; b=Prj9y3vy6idM0YMZFs8Fl2RLxLpRzlMxi3R6ha6Ds65AYONPcOQPTDdT+8QSiTPx0O JatsP58r3LmPA3W4Si7gU7Bvs0vohEUlXkpZ8bcWh7qla1jHj5WiaXO0afeDNOPhkmOW lXTIQ1D9S0tkYvgRyvBD4vEO/yUz18GtFYtwCDZ03AqI/Ho0BvKuzy9NjMokGqTTgUcD V6LPagw392SzWinSi6LB74YcTY6M/f/Z4pacVmenZijPwjbLzavoUk07CCRJURoBg39d IlaS6aOabdpOF6RWNA/dBajaQrEOEQjBlzK0jUzfYLPIKSLVUNHKJFwffbULBc1hY8VZ i42A== X-Gm-Message-State: APzg51AlnrUBC6SWVCfOCeWGmz9uAeAvSwIx1x1MecPEruKFOW38PG2z Y/eQ46hbYa0v/MOx4kzbhUJ/i1PEnEbHQhKYgFU= X-Received: by 2002:aed:3f22:: with SMTP id p31-v6mr8034656qtf.185.1536919326984; Fri, 14 Sep 2018 03:02:06 -0700 (PDT) MIME-Version: 1.0 References: <1536913980-4811-1-git-send-email-firoz.khan@linaro.org> <1536913980-4811-3-git-send-email-firoz.khan@linaro.org> In-Reply-To: <1536913980-4811-3-git-send-email-firoz.khan@linaro.org> From: Arnd Bergmann Date: Fri, 14 Sep 2018 12:01:51 +0200 Message-ID: Subject: Re: [PATCH 2/3] powerpc: Add system call table generation support To: Firoz Khan Cc: linuxppc-dev , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxram@us.ibm.com, leitao@debian.org, Boqun Feng , gregkh , 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 On Fri, Sep 14, 2018 at 10:33 AM Firoz Khan wrote: > --- > arch/powerpc/kernel/syscalls/Makefile | 51 ++++ > arch/powerpc/kernel/syscalls/syscall_32.tbl | 378 ++++++++++++++++++++++++++++ > arch/powerpc/kernel/syscalls/syscall_64.tbl | 372 +++++++++++++++++++++++++++ > arch/powerpc/kernel/syscalls/syscallhdr.sh | 37 +++ > arch/powerpc/kernel/syscalls/syscalltbl.sh | 38 +++ I think you should only need a single .tbl input file here. > + > +systbl_abi_syscall_table_32 := 32 > +$(out)/syscall_table_32.h: $(syscall32) $(systbl) > + $(call if_changed,systbl) > + > +systbl_abi_syscall_table_64 := 64 > +$(out)/syscall_table_64.h: $(syscall64) $(systbl) > + $(call if_changed,systbl) > + > +systbl_abi_syscall_table_c32 := c32 > +$(out)/syscall_table_c32.h: $(syscall32) $(systbl) > + $(call if_changed,systbl) And here you need a fourth output file for the SPU table on ppc64. > +383 common statx sys_statx > +384 common pkey_alloc sys_pkey_alloc > +385 common pkey_free sys_pkey_free > +386 common pkey_mprotect sys_pkey_mprotect This also misses rseq and io_pgetevents. Arnd