Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1919644ybv; Fri, 21 Feb 2020 05:42:51 -0800 (PST) X-Google-Smtp-Source: APXvYqxiDCYvJ37JlcQG3xqAkpz0oHi5VvUZNguy9Cn18R2OYEGChecN0I7cZAvpZvVNMu6Spv/a X-Received: by 2002:aca:fc0c:: with SMTP id a12mr2009805oii.118.1582292571728; Fri, 21 Feb 2020 05:42:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582292571; cv=none; d=google.com; s=arc-20160816; b=Bpzk9KkGSOLtaj+JLgiFVsvyQ6XHrodGe+5Hgec8eMWLFQ8xx10xboDmMYGcZfGCXv YSvQalhEGXdWuwljy48Pa15UHZII93hOgLR5mXEzbnyzuv/ne63yQYZlnAXeYEdtKOgC OB3wn442U+7ysb0Nl4t4FnZg8pFivYvDPCfWT6p/MXfnQy+tIu9PflMgWg/YXcS7xhzD lUYD6zcir7nOH/TP5EAQFLfc7BXjFg1rB6pocIqaMU8A9eBWVh14OoPwmJBPWjpyUNQR WNHlaCIXFp8FTc5M1E2vjcOnjhrzj1VgfslnX2LdQY+HrJZClqRTov4Bwrczq0Ht5gQq u0vA== 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=jSKO1I3J8u4PED9xsWOVY1usxpEpUW0ahQemP6DdxxI=; b=c/ETm4sqg+ZTzBbjwKtFTTS1uacatP30puRJCy0Quc8fL5iKYIzzuC1s9nsjKf1/6p AjDngJIo7n782NKxcYVpdW93kxd/6WG+JYpYu8gbZfEEUph+xDIL7hTBGEP7NdHnggkP eUdcsl7p++NWIvnso8/ODphVCVpImPig0l4nYulINRF/ICOMGNvmZaVWnNDp7SIatSWB MCdRyVl3siOb/BLPK0tNpYxZ2cWoMDfUFrTXLu0x9Zp9h5KhjudOpQLk6OnKghoMlral FW6dc/XwsE5XDQwaQi4fvMEpgfIYIr0qIxy9ktzmMc6B+VFBGtkRV/o/Tj6QwV5LBQx3 6wEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rvJIlx2N; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x11si1467521otp.285.2020.02.21.05.42.39; Fri, 21 Feb 2020 05:42:51 -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=@gmail.com header.s=20161025 header.b=rvJIlx2N; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728228AbgBUNle (ORCPT + 99 others); Fri, 21 Feb 2020 08:41:34 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:37583 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727470AbgBUNle (ORCPT ); Fri, 21 Feb 2020 08:41:34 -0500 Received: by mail-io1-f67.google.com with SMTP id k24so2398776ioc.4 for ; Fri, 21 Feb 2020 05:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jSKO1I3J8u4PED9xsWOVY1usxpEpUW0ahQemP6DdxxI=; b=rvJIlx2N7gz+Yjaibh7a778aPGsgTGzHjVgX3Yy/ttvlC68iHyUFzaQjjB7z7oOLrN 5mI5gIxe77P7+vGisHdLQ/RBAUSlqRTKA3yO23zOzwQboA2TK5v3KtQYx2v8JOwmBhcs Ko4ZjNaKDs6JNLJ3IFvp/uTsOH1Fu4CSxxBcOu4kT769SRXrg77mYsbT0ZtnkDmblYGL PypqpjkWhQdciLDnPigraUZpezG24Wvc6Rxajjh7XjoCwwu9+V3JzROs/6P8F6+x8Vhr oNI4ocq4K+ZU/ayH/C82GNWTBrTfcN8K6KZEgN/WaIAiU0W4t/8OcypD8tQ9+hVqSVvN Na3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jSKO1I3J8u4PED9xsWOVY1usxpEpUW0ahQemP6DdxxI=; b=cXLeIn4ypZY9LE9WjlsTs27guJaog27i1hpFge/UwkJ478RnVFiQ7EgFHy1Q60zKLB cDkjOJQSoC1medWylv4U4GQer5YlaK2NfzbiwXSu2ntpbwrVj54jHcDgHSeXoDpQfCet s80xQY92apunCDfSD2CzHBpZ8E4OgnIen7Ym7MFQ6XDL6gZPB8JJwWvDNMcZ+XLZ0GRf t0moSBuOKU5zS0HzPRl/cIh0YowcaiuIt8QvkLZLE+raqcXrsmVkziKlPFLUA1SNIXEt lGGO+2B5cCEuoIrLKdHO4ZbFvmEEcwFW+qb8sJ0VGNX0bKxP3JxpetzMDI7AxC+yWAa8 SMfw== X-Gm-Message-State: APjAAAVWidqVJB1U4vRyFQUCyB8JtuPp6uL5TnSkELN/LXT/etDDFhs0 JtEy1j+BmBp1tweciX5pJYkOilL+u8VJea+U3A== X-Received: by 2002:a6b:7d01:: with SMTP id c1mr31219001ioq.172.1582292494105; Fri, 21 Feb 2020 05:41:34 -0800 (PST) MIME-Version: 1.0 References: <20200221050934.719152-1-brgerst@gmail.com> <20200221050934.719152-3-brgerst@gmail.com> <20200221070704.GF3368@light.dominikbrodowski.net> In-Reply-To: <20200221070704.GF3368@light.dominikbrodowski.net> From: Brian Gerst Date: Fri, 21 Feb 2020 08:41:23 -0500 Message-ID: Subject: Re: [PATCH 2/5] x86: Move 32-bit compat syscalls to common location To: Dominik Brodowski Cc: Linux Kernel Mailing List , "the arch/x86 maintainers" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Andy Lutomirski 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 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. -- Brian Gerst