From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79C7DC61DF4 for ; Fri, 24 Nov 2023 15:27:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345768AbjKXP1r (ORCPT ); Fri, 24 Nov 2023 10:27:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231232AbjKXP1p (ORCPT ); Fri, 24 Nov 2023 10:27:45 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD9691723 for ; Fri, 24 Nov 2023 07:27:50 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31458C433C7; Fri, 24 Nov 2023 15:27:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1700839670; bh=3S6A8b26Bij0bNrwt/t+xt24Lf0F8C0vOwZNJyVcNWU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pm1F5ZgXuK/SorA+zOMKMQQC8CS03YW6cr2R8Nt24B2t2nTlEQkZAU+W4HJJEAWmA I1lhSuqKqGbN1E7I+fOG54BHhwfOifc7knWoGptLzU5KtVTKvdm7h12SPsPXAnYm9+ LM0z2qHnBkOf2DxrOcgZTpZ3VLqT4xnhkoz4Uv+w= Date: Fri, 24 Nov 2023 15:27:48 +0000 From: Greg Kroah-Hartman To: Mark Brown Cc: Oleksij Rempel , "Rafael J. Wysocki" , Ulf Hansson , kernel@pengutronix.de, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-pm@vger.kernel.org, =?iso-8859-1?Q?S=F8ren?= Andersen Subject: Re: [PATCH v1 0/3] introduce priority-based shutdown support Message-ID: <2023112458-stature-commuting-c66f@gregkh> References: <20231124145338.3112416-1-o.rempel@pengutronix.de> <2023112403-laxative-lustiness-6a7f@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 24, 2023 at 03:21:40PM +0000, Mark Brown wrote: > On Fri, Nov 24, 2023 at 03:05:47PM +0000, Greg Kroah-Hartman wrote: > > > Anyway, this is ripe for problems and issues in the long-run, what is so > > special about this hardware that it can not just shutdown in the > > existing order that it has to be "first" over everyone else? What > > exactly does this prevent and what devices are requiring this? > > > And most importantly, what has changed in the past 20+ years to > > suddenly require this new functionality and how does any other operating > > system handle it? > > This came out of some discussions about trying to handle emergency power > failure notifications. I'm sorry, but I don't know what that means. Are you saying that the kernel is now going to try to provide a hard guarantee that some devices are going to be shut down in X number of seconds when asked? If so, why not do this in userspace? thanks, greg k-h