Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3153029pxa; Tue, 25 Aug 2020 12:57:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRsHl+VsUoS9v60uAJXlnoPsIR9CghSXn4oUGwbz3LuTrKueQMvUTesdnI5NpSRGgDqGhy X-Received: by 2002:a17:906:c7cd:: with SMTP id dc13mr12061420ejb.446.1598385440595; Tue, 25 Aug 2020 12:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598385440; cv=none; d=google.com; s=arc-20160816; b=0vsLrau04A17+ElvMMWV7QCRc9EKE9qeqoEf/OZR5q//U+eaJfQz9Tu1aua/eXXfrq owTxPZLvdz9vvIqkBXO6SxaTMnI9wojCPAwOMCGsE4CPPqtt+FzdYL+YSrXoo+h1c5Ov nBOUVNi6lw85R5MhN64mN/iBuBjMph8oZgPl06YlIfwi7SkU2V10ORKY5tN4L+WSxaJq BXR4r5VDZiOiDmflXjfZZAIu4Qgt8WuBUOTVB5YCx4AvIeBIAUFBj/BTp+RLZ4lXCOcv HVNQEctfJ4X5bMc+jMI4Us8kVBtNyUPANvCV/rRZOGIDV0pKQEULgqOfg4Cci23zdOaP co2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=pd40PMz07s1Wibol7GQALc0zxxaNc5Sxay1mrRX1xxA=; b=g/vDyXu0YkxJvE0c86q5ps1jDP5BB01NFdPm3aLj5TALezYtzfM6T0ySRWNHBRayKX 4JcwoCN0fJ4KGYtXtqjmbuovZTuBPz1B2MQMuOvDHe10ZX5B6ZGIYc6lffGekGoaNyV4 oyzgot8R/t72fA9bZaAy+nPvt/m4zCzDlhaKoS/47l5NUoj08C7lnhbR6TRYBBjhq9GU IJBDun03Rxg/jpD2AK/9V6yr/uzaIxcNkLIw0tNy1n0dPWipkCnTjPDhChzIiSeWnJS4 2Yi4IrMAxgf9f+7qV1VqktRGkeVWJcq4cHLOp5Hv4GC7rM3GE0xKpoj6BgQvPqBJKO2Q VgHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si34357ejb.223.2020.08.25.12.56.56; Tue, 25 Aug 2020 12:57:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726391AbgHYT4Z (ORCPT + 99 others); Tue, 25 Aug 2020 15:56:25 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:48858 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbgHYT4X (ORCPT ); Tue, 25 Aug 2020 15:56:23 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 1BFCD1C0BB9; Tue, 25 Aug 2020 21:56:21 +0200 (CEST) Date: Tue, 25 Aug 2020 21:56:20 +0200 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Vasant Hegde , Michael Ellerman Subject: Re: [PATCH 4.19 65/71] powerpc/pseries: Do not initiate shutdown when system is running on UPS Message-ID: <20200825195620.GB27453@duo.ucw.cz> References: <20200824082355.848475917@linuxfoundation.org> <20200824082359.202438041@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uZ3hkaAS1mZxFaxD" Content-Disposition: inline In-Reply-To: <20200824082359.202438041@linuxfoundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --uZ3hkaAS1mZxFaxD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > We have a user space tool (rtas_errd) on LPAR to monitor for > EPOW_SHUTDOWN_ON_UPS. Once it gets an event it initiates shutdown > after predefined time. It also starts monitoring for any new EPOW Yeah, so there's userspace tool, and currently systems _with_ that tool work poorly with UPS. So you have fixed that, and now, systems _without_ that tool will work poorly. That's not a fix for serious bug, that's behaviour change. You are fixing one set of systems and breaking another. I don't believe it is suitable for stable. Pavel > @@ -118,7 +118,6 @@ static void handle_system_shutdown(char > case EPOW_SHUTDOWN_ON_UPS: > pr_emerg("Loss of system power detected. System is running on" > " UPS/battery. Check RTAS error log for details\n"); > - orderly_poweroff(true); > break; > =20 > case EPOW_SHUTDOWN_LOSS_OF_CRITICAL_FUNCTIONS: >=20 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --uZ3hkaAS1mZxFaxD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX0Vs5AAKCRAw5/Bqldv6 8lOOAJ4n0Ishqs/WgvEdZcbqzcFgzjVtbQCfTrF16PSpZ4y473rFXdbzTTGTELw= =yuvK -----END PGP SIGNATURE----- --uZ3hkaAS1mZxFaxD--