Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp962169ybf; Fri, 28 Feb 2020 11:01:46 -0800 (PST) X-Google-Smtp-Source: APXvYqxtu4yJAgW14FuDiBQ8q1UMWnXj8/vtsI51QPjDDMoDRzFRj37pho/qISCTLM5/DpFhCRD3 X-Received: by 2002:a05:6808:1:: with SMTP id u1mr4300970oic.74.1582916506637; Fri, 28 Feb 2020 11:01:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582916506; cv=none; d=google.com; s=arc-20160816; b=lQzESyGmCWbEPhLIXEgnklPImyynB5po88GVe8ikZf8s+dGoOcCdhGU1jZGFGXyOC2 2E2NxwgoTJ0hg25eYKpk6GD+9M9znqAxHRhArrEUn6NDqfiAYPstm7tlEO1JH+JhFheq pAskFU4q1cae8/WeRFUtYZuEHQpH968BQHbkRrLgQvONFLRMrSxIr+EAR0zvJBNjUvfb LKaJm9t4+AFVoKIgJDeUeS2H5CwLWNsP9kzgA6AJ1P3LGn4e3iw5k75nCzgGNJPXmDsu o1IRxAQkDdCXG+gNnhYZan7Jxsor5yfwN3aH1nGAnV++4kPCCOHIF7Xa+a7zM/ES/Vkv VVsg== 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=4yTPMWM+L9FCkLUfpNaloeSrtoLKotDo5F9LoLKo2+w=; b=asrf8n0MCX1uSfQGVGEbINR4uQfbMWetqILkeQrzKb1qdE/sNNVo5ax4TH0ms7vu3O 8FMALW6o8pH9xfhmw7tGTNHL7o8P1TiPvnNDaWwQafVxJd8zdHVN9Zy+TE10DZRrfw1x nm/0jm/aFqTD3XE/+aKF3xedmIarDJPCmtj7cbzK0BcF5SckLKoyDkU9jkLUUhrzDd0x dMENBdoZfHE6hdoMZZx5nUXweaa8i8tZMhmEHi2SXezrqJAiEZ6JXeMUteF7VfYwTEEI 7A4oGQ3BLrE4anyUVhFJ3FU/Aapymhq55ZQbVPm/Me0hCF/kQ4xr7YEGAs8P2l2Yh9JJ 32dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ToRNn3fV; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f194si2362637oig.243.2020.02.28.11.01.34; Fri, 28 Feb 2020 11:01:46 -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=@kernel.org header.s=default header.b=ToRNn3fV; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726917AbgB1TBI (ORCPT + 99 others); Fri, 28 Feb 2020 14:01:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:46070 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbgB1TBF (ORCPT ); Fri, 28 Feb 2020 14:01:05 -0500 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 2885F246B0 for ; Fri, 28 Feb 2020 19:01:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582916465; bh=pXSuRfzctrL6D0Q5MBEPmPUvSgYvyhQ5nxQeNe7l6x4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ToRNn3fVQk3Tf3sVY7FhwX9p5+qEWcnCgNk3lhjbf1YuwfJ/spion1RP78fV35zk+ ATd9YgJ0XhqbvNz+HXLUq0P5v94SFQWk5jtBR2fvPoETIKlSJkI5V5X3X7bdrxomeR 4++XuTZDSX4P3fqVygxqNUh1aGJ1qbD5k+7YQ14o= Received: by mail-wr1-f53.google.com with SMTP id z15so4254904wrl.1 for ; Fri, 28 Feb 2020 11:01:05 -0800 (PST) X-Gm-Message-State: APjAAAVDh3y8//CYJ+HjeuXydsnNycZHJCVwFwBU3iwJXSqKPCPacwDO tX1egZQSy6tXndofnWSFJyeKCwahlx8Y3S+417revg== X-Received: by 2002:adf:df8f:: with SMTP id z15mr6002322wrl.184.1582916463562; Fri, 28 Feb 2020 11:01:03 -0800 (PST) MIME-Version: 1.0 References: <20200227132826.195669-1-brgerst@gmail.com> <20200227132826.195669-7-brgerst@gmail.com> In-Reply-To: <20200227132826.195669-7-brgerst@gmail.com> From: Andy Lutomirski Date: Fri, 28 Feb 2020 11:00:52 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 6/8] x86-32: Enable syscall wrappers To: Brian Gerst Cc: LKML , X86 ML , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Andy Lutomirski , 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 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? 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. --Andy