Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754745AbbHYBxS (ORCPT ); Mon, 24 Aug 2015 21:53:18 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57845 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752387AbbHYBxQ (ORCPT ); Mon, 24 Aug 2015 21:53:16 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-da-55dbca89540b Message-id: <55DBCA84.2070506@samsung.com> Date: Tue, 25 Aug 2015 10:53:08 +0900 From: Krzysztof Kozlowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-version: 1.0 To: Pankaj Dubey , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: kgene@kernel.org, heiko@sntech.de, thomas.ab@samsung.com Subject: Re: [PATCH v2 4/7] ARM: EXYNOS: Remove SROM related register settings from mach-exynos References: <1440403348-8974-1-git-send-email-pankaj.dubey@samsung.com> <1440403348-8974-5-git-send-email-pankaj.dubey@samsung.com> In-reply-to: <1440403348-8974-5-git-send-email-pankaj.dubey@samsung.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHLMWRmVeSWpSXmKPExsVy+t/xK7qdp26HGnxpYLP4/+g1q8XrF4YW /Y9fM1tsenyN1eLyrjlsFjPO72OyWLT1C7tFxzJGBw6PTas62Tw2L6n36NuyitFj+7V5zB6f N8kFsEZx2aSk5mSWpRbp2yVwZfw6cpyloEWw4nPzBfYGxou8XYycHBICJhJbds9ihLDFJC7c W8/WxcjFISSwlFHi0YHlUM4XRokH2x6wgFTxCmhJHL/ZBdbBIqAqsaV7CpjNJmAssXn5EjYQ W1QgQmL56pOMEPWCEj8m32MBGSQiMIVR4mLPMrAEs4CNxO0lC8EahAUSJZqOrGCC2NbKKHHp 6Ql2kASngIfE9Q+/gRIcQA16EvcvakH0yktsXvOWeQKjwCwkO2YhVM1CUrWAkXkVo2hqaXJB cVJ6rqFecWJucWleul5yfu4mRkiof9nBuPiY1SFGAQ5GJR7eDwtvhwqxJpYVV+YeYpTgYFYS 4X2+ESjEm5JYWZValB9fVJqTWnyIUZqDRUmcd+6u9yFCAumJJanZqakFqUUwWSYOTqkGxvXZ zoECT4Keff1/817PQQmG034OaXPyv3/d+bmW72ab/heJvgytP+UPp32t//XLuCg9rVPIkuvH 7psCWz/Yzmfb/SOxx/fO/882YdbiTj+e1pvM8zfYKfTSN4nF5JeN8tf0auVFCVyN1zc/k894 o3igVzH6c2DrO0dvvl7vFyzrrYp1K4vuKLEUZyQaajEXFScCAHuWv1txAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2370 Lines: 60 On 24.08.2015 17:02, Pankaj Dubey wrote: > 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/common.h | 2 -- > arch/arm/mach-exynos/exynos.c | 17 --------- > arch/arm/mach-exynos/include/mach/map.h | 3 -- > arch/arm/mach-exynos/regs-srom.h | 53 ---------------------------- > arch/arm/mach-exynos/suspend.c | 20 ++--------- > arch/arm/plat-samsung/include/plat/map-s5p.h | 1 - > 7 files changed, 4 insertions(+), 94 deletions(-) > delete mode 100644 arch/arm/mach-exynos/regs-srom.h The order of patches looks wrong. Is this fully bisectable? You are removing here support for SROM but DTS bindings are not added yet. > > diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig > index 3a10f1a..7c917ef 100644 > --- a/arch/arm/mach-exynos/Kconfig > +++ b/arch/arm/mach-exynos/Kconfig > @@ -27,6 +27,8 @@ menuconfig ARCH_EXYNOS > select SRAM > select THERMAL > select MFD_SYSCON > + select SOC_SAMSUNG > + select EXYNOS_SROM > help > Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5) > > diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h > index 1534925..1c04741 100644 > --- a/arch/arm/mach-exynos/common.h > +++ b/arch/arm/mach-exynos/common.h > @@ -108,8 +108,6 @@ IS_SAMSUNG_CPU(exynos5800, EXYNOS5800_SOC_ID, EXYNOS5_SOC_MASK) > > #define soc_is_exynos4() (soc_is_exynos4210() || soc_is_exynos4212() || \ > soc_is_exynos4412()) > -#define soc_is_exynos5() (soc_is_exynos5250() || soc_is_exynos5410() || \ > - soc_is_exynos5420() || soc_is_exynos5800()) That wasn't here in v1. I see that it is not used any more and of_machine_is_compatible is preferred but I would prefer to leave it. In certain cases you cannot use of_machine_is_compatible (e.g. in platform_do_lowpower). Rest looks good. 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/