Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp871705iog; Wed, 15 Jun 2022 14:25:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sISHzJgjEig/r5TeX0bpU0nQ8ZBslNC4sSPFCisxKPcJyBjwEkj6BSPQRRY+OE5+OdZRnp X-Received: by 2002:a17:902:edd7:b0:168:b0b2:f0a3 with SMTP id q23-20020a170902edd700b00168b0b2f0a3mr1599144plk.20.1655328326194; Wed, 15 Jun 2022 14:25:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655328326; cv=none; d=google.com; s=arc-20160816; b=WbJYGtif0oyZNDlsQYss2yga+YjT+0l02Iqr03+o3TFKHGDaZCarjxCquoX0fTIKH6 xc5bQzFdWW3ISKjBidQoQWQhQQAXiIz+m4GE2oQsB7r/TgBK9fEaYLwZlYuIo2I7zzCt o1DujiXRpQLnO0DGf5cSWT9wbS88pJXjclmhQnv4qGiPAZ5nc1101nkc7EcSQNSbifh3 M75XhCeQXVqy4yVUU2J0xGBr/iW6xihaT0g3Sg/gPyhDdy3CdqGSa81ymLawDo5LNk2k ptJ9zmqxc18bHRfB45W8VYDZ+DCwMivbe2xu3lzj6Go0mOzsaJy1LWqb/pkVswZ0qUed 5YyQ== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=XzzcxYZjO6VYwZtxQHchl1IYEdpghcSOLPEH4TeJqoE=; b=BgycHHcxIpv5aaOCuO9qISMToKU+DXWh0TuETJSNKJ+ROnNeOUsdte5nSwtHmxOUEO WxkoIc+1JGcJ1e5i95hPHPiRIYtZwUCKjGj6muYiScrO/TBCMd+NL5y9zanTTa3L919g VdD1QFhcpuyz1PZk0flwWVRt5yDnKuukJg8PwevqZQ/54hnSh3Jpm7XLOUY0VKL2yM5C +K3QGwBvvwgHpUWbIlcztppi4GbpToK+oQuXLG6dvix2TKbxgSgv5Ua4zl/SvJx/HQRe /I53gp0tNExV8HG27wexVifXYc2L05VuSFEGMUZk3nsfU/fy9buO1MiiBubI5NydW8zR MK1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GZIZXxNd; 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 q23-20020a63e957000000b00408c597b748si97978pgj.629.2022.06.15.14.25.14; Wed, 15 Jun 2022 14:25:26 -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=GZIZXxNd; 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 S1346937AbiFOVM2 (ORCPT + 99 others); Wed, 15 Jun 2022 17:12:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233389AbiFOVM0 (ORCPT ); Wed, 15 Jun 2022 17:12:26 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0EA751E7B; Wed, 15 Jun 2022 14:12:23 -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 7452BB82185; Wed, 15 Jun 2022 21:12:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 170CBC3411A; Wed, 15 Jun 2022 21:12:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655327541; bh=KvZbkPsYHPy1CP4cP4B8D3AbbBahxVtKDnXpikA2PzA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=GZIZXxNdTDPFdNxWxd2vu5buItGBwGqu4Co/QAne2ocDNVAbSN1h5M5mXC5RQWYsm G7fBjwtzdiagL7634Yj1vgBfWEWM+auammDz/Tg1GARXU6tn35+Mv9gpkaTY85dCnB m+HqzAsPdVaTTjSbfnlaZTwOJnJVKEtamGNBMW36/Zh46eRQlYSQEMmvAKkS35shjV ukXnRldow5JlcJwydSOgtLZfkEX2Mp8Yx2XX5dKfqs8wwRGTmNvwDjr6PPAp6UYAOO RXgm0EFvuATqDP3WHHcRcRlWvP9/wNUKCp4vMR7lxDC1N1C5M6xuPxg/k0AdBbgUuo Ic9RljOwmJs+Q== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 9170D5C027A; Wed, 15 Jun 2022 14:12:20 -0700 (PDT) Date: Wed, 15 Jun 2022 14:12:20 -0700 From: "Paul E. McKenney" To: Nathan Chancellor Cc: Kees Cook , Stephen Rothwell , Frederic Weisbecker , Sami Tolvanen , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org Subject: Re: Contextual conflict between kspp and rcu trees Message-ID: <20220615211220.GJ1790663@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <202206151326.E34CDE453@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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, Jun 15, 2022 at 01:35:28PM -0700, Nathan Chancellor wrote: > On Wed, Jun 15, 2022 at 01:28:00PM -0700, Kees Cook wrote: > > On Wed, Jun 15, 2022 at 12:55:53PM -0700, Nathan Chancellor wrote: > > > Per the above RCU commit and commit 6c5218715286 ("context_tracking: > > > Take IRQ eqs entrypoints over RCU"), it appears that the following diff > > > is the proper fix up. Would you mind applying it to the merge of > > > whichever tree comes second if possible? I did build and boot test it > > > but it would not be a bad idea for Sami and Frederic to verify that it > > > is correct so that Kees/Paul can mention it to Linus :) > > > > Actually, the CFI fix (and a few others) are meant to be sent for > > -rc3, so if the ct_irq_enter() change is in -next, this can maybe get > > sorted out? > > Ah, I had assumed that branch was destined for the next release. If it > is for 5.19 and they make -rc3 then it should be trivial for Paul to > either rebase the changes on -rc3 and apply that diff as part of > "context_tracking: Take IRQ eqs entrypoints over RCU" (if his tree is > mutable) or just merge -rc3 and apply that diff as part of the merge. I > don't really care how it gets resolved, just so long as it does :) My tree will remain mutable for a few more weeks, so we should be good. ;-) Thanx, Paul