Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp944682ybf; Fri, 28 Feb 2020 10:38:52 -0800 (PST) X-Google-Smtp-Source: APXvYqxLWxyXWM6WNf9c5zXTqq1fKJrmVEnoKrgd12fXZkEJAm+5SD627ADDs/jAjMLMiU7QHM3E X-Received: by 2002:a05:6830:1216:: with SMTP id r22mr4470946otp.323.1582915132624; Fri, 28 Feb 2020 10:38:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582915132; cv=none; d=google.com; s=arc-20160816; b=0u5o4G5vkUOEXQ5T4GsJpi5rWL5eiFwQKmO7b9ZvT8v7P6lStHF//2+eWRrEdX1tmX yuqz/Nu7M/YH7oTqVoYTNG45+PGJQyPgGR5+AeiHqw3Sd1hPPlcl5uG3NgmUwlFD03xB KB0W/bl8+BQjCDxBY1uZQVFv/5mHX1g9zCdWzyaUsC4udlGs17URaucKA+aoSXsbniB+ 2FfcQG/qkL9700rk4gLdzM7z6D0Q4gI1BL9m/k4Eqx54YddGLIOH5n5s6+gpkRa6TMEo JQ7ZFcxGr4c68lyTNuE7ZspLejmvaJmLnRY4+yMg3ErB+kphoPqr3nYElEieaL59R+6i O/8w== 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=3EUTcM7sUm213W98UX9zAtOyghgixz9C4eXchXsb+zI=; b=DRhqR2rjVzuc6YgadsqgPyfpRW3JMxGirUEGgstphUv08ebEcpv+YiEwErQlokVOhP AJyr0FjDMvHw8ynqe+wAKS/wx1lybIhU9XYJDvMjfQvsS4V/UyOqDcsRsfjsW1xckJn7 MDJOo/zNNYGA8cBy06FAAdJyC+jKP8B3UAPDBCmfwURqLSZLyO3eoen7Dhdy0ourtEKg zIxoImxQMIvIln5/mywHQHLWsTwU3psmlKvxLxOsny7uQ0+dTNcC9W6AkO4Ys69syvXx bpaD19J+bDTkXWWjJgR77TqN0/G14Pzc7CePq78WzrCU1REZ/bDpcXcp/YKEjsOEoJVg KtsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=leHHakXN; 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 q131si2211003oig.203.2020.02.28.10.38.40; Fri, 28 Feb 2020 10:38:52 -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=leHHakXN; 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 S1726366AbgB1SiF (ORCPT + 99 others); Fri, 28 Feb 2020 13:38:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:39366 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgB1SiF (ORCPT ); Fri, 28 Feb 2020 13:38:05 -0500 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 A62F9246AF for ; Fri, 28 Feb 2020 18:38:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582915084; bh=3EUTcM7sUm213W98UX9zAtOyghgixz9C4eXchXsb+zI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=leHHakXNZ7PsmZJtgkVcsGUK9dut+QSWeKAy5RpYWhToHTxx0CeRrwayAGggbDGX3 Bc1JlohbkbvsQdmUJfDLElmS+p8P17PR0oe4N1N6RBCGjthUsKfXh+8caHA3hsyZEV a2e2TwPBrTfhB/TbA9Chq+EB5rtqj86a2Vpcw6Us= Received: by mail-wr1-f44.google.com with SMTP id e10so2675305wrr.10 for ; Fri, 28 Feb 2020 10:38:04 -0800 (PST) X-Gm-Message-State: APjAAAUT/iQLye3PfP8FKFH34YR1znMo0JTfaZnp6M4EiPBvtJCJLvM7 i1njFDxeCiiTjJA5lsaeh2BPNnrwKMOJMfgsvTqV2w== X-Received: by 2002:adf:ea85:: with SMTP id s5mr5900558wrm.75.1582915083141; Fri, 28 Feb 2020 10:38:03 -0800 (PST) MIME-Version: 1.0 References: <20200227132826.195669-1-brgerst@gmail.com> <20200227132826.195669-5-brgerst@gmail.com> In-Reply-To: <20200227132826.195669-5-brgerst@gmail.com> From: Andy Lutomirski Date: Fri, 28 Feb 2020 10:37:51 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 4/8] x86, syscalls: Refactor SYS_NI macros 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: > > Pull the common code out from the SYS_NI macros into a new __SYS_NI macro. > Also conditionalize the X64 version in preparation for enabling syscall > wrappers on 32-bit native kernels. Reviewed-by: Andy Lutomirski