Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4685491imu; Sat, 19 Jan 2019 15:58:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN4BlLvBN9sXhcWQ+jy0NxtMYREuFD1QUkwdljylup5MY6Us+mJCeIUatikeHmZ4gC7YbG1+ X-Received: by 2002:a62:5301:: with SMTP id h1mr24635289pfb.17.1547942326021; Sat, 19 Jan 2019 15:58:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547942325; cv=none; d=google.com; s=arc-20160816; b=rM4H/yR01r96gGllcczJ6SFimksHxqfI+JfUMUzPU1Zlk4WqTfgE3uzQrWWDgmBhHy oslIa3UEnfhong+AC5pShWHCNiouU0uNxAEpgrf8gO6OuZqpSTR/tABxyuhVajq6Nd1m P9XNuo2Eqv8sNKWvt6E6IdfF2dE4asou5RfxFJFqU+ekJlNmGBOrWOi6biwP3Ch7b2p6 N0HbLGDuUHtiJgwoeeY1cQXYag1eE4da6h4n3EpcOsH8ytwAVr7b7IvKSoLElCQnUO2N ZjiQoflDBFyF3Olq+IrbVZ02yYS15xamaHzjQhInfGj2ySXabeLb75QEPAKsrjGuZdli OFtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=BcFs2e9BG9/74/UHyutEu1oO5XLL5yCsKZRuSSUHf94=; b=XRuFO0cfnFHvoc/uCHN8fOTexchQn2Urwn96g3nclpDe0ThocioLXpkhIrWapNk2MY qM11tlhSWSQwtiWQl5lqdQjY04g7cdacyO27q3qJw/fKm8FUHcKzBabYYAH6VyANIioN M0G9OhvSP8EckkWZsryEq9HZ4YhnMI5/6AklQS3Tf1GzsnZPZTXrYC5sjWJhp8IFbbsn tioWZq3gG94zAaSlQFf4lb39L8T5lgBstAsQ+l6zrcTBfhKWchYQs9g35DivVM95eUst vT6oewUtto17JsyahhAAZM3RPN1eCQs38r934ZuZSPcVg3S2wJz3bwHjQj0vx9z+pLjF kBVQ== 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 l8si696753pgr.345.2019.01.19.15.58.29; Sat, 19 Jan 2019 15:58:45 -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; 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 S1729909AbfASX5B (ORCPT + 99 others); Sat, 19 Jan 2019 18:57:01 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:46680 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729803AbfASX5B (ORCPT ); Sat, 19 Jan 2019 18:57:01 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 01F38A78; Sat, 19 Jan 2019 15:57:00 -0800 (PST) Received: from brain-police (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D89B93F6A8; Sat, 19 Jan 2019 15:56:55 -0800 (PST) Date: Sat, 19 Jan 2019 23:56:52 +0000 From: Will Deacon To: Firoz Khan Cc: Catalin Marinas , Stefan Agner , Mathieu Desnoyers , Russell King , linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, arnd@arndb.de, deepa.kernel@gmail.com, marcin.juszkiewicz@linaro.org Subject: Re: [PATCH 0/3] arm64: system call table generation for asm-generic Message-ID: <20190119235650.GC26876@brain-police> References: <1546530025-26014-1-git-send-email-firoz.khan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1546530025-26014-1-git-send-email-firoz.khan@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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. Will