Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1014599ybf; Fri, 28 Feb 2020 12:07:06 -0800 (PST) X-Google-Smtp-Source: APXvYqzD6WN+jhb5BsUHcklQEFAAi9fzgavbFlmqJ5/CXOk/o2By8kfWAqm41U9k017WiPLOa2ph X-Received: by 2002:a9d:6647:: with SMTP id q7mr4798617otm.35.1582920426539; Fri, 28 Feb 2020 12:07:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582920426; cv=none; d=google.com; s=arc-20160816; b=PjxllcovkLR/ns48D7jO0gXZPYQXxDS7BmxjG9EpLGjJOkmbroVWAtbvthRBQMNGbt DX7Sf0s1XacRRnIL5oSISq4AyG+/Wo3dquaj+jS0Obt57xIC4XCA1XCusybF6li3Vspi XQ8QQJhBzpjvMkfmCiew4xlkwd9x/fbrbXGGxoSsLi0Lbv4nI4QTplVorRiQ8cnprln0 w/H7p1C3lJYE5bzXwX4JCizBHXF+C1k5mvw88ZkYDyrFJCWUSq7TXCfEoDsn5BhQmawu rgITtr0aEA5ydO1xVeKvCV3iPYaiYu4JG2CaDDYMYWLvVEzFb5K/C+Vw0pwgThd6SBKQ GGqg== 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=9FcW1voX9EhPE46eVtQa2VVMkG6mrKANb8mimT+XRFA=; b=xzNuirklHkLJrVflOXgJ0mZj7/6Kjj7v28eUnlCYhTViGeXRyq5WDz5pojoebAhy3V B6naEYOikTU3cClAZjGeXaaWNunB8414i/3cNIPjIAeZICqIVKy8nQc0Jc/RyPcJUtEh atp8CHAFGiCiDU9JFzfyJLkyf+HQ4KNKCckPxmzXTncvPrzmYgOeu1btyPy8CYrHUuPv eWbfGVp9bID9O/z2DSH7C795ZhLbxllGHwcF5zzd+ulv4LpjhVuk6vWgpYrNuUCuEXSB 0QLT2+zN/C4YtCjH7SBg5IujpBXTdd/fBbyAA9q5znR/Q7Jc+T7alieFMGNNhAvUakMq 8hZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=f7UIGnMn; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k19si2075056otr.52.2020.02.28.12.06.50; Fri, 28 Feb 2020 12:07:06 -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=@gmail.com header.s=20161025 header.b=f7UIGnMn; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726733AbgB1UG0 (ORCPT + 99 others); Fri, 28 Feb 2020 15:06:26 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:34068 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbgB1UG0 (ORCPT ); Fri, 28 Feb 2020 15:06:26 -0500 Received: by mail-io1-f68.google.com with SMTP id z190so4842494iof.1 for ; Fri, 28 Feb 2020 12:06:25 -0800 (PST) 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=9FcW1voX9EhPE46eVtQa2VVMkG6mrKANb8mimT+XRFA=; b=f7UIGnMnit6jiZvWsov3w1KlTgsnfz63NDgQI+fBGQRQ5fuwghmhkTmDEmIQdvLUXG e8ygGcmMkmb2Bfrk59utmqNvEdnZelvqhsihhDyzuvltcE7LftelH7b5lDdlwQRkPMXj +m3qaegMoJdsKjQb6qFEkUPGpjKDyqG+w2eTcurgzcCWzQZ88nMMatJZwS7jfDd4sGJ8 82tn2AETDo3hXf+xmBQMFFfkKxisxsvaOSPrXJngHyMceO6oRJbROCcQAGW8X0s9a1t+ LfEdMEElGow6knzeGS3Vss0BlA6tsy8IjBurKbL7D0z2qJxu8TXX8JGb9Nz7E9sJ/7yO dOxw== 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=9FcW1voX9EhPE46eVtQa2VVMkG6mrKANb8mimT+XRFA=; b=G46BQsSazEudvBLp6Ny15TsRCwc8ndz+SVya/4bZ/+dmIFTbz6otqmcDedOdyfHyI8 DYIQGFnLLlaeX2W8H4dn4fiX58S7zACac0U9O+R2Hu/XHGfdNb7F8t5/gfpFyDhmOCad yCyBS7kam1VQDy0vI45r8IxvskR/QXwhGpBAzeXnsv0aO+p1ANkijf2xLQfwAfMTAuOy 6RwNga8UtPSqTZUILrAHrsw//+wmCNQA8g7J9KYmhrxFd9PGRi8QjRb+UuDNs5kxoATN dXOGH3MuJ1Xnh51TZQtP9I+LQDmh5+R/Takexz+EQyr+OIOJdM4+g8YWidW9I5qX4b1U hy2g== X-Gm-Message-State: APjAAAVtc/22x00Bif3sSu1Vk//UMs2FYzH37OuC65Myd/+YflsxHx+Y 42b5eRNvSrzv4Q4macqeMq2FHA7QPJBG78rEu1cg X-Received: by 2002:a02:7fd0:: with SMTP id r199mr4842341jac.126.1582920385484; Fri, 28 Feb 2020 12:06:25 -0800 (PST) MIME-Version: 1.0 References: <20200227132826.195669-1-brgerst@gmail.com> <20200227132826.195669-7-brgerst@gmail.com> In-Reply-To: From: Brian Gerst Date: Fri, 28 Feb 2020 15:06:14 -0500 Message-ID: Subject: Re: [PATCH v3 6/8] x86-32: Enable syscall wrappers To: Andy Lutomirski Cc: LKML , X86 ML , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Dominik Brodowski 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 Fri, Feb 28, 2020 at 2:01 PM Andy Lutomirski wrote: > > On Thu, Feb 27, 2020 at 5:28 AM Brian Gerst wrote: > > > > Enable pt_regs based syscalls for 32-bit. This makes the 32-bit native > > kernel consistent with the 64-bit kernel, and improves the syscall > > interface by not needing to push all 6 potential arguments onto the stack. > > Was the change to the table mechanically generated or mechanically > verified? If so, how? It was done by hand, but I can look into writing a script to verify it. > After this goes in, I should dust off my code to get rid of all the > __abi crud in the tables. I never quite got it working well enough, > but your series should help. That would be nice. After my patches, everything has the ABI prefix to the functions. -- Brian Gerst