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 1CDB6C7619A for ; Wed, 12 Apr 2023 16:45:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231233AbjDLQpM (ORCPT ); Wed, 12 Apr 2023 12:45:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231363AbjDLQoz (ORCPT ); Wed, 12 Apr 2023 12:44:55 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 200058A4D for ; Wed, 12 Apr 2023 09:44:14 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id ca18e2360f4ac-7603c5af4a9so8839439f.0 for ; Wed, 12 Apr 2023 09:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; t=1681317852; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mm8kbHYrCQNTaHWa60xBqhByQjBNLY1ech70JwtZAjg=; b=OkIpXosaPkxCs+UGD9cTMhSViJnjCbNl6JleEBijVM297QurYnyHGCtXvgQ/EeE6+e ScEsfB3A5F0ZJCZoyRCdZNe8zqHkOWUz9tjGbn4qsZtzdSkpgAO7pCI48UmcqbNRcgMO nwmbQHHC0tAGiCD3e9s4paAHirjoQXolQKBJfwgvHNxHkCFrz4NBA1gnfBWmMMgOUn1z HKeJ2AG35IweUPhZyEb+kKUo2a781EhaQ5s7kcLzRnDpU6zYLLh9s4gFXBSVt0BpvIry n2TlKj8D7ovBTgAJPVgfRG0oC0rcihFUTRAC+oaPKMC79K0EzIZ1RYD05NMFcfmQHz59 QU5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681317852; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mm8kbHYrCQNTaHWa60xBqhByQjBNLY1ech70JwtZAjg=; b=bPcf9ca/GIyfcGgcvlrlwkm7vIgn1DG9ZIkpATr5+6/wwKFg6K63BMsPM+54vva0sZ rtW5uydqXhgVMXpc0pEzMfqHq8b4Q5ANwuDCE6OGXg5KHHxkTerTUVY7DANJeMN033UM twA+JihbWwwLBgKxXrYT5dSPni+4aiV439bTzDa2zY7oyenAu2hzg0YuYyj7LSB47tlX acJN79EKYCgicxDlGCX584oHeTtNMlioBmlDIBl1rJOTtVDvV/XzrGj6zXFOCozyPlQv uGMDOqtAhkW8kDiCJHjm5vQfeuczy8XB5TjTf/YY4DK2PfE5Gx61yK7Aawqx9NHqXkgm yQ4A== X-Gm-Message-State: AAQBX9c7WJ0intttAM3GgG4fsn/NbxbHS0m7b5T1pxcWjjvSitp3KnVB TuHcTPMbJ/6MFoDoz6HLZobwRg== X-Google-Smtp-Source: AKy350aCbqXbJ8SMW18VYbeqLkyyNTlMJvvyW2NhW+zOqVuXlnrXOBq6fPYXFxDwuZ2dKJ7DayxDvw== X-Received: by 2002:a05:6602:1652:b0:758:5653:353a with SMTP id y18-20020a056602165200b007585653353amr1908221iow.0.1681317852393; Wed, 12 Apr 2023 09:44:12 -0700 (PDT) Received: from [192.168.1.94] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id a36-20020a029427000000b0040bda8fa34bsm1746214jai.120.2023.04.12.09.44.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 09:44:12 -0700 (PDT) Message-ID: Date: Wed, 12 Apr 2023 10:44:11 -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 From: Jens Axboe To: Josh Poimboeuf , Peter Zijlstra Cc: Stephen Rothwell , 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> <20230411215518.u2fgi7napfcwyuce@treble> <4959d0b8-96fe-7fe5-8b36-7e0a266d1d17@kernel.dk> <20230412001400.yraku5fwsjdchxvk@treble> <20230412114400.GB628377@hirez.programming.kicks-ass.net> <20230412162517.gji52t34zlvcu5bh@treble> <6527c6fa-8908-1d8d-2f9e-bb7636a27874@kernel.dk> In-Reply-To: <6527c6fa-8908-1d8d-2f9e-bb7636a27874@kernel.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On 4/12/23 10:35 AM, Jens Axboe wrote: > On 4/12/23 10:25?AM, Josh Poimboeuf wrote: >> On Wed, Apr 12, 2023 at 01:44:00PM +0200, Peter Zijlstra wrote: >>> On Tue, Apr 11, 2023 at 05:14:00PM -0700, Josh Poimboeuf wrote: >>> >>>> Peter, what do you think, should we make track uaccess state across >>>> function boundaries? >>> >>> So IIRC the goal was to explicitly dis-allow that. You want minimal code >>> executed with STAC and hence disallow calling stuff. >> >> I guess I was wondering if we could make an exception for calls to >> static IPA-optimized functions, so we wouldn't have to scramble to "fix" >> compiler optimizations. >> >> But for now, yeah let's just keep it simple. >> >> Jens, can you confirm this works? I added __noclone instead of removing >> static. > > Yep, works for me. Want me to slap that patch on top of the branch that has the commit that causes it? -- Jens Axboe