Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1257786rwl; Wed, 12 Apr 2023 10:08:29 -0700 (PDT) X-Google-Smtp-Source: AKy350ZGpAKSnsV3gtlf9LcWgUWzrUA/c87MRq/E5WBsLuxs6LlKhnt9/jZrBwCKXhee74SyQNgR X-Received: by 2002:a17:902:ea0a:b0:1a3:c8bc:6a41 with SMTP id s10-20020a170902ea0a00b001a3c8bc6a41mr4119011plg.21.1681319309653; Wed, 12 Apr 2023 10:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681319309; cv=none; d=google.com; s=arc-20160816; b=x0QTWM3ugdsg+TOVQkNccl9pJ4CyFNEpTWXaZghPIVB4hwv0l3bR3sD53WOXlgBlHm 9Tu8Iz6pv9vRi3ClQG9QDdBzYIsRkAOFnGMle3vqG/Z2fhxK5atWRFy25oS0Izs6fSbj GjsDqxQ37oaqFDKZk1d2P65JymuVCeOPipxcQQ7wvJaeiS2ibofGKA3pRR+A0gFO4JAy tUvnqVedqLT96ejBPludEuaFKDaBqdQ8dB+RK8bxN1amzNmDHUUQYwNIo7EBcN6PJyqr JhmbMEyXmyE75iW3FkwPqZs9uMBXsDepQGXg8tT6pld5WRP9O2anb8WQchmrtv5PKdQt lUVg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NjB+AxUnHw/DfVKyeVr1ZsdDHPUwDQBtb3jpbxby0FY=; b=BwnasA8yeu3gs5jXvGzqQWQnKJtEOjFnzV0XQoteRv9ZdXlmzWEYYI16wEZQW5vUBm FCULRuR6g+PAf3J6hLzupmaK1PlLwJWwKWmnRmTKGM5VZDTFMOSll2wflzN6A5QaVqje CbnKDGNXI1STOtThb8uIdi1DAfkzgK52RSDM2Gw2R8yEo6fd1QlwS+5tjgd8Z5EQn8Ct L8AvYhR/vE99HO3nfmP98Sgqym19dZBWrYxqoqPaO8qUlhSNP1nrcO9iSbDzwixOlBb+ tNbKfSahWg1kZU91mQcZ+S7HuL/yC/fhAqDHST/zooPHCWxASIKpnXMm2K1dbITymg+/ XRGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=noTkHizb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j12-20020a170903024c00b001990a6daf9fsi17805731plh.535.2023.04.12.10.08.17; Wed, 12 Apr 2023 10:08:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=noTkHizb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230223AbjDLQ5V (ORCPT + 99 others); Wed, 12 Apr 2023 12:57:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230161AbjDLQ5N (ORCPT ); Wed, 12 Apr 2023 12:57:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6775076BB; Wed, 12 Apr 2023 09:56:56 -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 dfw.source.kernel.org (Postfix) with ESMTPS id E0C84633BD; Wed, 12 Apr 2023 16:56:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 128B9C433D2; Wed, 12 Apr 2023 16:56:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681318614; bh=7sNwtUtvHwFJqLlrY6hXeBl/C/V+/yCFZfC2xHM6jtc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=noTkHizbzGsV1rdMjY8GEVn+pJ376VD0mzSeQH+AiXz814SDMFFCDURI1FPJd5qLH JjUDqkHkN624/Fn/MpwUFGH7kpVEC2A/QXUoIxAKAP2hqA1+5BGMowE5xvM/fJfDde G/TtsvQzu/bITiVQ1BWXLK7vIWLxNFiQHf17Shfkh/PZQQnKwE/Znfdr0LkEZFs9sE HYgX4T1empUUM6MW8PUWsCf3zhd6VPDzLV8iWaEtkRr8dxE0lif1rsD34S7fOXrV4H LbYo9C+svJIHPTcOmMNIK8OWCGmcpLtaKpeVbfL47uhEI0DxaTSXG9x7cud0zoNnHy REwwzSdLVkiGg== Date: Wed, 12 Apr 2023 09:56:52 -0700 From: Josh Poimboeuf To: Jens Axboe Cc: Peter Zijlstra , Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warnings after merge of the block tree Message-ID: <20230412165652.umuiemo7ifnhr2nz@treble> References: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 12, 2023 at 10:44:11AM -0600, Jens Axboe wrote: > 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? Yes, please. Thanks! -- Josh