Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1990390ybh; Tue, 14 Jul 2020 12:28:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBKpJ5uMvYSVjJHNi9KCyvlQA/bZJ9NF7tBnCjxRtLOJ2PCAg4Ewds18Tev3X0mxRHEnjW X-Received: by 2002:a17:906:c943:: with SMTP id fw3mr5863649ejb.55.1594754920736; Tue, 14 Jul 2020 12:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594754920; cv=none; d=google.com; s=arc-20160816; b=mBnIQDbwVx2F7/1SEOKcGCuf2yvAwWb7AVrNDoOhaglwitlZRxlR/WzvNa1RLZAgyJ Rm1CC0gcSBsMOK00hPIRhXEoCjxYAZdhZf1GRC1rPVgXuSGF1E4wryS6HJ8d7XMlNb6b JZsXGvEmcCepfNbldFV+GFMDFpeuAajqfTBYf48aC2SQQM8AcUMJtsQXacJNumt2HaP7 sAadAWD8yLXxuhOgrVdNxmdPeifuwLjzmUc3FD5rTM9LhXzHxtY6DrLsRkKe6hpBUfMV sFU5SPs0r5+wH2v/pW8IJR8z72rtH8zXMSWPYzABg0WkbQIxjyqz32FN9I+L9rwJ+MTU Rclg== 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=mLIiQeN+3ZgGl2OHrBQJrK4GM4vkqco9IlMiWe9va6E=; b=QFjYiF47g+2M713OqmjL/y/vmVzajcH0EbEKXx8NTqk/m+c8LmoDHXmIWfkHkg3E3n 3osLqQqjvKbpIjBpjrHB1ZZ8lc7H0+1Ohh9FRckUIAa6BuOAJ/LvqtC7wkdrFoyGdXwL btWTcBacDOHWaQdygjlGOmtD6GzE6bdd8Ye6F4/KAd36xJhoB+7GMdiFsIRmJ5VBvObM +qktYVaMdBKOWrjEeCc/l1op0sl0nACgSPLLdmHxgqOUThz4XAxiDHNk/+FhXhyde/0N jzrMwiXpNRZsOcbdugTo4aiE7xWItBlU9W5ubtyDCYwAeaS9gUYQDbXHXmfPzxj4ua/r 9oiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=D7ZxWEJC; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si10716546eju.669.2020.07.14.12.28.15; Tue, 14 Jul 2020 12:28:40 -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=pass header.i=@kernel.org header.s=default header.b=D7ZxWEJC; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729261AbgGNT1K (ORCPT + 99 others); Tue, 14 Jul 2020 15:27:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:45602 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728370AbgGNT1J (ORCPT ); Tue, 14 Jul 2020 15:27:09 -0400 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C0EE7225AB for ; Tue, 14 Jul 2020 19:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594754829; bh=P5jNGMBlBX/QkkJRNB1+sQIGoUmYLPb4UbvcuiwyfXU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=D7ZxWEJC3oQ/TI0IJ+5dDrybFphlb1csCiK3XkuOwP5oqHfRRzbdSKZ8IeBpUScMP lCa2ypQlxbT2mEOffrh1BYDi8jYiyr0Ljl/I5PCQDiJITjiRfyH95Z52Rh+lMuxFk1 vJFM3kQtm5MzPWXR3+A81e5kYbG75dRPjlYXeOLA= Received: by mail-wm1-f47.google.com with SMTP id q15so8337733wmj.2 for ; Tue, 14 Jul 2020 12:27:08 -0700 (PDT) X-Gm-Message-State: AOAM530Ed+yF41a94NnNzQyNioQ5Moth81TTryB0W5q+RBbH/ngmil79 L1JZCaYehCMmKDGJIYBHO+DSL2KgwBZjsZdFMprYLw== X-Received: by 2002:a7b:c92e:: with SMTP id h14mr4877690wml.36.1594748492474; Tue, 14 Jul 2020 10:41:32 -0700 (PDT) MIME-Version: 1.0 References: <20200616142315.375918-1-brgerst@gmail.com> <20200714064004.GA32655@lst.de> In-Reply-To: From: Andy Lutomirski Date: Tue, 14 Jul 2020 10:41:18 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] X32 syscall cleanups To: Brian Gerst Cc: Christoph Hellwig , Linux Kernel Mailing List , "the arch/x86 maintainers" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Andy Lutomirski , Arnd Bergmann 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 Tue, Jul 14, 2020 at 10:03 AM Brian Gerst wrote:> > On Tue, Jul 14, 2020 at 2:40 AM Christoph Hellwig wrote: > > > > On Tue, Jun 16, 2020 at 10:23:13AM -0400, Brian Gerst wrote: > > > Christoph Hellwig uncovered an issue with how we currently handle X32 > > > syscalls. Currently, we can only use COMPAT_SYS_DEFINEx() for X32 > > > specific syscalls. These changes remove that restriction and allow > > > native syscalls. > > > > Did this go anywhere? > > This approach wasn't well received, so I'd just go with this as the > simplest solution: > https://lore.kernel.org/lkml/CAK8P3a17h782gO65qJ9Mmz0EuiTSKQPEyr_=nvqOtnmQZuh9Kw@mail.gmail.com/ > I'm okay with either approach, although I think the original approach is nicer than the simplified #define approach. In my mind, the __x64_omg_so_many_underscores prefixes really mean "don't think too hard about these -- we just decided to make extra long names", so whatever. We can clean it up more some day. > -- > Brian Gerst