Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752574AbbHTLg7 (ORCPT ); Thu, 20 Aug 2015 07:36:59 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:45033 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751271AbbHTLg5 (ORCPT ); Thu, 20 Aug 2015 07:36:57 -0400 X-AuditID: cbfee691-f79ca6d00000456a-59-55d5bbd7139a Message-id: <55D5BBD1.1030905@samsung.com> Date: Thu, 20 Aug 2015 17:06:49 +0530 From: Pankaj Dubey User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-version: 1.0 To: Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: thomas.ab@samsung.com, kgene@kernel.org, linux@arm.linux.org.uk, heiko@sntech.de Subject: Re: [PATCH 2/5] ARM: EXYNOS: Remove SROM related register settings from mach-exynos References: <1430296712-10287-1-git-send-email-pankaj.dubey@samsung.com> <1430296712-10287-3-git-send-email-pankaj.dubey@samsung.com> <5565B0D1.80004@samsung.com> In-reply-to: <5565B0D1.80004@samsung.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIIsWRmVeSWpSXmKPExsWyRsSkTvf67quhBq/v8FvMP3KO1eL/o9es Fq9fGFr0P37NbLHp8TVWi8u75rBZzDi/j8ni9mVei45ljA6cHi3NPWwem1Z1snlsXlLv0bdl FaPH9mvzmD0+b5ILYIvisklJzcksSy3St0vgyjj+bAtLwT+eivnPW1kaGKdydTFyckgImEj8 urWQGcIWk7hwbz1bFyMXh5DACkaJxiu9jDBF29f8hkrMYpRYPv0mM4TznVFiz/cLYFW8AloS 0y/cZwWxWQRUJdZu3M4GYrMJ6Eo8eT8XbIWoQITE28snmSD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I2C0nZAkbmVYwSqQXJBcVJ6bmGeanlesWJucWleel6yfm5mxjB cf9MagfjwV3uhxgFOBiVeHgvCF8NFWJNLCuuzD3EKMHBrCTCy74BKMSbklhZlVqUH19UmpNa fIjRFBgME5mlRJPzgSkpryTe0NjE3NTY1NLEwsTMUkmcV3bD5lAhgfTEktTs1NSC1CKYPiYO TqkGxiWpnAbrr0ifCiiVq32c57HTZu0kwyQDzlY+LY2tB8qDyr1Xrg75fGBvtp7Kzb26lus/ LnbeZCDz6mCS9tHC0NiOPOa5zjP/XU07ekV5Uf7/zM2PUy3O1FvOb+1byBCdfMDG7vSST0pm cRvWZLWzLHZzSGA/minCdrk097iZQ9xpkbUX93DZK7EUZyQaajEXFScCALSBhKkRAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1860 Lines: 52 Hi Krzysztof, On Wednesday 27 May 2015 05:26 PM, Krzysztof Kozlowski wrote: > W dniu 29.04.2015 o 17:38, Pankaj Dubey pisze: >> As now we have dedicated driver for SROM controller, it will take care >> of saving register banks during S2R so we can safely remove these >> settings from mach-exynos. >> >> Signed-off-by: Pankaj Dubey >> --- >> arch/arm/mach-exynos/Kconfig | 2 + >> arch/arm/mach-exynos/exynos.c | 10 ----- >> arch/arm/mach-exynos/include/mach/map.h | 3 -- >> arch/arm/mach-exynos/suspend.c | 20 +--------- >> arch/arm/plat-samsung/include/plat/map-s5p.h | 1 - >> arch/arm/plat-samsung/include/plat/regs-srom.h | 54 -------------------------- >> 6 files changed, 4 insertions(+), 86 deletions(-) >> delete mode 100644 arch/arm/plat-samsung/include/plat/regs-srom.h >> >> diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig >> index 603820e..e842b23 100644 >> --- a/arch/arm/mach-exynos/Kconfig >> +++ b/arch/arm/mach-exynos/Kconfig >> @@ -25,6 +25,8 @@ menuconfig ARCH_EXYNOS >> select S5P_DEV_MFC >> select SRAM >> select MFD_SYSCON >> + select SOC_SAMSUNG >> + select EXYNOS_SROM > > What about the difference of execution time? The suspend/resume of > device may not be called in the same time as previous syscore ops. Does > this have any impact? > I had tested it for S2R at that time on SMDK5250 board and it was fine. I do not noticed any issue in S2R, so I feel timing should not have any impact. Thanks, Pankaj Dubey > 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/