Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4724761rwb; Tue, 6 Sep 2022 11:37:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR5UZcK1b0godasld+Ab0/Dnddj6XECHaG7M+esM5tjrG1CnbsdDZn4vfpPi2J5A31ELUCV+ X-Received: by 2002:a65:6055:0:b0:42a:7b2b:dc71 with SMTP id a21-20020a656055000000b0042a7b2bdc71mr46505957pgp.23.1662489469247; Tue, 06 Sep 2022 11:37:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662489469; cv=none; d=google.com; s=arc-20160816; b=dFaP9qhnAM6tKp+1uqeSvZB2RxnxWqFae5CIr/e3Dz4iLZqoxYtLGbujjwaYTV2IaN xKMBD4CGAa0WQ9gNs3RQ6qwf3wg73Ed8u0TJqAmKgRlELasWWW7GgbpHr85yuQ+0T34u +m40ti/94+2nRN/WwMe4O5DlqfLg6QRTXWzxNwnh7IzdExBZ7pzYopOMlDkPyXyxoevj bs6lMm7wkoCtX5ye/QS4lWS5IsuhcZ0JzHY5zldOD8zjAo4hXlfWTx+k/kcF9GuOXGVo deGhK8CelOpZwYTJaE/AEa4SIsy47EsFGXLFcqwcuqPINtIqgCLeebeIB8hRhH5h+zSE MqUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=rgs/1H7bJBh2F1qEKZG0lCHdBWmi1z+ETeD6YVAIZT0=; b=VWsx4zEGZmkS0BxFdyhHese4I1Ogfs9EhYGJuRM5/TfLL+LElLrxxV32f4SefCPjqs eq9EfhwmmoRcbdyttRT9DQV0YOkMXOHtydVe5DLr2QpU/j03AIS4RCQNwXf+UvFO0mQb 2T87rHjWBoPvagVZpzrPiIYdRVbiPpNBV1MPqa/PHW60PjFROB09vzeYaZ4w0JyCBgba yyGJ1U1bEuhj7arxnhtrS+mBGsAVeLs/6hcQS1RnHc8ELdVBQTrYhXgtiqdFkSJ0MpeU Y9QzC8mZAWhcFOJgURwHWOqJW3AB37oCesAJXbcK5BeV0CmNmeQOns9ZqcTH1ppjshud KH6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=O8Py8iy8; 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 jf1-20020a170903268100b00176ab3bdffdsi6193755plb.536.2022.09.06.11.37.37; Tue, 06 Sep 2022 11:37:49 -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=@infradead.org header.s=bombadil.20210309 header.b=O8Py8iy8; 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 S229693AbiIFS1X (ORCPT + 99 others); Tue, 6 Sep 2022 14:27:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229647AbiIFS1V (ORCPT ); Tue, 6 Sep 2022 14:27:21 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D80A9AF95 for ; Tue, 6 Sep 2022 11:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=rgs/1H7bJBh2F1qEKZG0lCHdBWmi1z+ETeD6YVAIZT0=; b=O8Py8iy8MHNddfoC91h5G8bBAj omqjSyQL7yiULp5sqNL7NBN2VKMXHFaic7OJC9j2UuhnPd5ue+YfevQGYcz1Zo8K+y00T2B2FkGPS qSe9s+YZs5xxI4Gn+OGrM4KCpx7vGvh6YFvdKBI+2jb/IKr9QF/QtNQ25FXYyPUct35ocKC5uhUj/ IXH1O1rl0O7nd3dxzN5vUhOapmCcK7tH+KK5JiuzEl/lDjUqZFXR9oMrV4BvKuRDyCy8IESn2gpkF yXvq493edmNegAOUsjUzLhxM5UUFeatNEBPBfNYeaCHaz8xNEWliUdf0oovcXd6ylsrOJc6oahqqW ////8dnQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVdHy-00GLPS-8u; Tue, 06 Sep 2022 18:27:10 +0000 Date: Tue, 6 Sep 2022 11:27:10 -0700 From: Luis Chamberlain To: Kai-Heng Feng Cc: rafael.j.wysocki@intel.com, Josef Bacik , Dmitry Osipenko , Petr Mladek , tangmeng , YueHaibing , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] PM: ACPI: reboot: Reinstate S5 for reboot Message-ID: References: <20220906143108.1749183-1-kai.heng.feng@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220906143108.1749183-1-kai.heng.feng@canonical.com> Sender: Luis Chamberlain X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,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 Tue, Sep 06, 2022 at 10:31:07PM +0800, Kai-Heng Feng wrote: > Commit d60cd06331a3 ("PM: ACPI: reboot: Use S5 for reboot") caused Dell > PowerEdge r440 hangs at boot. > > The issue is fixed by commit 2ca1c94ce0b6 ("tg3: Disable tg3 device on > system reboot to avoid triggering AER"), so reinstate the patch again. > > Cc: Josef Bacik > Signed-off-by: Kai-Heng Feng The addition of do_kernel_power_off_prepare() is not clear from your patch, it would be easier to review and therefore detect regressions more easily if you first moved the the code without modifications and then after make another change in another patch. Luis