Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2060921pxk; Sat, 19 Sep 2020 11:18:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGeV3tyP3Bm8tMXRjb/RN5fdZgVl4aSaeBVUyn/R55FimpOPnjOrkSNavtXX6hQrEooURA X-Received: by 2002:a17:906:4b4a:: with SMTP id j10mr41729263ejv.498.1600539538391; Sat, 19 Sep 2020 11:18:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600539538; cv=none; d=google.com; s=arc-20160816; b=S7o7hTZJGt0JRmjD5+8FFsg5wKlKSGco7/KlosN1oMEYtVzz+zKgIqUinbS4slu89r sl0Yr4fKqlJQLW+cjbqMu4kBrovJj2eVOrmfOFx41KOfU5dlYzSlyPIqosymo7XX1HZP loQuc+4tNZy9Sn2Q0U4xYONS4gUpRpKRVzC69HbhN6GazP7b2SahXDUUe/x7kRaU3hGc ZpaH8VYmE1PlcR2MPz7owu1r0pGsAu7AoKQ6t6izKyLhNQtizir8uHwmcC3xXuy0U0Tq UNtR9FjYkAPxG42Bwfmdz0xlZRge89gGdI+fvgcuHeqBSErmgeRWwilsnAowGKORRrXV f7AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:dkim-filter; bh=TomeH5PNcgCZORugcfr47WwuZ6caRoe13lS8klRI7FE=; b=EpSzV4mKB1fsBI2iPzHS4aYz7CDrq5l57qvz0bW15v7tsUqUC6d2IUbHxav9XLigwq W8znw2gSIivNwxJvJlyiHWlMHTxNroyYjJAo31y3XWXzEIty+NxmGduPVV2uJZOA7JxN dXqwikxKYtJ4fH5WZHOTQdcYxb16LLjczSD2Y5rywT6gsw5me+MmiOZJwH8nhtJsIO7i /7XLjJdBJZ7aHnhWSQHZJXfYOG0TSNoWtD+tp/YFw0pwosPDAXa/11IGFryAAq2aVfEx o69GYwR5JGiDr4yFeJVGajws4JaIThcjE2hzODGkgXRFEaB64mU/8lGaf7pbZqIsE31D qP1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@zytor.com header.s=2020082401 header.b=RVdbsWF0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x23si4349609ejb.588.2020.09.19.11.18.35; Sat, 19 Sep 2020 11:18:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@zytor.com header.s=2020082401 header.b=RVdbsWF0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726551AbgISSRP (ORCPT + 99 others); Sat, 19 Sep 2020 14:17:15 -0400 Received: from terminus.zytor.com ([198.137.202.136]:48053 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726481AbgISSRP (ORCPT ); Sat, 19 Sep 2020 14:17:15 -0400 X-Greylist: delayed 3714 seconds by postgrey-1.27 at vger.kernel.org; Sat, 19 Sep 2020 14:17:15 EDT Received: from [IPv6:2601:646:8600:3281:3892:da5e:7968:73ae] ([IPv6:2601:646:8600:3281:3892:da5e:7968:73ae]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id 08JHEM9L2313785 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sat, 19 Sep 2020 10:14:23 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 08JHEM9L2313785 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2020082401; t=1600535664; bh=TomeH5PNcgCZORugcfr47WwuZ6caRoe13lS8klRI7FE=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=RVdbsWF0vN/r1byPIFa+D4/5xhRqE5r5iFnS9koO9lEmqPLZuHRSQffS6Fa8JP1Sh O9ah5EJazBZMEzz68apZaO0d54DX4jsb0qkjZQKjSAbFdXoZHhQSevkbjwIjA0NJkl I8ioFyQFROS0bYKb/YpZ6+r4gkfiXQpEpUyNXhM7Qx4g9SxJg+LDavWV98Hg3xPKUr gKzZm+f5SnmGR4pwSY+CGoLXzD3AlcAWlNuW0DZmjyL+I8wj2r+YYFWTYlClTh+GCm /ln/hVW0Ju5cvNREPAAwdvDcCpvc0aH2Xvj2p2LzdQYeTrrSsbjierhVMGddz7uVeR TC9s0a40rK/kg== Date: Sat, 19 Sep 2020 10:14:13 -0700 User-Agent: K-9 Mail for Android In-Reply-To: References: <20200918132439.1475479-1-arnd@arndb.de> <20200918132439.1475479-2-arnd@arndb.de> <20200919053514.GI30063@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH 1/4] x86: add __X32_COND_SYSCALL() macro To: Andy Lutomirski , Christoph Hellwig CC: Arnd Bergmann , Alexander Viro , Eric Biederman , Andrew Morton , LKML , linux-arm-kernel , linux-arch , Linux-MM , kexec@lists.infradead.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Christoph Hellwig , Brian Gerst From: hpa@zytor.com Message-ID: <85F32523-4E9E-443A-A150-10A9E5EB0CE3@zytor.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On September 19, 2020 9:23:22 AM PDT, Andy Lutomirski w= rote: >On Fri, Sep 18, 2020 at 10:35 PM Christoph Hellwig >wrote: >> >> On Fri, Sep 18, 2020 at 03:24:36PM +0200, Arnd Bergmann wrote: >> > sys_move_pages() is an optional syscall, and once we remove >> > the compat version of it in favor of the native one with an >> > in_compat_syscall() check, the x32 syscall table refers to >> > a __x32_sys_move_pages symbol that may not exist when the >> > syscall is disabled=2E >> > >> > Change the COND_SYSCALL() definition on x86 to also include >> > the redirection for x32=2E >> > >> > Signed-off-by: Arnd Bergmann >> >> Adding the x86 maintainers and Brian Gerst=2E Brian proposed another >> problem to the mess that most of the compat syscall handlers used by >> x32 here: >> >> https://lkml=2Eorg/lkml/2020/6/16/664 >> >> hpa didn't particularly like it, but with your and my pending series >> we'll soon use more native than compat syscalls for x32, so something >> will need to change=2E=2E > >I'm fine with either solution=2E My main objection was naming=2E x64 is a widely used synonym for x86-64, a= nd so that is confusing=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E