Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751897AbbFZHmH (ORCPT ); Fri, 26 Jun 2015 03:42:07 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:62996 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751759AbbFZHli (ORCPT ); Fri, 26 Jun 2015 03:41:38 -0400 From: Arnd Bergmann 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 , Maxime Coquelin stm32 , Olof Johansson , Paul Bolle , Rob Herring , Rob Herring , Russell King , Sergey Senozhatsky , Shawn Guo , Simon Horman , Stefan Agner , Stephen Boyd , Thomas Gleixner , Uwe Kleine-Koenig , Catalin Marinas , Dave Martin , Mark Rutland , Pawel Moll , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, dmaengine@vger.kernel.org, Yuri Tikhonov , Sergei Poselenov , Dmitry Cherkassov , Alexander Potashev 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> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <1435094387-20146-1-git-send-email-pawelo@king.net.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:6DF7sGqUnplsx64C+Mb691aP1IvUghC5zuta7gDcMZ86UNPHk7v eehkE0CrFoX55JrX8Rd/CCroFgK14hobJK6mSQ2oBsxLyvg6AiK9APpJwQkOSrBhU+NotQh ptmdvaz3X2/dUafngpgxCAOk9EC933pWGkm5pAPhPHb/TH1kr4wZm5A2TGeZWwv6MYq1byj k49/AMlhE7FC8N8f4zz0w== X-UI-Out-Filterresults: notjunk:1;V01:K0:V/94jO7i0O0=:Pi+JUeD29lTGmYOt2tvnxa JFgKLvvDawTCu7Qu/bgBjTNTQCppf7bXKqugN5fCWWuhbNmN806Jt1rVC9Y8CRGtHNulaVzPM GX+BjBWggYCK9XgdRoxsXy3P87rZoYO54WdKDrOcrecV+Dl0J3e8ur8zt/NKl5QBLxQIpGwhj xrnMX0moOD98FgA1qohP8WJh8cPAIyvDP/y8eUrWEnBLATRE+zlpapiD0tI1JIpbvJaBbgzEp Bfs27uDr83IQeybUp5BiCYyP+CZ5sPzJwFKq5pfICJHFzdAOZ8PPLMU+IQg9yCkvpxzLt1Iww wtoHNxrnoGHazTaA+hEQRhyUzr/bIxjiXKyO6+QkKFQxbwm2klksiqYILisVeOFyfzFB3qH8j 5S0N5+Q6oWamRv7nmQ6G8mABdEG52Kp4uFRddIzHahoYR3dm/CBwRGgEZuwxJjvj/BXn5Pm4M 0aWSX+JXE2zhg1ZTpxOTOlrB63fYIbilc+rXw5CkeUpJ/q/r/42GJ5Tkn9K+rZ0An5uKJpegV e7ZLPk2/QSInIALX8/pKLMyhJhAujk4zlRHELSiOrGHMXN80XlChsZe3GlixF1Yj0HLSWABGn Qc0o/na3KZPIv2NFbVXi7h2QzZ5fYBD6WQZhYSPi67trtBt55noZtniuvdnjWhR3WNC/75EPB cycBRwiN2JkxwxdZRVDmq0YhhSZxtGSW3uC9jW8cqIw429A== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 767 Lines: 21 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/