Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp1275282rbe; Fri, 1 Mar 2024 09:08:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXNtB4elPoEwun805gK8L6Dr0XKzk37I8ZJhhNdBlKY2hkZe2r8umtd4stSjBzhCtU/bx6izeeuZtpw9xr2ZNbDpcqFqo8Jx1aETk6KTw== X-Google-Smtp-Source: AGHT+IEb+mWkRPujQiTYbJH0vmNHNwjJQbiwIxW+PX1d8ZRr/SWJOzVCoeVKne6Ckma4Pw/mjGkH X-Received: by 2002:a17:906:f355:b0:a43:a12b:1951 with SMTP id hg21-20020a170906f35500b00a43a12b1951mr1818059ejb.2.1709312882448; Fri, 01 Mar 2024 09:08:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709312882; cv=pass; d=google.com; s=arc-20160816; b=EnbEDJ4kIZoxEcoQSwHfh5UUqHDkESc+MZU62E061FlEPGv39Xa5+hU4u12i3JGIFR 8bjT6zjr7Oq9OVAysJhCZpwtlWAoDQOnixBo16rI+XZp3cMnfjI9N2sPfljZQtnI0Wq3 ZwV/TzOB3XsA6+4wJ+WKnAEVwMvLK+P3TSlX1yfp52gIqbsXktwoxZpJuABBL11S92I6 p/eNN+vaG9mMaOKUsEF9zHemOujsbJRWkKMYuqM2ZZyShuRWtEZ1QCNLC4y6MrX4Z40l pUm2uP8FHx5fvQnkSdNYHIdT9Qb7VPTziQz530CuMRoXTwEy6gc0USOskfnbK14SDXJ8 t9yA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mnTwiMADK8/eZ4X5li0kPAr1pEQ+f6B4THtEc6ABCsk=; fh=8zICsEG3IuAPrTKZAhgu/MxiYKmAYUfs0OjL4sbO278=; b=eYiEtJrBJ+v08GvVj2rihKYeNKQoY1+n9OfC0GalyLjFYa1Ej/4bj4bb/WNInf73Mk gGz7tRh2I5v9iZqSC6XdokN8sQM7iunm4rzTGfSSyfWvODGcMGpmSNUZP+QOoQeLh2jE apSi38/kU26oBqHdi/JbqR17qAKnu/dYahb8oK28II2qrpn7QFNH3kR7O3tfrRfyt/G2 WjH4n8AVVFNSEUW5XX78edWRBYYdvktMA7Hd/ySLIGgEQfOVlsNBqCARxYPNy00gxL4m XPZWdrxN+52aegsQzQgylc4+Tc3lIpwilxpSbNJAJMhckRAC2O3g9aQtXPpr/NObmcGM UxCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TvL4sdkh; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-88778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88778-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f11-20020a170906048b00b00a412f5dd982si1518989eja.176.2024.03.01.09.08.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:08:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TvL4sdkh; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-88778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88778-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 12FE81F29F2B for ; Fri, 1 Mar 2024 16:57:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 90A9639847; Fri, 1 Mar 2024 16:53:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="TvL4sdkh" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56DF22F3E for ; Fri, 1 Mar 2024 16:53:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709312005; cv=none; b=M01kuaGwuPdVEzhikp0Z1IMkaQwPUUWGBip763iXWJkx0zZx2ZoRqUxIMCTJ4/0R/i7OQRMp65293HyajTQV+PnthYonp60xDPncrqttkGzzUNsEpYQt/Fg5CGvLuHvs2WLjaCTNRHBNP+DttIzTT9CZyigo+C/laT1SHiltoo4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709312005; c=relaxed/simple; bh=Bxr2z1UM0sWuyWBlEwdzeGviNQBX/Cz7gaBXN/LSnFQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JvVGyLbQhPE/Z7x5kn/pzGkuSHtqPQFOdEvkM6JFVywIxwaf1HuNwltJb9upRBBk6NXfv/YlNVghx4uHl5GU6XbMGeAjov4Gfq58KaxQEU1169iXuteAAqSTCNoT6K1lW3KO0Ha1RfRW8kdcg3DnoTcmGhGkCdb41QW9BmBQZOU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=TvL4sdkh; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709312002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mnTwiMADK8/eZ4X5li0kPAr1pEQ+f6B4THtEc6ABCsk=; b=TvL4sdkhcQz74QIT538FOuG8UPbFtNb5jB957X316FGUIE8F/Ytg3J8Thv0M0J3FDwoLQy RxHFpy0py6oGvZI584gH5fXu3kAndUFESLvByQbkvuotk8wLhxvNdMsGKUkTZwcx1tS/VX BGIFWQrTBX4+BLn1GRHhEhtgEtr3RlA= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-427-SfY_3-pQMCiEjUTw1RGCGw-1; Fri, 01 Mar 2024 11:53:21 -0500 X-MC-Unique: SfY_3-pQMCiEjUTw1RGCGw-1 Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-78810ef9d5aso30551785a.0 for ; Fri, 01 Mar 2024 08:53:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709312001; x=1709916801; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mnTwiMADK8/eZ4X5li0kPAr1pEQ+f6B4THtEc6ABCsk=; b=btIdCRhDRimM5rUudOIuRUfDy6yrR98+NVc0akjluux/TGYrP1bKFa1KQFtqlLbe7d 27vXOrzjMPXLblpzKUnB/zuRXtAeZEc8m+SmBCSzUOt88NAgxeAhvOIUC83xTb5klIU8 QSumTCi08liX1BeD4raSCQOVbMvyhRI1hSB7KFGU50RwyVfIzu2twPpDb3UW0SjxAyYu 8B8AMXVAOHwTMV1Uqb0FdvBaot7DI/VcwdKXPmVfOHFQSEnjZXYwISmbR8bo6JbquFKJ QN3FCr3s1asemQzcob/klz2fGkS6YJifl2rK5iiPMIo23jGZeukc+3Tov7LONPZLIYyG oxTA== X-Forwarded-Encrypted: i=1; AJvYcCVM5pcz+K6WshyCq98qP8gKnJsbWafnAt5J32My0y/1RiYdw/0Y+WnJ+rVW9O67lvhPKQTqa15hVEduWh9uZRx9p3anHc5Xqp5+Iou0 X-Gm-Message-State: AOJu0YxzW/XY/E3kTCDuebqIZrSUsVu5AeUSFGXUAfllNKVryipiBA3c tPdk+kkTxrkdPNjxlEpxc76hKP4zWHxmFeFVmm7N7K7IWTxIODAqy2lKhyLNy/TOJjSRV3PMY4i tMoCwBUd0PtE0j2RXcH0ModqSH1IiQCSlSB2rD6jmjAsLQJ6fhbfA+E2/axGeLA== X-Received: by 2002:ae9:e119:0:b0:787:ec02:92f4 with SMTP id g25-20020ae9e119000000b00787ec0292f4mr2233161qkm.19.1709312001070; Fri, 01 Mar 2024 08:53:21 -0800 (PST) X-Received: by 2002:ae9:e119:0:b0:787:ec02:92f4 with SMTP id g25-20020ae9e119000000b00787ec0292f4mr2233147qkm.19.1709312000847; Fri, 01 Mar 2024 08:53:20 -0800 (PST) Received: from thinkpad2021 ([71.217.42.17]) by smtp.gmail.com with ESMTPSA id b5-20020a05620a118500b00787ec3a77c4sm1781021qkk.100.2024.03.01.08.53.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 08:53:20 -0800 (PST) Date: Fri, 1 Mar 2024 11:53:18 -0500 From: "John B. Wyatt IV" To: Petr Mladek Cc: John Ogness , Clark Williams , jlelli@redhat.com, Derek Barbosa , "John B. Wyatt IV" , LKML , linux-rt-users Subject: Re: NMI Reported with console_blast.sh Message-ID: References: <87v86yc88b.fsf@jogness.linutronix.de> <87a5o8j9gp.fsf@jogness.linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Feb 29, 2024 at 12:15:28PM +0100, Petr Mladek wrote: > On Thu 2024-02-22 00:21:19, John B. Wyatt IV wrote: > > On Mon, Feb 12, 2024 at 04:23:04PM -0500, John B. Wyatt IV wrote: > > > > I found 2 additional NMIs for a total of 3. Number 2 is very > > large-please feel free to let me know what specific information you > > wanted if it was unnecessary. > > > > This first one (the original) is with the real-time profile (no preemption). > > The next two are with the performance-througput (no preemption). > > > > This is what real-time NMI reports with the caller information enabled. It > > looks like it is lacking some information compared to the other two further below. > > > > [ T2481] Call Trace: > > [ T2477] Kernel panic - not syncing: sysrq triggered crash > > [ C0] NMI backtrace for cpu 0 > > This message seems to be printed by nmi_cpu_backtrace(). > > I am surprised. I would expect to see the backtrace printed from panic(). > It calls dump_stack() directly on the panic-CPU. And this panic() should > be called from sysrq_handle_crash(). IMHO, it should be (normal) > interrupt context. > > Is it different on RT? Yes. There are no NMIs on this machine in my tests for when I run an RT enabled kernel. > > Or have you somehow modified the kernel to use NMI for sysrq? > I have not modified the kernel source code from 6.7.0-rt6. -- Sincerly, John Wyatt Software Engineer, Core Kernel