Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6951852imu; Mon, 21 Jan 2019 20:19:09 -0800 (PST) X-Google-Smtp-Source: ALg8bN5CIUbO1XysOBEjYlg9G6uBoOu1Hta+yuG84wRBhxM4lKsppHT+47J22I81u/+sDc4ir/BP X-Received: by 2002:a63:dd55:: with SMTP id g21mr29957609pgj.86.1548130748953; Mon, 21 Jan 2019 20:19:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548130748; cv=none; d=google.com; s=arc-20160816; b=lxUBlSLUuQoPeQCuOX3JKLt2Mu7cggU7UDeWveqHd40xdosQhytcZn+vGvNqBFv2wN zdZoXrmEC00PQvpnHleZSi5KC9dv5q9qMB/cREziym44GAIvPgrdqlafjaxqExOgDpnI 0top7lxJ73SpecQuO9/hIkqMAqhxTZvdBeWBBr32CD9MaAxFr04DU4N1m/04nDGD9etp YCwn6y9nG/2DDj8xjvNKZeiK9vjV0t7Z7VCmqZzpmvSi9Oq3Kqv52GmPHOq0zDC4tKqr BY/d8pmQZhR+W2FY8DMZEBkv9vwTCMzeVjK79ulp3DfWncp/c8z2gTu6QAj+VQ5Doht9 Cztg== 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=mNCiLSCOs3HIOeMuRVgReUCd+ne31UPnW0KZgc5m+zA=; b=R5j94V9DrWUs5eF3xEHddnOXqGndck3Y1DQ9FJUC1g24m/bwNgsKKLj+Kaxn0q/TXv pO4sJONNYL1mmf1VDHeg4cnNweKo09YbjQdLHUvWjaiyIhp7jju96JLpKqiEnORYzpYK DUfZ8gKvIXxjsvV7IBTVIh3qXH4IpcHudo3QCKzRImq7tUIXcA/t4doeAgywr4GurnV3 X0yAjDT8JLDpp3GPBJvSaUkeGSeCaP1MWAXqb1PmvCNwnjt1+nxcVCjAMjIlFWWh0tqn foRwCvJ/2ayywLamyboTF3xjEwbGLtnio5XNoKRmTZbfCSDx9dW6pjG1Yvh63aWzNpfw nCCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QAHz9ViX; 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 g23si13390365pgb.229.2019.01.21.20.18.52; Mon, 21 Jan 2019 20:19:08 -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=QAHz9ViX; 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 S1726920AbfAVERt (ORCPT + 99 others); Mon, 21 Jan 2019 23:17:49 -0500 Received: from mail-it1-f195.google.com ([209.85.166.195]:39161 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726853AbfAVERt (ORCPT ); Mon, 21 Jan 2019 23:17:49 -0500 Received: by mail-it1-f195.google.com with SMTP id a6so18352087itl.4 for ; Mon, 21 Jan 2019 20:17: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=mNCiLSCOs3HIOeMuRVgReUCd+ne31UPnW0KZgc5m+zA=; b=QAHz9ViXtFffS1ULvCTtubzPehSRnYyYPPoHXhvVBgqhIPiQxlN67iGbs9/m9fptlW mbftemqKpCPpb84j8a3fXCUhA0Nnqu73NSxtd+5KItm+8aaLI1FRIvXOIudxnEgFWbBF BhuTTuQQk8dO+BCA12SMxl+9K4k7vgKF4R4xk= 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=mNCiLSCOs3HIOeMuRVgReUCd+ne31UPnW0KZgc5m+zA=; b=mQ5WUEb+uCinruT+UiEJ5UmYNHJs1TaRCNrEBj7I9iUsrDHSTtkpx72XD14V67Yhev /Zz14BOS8ES/rwgUG8Cxvcp2pCqD5+7/mgdIDjWZi2v2XhWVeKnsv+433Sst/EsfSMHK nnNrjI2WhKT0VUskjp+LJXxoTfKLzLdaCPsIKLfm7zGak0y6TMOMrjPfHKgBLUkChWkW b1Ls9lVSnTSbuKpb1wskKX2PSkI0mrRzRh4xj0/Jz9Jvz98UhuRtnZpQeC49MpLyenVC 0vGHM9+h/UOKNmUo+QTA5SH4aYmKSsFA3vEMHtOpC8ae3QLmsJMvQm15T1G55isz8g0l BsZw== X-Gm-Message-State: AJcUukd9EDcoMiIagaS9fekwje32d5JAip2fUfIcaZInOr7/g6OJFzHO cBX0APwtkvNFbaZ4aMwV4YBddXh5oC9e1cqdsCLrZA== X-Received: by 2002:a24:f14d:: with SMTP id q13mr1180269iti.166.1548130667985; Mon, 21 Jan 2019 20:17:47 -0800 (PST) MIME-Version: 1.0 References: <1546530025-26014-1-git-send-email-firoz.khan@linaro.org> <20190119235650.GC26876@brain-police> In-Reply-To: From: Firoz Khan Date: Tue, 22 Jan 2019 09:47:36 +0530 Message-ID: Subject: Re: [PATCH 0/3] arm64: system call table generation for asm-generic To: Arnd Bergmann Cc: Will Deacon , Catalin Marinas , Stefan Agner , Mathieu Desnoyers , Russell King , Linux ARM , 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, Will, thanks for the email. I'm want to abandon this patch series. Will post new patch series for system call table generation support for asm-generic and some other stuff together by end of this week or early next week. Thanks Firoz On Mon, 21 Jan 2019 at 21:24, Arnd Bergmann wrote: > > n Sun, Jan 20, 2019 at 12:57 AM Will Deacon wrote: > > > > On Thu, Jan 03, 2019 at 09:10:22PM +0530, Firoz Khan wrote: > > > This will be an automated scripts to provide easy support > > > for add/modify/delete the system call entry by add in > > > respective *.tbl file. > > > > > > System call table generation support for asm-generic is > > > provide for arm64 architecture which will use the common > > > scripts resides in scripts directory and use syscall.tbl > > > syscall_arm32.tbl files as inputs. This implementation > > > will replace asm-generic/unistd.h. > > > > > > This patch depends on: > > > https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.khan@linaro.org/ > > > https://lore.kernel.org/lkml/1546520681-24453-1-git-send-email-firoz.khan@linaro.org/ > > > > I'm having a hard time understanding what the benefit of this series is, > > given that we only support EABI compat tasks. When adding a new compat > > system call, you can't just blindly hook it up without checking whether it > > needs a wrapper to deal with any type conversion etc, so really we're just > > replacing one table with another as far as I can tell. What am I missing? > > The point that is missing in the description above is that all unistd.h > and syscall.S files are now being generated from a .tbl file, across > all architectures. This was already done on arm32, x86 and s390 > before 4.20, but is now done on all architectures that don't use > the uapi/asm-generic/unistd.h header, and the arm32 compat version for > arm64. > > The newly added file has the same format as all other tables, and > will be easier to synchronize with the arm32 version, which has > almost the same contents (arm32 has oabi support, arm64 has > compat support). > > > I also really don't think we should be generating the 32-bit UAPI headers > > from the 64-bit compat system call support (if that's what you're trying to > > do -- make headers_check fails with your patches applied). arch/arm/ is the > > canonical place for the 32-bit UAPI, and we're just implementing that. > > I think you just misread what Firoz was trying to say here: The > arm64 uapi/asm/unistd.h file is now being generated from the > generic syscall.tbl file, while the compat asm/unistd32.h file is not > part of the UAPI. In both cases though, the data from the old files > is being replaced with data in the more compact and (hopefully) > more readable format. > > > Arnd