From mboxrd@z Thu Jan 1 00:00:00 1970 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 BF6A5CCA47B for ; Mon, 11 Jul 2022 11:04:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229605AbiGKLEH (ORCPT ); Mon, 11 Jul 2022 07:04:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbiGKLDv (ORCPT ); Mon, 11 Jul 2022 07:03:51 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2207BA3B3 for ; Mon, 11 Jul 2022 03:10:50 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id e16so4353578pfm.11 for ; Mon, 11 Jul 2022 03:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8hQbQuIkXH2nGerXV36d8aZidSoI6QgUgjQAkOlJd1E=; b=HNqkU+6COV5zPrcjrdTrk/MnpONKK1qsXD/joQnTTCWeKDnbrIlpVu8fG8OTdmG0cu NbpQDgkbIzDhDD2e46iTwhJVe+PrFSF9dfCQciCUsS8xrR03uHUd0DoGp8S2bIkR4B2u fSKcJ6tHuDXTFJNG+Q99FGejke7l+U0ktxeCQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8hQbQuIkXH2nGerXV36d8aZidSoI6QgUgjQAkOlJd1E=; b=v9hGAR7ZBa7mTEc5+omN8AbosBu37IXhw83zfl5jz7gT0cF+L3N9P3i1wVATR22Jha G1UUv/fbwDJps5VjnXL4qwLsbUDd+B1cZNzg5oaQaJ2ro11G7X4APHuUJ6AEzkcHVups LeJ6nz/OjPI8cwgepYCrtG8DVupdu/BGz+KadWrhzzgE9/sNDYG13IJSDjKQBEWHs5tf +rAZoX1XnRWw9WLqO+ACY+vDl9Bh0jsezpMK8matdaZyEvZ0oxb9Pxn2kUfbKFJOZ9V9 4ebsGIrvz1bdgCjsk+0RtrHcerp2HYmwLlWy0RPfFDJzRSqw5kWtzmJEBGoqFzIHxNv0 zrEg== X-Gm-Message-State: AJIora90MiVfoPqFgvbPt2TIc8T/qLoQlsThjT4o9JcZWsGzMnMrJ1Ws LIYzg2pRoeD0uxU4DxZ/6rWgHA== X-Google-Smtp-Source: AGRyM1uzUJheRLsOh6g4rN2qYYRG9lFr0c+/BQ+0Zzqd4yX/KG08Rl0SlssZT8yQL6EuogWTW0hmrw== X-Received: by 2002:a63:2a8f:0:b0:412:5278:b90 with SMTP id q137-20020a632a8f000000b0041252780b90mr15136947pgq.363.1657534250032; Mon, 11 Jul 2022 03:10:50 -0700 (PDT) Received: from google.com ([240f:75:7537:3187:ef9b:8bda:6cfb:9c5a]) by smtp.gmail.com with ESMTPSA id g6-20020a655806000000b0040c74f0cdb5sm3864633pgr.6.2022.07.11.03.10.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 03:10:49 -0700 (PDT) Date: Mon, 11 Jul 2022 19:10:44 +0900 From: Sergey Senozhatsky To: Petr Mladek Cc: John Ogness , Andy Shevchenko , todd.e.brandt@linux.intel.com, Linux Kernel Mailing List , "open list:SERIAL DRIVERS" , Sergey Senozhatsky , Steven Rostedt Subject: Re: PNP0501 serial driver takes almost 2 seconds to suspend/resume (printk issue) Message-ID: References: <12fb98fe27e23e3f74a139e5e8eb83a97a343372.camel@linux.intel.com> <51b9e2cc3baf61a604bd239b736ec2d12f1f6695.camel@linux.intel.com> <87czegxccb.fsf@jogness.linutronix.de> <045ebee30af2b80aaeace1dab18ecd113e3f17c7.camel@linux.intel.com> <87tu7qvx1q.fsf@jogness.linutronix.de> <87o7xwbuoy.fsf@jogness.linutronix.de> 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-serial@vger.kernel.org On (22/07/11 10:13), Petr Mladek wrote: > > It seems that __pr_flush() does not check whether all consoles > are suspended. In this case the progress is not possible and > it has to wait the entire timeout. But isn't console_suspended set after pr_flush() call?