From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90B5CC76195 for ; Mon, 27 Mar 2023 16:26:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232220AbjC0Q0k (ORCPT ); Mon, 27 Mar 2023 12:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229677AbjC0Q0g (ORCPT ); Mon, 27 Mar 2023 12:26:36 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61C661BE8; Mon, 27 Mar 2023 09:26:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 01F0BB8170C; Mon, 27 Mar 2023 16:26:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80DC2C433EF; Mon, 27 Mar 2023 16:26:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679934392; bh=4pIuc9A52G9w0T0G5dmVhtnXgoYMhwTan2323fMt7Ww=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KJBNAQI7hUUfZvr3HqpZUDiESll5GYalC0D1MjvZfRLn+J/I1TYxg9MNKBW9A1ICV RzxSHjgBpimysipDCQjrxW7R/oGCp8P6fqYgmzeYySKjZEs2DxHTG4LZasBAcK90SQ SR3egae/XnNHtO5Xaf7+aJ07j1f0hRcVfleHK16qXMOWuWncZc80tWku2rRQfAbNvV NplrroNp3Za1HoCNspaoWqB+3lMkDpLBK6FGKCEkZLfVA+53yHuGJzJh+tRNzqGEhU zLGjlqTXmkB2RXpkXHWMBYUCYOR7cfiJaGCiNOCLxdeDcBHK/VR3STp4lqPo6wqxky 6b7YBfNzxCwjw== Date: Mon, 27 Mar 2023 09:26:30 -0700 From: Josh Poimboeuf To: Stephen Rothwell Cc: Jens Axboe , Peter Zijlstra , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warnings after merge of the block tree Message-ID: <20230327162630.wmxpycxhllt4clpt@treble> References: <20230327120017.6bb826d7@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230327120017.6bb826d7@canb.auug.org.au> Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Mon, Mar 27, 2023 at 12:00:17PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the block tree, today's linux-next build (x86_64 > allnoconfig) produced these warnings: > > lib/iov_iter.o: warning: objtool: .altinstr_replacement+0x0: redundant UACCESS d > isable > lib/iov_iter.o: warning: objtool: iovec_from_user.part.0+0xc7: call to copy_comp > at_iovec_from_user.part.0() with UACCESS enabled > lib/iov_iter.o: warning: objtool: __import_iovec+0x21d: call to copy_compat_iovec_from_user.part.0() with UACCESS enabled > > Presumably introduced by commit > > 6376ce56feb6 ("iov_iter: import single vector iovecs as ITER_UBUF") I'm not able to recreate. What's your compiler version? It's complaining about a call to a "part.0" function, maybe the IPA optimization is moving the STAC to before the call. -- Josh