Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1213499imw; Wed, 13 Jul 2022 15:57:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vZgOPBeXq1JDjesvTWyg+gucYFqfh1nQEKOvtFhRqDCPLbwf6RNJ9ktxDAJvn/KSbOHhB0 X-Received: by 2002:a05:6402:2812:b0:43a:9041:d5db with SMTP id h18-20020a056402281200b0043a9041d5dbmr7960397ede.208.1657753071900; Wed, 13 Jul 2022 15:57:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657753071; cv=none; d=google.com; s=arc-20160816; b=eH8vfnWgIIEMvkeLZwtiifSa+eAE4kt6H6WJp8KkALaowaxvC8Wyxj44uRxa01SQXR G0+W9FNpuReUJFFg9OYxM+ZYOCendAyqcCQnAoWhfc16KbO3GzDtbDV5qyICKXIExonX uFHGDTcFgaeT54zlyklnM0J2U8Oly76Z6C5hPT6b5qnl0LiEmR8JLwz9nWeK/zLDM/pk La4EjFldOA1s5By5r7wCOq6TMo36Xftzz6502MqFNsxAcg0FsyzIjsaBRaWJIYRWdvlo YDWl48Hr+i6KqZmXQGa2FEz3NDSRskeKpTCtmZQIFeRgFFyq4e3tNGRPXmOd0EbOhfPq kp6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=YnBn9SiT5WrnT/4mLV7Ah48VHNLH73En/1THWTXmgH4=; b=L/mPOY0IiB+c67lHD6fU3gDvZFUhDIaxW5EjWtANEhUZrqIcz8ivAMdqm8bboKWhFC 74UT3+qjiWfUvObacfQtuxD/AKWsHVpoA6guVU6+GGDOjq5gtb6iOk9+0PEi/ACpmbAa 8iK48OI1V9gwO5REz0eQ3LbyU6zpRIKwvjSYemrp4eFsG6zmFlidxZ7v2YeBrm2+FZcc GnvAkFf7KaY4m3EMSu08ojBWm1RMDxmsT/XAMcZICBYEJ+G45nxWLu0DRUIXIS4qFViX xXCN7hJ3SfD0WwMxP6Oc3q4VnFAlO71OY1hPHHqx/T9mysGFyCfhjnAaa18sdtqFMY2a HOtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=xc4A0CCf; dkim=neutral (no key) header.i=@linutronix.de; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d12-20020aa7c1cc000000b0043a944f4458si16727977edp.573.2022.07.13.15.57.26; Wed, 13 Jul 2022 15:57:51 -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=@linutronix.de header.s=2020 header.b=xc4A0CCf; dkim=neutral (no key) header.i=@linutronix.de; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237433AbiGMWBJ (ORCPT + 99 others); Wed, 13 Jul 2022 18:01:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbiGMWBI (ORCPT ); Wed, 13 Jul 2022 18:01:08 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FD6431218; Wed, 13 Jul 2022 15:01:06 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1657749664; 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=YnBn9SiT5WrnT/4mLV7Ah48VHNLH73En/1THWTXmgH4=; b=xc4A0CCfR/DqNBm/26nzSMUenJbgvtBmO30hw2aGZZ9YXIvZCVaAo7RZK+nejrW1WrEo4O +FvyYW2g/Q1PUUiL7p4nCn2U5Qvzw/PeQc5lKVY7p8dDQGmXYjz5+4I7qIodB2aUdfor6h YoWkF6CVOVQ69ABDtlZ9AOjUpeaXR/FKxYiNeeSlMXq8M8o73llLu0yj3eOCWUIPIx4CMq IUAhu69YcJ9gbMoQkjul4xRmoLtsqaxjsdmky6z8Te++Lz3ybaEMg7ANVuvVnlXxBPZziQ xFyzyEHtrThUqHQL+BaA3AL/Z/GAOxY/blgix2EG7K0p7qYww17lDxLc24lCdA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1657749664; 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=YnBn9SiT5WrnT/4mLV7Ah48VHNLH73En/1THWTXmgH4=; b=XuMw8bvJzqqx00ogc3ukYl45zs97QqC/1oMtsX9weKzewKXIc10g0RhaRvyki3N2y7byXq bk7IvqpqAfu6kWDg== To: todd.e.brandt@linux.intel.com, Sergey Senozhatsky , Petr Mladek , rafael.j.wysocki@intel.com, len.brown@intel.com Cc: Andy Shevchenko , Linux Kernel Mailing List , "open list:SERIAL DRIVERS" , Steven Rostedt Subject: Re: PNP0501 serial driver takes almost 2 seconds to suspend/resume (printk issue) In-Reply-To: <875yk0908j.fsf@jogness.linutronix.de> 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> <87ilo1wdac.fsf@jogness.linutronix.de> <7d79e9877d63cdb74144f38d8736959281b562cc.camel@linux.intel.com> <875yk0908j.fsf@jogness.linutronix.de> Date: Thu, 14 Jul 2022 00:07:04 +0206 Message-ID: <8735f48yfz.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_DATE_TZ_ABSURD, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,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 Hi, I have posted a v2 to bugzilla: https://bugzilla.kernel.org/attachment.cgi?id=301414 This version allows console_stop()/console_start() to flush for the non-suspend case. Please test. Thanks. John Ogness