Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1659071lqb; Sun, 26 May 2024 10:51:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVzozplqh87g5jicBSINz7fLc4IClGiqlGPx8TI4nrIbgnzHBnLS1WMB6zVOz+U5u2q+35bBDNgL2aEhtnUjpkRqP6pyIOE+KL5kC4ZAg== X-Google-Smtp-Source: AGHT+IHbIVZEuoI00pxjcrxRx6Oep2wojFWiekFJ4Bki4xLa2IWOJvh4DX1Ke0YerDqiDd7uxtlO X-Received: by 2002:a05:6358:e48e:b0:194:9edb:f7fc with SMTP id e5c5f4694b2df-197e565d810mr998842855d.21.1716745904458; Sun, 26 May 2024 10:51:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716745904; cv=pass; d=google.com; s=arc-20160816; b=Mccc9/bUYNa94DkUvVZ8gkgL4RGPlzeYfv3IADHXlFaOuG2R8kHk6Emk/Ljgy2YkZU jZl+ST+riP1rzJxF+DCmEEZec93yWGHrxryzuTNF34oGWXPfenozS2lVILg/5U8NddDU U66edMkYG6DV/kLpaGf71YiNNRXhOR1kKdA4bznxhIvza9W1OQz2JpdggxHZJtOgx2nm iow60FF4LgtcO20dVqmBkHGKQk7V3uzFJUAmz1SUA+TlO36PQeizJo5rnFR7N0S5WrcU 33CSY95Zm4a4o3BYttFwPrSXuzbD7+eWRpPsPCzd0N/xYEt4ki4/DVD1tQ4HCWmCiWnT 6e9g== 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=W3r4vIslQHp+LF+Z5/5dj9t9dmVGSNrujiV846kaqNQ=; fh=ZGAN3Ou8fZ7UQxP6Jp6iGycnhQdQB6WQ4VxwRp2lS7I=; b=BTJlQxzAIKXv96XNVi7r2FVKxFRls4f1AWlXA1Gn2JILS9feQroHgtf3C8h6nJ1FZh ymqaHdvznPrKYK4PlyD1me7nAKLjpAx6bu7mc/P5Fls3SlvhmnH1uV/9QcyIO4vAtlsi k/35VYAU/r/NbePDnvomFQF2MTSeUW+LC1OvBZ8O6zJUk2NyZCRY5sFEpd2fHyrCg2Tr aBTgSsTf4K3OIw/mjQpJTQNyn7dv5VfLDBK6BKshCatRJE4zV4iLHmGZF0jKHUzX/E4Q pJ71j7J25iJg4uteAnW1cnzYzFN2UP+KVYYdEm6uwUezQXJxDmw40O02m/FRr9KhJQ/m tEew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=4RFxme2+; 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-189804-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189804-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822ae56323si1514828a12.779.2024.05.26.10.51.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 10:51:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189804-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=4RFxme2+; 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-189804-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189804-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7FD1CB20AB5 for ; Sun, 26 May 2024 17:51:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D84FE12B17B; Sun, 26 May 2024 17:51:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="4RFxme2+"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="GmWeaa2m" 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 A630FEEC5; Sun, 26 May 2024 17:51:24 +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=1716745886; cv=none; b=Zspg1qRARd5mDQxh1YfBdY7xKP8BzaqZAmHbJLsZKp2L6mPp1aZEbPqppdmshszEhSyBSifhZ/WfyHs2RLJdn5i/ltTUa+VDKvqSN0CDguCnl+Oh7XDlZ0jCPCN3Pvbc9O6JPNvCnj3TbCR80IT87EXZly/CQiUHca3qXwKb4wM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716745886; c=relaxed/simple; bh=fSmJATrahFNhZTbXeAPx7NpqgqqfQgR8k7RfvhRLMw4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=PquHuj2pHzaRIfhAbC8EjMGwo0VAmqSi/Zm7+H+XRwI2iVnSwAPAmZcES7AGJlrj6vlhHdIxF2R/2Kd0JjNrJ5CcGqfZgMHl8kfV6pYtbjFytEXsW04Jps3aXMw+taOh4oMFN5nHuQ72twAfr9D+lo1bMfg6OHWaB06FLsCD6nc= 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=4RFxme2+; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=GmWeaa2m; 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: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1716745882; 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=W3r4vIslQHp+LF+Z5/5dj9t9dmVGSNrujiV846kaqNQ=; b=4RFxme2+BaLd+zvrZkqGVLGCJrK0b7cBBVCyH3npxqn7vJQ8tSJ3yv+56DiyzhN14ydffe l+AgPDJaXgHru1kT7zmxzEggvP1ZC7a2pw5UxaMZParV5QBCPTrpuZ391Tg5CHCtx2r90O 7pMaoWFqAqrp/3kXK6o3Z505I72dy3/j5jwcQSfBTsNo624DGZS2xjy3EXQOReWa8XXQ0Q SlRIBb70dN/GvlleOSrKLbOVisOIrZL4sdlJ0CHFVO2YYB+wRauReRXhLCRtZ6b4WnOVnq qxXduwyT1Do5fApx4NtrmrEB1Orj635FDVAfaZKOjA936CQOnmg/fkR+R1vPfg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1716745882; 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=W3r4vIslQHp+LF+Z5/5dj9t9dmVGSNrujiV846kaqNQ=; b=GmWeaa2mRBegpptHMoZkyEQyzVGQry9rEpEuEpp76NYPn+JQqzuGF+gYJT7aP9//5Lrx1Q lIMMNtZKfoFn1oDA== To: xu.xin16@zte.com.cn, bigeasy@linutronix.de, rostedt@goodmis.org Cc: zhang.yunkai@zte.com.cn, yang.yang29@zte.com.cn, liu.chun2@zte.com.cn, si.hao@zte.com.cn, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, rostedt@goodmis.org Subject: Re: =?utf-8?B?wqBbUEFUQ0jCoA==?= 5.15-rt] printk: ignore that console preempted by irq/softirq. In-Reply-To: <20240523235401355RFqSAGtIPwMKV39mUulN1@zte.com.cn> References: <20240523235401355RFqSAGtIPwMKV39mUulN1@zte.com.cn> Date: Sun, 26 May 2024 19:56:57 +0206 Message-ID: <87r0doo41q.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 On 2024-05-23, wrote: > From: xu xin > > When we're in the unpreemptible context on the same cpu with which the > thread of console locates on, we should ignore this console for > pr_flush, because it's a vain and always lead to timeout until the console > thread get cpu resource. > > Fixes: e65be5f4dc3ed("printk: Update John Ogness' printk series") > Signed-off-by: xu xin > Cc: Zhang Yunkai Reviewed-by: John Ogness