Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp936737imw; Fri, 8 Jul 2022 14:49:21 -0700 (PDT) X-Google-Smtp-Source: AGRyM1twfesPjThs5Ip8lptSvmrmAnv2H5pwY2w7HxoRFjMPQCYVwzvfYtS3n0aGozVgZZHNQqH1 X-Received: by 2002:a17:902:7792:b0:16a:463e:296c with SMTP id o18-20020a170902779200b0016a463e296cmr5880086pll.138.1657316961100; Fri, 08 Jul 2022 14:49:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657316961; cv=none; d=google.com; s=arc-20160816; b=Bt7T2t+RaXWuNoOkar8SgO1YEvNnzSBdivX62evBrEYCU8QLtQOATth3OAWdOiA/Pu eg/amq3u/X3kcf39wUrVOPyCh213uyOH2yPQDPERMtLwSnmPj+GTwsbeLx6AYdOeE4WD ZjCUD8F5Bp9iqsVcHLUp2CIJcietEC/ncnu/GJ9jBG+p61D907yH+2FQoztiX4SWJ7pA gxju2hK8CpA+XxbFR1N6usInu3mPsp0TSgVu83Ub1IwxTZ8M3AfRdwaQjHaw2X/VUPwO +IEHfqzyPRfGndVK+TfjWfgB0NLYJH8+GS47U7vi5eNLy2+hoIFatnI7WDoFXQAeqLOW 0f3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:reply-to:from:subject:message-id :dkim-signature; bh=NotIEHuttSnk0sH/2u/yMfyRiSbtCqX2oKyAw+YUNMI=; b=BGLgn3wHR5eY7zlWWWrxMiojTjlJS4xzMquqkjKEfmJ5WA1/IByS2grDmpDm218OL8 3ML/wiMHYEbFQlsjaLaaWVyXWI3obNGDvGgHXEmyr0w154+lyu2SMlC+oA/MtCEZo0U0 fIug0sILZYvT38QdKua+Jh9UI26Qy2JS/sGuN9x3DNEhRLIl7KHeGtIxWKnkzaLot7e+ xtOxbXynqVC45rzfOSnWoGNhJuJYe4aNbKca5r/qGcxrMpAVP/nQqtvJ5BkPICfoulgq VafT2Ng8bIzmQPD3+/+uo41ceuRoG4ZGhKJ+NWL2GPlbEY+nfg0AFyWhH2FNOctY4OC4 AYxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=m8l9F4PV; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 185-20020a6303c2000000b00412f6a2d2besi9035637pgd.548.2022.07.08.14.49.08; Fri, 08 Jul 2022 14:49:21 -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=@intel.com header.s=Intel header.b=m8l9F4PV; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240014AbiGHVgD (ORCPT + 99 others); Fri, 8 Jul 2022 17:36:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239233AbiGHVgB (ORCPT ); Fri, 8 Jul 2022 17:36:01 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66A68A2396; Fri, 8 Jul 2022 14:36:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657316160; x=1688852160; h=message-id:subject:from:reply-to:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=Y6FNRfINwjCBhXzxRBDNlrAGOF4VTM1y+XTMActF2Sg=; b=m8l9F4PVNXI9iJDwLDaen1Ki1EBwUu9vVENkxFptw2TUkVV/TmCqkdHE L4AMq8kVfdUEqTJGCNYWjYOrx8a58Io/NtUvjP3Z0wNmhLSjtQ51ld7p1 clKLIof1NCxkDSvky2Mt0GiHCub/AJwdPq4YVdncx9YBFFqTE+deqquYX ieFKRwEzHV1spG336whZejH/b79WBlRfeu9wPUxfaiasMzfWJ4Yj7S8sB P73WiSqmnETdmj9paPfnZ9EQgJCrl26e+Nto/46tbXhgfabXCGecDIUTE q6H12gKnTBL0fpFyl3t9L4DrPFYsBP9aeHk47xJLMoAvcRKEGNDibhido w==; X-IronPort-AV: E=McAfee;i="6400,9594,10402"; a="267410273" X-IronPort-AV: E=Sophos;i="5.92,256,1650956400"; d="scan'208";a="267410273" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2022 14:35:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,256,1650956400"; d="scan'208";a="736473055" Received: from wopr.jf.intel.com ([10.54.75.125]) by fmsmga001.fm.intel.com with ESMTP; 08 Jul 2022 14:35:59 -0700 Message-ID: <045ebee30af2b80aaeace1dab18ecd113e3f17c7.camel@linux.intel.com> Subject: Re: PNP0501 serial driver takes almost 2 seconds to suspend/resume (printk issue) From: Todd Brandt Reply-To: todd.e.brandt@linux.intel.com To: John Ogness , pmladek@suse.com Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, senozhatsky@chromium.org, rostedt@goodmis.org Date: Fri, 08 Jul 2022 14:35:59 -0700 In-Reply-To: <87czegxccb.fsf@jogness.linutronix.de> References: <12fb98fe27e23e3f74a139e5e8eb83a97a343372.camel@linux.intel.com> <51b9e2cc3baf61a604bd239b736ec2d12f1f6695.camel@linux.intel.com> <87czegxccb.fsf@jogness.linutronix.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, 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 On Fri, 2022-07-08 at 10:07 +0206, John Ogness wrote: > Hi Todd, > > Thanks for reporting this. > > On 2022-07-07, Todd Brandt wrote: > > Ever since 5.19.0-rc1 the serial device has taken almost a second > > longer in both suspend and resume. This effect is witnessed in half > > the machines in our lab (~10 machines). It occurs on dell, asus, > > gigabyte and other machines so it's not hardware specific. > > Please provide a full dmesg log if you can. The important parts of > the > log would be: > > - boot arguments > - any lines with "printk" in it > - timing information > - messages during suspend and resume > > pr_flush() uses a timeout of 1 second. I assume your console driver > is > not printing and therefore not making any forward progress. > > John Ogness The dmesg logs are in the html timelines themselves, just click the "dmesg" button in the upper right hand corner. The log button shows all kinds of system info as well.