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 7417EC7619A for ; Tue, 11 Apr 2023 22:30:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229509AbjDKWaO (ORCPT ); Tue, 11 Apr 2023 18:30:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbjDKWaN (ORCPT ); Tue, 11 Apr 2023 18:30:13 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31CCD4C20 for ; Tue, 11 Apr 2023 15:30:09 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6324024411aso581195b3a.1 for ; Tue, 11 Apr 2023 15:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; t=1681252208; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=QKBhoDP+sP3T2nnParrcD9Nl7mDJF/BQppydlUzHoVg=; b=ppIQMuKaJsl4nmCDvoLnNaGHRTl3fy8ZJnTim7m+CAoZlk2cI19ue6Qwr3wF4CULRa 8R1XCkP9nl1T7OaGT73D2jf2HxGCCFhHBendL/+3jCpxjPEDfuV0MwZC1vG6ObvPtSDd nAUCkFZd3W90mTsW4m3L8gVdEUch5goD10VFVu/plYWDCktHJsiySH3McdLGq79+QJ0+ FWarpfnrJOGdxHTKt0Q70vi4fjHugObGLHZla5j0boc7GRuT4X5YEg4HkOnCQ1lBwhYj iubNvBlqj6xGVqMvvm3VGeGd5eSZkvfWgh0+zYvyXTD7vq5mhSm6eFQXBORkHhhV0hya DGPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681252208; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QKBhoDP+sP3T2nnParrcD9Nl7mDJF/BQppydlUzHoVg=; b=hsqXB2LHZ5GPC7KzUTDM8WaxTxBjLgoj3Qj7Ktpf1UC4X3NqFRezJ7HinBh1rO6GnO sB0WjZ4j2M/NHOh9FKHbCGxmTGwk9Ekz+bWmT0+jvcnkoOuXjcx0k2r11qiwUcQWda4c 8GkRuzNb6WvAacnghQ4S7U0SO4dKQp5BD+WtS95TdJEcdUGCdZ6yutFqCilrRbf+beJo 0KCmaucT5+D0bp6kycMWw5uCQULlznXq1WKdEdmID8B0+MyTshLGcUbbfv40wzSTRwnQ 2P4pNrfODp6G5syJHWNqR9dEe7sS1CaDncHC5wvgpsNJVa2a70XxLGRh1AA+NzsmQeD3 U8OA== X-Gm-Message-State: AAQBX9eDNkHvtHKWD8Rf/WsBpdq/MfyGcy45LGHgdHpjWjYRtpzgJmMF TlxbDu58WFNHUiVgX0H//YSr3g== X-Google-Smtp-Source: AKy350bgytSfQoCBdzIljJdVL7dc7jpGWxSHkSREDMiKD/9cP3MFpAhTJYWkhDo6j9aQ7/1eCry7Qw== X-Received: by 2002:a05:6a00:190f:b0:638:abf4:d49c with SMTP id y15-20020a056a00190f00b00638abf4d49cmr511087pfi.3.1681252208638; Tue, 11 Apr 2023 15:30:08 -0700 (PDT) Received: from [192.168.1.136] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id v5-20020a62a505000000b00625e14d3a15sm10215338pfm.166.2023.04.11.15.30.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Apr 2023 15:30:08 -0700 (PDT) Message-ID: <4d015798-84d8-ed15-393b-105f9f315e25@kernel.dk> Date: Tue, 11 Apr 2023 16:30:07 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: linux-next: build warnings after merge of the block tree Content-Language: en-US To: Stephen Rothwell Cc: Josh Poimboeuf , Peter Zijlstra , Linux Kernel Mailing List , Linux Next Mailing List References: <20230327120017.6bb826d7@canb.auug.org.au> <20230327162630.wmxpycxhllt4clpt@treble> <20230328104719.65133586@canb.auug.org.au> <20230412073416.73a8ea1a@canb.auug.org.au> From: Jens Axboe In-Reply-To: <20230412073416.73a8ea1a@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On 4/11/23 3:34?PM, Stephen Rothwell wrote: > Hi all, > > On Tue, 28 Mar 2023 10:47:19 +1100 Stephen Rothwell wrote: >> >> On Mon, 27 Mar 2023 09:26:30 -0700 Josh Poimboeuf wrote: >>> >>> On Mon, Mar 27, 2023 at 12:00:17PM +1100, Stephen Rothwell wrote: >>>> >>>> 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? >> >> $ x86_64-linux-gnu-gcc --version >> x86_64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0 > > Any progress? Honestly I have no idea what it's complaining about. It's obviously the compat copy, but everything seems fine to me? -- Jens Axboe