Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp713925rwe; Fri, 14 Apr 2023 08:47:46 -0700 (PDT) X-Google-Smtp-Source: AKy350Z4/Coj3HjRG5UB5syYkQVD8ENCT0ysMlLrYHgcsZL65CENl9CzM5mi9wGtQ1WA4lmLug/M X-Received: by 2002:a05:6a20:3c8b:b0:ee:98d3:672d with SMTP id b11-20020a056a203c8b00b000ee98d3672dmr891091pzj.51.1681487266506; Fri, 14 Apr 2023 08:47:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681487266; cv=none; d=google.com; s=arc-20160816; b=jinLa7AAjaZPfBeQlb78JmT2b7kpiuyNvlKv6zqtVWSYnEWX5ArsuDkQEyvPWmg5z0 eKRvct8D6uu9YPz6VpuK4hbDjr+u8Z4lnQgCu1qY8zAanaX97kK4ATlF/0CxCFyj6a7L 2TX/JjsZnbFeGHX+zyaracTHPAZOTFTRTkelh8+3sKxZa1t6xgreof704kV/LkqraUqH jskq8No0N9Ti4oGXbREctd8mfDRGVtDb+pj86tvsskV48Ms8CcNrOi9vU/Xfe3oofEhj sQU4lJ+woAymZbU04n+RdP6z91ujZcD2gxXGZClYRlDh+Q0SVEaOakyoEnBcHHbvh+0/ n0cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=bY/3sIZBuDDsO2F5msp8P1kEIGv7QfIYkVdOIXA8f08=; b=ZO5tMLWGvpdp6WRMeVmc4kwTZEDEjqjMmbw2mQPXxH8Znf6Bp5upZNajnC5D5VUCVT TsGxGPvxd1e1G7+0lhSDeyiXpxpCYpL08sFb8vnUBGt8cycu7sCtUL0w+oNcEJOx9Lts wrjbKNGPEmYDwiNhqyPjaTwNVAqAzdCkKiERcbEx5L5tu+489pYIY99oo093expdpl01 6xwZUIAsRJ4Z74xOjtDdgpQZ91lvL9vi2xwq9zmV4setuXKRcXudiAdHpbUv5M9+ly+M LrAy/ZlTzcLeeYdbKTzbagf0xg53YZexMb5vEtXOJDwuwlZBe0AXXCgQxo9/xSy/SWNP +RAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="ZCsh/gAx"; dkim=neutral (no key) header.i=@suse.cz; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y3-20020a63fa03000000b004e018302ac3si4802887pgh.612.2023.04.14.08.47.32; Fri, 14 Apr 2023 08:47:46 -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=@suse.cz header.s=susede2_rsa header.b="ZCsh/gAx"; dkim=neutral (no key) header.i=@suse.cz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229721AbjDNPjA (ORCPT + 99 others); Fri, 14 Apr 2023 11:39:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbjDNPi7 (ORCPT ); Fri, 14 Apr 2023 11:38:59 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9419793CC; Fri, 14 Apr 2023 08:38:58 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 44A011FD81; Fri, 14 Apr 2023 15:38:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1681486737; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bY/3sIZBuDDsO2F5msp8P1kEIGv7QfIYkVdOIXA8f08=; b=ZCsh/gAx61h68o7GZJmhhvBwrD0mRl4RGrxLEVCq1JY+pawb08XYLHyWVkuaqrgUhS0QNo 4DIB5oFXAe/imOO54IYq6wwb/9eVIWaQfOb0T3MZWozgGNROImb672c+2ZAz2kSvJbFLUQ aLYnKdzvEFtw2oYy2tGMfn2/OkPI2Rc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1681486737; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bY/3sIZBuDDsO2F5msp8P1kEIGv7QfIYkVdOIXA8f08=; b=fE2tOeVVRdyXqvZ/DrCHL55S2rNsix5DR8IHXILzUBT5WLoOQkQQbSSvlDGU8KI71Wxy+q 6NiSfvRMXX13UhAA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 21C75139FC; Fri, 14 Apr 2023 15:38:57 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id YHw1B5FzOWQXSgAAMHmgww (envelope-from ); Fri, 14 Apr 2023 15:38:57 +0000 Message-ID: Date: Fri, 14 Apr 2023 17:38:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [ANNOUNCE] v6.3-rc2-rt3 Content-Language: en-US To: John Ogness , Pierre Gondois , Sebastian Andrzej Siewior Cc: LKML , linux-rt-users@vger.kernel.org, Steven Rostedt , Thomas Gleixner References: <20230314170502.OHw1_FK3@linutronix.de> <20230314171231.jwtham4a@linutronix.de> <9ee941ae-ae22-f14b-4e69-f81b29bbba4b@arm.com> <87ttxiefpd.fsf@jogness.linutronix.de> <73b5657a-4c47-980a-e709-cd6a880c067c@suse.cz> <87pm86ece2.fsf@jogness.linutronix.de> From: Vlastimil Babka In-Reply-To: <87pm86ece2.fsf@jogness.linutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_SOFTFAIL,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 4/14/23 17:01, John Ogness wrote: > On 2023-04-14, Vlastimil Babka wrote: >> Is it perhaps a similar situation to this thread? >> >> https://lore.kernel.org/all/20230412124735.GE628377@hirez.programming.kicks-ass.net/ > > We are dealing with a spin_lock() inside a raw_spin_lock() section. The > legacy console drivers do this. The fix is the new atomic/threaded > consoles. For CONFIG_PREEMPT_RT a workaround is implemented so that the > legacy consoles avoid this. For !CONFIG_PREEMPT_RT you can expect > CONFIG_PROVE_RAW_LOCK_NESTING to cause a splat on that printk(). > > Or perhaps that particular printk() in cblist_init_generic() should be > changed to printk_deferred() as a temporary whack-a-mole > workaround. What I meant that in the linked thread a solution seems to be forming in the form of annotation for lockdep/CONFIG_PROVE_RAW_LOCK_NESTING to make it aware that on CONFIG_PREEMPT_RT the problem it sees is side-stepped so it shouldn't warn about it on !PREEMPT_RT, and maybe that solution could be used for the printk issue as well (I admit I didn't check the code, just by reading your mail it sounded very similar). > John Ogness