Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1896387ybh; Tue, 14 Jul 2020 10:04:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtRTv2COzN6gigLONcfopHz40oiqJ2080X46Keq5xysQNFXRA4slaYI+CaoSCBaR8LTX1j X-Received: by 2002:a17:906:140e:: with SMTP id p14mr5431489ejc.430.1594746261254; Tue, 14 Jul 2020 10:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594746261; cv=none; d=google.com; s=arc-20160816; b=cQCGoAj1eUCm/PoVDJ8ru5Su/5PdJ8QOVjpdnXRWNwBx43u7bCa091bAi6oLou1v7G vR3xJSmtp19C6TumWaYGUmLtu0UoBOydfMR5m2CIzlPnQZFNM4hWkJ4W2ZdL1efybzLW J5yfjP1lrsUpmx94KYBpFTEgYuiYgF5fIRuv45juY+/9Gc77D5xMPEPlo3F39sFAWtpt h9TO+LAjwLoCHkj52Fazbu+oyS2FYgouWiKU0ceVJICq+9xMiOmk0dk3/QKhM7U0l9gn T961dZ9bu0P4scGwsqYsnJL4ttuOrmc7dRDT6GUTgPMWGaK61Faa+G1BhxItCUYAfHjw qyHA== 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=Hb+jD9n5+9xpnE7B/LBnTZz9Tl2kSY4iRvV+XR2VR9s=; b=bFMiHYnJdX5DL9Cld/29CFbUFvnfYjb0X+fUP4va19zWYQyUD9X2OT+0LUjGI3LI3+ vfovBZ+56lO+oLC6dsJfLSVlxTA+f46Uie0IJP8uvMP3Esf1RjVMbhliosr25DOXWjYw yVtzB8O041sFZX4lF8m2MBar1GPoRqQ+Sn6my/P1LxxQ+5yMHvRmMyNhOudtsN617ziE Kx+bd5VYCHq+lnuruVrD60KqdFhUGeQ0RLG7puhjzXePiDR5pv73zDC1m6AlH5AOzKuG MFwfDJqLHeo+958nozUnsuQMoKrgm9piwqSgHWGa78Bviz9PkBp1jzK3KtNPW9ypoL1x J89Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=prGW8xYM; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk7si11422635edb.86.2020.07.14.10.03.44; Tue, 14 Jul 2020 10:04:21 -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=@gmail.com header.s=20161025 header.b=prGW8xYM; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728655AbgGNRDA (ORCPT + 99 others); Tue, 14 Jul 2020 13:03:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726062AbgGNRDA (ORCPT ); Tue, 14 Jul 2020 13:03:00 -0400 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDED8C061755 for ; Tue, 14 Jul 2020 10:02:59 -0700 (PDT) Received: by mail-il1-x141.google.com with SMTP id x9so14820132ila.3 for ; Tue, 14 Jul 2020 10:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Hb+jD9n5+9xpnE7B/LBnTZz9Tl2kSY4iRvV+XR2VR9s=; b=prGW8xYMA3U04VmXt/eqhzdeGjMwKu65HwSHkGIj+wEvYFI235boc9nAFR8Kh5+BuD DE1tiGT753DF0+h+x/TZAbpQWdNj/JsItTtkZOEQLfulddZvDFim4Q/lnE8y16sid+Jn WlxBeY4Zd9l8m+Y1C51TEax1lLSIYWaeaKyMsnlVREGJYiA8PyaRZhCfb9c2baSYx8qc zW80kyN4umJ2slIK3oS/0YpFZRTZsQbvPubPlBFr7M/y9JmHyRteURxm1L72f3Itqrni ynYs2IaL5y8qGnHhneu9oDsNiYvfBVu37d56DibxNAm4pUEKTR8eiGH2IB4ht6hzO9tY Ws4Q== 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=Hb+jD9n5+9xpnE7B/LBnTZz9Tl2kSY4iRvV+XR2VR9s=; b=toBNjHB9wjpKo0ehBkrOggZfV3lr6OHaJZhxwi1c6ixoJvWZK2dsM0CXavdra24Z0n NJ+gXj4svz6EXvf2y1SMUEeUIPr8qDucw+uPN8lXXdr1YmmfD2SK2ooxZjp6TNWc4iLm U1z3lLVHZRol9G+e2xQ3eiMvuIgvJfDeH34h3nvrzBjO1V2Ge1AvVkJ6/rmSEWEzZdMU co4FHXzLpYGiVhWuqD279LVQ94je5/QBtVwwoO2JdHUTnGmKqkDZIBs1iMaCXEPxcpja 14ic2qlWldYo+mkfmV0iGZcNQJNgZFkKumirW8AufCVCXIaZo6xFExr49fd0AVvOHog2 CUqQ== X-Gm-Message-State: AOAM5306OhsZLW9eymjopSVkSZhCRl6gTFtMMDDGirZP9v8hgQPMNKWe +AyFHhZdXhxFhC5HrhLpzGibNs7FnGkPrxkDCuWQXWI= X-Received: by 2002:a05:6e02:e43:: with SMTP id l3mr5478271ilk.11.1594746179266; Tue, 14 Jul 2020 10:02:59 -0700 (PDT) MIME-Version: 1.0 References: <20200616142315.375918-1-brgerst@gmail.com> <20200714064004.GA32655@lst.de> In-Reply-To: <20200714064004.GA32655@lst.de> From: Brian Gerst Date: Tue, 14 Jul 2020 13:02:48 -0400 Message-ID: Subject: Re: [PATCH 0/2] X32 syscall cleanups To: Christoph Hellwig Cc: 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 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/ -- Brian Gerst