From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 3/9] arm: add call to CPU idle quirks handler Date: Fri, 26 Jun 2015 09:40:10 +0200 Message-ID: <2139691.3OPR29uKdT@wuerfel> References: <1435094387-20146-1-git-send-email-pawelo@king.net.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org To: Paul Osmialowski Cc: Nicolas Pitre , Andrew Morton , Anson Huang , Ard Biesheuvel , Bhupesh Sharma , Daniel Lezcano , Frank Li , Geert Uytterhoeven , Greg Kroah-Hartman , Guenter Roeck , Haojian Zhuang , Ian Campbell , Jingchang Lu , Jiri Slaby , Kees Cook , Kumar Gala , Laurent Pinchart , Linus Walleij , Magnus Damm , Michael Turquette , Nathan Lynch List-Id: devicetree@vger.kernel.org On Friday 26 June 2015 07:30:49 Paul Osmialowski wrote: > ENDPROC(cpu_kinetis_do_idle) > > But... what about the rest of this hypothetical proc_kinetis.S file? > > It would be a lot of code duplication with proc-v7m.S I think. > I doubt that the Kinetis has a custom version of the CPU core. Are you sure that not all Cortex-M4 need this? As long as the idle implementation depends only on the CPU core type, it's easy to just define multiple .proc.info.init entries in the same file, like we do in proc-v7.S. Arnd