Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3857225rwb; Sun, 30 Jul 2023 18:20:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlGEV9x5bNlziWk3XXJK1rmdatq02LxEYQCS0QO27IgdHyfniLUoLOce4zpLMI2qi4FHznoe X-Received: by 2002:a05:6358:9219:b0:139:cdfa:52e9 with SMTP id d25-20020a056358921900b00139cdfa52e9mr340630rwb.3.1690766422884; Sun, 30 Jul 2023 18:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690766422; cv=none; d=google.com; s=arc-20160816; b=qaQFo+57spnqPv6zUysM3i0qvZVM1+n3w9K2jVVC2xuQL8fy8H/JBrzSyqF5DXRFV+ CftyHNKjs0xVtIgQrQWEfMSrmVJUHyj0A9ivKL2IxwxqTtxGi8IqCEHGPWmUpM6rmelz lHSLxoDGCKgKP4tYzVnogoZUnb1l+pC5lNTSB188BaHe1cYw5RwQO98vM9v1z4EglyMB xcuO6A2Nj8ck5R/+mGeGAVF7XvDhGjvj6dXa/p5Hhe2riEat/EWvQ2DHlDgunh+Z+GXj L4kAK69x+WRkGYIRzSsSMFl5gVNGifsrL3Mi30yycARCLXhZsakbOPVjT0AAFxB/aUk7 hSxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=oFs7h9EMxNcd+Ty4Vxx+P6dcqosiq3WBZQcwm6aIEys=; fh=wKsMNdrRCNXNdW+1HJT7XK3BdYlLYAD+DClRx9ZUX88=; b=IoG8T8NVm7xCBwinHuGuFdST/l2BOCfQ2hrVfimp3p1X8igfc0+2bm8EL/Wbk63MIz 95JiNgyjFYQqnu7EsTsB0xJ0axNOlXfG0dtZoumAi6QlzkQSJFQO8fHCT7AHxT3QzKXX R4FVkAndbupMrXsmP+CxmDjr2VcTQFZtrgzYVxqYSWIAbiZ+jrKfAGaw0cuYLCU4xfT/ SvrJFVFf7qUlaupdmkDKE7qKCvx43AunRHBwO57l1U40HF8E53E68JREgruZEN2zFp/0 KHN8ZLPAJXd1toGP6UBntrj1x5GbNnU9eacbDyTO9mVhhkLfsGT6xHGiiSjtBSQ79ZXZ BBvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HVT1BwhX; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv188-20020a632ec5000000b00563ecfa7371si2444523pgb.269.2023.07.30.18.20.11; Sun, 30 Jul 2023 18:20:22 -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=@kernel.org header.s=k20201202 header.b=HVT1BwhX; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229699AbjGaAlc (ORCPT + 99 others); Sun, 30 Jul 2023 20:41:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjGaAlb (ORCPT ); Sun, 30 Jul 2023 20:41:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F359E5A; Sun, 30 Jul 2023 17:41:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1293360DE7; Mon, 31 Jul 2023 00:41:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93CDFC433C7; Mon, 31 Jul 2023 00:41:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690764089; bh=Id9w+26JcA3ovoOCmq873Dz/XimrlDDtDX+h2mPVv1Q=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=HVT1BwhXGDRxS21WFjAzyUa2Pv5ZOXtUdxpYAnQ7UFGX/YJcdaeoj4Wt+JbndEsxG A4IM3UQW49xYTIatHVmWxi4zNuw50oJ0QGzrheIli5FOd6qDnnRl4f82ZwVU1HfNQU rYLRqtroWcmk/pK3voKAwgvuZJcqug3cp+xPJGKB3mWym286roA69AKDRrnxWWR0b6 /ZN9oq46aB8mdxhcacOxIAIQyHrbjugOIz+qkQoDoUkrL1dRDshmN1tnlYSTHkOQGw ocp/TczfNjQ6Vy30K7nWZAJ2bp4PQlL66mOsla5XoeaWU7JX1mEvMaMvbvBc5kTJLz fsfGFOBgcEqug== Message-ID: <2b7e9239-fd48-0f74-f69b-e0039809c857@kernel.org> Date: Mon, 31 Jul 2023 09:41:27 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: Scsi_bus_resume+0x0/0x90 returns -5 when resuming from s3 sleep To: TW , Thorsten Leemhuis Cc: regressions@lists.linux.dev, Mario Limonciello , Bart Van Assche , LKML , stable@vger.kernel.org References: <0e272abe-292d-d58f-cf80-55868e793abc@gmail.com> <6b66dd9a-8bd5-2882-9168-8e6e0848c454@leemhuis.info> <86435987-734e-c6c1-a857-1ba80da709fe@gmail.com> <48bc1736-5e4e-3a9b-3715-60509c333bb1@kernel.org> <40365501-283a-408b-3514-48c29db36861@kernel.org> Content-Language: en-US From: Damien Le Moal Organization: Western Digital Research In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 On 7/28/23 11:49, TW wrote: > Comparing to the 5.15 kernel which had almost no delay. They are HDDs > though, it was working flawlessly earlier but didn't want to top post > again. Tried a systemd suspend instead of from the Xfce4 logout menu and > everything works as intended. So I'd say that it's fixed now. I posted a proper patch and CC-ed you. A "Tested-by:" tag from you would be much appreciated (please use your full name in that case, instead of only "TW"). Thanks. > > On 7/27/23 20:33, Damien Le Moal wrote: >> "Slow coming back" -> Compared to which version of the kernel ? Do you >> have numbers ? If the devices are HDDs, resume will wait for these to >> spin up. That takes a while (about 10s normally). -- Damien Le Moal Western Digital Research