Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1303684imi; Fri, 1 Jul 2022 07:07:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s+9k/4EhLwLSRR+UWk9epTbMElw9CjHCtVDo8CizFpzedv4JyCIFlHs5rLXMp1WE9KaQiN X-Received: by 2002:a50:fe0c:0:b0:435:510a:9f1f with SMTP id f12-20020a50fe0c000000b00435510a9f1fmr19520490edt.297.1656684429932; Fri, 01 Jul 2022 07:07:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656684429; cv=none; d=google.com; s=arc-20160816; b=wwuuORXI6V2D5tIJwHzdXhFCsvfliFeZj36BSAemwAtd7uUwoug82VqhpyfA/GzSPW dTxs6AefzG9uzT8iuWUSeQ4CSipI8CpdMuPto3BL9B2TQ5hWluPH0xAKcvise/yfS2VD 1LXUiDgucsY0Lvj6W7xuf0pDLLwZYQzo99QJm9OSqxVIR/Gq9JlO2HPnOsTX5UggzpvV MBlZIKaS7N3Z/bBhGMwDlduJLafFqiVdRRWnq5TOaNL/zKKhmPKIahaDf3EYpvOqBLvQ qSq8fTQeGNjmDw54qhaluSUUF1qfC42FG+O0SxykZ+p7i+s4FDzP6TIDx08ebWkIirnO IRTQ== 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; bh=p2bralk5i46cnwoJ/q0fYt5Mp7PF1o58HppAED4swlI=; b=ll0QIgzWb2jkp1BzD0Q706WeHELLz3YAFtH7sX8HfDTTd1S5SJGh3J3cpNqqwTrENd yqQUyUVepObDyv/NBFdhwPt3H1PN02WeOGmixMfNMsZadTiXQUVKanNjoRtLQgeqa6s5 E4XsstHGH/uadWpXIWB62K0QJRdji5Kf2ayAQ6818kIc6z7BLmj1upc/hLanY7FVx+rY Ki1Gp0fGPMxfC36eZiXEkDPACi8GMJp7jhqHyXhzgK2EA+RfuNlGaBHqtd9iCcOxBWSo UHX5lnOsTVb/GeOVBerwyhId41rrbMrjSdq34nn+xAPmZZj5r3+a77heuCVskiXTUOIT u2JQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h27-20020a170906399b00b0072629670b92si5892949eje.448.2022.07.01.07.06.43; Fri, 01 Jul 2022 07:07:09 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231724AbiGANt2 (ORCPT + 99 others); Fri, 1 Jul 2022 09:49:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231639AbiGANt0 (ORCPT ); Fri, 1 Jul 2022 09:49:26 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4796127B32 for ; Fri, 1 Jul 2022 06:49:25 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4C89E113E; Fri, 1 Jul 2022 06:49:25 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DB20A3F66F; Fri, 1 Jul 2022 06:49:23 -0700 (PDT) Date: Fri, 1 Jul 2022 14:49:20 +0100 From: Sudeep Holla To: Cristian Marussi Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, vincent.guittot@linaro.org, f.fainelli@gmail.com, Sudeep Holla Subject: Re: [PATCH 0/5] Introduce SCMI System Power Control driver Message-ID: <20220701134920.3elmh4bww3s63trr@bogus> References: <20220623124742.2492164-1-cristian.marussi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220623124742.2492164-1-cristian.marussi@arm.com> X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, 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 Thu, Jun 23, 2022 at 01:47:37PM +0100, Cristian Marussi wrote: > Hi, > > This series is a respin of an old series[0] parked for a while waiting for > a required SCMI specification change to be published. > > The series, building on top of the SCMI System Power Protocol, adds a new > SCMI driver which, registering for SystemPower notifications, takes care to > satisfy SCMI plaform system-transitions graceful requests like shutdown or > reboot involving userspace interactions as needed. > > Interaction with userspace boils down to the same orderly_ Kernel methods > used by ACPI to handle similar shutdown requests. > > The latest SCMI v3.1 specification [1], which adds a new timeout field to > the graceful notifications payload, let the platform advertise for how long > it will possibly wait for the requested system state transition to happen > before forcibly enforcing it. > > As a part of the series, patch 2/3 enforces, at the SCMI core level, the > creation of one single SCMI SystemPower device, to avoid promoting the > design of systems in which multiple SCMI platforms can advertise the > concurrent support of SystemPower protocol: when multiple SCMI platform > are defined, only one of them should be in charge of SystemPower comms > with the OSPM, so only one such SystemPower device across all platforms > is allowed to be created. > Other than the comment in 2/5, I am happy with the other changes. -- Regards, Sudeep