Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4107019ybv; Tue, 25 Feb 2020 13:20:09 -0800 (PST) X-Google-Smtp-Source: APXvYqwZz+kg5HESZ7J7dhCZebgW0oKlqAPQFCW5O9fKqSSj2+738SMX4sxaTbTXCfDDeCVVafsA X-Received: by 2002:aca:2803:: with SMTP id 3mr668817oix.162.1582665609758; Tue, 25 Feb 2020 13:20:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582665609; cv=none; d=google.com; s=arc-20160816; b=u/UBc0yYKqkCdAcwql45PVwoTCWp1DvtHmj4ijgxuUd6FxdFujlD/2XZxYkENWCK9n H3/3XHPuvcKXbLzVDB3jtB1ExPhBNB6PcFaotpq47KBJt/V3L6cyHTfbn6PfvV+YmJqO zzQGAzmW5MKhS32b+d1bVYAY3f2E+1GV3Lt4L6LQzumJT96v9r8/RC+N6KVrsF05Fz4k L4qbHmDx8lcK/sLQYHoNuhd1qgGcBj3mMphLuW/m51zWPPvxCFIvcZQNXiMNdSybEpzG Z7vldDJFJLPfgQKj9Yozct2HB8Z3WWyrUcsubBcXFRJjW69X/0PkNoylMBFyegOIizZr 5kPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=N9faZoZvaUKk5m4neiqb/yJaCwo1Api33V8X/jJtF9k=; b=NnXi+KT6UQzY4mghxJVgWSWygNz3O81WGZfPPVOSM//XpdxP3fXqf1CRp7C4n9jFvI AYmJLBPTRYoS7s6XX7h/9IkHTYOiN+MRH/lTHuKUwgqE9UQjkJzQXN7UWu7DWlmahyOL dd1in48JRt1DTyptXLA2UkKuMo5B4v4of2OTGYbdsF1RDqmrzrMq9TCD96ZUixoMQMfZ wFwdthb1iMrhCwgeqb538Gx7XcQHjOWpxOUyunjwFoNFPE6VwgeTN7QhKbxXZfhpud7r /joO6HKbE4wHhSBkT2I2tUqGLnUXK4NLXkvzv535ZMwwV9DSWmgknquxhvFKSzx5ZD/U Pbyw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si20709otm.165.2020.02.25.13.19.57; Tue, 25 Feb 2020 13:20:09 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728977AbgBYVTw (ORCPT + 99 others); Tue, 25 Feb 2020 16:19:52 -0500 Received: from isilmar-4.linta.de ([136.243.71.142]:49648 "EHLO isilmar-4.linta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728555AbgBYVTw (ORCPT ); Tue, 25 Feb 2020 16:19:52 -0500 X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES Received: from light.dominikbrodowski.net (brodo.linta [10.1.0.102]) by isilmar-4.linta.de (Postfix) with ESMTPSA id 54A0E200A8F; Tue, 25 Feb 2020 21:19:50 +0000 (UTC) Received: by light.dominikbrodowski.net (Postfix, from userid 1000) id 9CC8D20BD6; Tue, 25 Feb 2020 20:49:31 +0100 (CET) Date: Tue, 25 Feb 2020 20:49:31 +0100 From: Dominik Brodowski To: Brian Gerst Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Andy Lutomirski Subject: Re: [PATCH v2 3/8] x86, syscalls: Refactor COND_SYSCALL macros Message-ID: <20200225194931.GC3954@light.dominikbrodowski.net> References: <20200224181757.724961-1-brgerst@gmail.com> <20200224181757.724961-4-brgerst@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200224181757.724961-4-brgerst@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 24, 2020 at 01:17:52PM -0500, 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. With the same caveat as the last patch: Nice work! Thanks, Dominik