Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp943329ybf; Fri, 28 Feb 2020 10:37:05 -0800 (PST) X-Google-Smtp-Source: APXvYqxv4q7FHM5pYPnjn2Jb/tC0aCp/Pt6IheNVauOVNJJYiLOLLKNXlbGD3kI0ovwwiUsTz92v X-Received: by 2002:a9d:77c3:: with SMTP id w3mr1589999otl.245.1582915025175; Fri, 28 Feb 2020 10:37:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582915025; cv=none; d=google.com; s=arc-20160816; b=uHOwX0x0JVIWccwqq15BXDkaMUcRoo9NHNwcJvOLQa7GZSggpbPZIRqXZrbeCdnyoZ x+egZ49lRtEAyavOlGrfc1K5MI5reCuWl/cSgOOId7wETy88HJYcmHoWRMqxTcxfh3qQ s8azkzcftB0zp6a+F1JYQHTXPcMxpS9F4SV4MFz758jw7KANEfl570jIdSwBJJ7AP7X6 EE7+LXwv7+2C3UOd4EoE+eLpG0FB3k3UTWuqYuAVxT5saj5IxfgjF8rjmKs7klRylX/t vtTFm88RLcitK4qLSoDKrE2qcf8Cmg1sjQ4d79HEp3koTBNracF3Iso2ILMbHaqK4Hgk cH+w== 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=3KLXYjBxrZ2JBAD46t7pFGB7/4UEKljm1QrY45wDB+c=; b=fJ6sWeA/I3y5Fpci33+GaS/X+kqBnzmFSElmOd7lxPM9wYPRMQmZfSLKl4fWq6kmvC lsMjSBnvVCTsbReEGMAcmrI2jcUYK4rjsW3fh/Mgb2WmHX55BkmaUNCzg3Rx8LiIL+fS UK7/a/UpYxWXTE9yYuydU5cva5/sdUmFGUjLeID2iRhj2gYphHsgr8hALtot3hY1S0iv l7cMQOx/oqTf0Tec/P5vCda/qgu7qh9aGRRE3aULJ6NkFij837UAdoFN7fVs/Elnsu1c 8jRvdXibhtaONcMbtwun0jTlS45pBjZc85TM/ZHY/+zv+Oz/mCE3IosP99ehQEisUHj0 QeJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FFRonQFA; 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 c76si2084944oig.149.2020.02.28.10.36.53; Fri, 28 Feb 2020 10:37:05 -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=FFRonQFA; 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 S1726359AbgB1Sgo (ORCPT + 99 others); Fri, 28 Feb 2020 13:36:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:38868 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgB1Sgo (ORCPT ); Fri, 28 Feb 2020 13:36:44 -0500 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 9AD902469F for ; Fri, 28 Feb 2020 18:36:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582915003; bh=dIabrkXE6WVZA/XCjFPcYlF0xHEB0WUA8O7er4hsQf4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FFRonQFA4lTfCYNGxvawtd2v0I5vOZsWnCBKKYmyZkBx+e69SGy0mG6zniIqRfxIE x/CZ1E1CEY55pPn1zEqFUVHaNi+M4qClKhXUdOKzd2AAs+LlBfB53Br2zsTX0YXGx1 BLl0uq6htV2tSQMrMHdyviyoP9l8pFnmS3OiBVOw= Received: by mail-wm1-f51.google.com with SMTP id n64so2987500wme.3 for ; Fri, 28 Feb 2020 10:36:43 -0800 (PST) X-Gm-Message-State: APjAAAUf4ViEJmK3AvTc68hsOuTBPZploUNjZuw37SojkzL8OGQIPZxt AQjnoXLv8Og75A5PXEl6bNk75vv1Fhhwq0Gf81HhzA== X-Received: by 2002:a7b:ce09:: with SMTP id m9mr5460626wmc.49.1582915002081; Fri, 28 Feb 2020 10:36:42 -0800 (PST) MIME-Version: 1.0 References: <20200227132826.195669-1-brgerst@gmail.com> <20200227132826.195669-4-brgerst@gmail.com> In-Reply-To: <20200227132826.195669-4-brgerst@gmail.com> From: Andy Lutomirski Date: Fri, 28 Feb 2020 10:36:30 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 3/8] x86, syscalls: Refactor COND_SYSCALL 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 COND_SYSCALL macros into a new > __COND_SYSCALL macro. Also conditionalize the X64 version in preparation > for enabling syscall wrappers on 32-bit native kernels. Reviewed-by: Andy Lutomirski