Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1212670rdh; Fri, 24 Nov 2023 07:28:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8JZrBmJq4YktrYR1yAWXssBgdXON3jO6pruYOdVj/Nop9J9Urt7tbKGJPZ1cAaVgGoN53 X-Received: by 2002:a05:6a20:3941:b0:18b:8d6c:d63 with SMTP id r1-20020a056a20394100b0018b8d6c0d63mr3058692pzg.7.1700839682959; Fri, 24 Nov 2023 07:28:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700839682; cv=none; d=google.com; s=arc-20160816; b=cx8SY93IeqktqwLMMMMW15uoGAFYR9E405lsGecjxG4oeaOEM6PTuDZ6IVcGIBpi5E QR1lzGG06lVdvLf6F//UVcUTuvwzLMQonucHqfmhetBuHYQ8QQuX/PgfhpKjVktDkeEC STUsgGqrfq6GXmgZxaT3JeG3Oz67wcl6dc7KfoE/ruLIen6tmfsVeRKkcKthnnBM1ve+ IlsHYmFluaY3XbCkwYiRNjHpDj676FP8N5enPmAX191d3qXHUIIEA8hkV8eEHQ5SWIN0 Wcx4tKt+3hgYfldAKdicBIDVmBC/MVVVW817KQWmiD0RHILtF7cUEE7oQK/HrRlgWP4M PWRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jzXSnJIvs2buCLCiGqtiOfAFUfJ20L10B5DdJVeNM50=; fh=Ew5S1vjgiWZhKTP2DBf11/ExUwpWP9L5BWLk8e5V5ms=; b=mqec2jLIAQG8YksnviCP97RE1g/yVl3fAenPfaZzOJjurJThWmAYxDwXe2dk1+XfS0 503N+IDV+kH9lx41/u377ilLX+/dV9FFmNqkkrzmYra3vrEjhy3BDmG28IpOJNYa5f0n rjK2D9lusaGlpveeENWwtQ555cXyPR5OouIazBv4McsmGU9cQkR/nS3oxOvSQ4895A+l dCKBROVuNE+p4zo4iJjDL0YnqYILuL4UosBNy1C4RqnGpwuzhOFeNXQRe7QINl4XvhoJ lq4Dtu6p+ZzYrEin5cz7xdJwr1YC5k8vVVqn8Hd7QqJunHyKWLJoMg6n15rteEnkZv2m oohQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pm1F5ZgX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id s14-20020a056a00178e00b006cba6b43d88si3892256pfg.265.2023.11.24.07.28.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 07:28:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pm1F5ZgX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 8308F80AFE9D; Fri, 24 Nov 2023 07:27:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231292AbjKXP1q (ORCPT + 99 others); Fri, 24 Nov 2023 10:27:46 -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: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 24 Nov 2023 07:27:59 -0800 (PST) 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