Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2022918ybv; Fri, 21 Feb 2020 07:30:15 -0800 (PST) X-Google-Smtp-Source: APXvYqzQLUTxC7GMo2YFqS2dBTxqrIpCQt3ghw1JdcvIWuMmt34V1BuWHLCpYF1IvUK1hA+890S5 X-Received: by 2002:aca:1b17:: with SMTP id b23mr2474346oib.95.1582299015035; Fri, 21 Feb 2020 07:30:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582299015; cv=none; d=google.com; s=arc-20160816; b=Nom7aJ2WPHaHGLghOXb3liIAnaSNSxgf8fNzr/qbQYFmfwF36KKMzMPItJlnl/leck k6nS6SQdacDoN9OJPuMChvynGLLZmt3LlRG0eDjeaNqQLsV7sfnzy02ekdFaY/CP63mL TqOq0opOiqoVgOiTfAazJRE+WMOAaTxPjvC3n28UeZEwzZWvx5ndjdCpJP6Dh9F9LdCf +YnNdbyEaikBTzIpUAXZ7iVxB/sRuYwkoOLTeLfmj7c3ZMTounGhi9PWvG7NLFozJWhn sTgraaoCsxpHU68O3ImW3pzIyYvBP76wYMVeMuw8tPoPkHxAf9bXIwd1q7ib7xk1PKX9 VmZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=smMyh2MysJUSfR1oTtANgrbnAPzFS3KCTUVbF7dt0IM=; b=0pvgPokRjZZfcU+TbXJS+YYZJJe8+sNjfcaLf68irjIx0QQ9dki/5aifajlZFMqO6v jlP1UAoCIb07FiI66vduVmD1PZMdI9msmfVY+g2OEyko65MVJ3M1X4Bz+1IPxPk2gdne qIhfUTOY7YbpQpnBRmDzbLbFRp8h0yXDgHy87M5MMJlc7oH8i5FdR8CGgKIbikAOM9o0 7/PzAI1+b3okjyebYpD5+70PLqLK5fbdBm1A+6pWnjx9rJidVeKXP4iFUT7agJ4+23ei uZ6/pbMilGWYk0a9VwdmVxavFmmNoZJmhIaIGe+yHdoBqUGEFLhntciYmh+GSE/imsxa NKsw== 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 g22si1480228otp.55.2020.02.21.07.30.02; Fri, 21 Feb 2020 07:30:15 -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 S1729271AbgBUP3Y (ORCPT + 99 others); Fri, 21 Feb 2020 10:29:24 -0500 Received: from isilmar-4.linta.de ([136.243.71.142]:43904 "EHLO isilmar-4.linta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727053AbgBUP3Y (ORCPT ); Fri, 21 Feb 2020 10:29:24 -0500 Received: by isilmar-4.linta.de (Postfix, from userid 1000) id CA5E9200B44; Fri, 21 Feb 2020 15:29:22 +0000 (UTC) Date: Fri, 21 Feb 2020 16:29:22 +0100 From: Dominik Brodowski To: Brian Gerst Cc: Linux Kernel Mailing List , the arch/x86 maintainers , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Andy Lutomirski Subject: Re: [PATCH 2/5] x86: Move 32-bit compat syscalls to common location Message-ID: <20200221152922.4okzakixvlz5mpoh@isilmar-4.linta.de> References: <20200221050934.719152-1-brgerst@gmail.com> <20200221050934.719152-3-brgerst@gmail.com> <20200221070704.GF3368@light.dominikbrodowski.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 21, 2020 at 08:41:23AM -0500, Brian Gerst wrote: > On Fri, Feb 21, 2020 at 2:07 AM Dominik Brodowski > wrote: > > > > On Fri, Feb 21, 2020 at 12:09:31AM -0500, Brian Gerst wrote: > > > --- a/arch/x86/kernel/Makefile > > > +++ b/arch/x86/kernel/Makefile > > > @@ -57,6 +57,8 @@ obj-y += setup.o x86_init.o i8259.o irqinit.o > > > obj-$(CONFIG_JUMP_LABEL) += jump_label.o > > > obj-$(CONFIG_IRQ_WORK) += irq_work.o > > > obj-y += probe_roms.o > > > +obj-$(CONFIG_X86_32) += sys_ia32.o > > > +obj-$(CONFIG_IA32_EMULATION) += sys_ia32.o > > > > That doesn't look nicely... > > Do you have a better suggestion? That's similar to how tls.o is > already handled. Besides modifying Kconfig? No, unfortunately not. Thanks, Dominik