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 E8AA8CCA473 for ; Wed, 15 Jun 2022 20:28:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345871AbiFOU2O (ORCPT ); Wed, 15 Jun 2022 16:28:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345405AbiFOU2I (ORCPT ); Wed, 15 Jun 2022 16:28:08 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D074129C9A for ; Wed, 15 Jun 2022 13:28:01 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id 3-20020a17090a174300b001e426a02ac5so3226087pjm.2 for ; Wed, 15 Jun 2022 13:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=yMCklTCfBEfu1+s01fVuvmfQuZAk4CVG1//MJ4TRqY8=; b=V9exO7kqwC3fJwLiBdLMNh7e2NTzSQPXYlgtV/Gr15Ud7DWzNv4ABtfWWzkYx6I0d0 jAE87FSYs1r/hE1VEXszBB3otRDLkzTSY2oD5gVjSL+dr+xqDOWYRbrI8Mza3mLBu9xS i1W019LbMw4Eqn/kHzng56gm7n//xzDVnp5qI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=yMCklTCfBEfu1+s01fVuvmfQuZAk4CVG1//MJ4TRqY8=; b=hMgguAoBmT81uzam4UpIb0ySmNrCsMIqWotiIIlLqS9h1W6yPyA4JyuvVMe7/cRrux OaBoOh7FUIfmTbPFRe5iy38rruijnOfghwt/EUUD36lSIfg9qJZUsqaNY1nRYGBZCPoB Lyzw3JLbehlmdRIqlWm9yNzFTCRpOMtU2Akf11jmr8qBG6Z3ecvBe5gNxJG7brx4pR0Z r19USZtwwWTj7ZOBuGtr/TyO+JHYcDunYZjnXPwzxnzMsVco1tOZNm4iM5eSdqHbSdZY eNvgDquhlEf7s1DAAcJoFVsCBPg4yMau+oyDZFNqnQzIPRj4LKufgmPYm72kcIJnGPDN yKFQ== X-Gm-Message-State: AJIora8Y2A/dDpFIrEsgZ7RuoV3KR+laGFB0bgSCc0I+gabYCEnuxVfJ DItqJkzIykRaJzMsgKs0DukXpw== X-Google-Smtp-Source: AGRyM1uu5Dj1T24l5+1U0VQ9oLk+j18+zuRzHRA+X9Uf9ODZyTJweqIyHMLMG/GPb6MqP4jTJFW+aw== X-Received: by 2002:a17:90b:4ac1:b0:1e6:7c82:9aee with SMTP id mh1-20020a17090b4ac100b001e67c829aeemr12042611pjb.234.1655324881349; Wed, 15 Jun 2022 13:28:01 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id x15-20020a63b34f000000b003fe28130b12sm10146453pgt.62.2022.06.15.13.28.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 13:28:01 -0700 (PDT) Date: Wed, 15 Jun 2022 13:28:00 -0700 From: Kees Cook To: Nathan Chancellor Cc: Stephen Rothwell , "Paul E. McKenney" , 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: <202206151326.E34CDE453@keescook> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- Kees Cook