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 6FFF9C6FD1C for ; Tue, 14 Mar 2023 12:30:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbjCNMaL (ORCPT ); Tue, 14 Mar 2023 08:30:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231787AbjCNM3w (ORCPT ); Tue, 14 Mar 2023 08:29:52 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C85309F231 for ; Tue, 14 Mar 2023 05:28:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Zq0B93sJFBGoEcjcEFD7N1oEhPmx7V6SgTS6OCLnRa8=; b=CEc7JknDGiwo1v5r6RcQH/21Ki C8t07xPkeFjX+8pGuvrFD+MlrBa1mY0N1+BQ4vwdf+KDC/JZJOZSJ/tGPlCzPltv491pdJdrN+qH9 rvucdXiuFjq27Xtzeijb2U8MaW0Omgn0G7/Ebc8RPKRgRy3JYzl4c1K5qzx/TkS1kJFnGIuVJVrhm dJ3KqKQGWNZ5Adc/n2KKqPrXwVAoTGcHAYbEchP+/d5go1jArZdsQOA/kfw93Q8iJVlG+O4vOD8wE S2V1Q6VsJ0IL4QPZmaOISESXUPvZRul7kL1gF+y8dnZN5Es3ceJE3/JZ8GcQXDHU5GJjoX2eRMcu1 iwJScXNQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pc3kT-001mTf-39; Tue, 14 Mar 2023 12:27:26 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 78323300293; Tue, 14 Mar 2023 13:27:25 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 5F0C42008DE8B; Tue, 14 Mar 2023 13:27:25 +0100 (CET) Date: Tue, 14 Mar 2023 13:27:25 +0100 From: Peter Zijlstra To: Ard Biesheuvel Cc: Frederic Weisbecker , Guenter Roeck , Linus Torvalds , "Paul E. McKenney" , Linux Kernel Mailing List Subject: Re: Linux 6.3-rc2 Message-ID: <20230314122725.GI1845660@hirez.programming.kicks-ass.net> References: <20230314114018.GF1845660@hirez.programming.kicks-ass.net> 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 Tue, Mar 14, 2023 at 01:01:27PM +0100, Ard Biesheuvel wrote: > On Tue, 14 Mar 2023 at 12:40, Peter Zijlstra wrote: > > > > On Tue, Mar 14, 2023 at 12:18:33PM +0100, Frederic Weisbecker wrote: > > > How does the following look like as a culprit? > > > > > > 62b95a7b44d1 (ARM: 9282/1: vfp: Manipulate task VFP state with softirqs disabled) > > > > Ooh yeah, that asm implementation of local_bh_{dis,en}able completely > > miss out on the lockdep state tracking. Also I think it breaks RCU, note > > how __local_bh_disable_ip() explicitly does rcu_read_lock() for the > > first bh-disable. > > > > Thanks a lot for the diagnosis, doctor :-) > > I may need some hand holding getting this fixed - probably better to > run the C implementations wherever feasible, right? That is certainly the easiest and least risky approach yes.