Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp218318imw; Fri, 8 Jul 2022 01:25:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s4eRL9ICkKiYW8u6LSkPnBMh5FlurQb6JHCaTW7uV6/lEU8UjbSvmeGMH33XcAtFBQMBoX X-Received: by 2002:a17:903:2cb:b0:14f:4fb6:2fb0 with SMTP id s11-20020a17090302cb00b0014f4fb62fb0mr2434122plk.172.1657268753545; Fri, 08 Jul 2022 01:25:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657268753; cv=none; d=google.com; s=arc-20160816; b=R7SykZ3wwhgFTF+E1Jjgbz2sjmK9QlGEunP5EKd5i7W1LzggvndbxqqQXiZLKU+AGE H9alON9nVTQa0c3DR7ZedUJgQu4QhjcO33EB6o22Ljy2ryOFc1d7eUXxgMLEpBEns3Iy uC/Fu0bTJIY/HgNbB/JTwl6rHJsWF0hidqJORkc8c7KQhFM9umL2HzUJk5P4/pgw20ou cSOJkip06BJyYAn+RB7C0C/49UQgHgB8PxcvCfy+yLdPZ+qfo2wKkMX9LB8h6kjbnFIR sTBGuRJSS0fZUFM1Uzj+xBm4RX1iEYmiX47eLSSFxT5UQQ8wzEvgnpYfXpzMF4YFHqlA JeTA== 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=slhUfzwux9ajrta/wJhEQ8iOkSClaYWHZmFx03+gEaU=; b=H9RmMLsB771u2cJwSW2kDI50PS5pCEJGI3/OINtynM80EknJPSum2WAybgO+aJ6lXe /4LiVvxjRWAB2jbe6XfVQxiOKwSth4KFPZgCno1EfrG/+nTa+3jfzE3EMhJaVurZD0U9 tER1Qb38Ts/vDAOuVpr1u3nWDtROybGqo522kNFFMLRvYnrTLdNRUFwneUwoOit/m1v3 tIHGKNuBqrxPYrPYC5zQg2YicpdZ/cU2CtToF2PJ/4SSmQDM5vomB2aLsGcj+g9WUrUQ A+WgwLI0tIwTtEX4/ocLTb1JpZ8pLWQuPNR32oA7HelGKOiiGiDuO0fIkjFeFflXW2id 6QDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ifC0jjjB; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=4qsGIFQ7; 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 c23-20020aa79537000000b005283dd63ad1si25562996pfp.334.2022.07.08.01.25.40; Fri, 08 Jul 2022 01:25:53 -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=ifC0jjjB; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=4qsGIFQ7; 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 S237482AbiGHIBO (ORCPT + 99 others); Fri, 8 Jul 2022 04:01:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237462AbiGHIBL (ORCPT ); Fri, 8 Jul 2022 04:01:11 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08E617E028; Fri, 8 Jul 2022 01:01:10 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1657267268; 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=slhUfzwux9ajrta/wJhEQ8iOkSClaYWHZmFx03+gEaU=; b=ifC0jjjBGQwIsVbinNt6MMrPfUTeosvK1q1gjv+wToOJi5HMPJsDFOmX5IaqnGZzcNFNDV YNfxaF+9qNGU+ir610gTvtgjCaNRw0nvdBBNjAjyxkOTdi84xJjTQchM7dNFYED62ymH86 5+YXuj4+Jt/rkWhFeOTr954iwlZRcpTGfTYA7+16Vy6HFYf5zMQtVHwlWAcmSqBLJX4/dX YoeKVJJfv6P+7Be5X8WfoWWtO5pHBmWq1Uv1WRVQnSEYcubuGAhRw9/Gv/B6W3gixVOwIQ fmWU1KfX3CDgidNaz8Ij6uEKqspvHKtaozkHfuD1Ri8ulgYyMIz0TzLeMvlf7A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1657267268; 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=slhUfzwux9ajrta/wJhEQ8iOkSClaYWHZmFx03+gEaU=; b=4qsGIFQ7K5tDhZLDNlwXWOpfdltBY0rkY77dwhQ8+uvGdIYKvSPiB2oUz0HdD9ukOmDH+T GEXisYKmJj4MjpBw== To: todd.e.brandt@linux.intel.com, pmladek@suse.com Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, senozhatsky@chromium.org, rostedt@goodmis.org Subject: Re: PNP0501 serial driver takes almost 2 seconds to suspend/resume (printk issue) In-Reply-To: <51b9e2cc3baf61a604bd239b736ec2d12f1f6695.camel@linux.intel.com> References: <12fb98fe27e23e3f74a139e5e8eb83a97a343372.camel@linux.intel.com> <51b9e2cc3baf61a604bd239b736ec2d12f1f6695.camel@linux.intel.com> Date: Fri, 08 Jul 2022 10:07:08 +0206 Message-ID: <87czegxccb.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 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