Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp583604pxu; Wed, 7 Oct 2020 10:22:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQpwlnn20UTRVPqzTV52+IwURQeTYE6xRO6yCluejOuvm4urROrC4u1BxKlBe/5uGfvaHr X-Received: by 2002:aa7:c7d9:: with SMTP id o25mr4886781eds.318.1602091354188; Wed, 07 Oct 2020 10:22:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602091354; cv=none; d=google.com; s=arc-20160816; b=Kq6ci7JXbGnqt3Z1brxf9CNG86RVFofrJvcLILEduG8uW1C0rf7bW9ydzKhEgdhJZ9 Rt/ibjulFsKCzMep0SO5le1n1BUO86Xw83TfW6xqYGPcRvOFLjzif2rVRxJ1HxcD35Cz 399GzVC0pvAWI96vbjTAVJgnXSFgJ7tsEDbLAS1NXYRZL9OHuObMZgoCUB0mH1DGXREn CBxEo7pfMvSx8H6dre6I+TLcvyOkn9whcpcsQ5y4zYu4kpmejz/RS6VArhqDL0d/yXYs wlrkxeIaD7rB4IxjgJumVzBDuKmNjRkaljoDLPDkqWWe9nvjjvS0IEZQQDhHriIsQA7+ 9mgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=F3Yt1qlrP6C4WwJZp8BRAsz5lDHKiVcAM3PNOj+kOsk=; b=O2Qsvx7+8f6O88BB95hy3dgvJArq3fT6i7cJX82JwI55lUUDKi9RmzfPQEk+NGDtS+ UNRYohF8F+lVoHBNuOGQM7hI0JkC5C3m4xletFNUgJ4ZrciGClLMJUjnjllpuWGzj0cA o6YafdaNWbVNFyNST3vhfoGIYFAsngtGnGQaFH+GRanssGQgSUK2hh9ITATf6xuCLCZM WfxQdn02QE48ZBmQdFWHEiygZee/nyg/tZeV+bnAM87uefO09722WwOJViR2N4o4/7Ww RkkC/blofa1KjIG+3iwn7PZpt8q6ydVkDDQl0PP8o3ji1RRMoRqwr/K83MulqRuEQZ7X IwHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=PYbcNNLh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sa27si1974432ejb.546.2020.10.07.10.22.00; Wed, 07 Oct 2020 10:22:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=PYbcNNLh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728515AbgJGNs4 (ORCPT + 99 others); Wed, 7 Oct 2020 09:48:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728177AbgJGNs4 (ORCPT ); Wed, 7 Oct 2020 09:48:56 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04D2EC061755 for ; Wed, 7 Oct 2020 06:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=F3Yt1qlrP6C4WwJZp8BRAsz5lDHKiVcAM3PNOj+kOsk=; b=PYbcNNLh598xwUaO2EuiHjHT/W PO3aQ7gWxMQCapxc1V+SUq+vtaDOK547kFD8o1cb1y5w5x90cI1NTfPf9yYOrfJ3bPkhhydO1rRGg 75cvn3i5bICjfZkMMlbME6ngXRi8CyyYs6kI4dLV383ut7hhBC5PnCoZSKmLMLmLskg2Zdcyxn7b6 7DZGME45SM63HzfQyn1tDfUZIuF5JIEZH4hFCPqH+aFn2LsOZcc26KpVZ4sbxEA32Hmk6kFFVMj3r 5JfxU1apUywfLOJwZZAt9w5tpH3ieFPLMr4ULuoBGcpzk/5gTt5W6a35S6/JdEumYz7TrKN0IMlaF G9Ow4QRA==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQ9oA-0000z4-4B; Wed, 07 Oct 2020 13:48:42 +0000 Date: Wed, 7 Oct 2020 14:48:42 +0100 From: Christoph Hellwig To: Andy Shevchenko Cc: Paul Bolle , Richard Weinberger , Geert Uytterhoeven , Richard Weinberger , Anton Ivanov , Linux Kernel Mailing List , Bartosz Golaszewski , Linus Walleij , Nick Hu , Greentime Hu , Vincent Chen Subject: Re: Build regressions/improvements in v5.9-rc8 Message-ID: <20201007134842.GA1869@infradead.org> References: <20201005093024.16032-1-geert@linux-m68k.org> <20201005125840.GP3956970@smile.fi.intel.com> <5f5c303d30eaa32c21131502cc6f28db9d655329.camel@tiscali.nl> <20201007130241.GA4077@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201007130241.GA4077@smile.fi.intel.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 07, 2020 at 04:02:41PM +0300, Andy Shevchenko wrote: > On Wed, Oct 07, 2020 at 02:45:30PM +0200, Paul Bolle wrote: > > Richard Weinberger schreef op wo 07-10-2020 om 14:08 [+0200]: > > > UML has no ia32 emulation and therefore no in_ia32_syscall(). > > > Maybe you can check for CONFIG_IA32_EMULATION too? > > > > The pending fix is: > > #if defined(CONFIG_X86_64) && !defined(CONFIG_UML) > > > > Since this check guards in_ia32_syscall() just checking CONFIG_IA32_EMULATION > > should do too. > > > > (Way outside my limited expertise, but anyway: is does look odd to see a call > > to in_ia32_syscall() in drivers/. All other calls are in arch/x86/. Isn't this > > a bit too x86 specific for an arch independent driver?) > > According to Arnd who suggested that fix the problem is basically appears on > x86. He also mentioned the new approach that Christoph Hellwig is working on. > But we decided to go the ifdeffery for better backporting. linux-next has compat_need_64bit_alignment_fixup(), which is the proper thing to use. But for now you'll need the ifdef mess.