Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751099AbdFSNxU (ORCPT ); Mon, 19 Jun 2017 09:53:20 -0400 Received: from muru.com ([72.249.23.125]:51306 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbdFSNxS (ORCPT ); Mon, 19 Jun 2017 09:53:18 -0400 Date: Mon, 19 Jun 2017 06:53:12 -0700 From: Tony Lindgren To: Mark Rutland Cc: Florian Fainelli , linux-arm-kernel@lists.infradead.org, "open list:GENERIC INCLUDE/ASM HEADER FILES" , Arnd Bergmann , Dave Gerlach , Catalin Marinas , Will Deacon , Russell King , open list , bcm-kernel-feedback-list@broadcom.com, Greg Kroah-Hartman , Alexandre Belloni , linux-omap@vger.kernel.org, Shawn Guo , Keerthy J Subject: Re: [PATCH v3 0/4] Generalize fncpy availability Message-ID: <20170619135312.GM3730@atomide.com> References: <20170617000744.22158-1-f.fainelli@gmail.com> <20170619122444.GJ10246@leverpostej> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170619122444.GJ10246@leverpostej> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 752 Lines: 22 * Mark Rutland [170619 05:25]: > On Fri, Jun 16, 2017 at 05:07:40PM -0700, Florian Fainelli wrote: > > > > This is helpful in making SoC-specific power management code become true drivers > > that can be shared between different architectures. > > Could you elaborate on what this is needed for? > > My understanding was that on 32-bit, this was to handle idle / suspend > cases, whereas for arm64 that should be handled by PSCI. > > what exactly do you intend to use this for? Well idle / suspend can have multiple needs such as running core while DDR is in self-refresh mode and saving and restoring of some context registers in that state. Also clock drivers may need this to reprogram some core clocks. Regards, Tony