Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp142145imw; Thu, 14 Jul 2022 23:13:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tXNDv8O+2QHlzRisdvfTm6PZjnE3Xr9MWvs08XNeswyVsv6FC5BB+7d1C6TLBO2QKQM5gX X-Received: by 2002:a05:6402:448e:b0:43a:9d20:a4ec with SMTP id er14-20020a056402448e00b0043a9d20a4ecmr16974738edb.269.1657865608080; Thu, 14 Jul 2022 23:13:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657865608; cv=none; d=google.com; s=arc-20160816; b=QeMZr6DOnWNeu34MwRPwAvt0igJbP6habCN5WEjiDa9LIdYRpPU5YeiZdMtnrmfccv B69vz7H4UTa4DaPqHbxIHEy0qD031l0nP3JG4cRfHZOzGWkB7roPpvD8BwoaofTRiCCv f7gQMOSrlhy0wdzHJYZjwnI3srDsvwpVRdabwtLIFBGDKm6COxdyUbBNrCpCFZ7gxPcI 29u0F9X/9GXjVqNqTezHD01z+ZOmx1J4MUaQMhxyUAU1S2CA1WejzCUHsFAb7+yTgzhl BG9ykkuEX/Dr34ibeaBW8ZTNxgMUctpIcl8RRMMFp7q1lnJTLhCrUs8+5lWCZ/LtxY44 RZvw== 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 :message-id:date:subject:cc:to:dkim-signature:dkim-signature:from; bh=qQR4jQKCvnLBO+TkSA8EJU9n4EeQ3EBifBoxgctNi3I=; b=xMh4z/1wpsfQQcau13KrVHLSD567MuKhy16bd2klZ91N4RER5axKlkPMhwb47GpQ7e JohNYedGKsabPHvuF9UWVnZCu9OPaQbTPlIcrab+nv6yAxIZrYesY6JmRjpfCv6Tuo5B zwBkNHcf0XwvdrZkd2/8QeE4XQ4eteBD2C+lJabZdWttcAmXamu/wdjZ6XmKXueFZ9t2 hT9iH6KM9NyefhaYbFYQ9limwJHxGmKBXWFGNqYxpUbJVbLXriZZ4nWk3M8VDXgXQZ+c jH5EhCXqhgHADIariK5gvAkEaV8r5ukRkrARy1uMi/mvvRfYYZVh1QEWInavP0xhsyCn Q5jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OfH8rMUH; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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 nb37-20020a1709071ca500b00715849159c7si2907616ejc.56.2022.07.14.23.13.02; Thu, 14 Jul 2022 23:13:28 -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=OfH8rMUH; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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 S230292AbiGOGLA (ORCPT + 99 others); Fri, 15 Jul 2022 02:11:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbiGOGKs (ORCPT ); Fri, 15 Jul 2022 02:10:48 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5967973912 for ; Thu, 14 Jul 2022 23:10:45 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1657865443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=qQR4jQKCvnLBO+TkSA8EJU9n4EeQ3EBifBoxgctNi3I=; b=OfH8rMUHH71hYG7VPTpy8eIshBel/I2kG+LjqqZhFVKNOq09BgdwZLvKCbClciymFPazD8 HzrFAVLUtIbKu4cLSuwIVn2E0pM/cS0JyOFRmNXeD8PFFsGN+uBZWBhd8y0M/DFqEwYFqR xrlZG9RG4oaSyu0zK6B9ZUXaMtsyOvpanFUdvfR99Kp7PKN6je/MWuIrbn8HdafLNMbHEA I3hUDfO6SQEbGrW/vm5dvn2utBpE5Hj/ifznQo95I4Vjuq9sEmuZaXPWmX+CzmdLayECkd Sdp7nOG6qnno8AsHVzIWSIV4st8VJ0zS5wTNAwjJp8eieEtR1FD9dD0q4FNCHw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1657865443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=qQR4jQKCvnLBO+TkSA8EJU9n4EeQ3EBifBoxgctNi3I=; b=xQvYuccgpRqsCk0LDPuDweJgRgbS7k9Pddpnt87IK2QvBq0iKGxqevit0xH9shFZ8NGuXh ZWJy49BCC/yTehDg== To: Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , linux-kernel@vger.kernel.org Subject: [PATCH v3] printk: fix extra suspend/resume delays Date: Fri, 15 Jul 2022 08:16:41 +0206 Message-Id: <20220715061042.373640-1-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 As reported here [0], an unnecessary delay exists in the suspend/resume paths for certain scenarios. Here is the fix for it. Since the extra delays were introduced in 5.19-rc1, this fix should go into 5.19-rc7. The changelog is in the patch stats. John Ogness [0] https://bugzilla.kernel.org/show_bug.cgi?id=216216 John Ogness (1): printk: do not wait for consoles when suspended kernel/printk/printk.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) base-commit: 32346491ddf24599decca06190ebca03ff9de7f8 -- 2.30.2