Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp471152lqb; Wed, 29 May 2024 00:44:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqqe0angAH6v70cedIZJ/A1zLp5PVk/sl+d1m/dyUmhBHsvgr58R8w/CMt/2TQwi/OFHymDp6cp1P9FFMHcMVnAcs15thj+Rji5glFZQ== X-Google-Smtp-Source: AGHT+IFud/PcK4GnWxFEF4UNGed174fa84OfHPzX41q2zQcmJepQECv0zGpumU4fCW+OiEd6KL6W X-Received: by 2002:a17:906:50b:b0:a63:582b:8ac1 with SMTP id a640c23a62f3a-a63582b8ba9mr179093066b.20.1716968687479; Wed, 29 May 2024 00:44:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716968687; cv=pass; d=google.com; s=arc-20160816; b=LL1xzBwdOMZpxRM//m9HaANE58CceL7qAZtGW+SXRSi72VtgLnfiyITtixXO/YDS+c LUyUNhJmqsIjnBtiK168OG2hN9FlRREQz2Lg1lotnzA4Un2VTR06B84yo2Dk9hEuMWTR 5cy4htQlbLi+/mZKj8IxSTkz4UwuIVxiL91zN3CJmeUQyBFT4aU21Sk8QVXoB7OA4qnG N/DZlw8Rv8hun21zqPpaYUGcFJVBbLmvo2DegPbv2L3qWSOO+N6miT0SbDgpR6c5wF84 aLSW7DCIt+haFnEuPkKyqzkVmmcDU7BSOOBw8Rdi4KJweTJ3vDf6urzrvj8gmHYtc0I4 /UEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=mE7vhuw8E8wyrs8rvI3fGpK9jO0/z9blbeaNe3TtmiY=; fh=eFGu5WIjR4U64pTs4q2eCH+0X1BVbPPTDuHAA41c3b8=; b=KiUYBotRaiO9/igVSTO95gOmB5tJf3EaMu8IiKUvQQonFGvIdN3kiwqWezmyIby/Ym iYFM+1QpIda+rw2B+4VQf6C1Zfoa020bBE4TRoMdTV8dkMNahgO5V5KQ68XMr81KKREQ Gbw6ElMBqhMyC4ShZjTkhSUgAdm/q5MtaZ9cXl5rIJjoKTY/IPekyi7KGuR6umHAw8Vo 8ez7+4O/vxH7iE8QAsdTzYX1mZPoc0BffNxd2Z4/9TR+ZNNIpowInyn7n+9F8OE1Ti1T p8aAiCUJ/WcredA6g3H49psjZ64Imk35WG0LSlATM5tlNnJHJb8xPh7BWSZBqOe43R5o Vryg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PO0OiuaF; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-193617-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193617-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc682b6si607472066b.646.2024.05.29.00.44.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 00:44:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193617-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=@linutronix.de header.s=2020 header.b=PO0OiuaF; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-193617-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193617-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 2C9A91F232AD for ; Wed, 29 May 2024 07:44:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 38B97167DA7; Wed, 29 May 2024 07:44:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="PO0OiuaF"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Q7rgiyBu" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 1E89D167D82; Wed, 29 May 2024 07:44:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716968673; cv=none; b=pXBfQxUgvBh/1O5hEDJpBmgLXTV1dQBZW7iQOAAk9kKkDJTyeypy9UkbDhf5FI6OHIw5xnQFPyxZymROFSs+9/w1pH93GpRQ+by3l5Ua8wd+tIgl+/AEj9mqn/kAc19CcUh/gtfyAkJ+uM/4c9wZsQT+XML9NHYRY5Z6NSqLFNI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716968673; c=relaxed/simple; bh=l3e4XGMHeqcaFp3c1alhM0SyyJVOB5RJ7bsPdFCYRN8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=eCjxwpoEq4EGHul7hmisiRL+cEo/bC+Va4MyTUdy5nJJtGvoKCCYd2mwaZpeK28CSRZ+KnOT4MwtJQ4z+Q4x/5uEPSeLvNkzfYKQIo4xrMMO4oalhkTl8Igxqd+F+q42TXAXrJQ0aK7C6XD+Sjfr47jvbTC1QarKfknJQVKtIjo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=PO0OiuaF; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Q7rgiyBu; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1716968670; 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=mE7vhuw8E8wyrs8rvI3fGpK9jO0/z9blbeaNe3TtmiY=; b=PO0OiuaFLleooo1+dtSkvMQjkTrFudYxYH5KWj6YOvItGVIGS6JxJZbuq8RCbxWBYaTIx7 s21/4z3VbO6X2qMsQtjfU4DWk3GN6/0ejRB7x/gpo2UQKNorZ2lCuMUmlUKLl5apnwQ7ec GQHz3XCGa7m6ILRNSZ86Ij614LFIs44DoJZj0mWP+Ai56Z6HUf3pS8WxMu6lznQbJAvzEh gVtSyeQY9dDR6TE44DoQzIrJY8FMcBrI9cW8YSr8d/8o5nVILoIpgdI8J6GVqHxoMm5Zij h8//lbHMoCfCSI7AQEN2TKeHFSahkCSuJbzSdvGjZw3WpezkxaH0ZRGMJOhrAQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1716968670; 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=mE7vhuw8E8wyrs8rvI3fGpK9jO0/z9blbeaNe3TtmiY=; b=Q7rgiyBuaPBuX9ChZ48AH9RKAG5r8XoZwmgSilvIKza7XbFzr6wsuccCBuyuIlvaeuxgTB tplYnc+/FnroHHCg== To: Tony W Wang-oc , Dave Hansen , mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, mat.jonczyk@o2.pl, rdunlap@infradead.org, alexandre.belloni@bootlin.com, mario.limonciello@amd.com, yaolu@kylinos.cn, bhelgaas@google.com, justinstitt@google.com, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Cc: CobeChen@zhaoxin.com, TimGuo@zhaoxin.com, LeoLiu-oc@zhaoxin.com, Linus Torvalds Subject: Re: [PATCH] x86/hpet: Read HPET directly if panic in progress In-Reply-To: <2553dd17-f763-4894-89b7-5f76c03d3a37@zhaoxin.com> References: <20240528063836.5248-1-TonyWWang-oc@zhaoxin.com> <50fc1bd3-909e-41c4-a991-9d81e32ef92c@intel.com> <87wmnda8mc.ffs@tglx> <2553dd17-f763-4894-89b7-5f76c03d3a37@zhaoxin.com> Date: Wed, 29 May 2024 09:44:30 +0200 Message-ID: <87ikyx9i5d.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Wed, May 29 2024 at 12:39, Tony W Wang-oc wrote: > printk deadlock will happened at #A because in_nmi() evaluates to false > on CPU B and CPU B do not enter the panic() AT #A. > > Update user space MCE handler to NMI class context is preferred? No.