Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966007AbbKFAS1 (ORCPT ); Thu, 5 Nov 2015 19:18:27 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:25626 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965931AbbKFAST (ORCPT ); Thu, 5 Nov 2015 19:18:19 -0500 X-AuditID: cbfec7f4-f79c56d0000012ee-3f-563bf1c837f6 Subject: Re: [PATCH v3 0/7] samsung: pmu: split up SoC specific PMU data To: Pankaj Dubey , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <1445864143-25695-1-git-send-email-pankaj.dubey@samsung.com> <5638168A.8060500@samsung.com> <563AE8C3.9000001@samsung.com> Cc: kgene.kim@samsung.com, thomas.ab@samsung.com, amitdanielk@gmail.com, Bartlomiej Zolnierkiewicz From: Krzysztof Kozlowski Message-id: <563BF1C9.102@samsung.com> Date: Fri, 06 Nov 2015 09:18:17 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-version: 1.0 In-reply-to: <563AE8C3.9000001@samsung.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLLMWRmVeSWpSXmKPExsVy+t/xK7onPlqHGazeyWfxcfVLNouNM9az Wrx+YWjRu+Aqm8Wmx9dYLS7vmsNmMeP8PiaLRVu/sFt0LGN04PTYOesuu8fmJfUefVtWMXp8 3iQXwBLFZZOSmpNZllqkb5fAldH9fDNrQaNAxYc/u1kaGD/wdDFyckgImEhcfricFcIWk7hw bz1bFyMXh5DAUkaJLX96WSGcL4wS3+6sZQGpEhbwkHixbitYlYjAFEaJiz3LGCGqOhgl/m9/ DZTh4GAWqJc4fiwRpIFNwFhi8/IlbCA2r4CaxJmVcxhBbBYBVYnt83eB2aICERITJzSwQtQI SvyYfA9sGaeAtsSG/umsECP1JO5f1AIJMwvIS2xe85Z5AqPALCQdsxCqZiGpWsDIvIpRNLU0 uaA4KT3XUK84Mbe4NC9dLzk/dxMjJNC/7GBcfMzqEKMAB6MSD++NJdZhQqyJZcWVuYcYJTiY lUR4a44BhXhTEiurUovy44tKc1KLDzFKc7AoifPO3fU+REggPbEkNTs1tSC1CCbLxMEp1cCY LCNrKLLKat6J5bNcC64d4Tmy7a6btCHP3aToraVLNt4rC8m458PZ+ihyhrddcH14uCTD7mkT op0Mj/TGnPonrsV+5u67yvnPPCraJwg/URTpPjH7n2FS/7ab0SvuWjJmBO2ZGmezPOXrq407 JCPWLG85ccXuWbo699InYnuXvFzCvOThtiecSizFGYmGWsxFxYkARgjAQXACAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2244 Lines: 55 On 05.11.2015 14:27, Pankaj Dubey wrote: > Hi Krzysztof, > > On Tuesday 03 November 2015 07:36 AM, Krzysztof Kozlowski wrote: >> On 26.10.2015 21:55, Pankaj Dubey wrote: >>> This patch series is a part of continuation work from following series >>> [1] and [2]. >>> >>> 1: exynos: Move pmu driver to driver/soc folder and add exynos7 support >>> http://www.spinics.net/lists/linux-samsung-soc/msg39797.html from >>> Amit Daniel Kacchap >>> 2: soc: samsung: pmu: split up SoC specific PMU data >>> https://lkml.org/lkml/2015/1/7/12 from me >>> >> >> +Cc Bartlomiej, >> >> There were some concerns for previous versions of this patchset. I >> cannot find all of them (e.g. Bartlomiej's are not present on lkml.org >> anymore) so I am not sure if they were addressed properly. >> > > Yes. If I recall correctly he has following main concerns: > 1: To convert exynos-pmu to a proper platform driver before moving out > of arch/arm/mach-exynos. This is already addressed. > > 2: Do we really need common driver for both ARM and ARM64? I feel yes, > as at least I can see that driver's basic structure will be reused. As > in case of PMU driver most of lines of code is data part (register > offset and its values in different mode), that part will be kept in > separate file e.g. exynos7-pmu.c or exynosXXXX-pmu.c. > There has been already one attempt of submission for exynos7 PMU driver at: > > http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/305418.html > > > 3: He had a concern that in case of ARM64 build most of ARM related code > will be present in binary which will be dead code, that can be addressed > by excluding ARM based SoC exynosXXXX-pmu.c file in Makefile. > It has been taken care in v3 7/7 patch in drivers/soc/samsung/Makefile. > Sounds reasonable to me. Maybe someone will have other comments but for me it's okay. When sending next version, please CC linux-pm mailing list and arm-soc maintainers (Arnd, Olof, Kevin). Best regards, Krzysztof -- 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/