From patchwork Tue Jun 16 08:12:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11606801 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7DA05618 for ; Tue, 16 Jun 2020 08:12:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 61EBC207C4 for ; Tue, 16 Jun 2020 08:12:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="vULBeR69" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727118AbgFPIMw (ORCPT ); Tue, 16 Jun 2020 04:12:52 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54716 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727040AbgFPIMv (ORCPT ); Tue, 16 Jun 2020 04:12:51 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200616081249euoutp02adcb1d333f3e012a6fbde990c5d057bf~Y_AVGp7IZ2346823468euoutp02h for ; Tue, 16 Jun 2020 08:12:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200616081249euoutp02adcb1d333f3e012a6fbde990c5d057bf~Y_AVGp7IZ2346823468euoutp02h DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1592295169; bh=0or4auZ6DSYxblVQIydu+M854qGbuvo+O7Bd5hqqIdo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vULBeR69LmBugIkWb5r/kMunskbjJAGt79zICxyfDI2WMdsBiqsXek6myjXEetjN7 R3cOD0HlZbRwlT8Lw4ERW6cxaVJzj+Wg9tK6g5+ICsBAD/OzlTeSQIPVYxnnkDFMoc cTplSMjI6OTtcV5hsMkwbww85Yp89/6RZY3sTjuQ= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200616081249eucas1p2e59ec1dea95189a815a9ffe741961dd2~Y_AUyGChN0050300503eucas1p2o; Tue, 16 Jun 2020 08:12:49 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 04.8C.61286.10F78EE5; Tue, 16 Jun 2020 09:12:49 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200616081249eucas1p151a8892ca0abfa3108955e1fc5054fc3~Y_AUbVX5_2412724127eucas1p17; Tue, 16 Jun 2020 08:12:49 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200616081249eusmtrp1c344972407240afd798bd4f1029fb977~Y_AUakJ0v1259512595eusmtrp1c; Tue, 16 Jun 2020 08:12:49 +0000 (GMT) X-AuditID: cbfec7f2-ef1ff7000001ef66-8f-5ee87f0111ba Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 7D.80.08375.00F78EE5; Tue, 16 Jun 2020 09:12:48 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200616081248eusmtip22195a7010175d47c2b69c5eae933c63f~Y_AT6dVsQ0162901629eusmtip2e; Tue, 16 Jun 2020 08:12:48 +0000 (GMT) From: Marek Szyprowski To: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Lorenzo Pieralisi , Krzysztof Kozlowski , Daniel Lezcano , Lukasz Luba , Bartlomiej Zolnierkiewicz Subject: [PATCH 1/4] ARM: exynos: Apply little core workaround only under secure firmware Date: Tue, 16 Jun 2020 10:12:27 +0200 Message-Id: <20200616081230.31198-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200616081230.31198-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmleLIzCtJLcpLzFFi42LZduzneV3G+hdxBqsvSlpsnLGe1WLeZ1mL 8+c3sFtsenyN1eJz7xFGixnn9zFZvPn9gt1iYVMLu8XaI3fZHTg91sxbw+ixaVUnm8eda3vY PDYvqffo27KK0ePzJrkAtigum5TUnMyy1CJ9uwSujM0/Z7AUbBKoaJ46naWB8RBvFyMnh4SA icTzz0eYuxi5OIQEVjBKbH83Dcr5wiixe+ZnKOczo8S3lt/MMC1t37ewQiSWM0rsO76LHa7l yropjCBVbAKGEl1vu9hAbBGBdIl7f5eAFTELTGCSeNPczwqSEBaIlti1YTFYEYuAqsT8t/1M IDavgK3Em3W72SHWyUus3nAAbDWngJ3Ess3PmUAGSQj8Z5NYNm06VJGLxKHnp5kgbGGJV8e3 QMVlJE5P7mGBaGhmlHh4bi07hNPDKHG5aQYjRJW1xJ1zv4DO4AC6T1Ni/S59iLCjxO5F55hA whICfBI33gqChJmBzEnbpjNDhHklOtqEIKrVJGYdXwe39uCFS9Dg8pA4tPguCySEJjJKrF77 jmkCo/wshGULGBlXMYqnlhbnpqcWG+allusVJ+YWl+al6yXn525iBCaR0/+Of9rB+PVS0iFG AQ5GJR7eiKDncUKsiWXFlbmHGCU4mJVEeJ3Ono4T4k1JrKxKLcqPLyrNSS0+xCjNwaIkzmu8 6GWskEB6YklqdmpqQWoRTJaJg1OqgTEy6cFcDzanJy8TC43vZ237vnV+XGrYi7zohJj/J55v 4mpb9p5Bsv18/muH7v1rn+91PvuB46+AYMinCcklxSZTTjv/3/BG31bLsugeU4V77dw69bgT 6zNi6l880Gf9rKYc9Wh9vWex6vfpb/puFhVnv3c7dODiIonMuruO4rxsH/5dWvrDZ5ESS3FG oqEWc1FxIgA4ku/KHgMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRmVeSWpSXmKPExsVy+t/xe7qM9S/iDL6JWGycsZ7VYt5nWYvz 5zewW2x6fI3V4nPvEUaLGef3MVm8+f2C3WJhUwu7xdojd9kdOD3WzFvD6LFpVSebx51re9g8 Ni+p9+jbsorR4/MmuQC2KD2bovzSklSFjPziElulaEMLIz1DSws9IxNLPUNj81grI1MlfTub lNSczLLUIn27BL2MzT9nsBRsEqhonjqdpYHxEG8XIyeHhICJRNv3LawgtpDAUkaJrbOcIOIy EienNbBC2MISf651sUHUfGKUmPVOFcRmEzCU6HoLERcRyJRYeO4mexcjFwezwBQmiR3vdoIl hAUiJbZeXM4EYrMIqErMf9sPZvMK2Eq8WbebHWKBvMTqDQeYQWxOATuJZZufM0Ess5VYdvYi 8wRGvgWMDKsYRVJLi3PTc4sN9YoTc4tL89L1kvNzNzECQ3nbsZ+bdzBe2hh8iFGAg1GJhzci 6HmcEGtiWXFl7iFGCQ5mJRFep7On44R4UxIrq1KL8uOLSnNSiw8xmgIdNZFZSjQ5HxhneSXx hqaG5haWhubG5sZmFkrivB0CB2OEBNITS1KzU1MLUotg+pg4OKUaGGc9X7zryMMnky21Fm9I PiG0uvqu4hrmVbNPrT8az/9iqkPs9u0Jf+ZtkJ+q8VNMNZNJhU3zxLXOP6H2aZybaxMu7t86 SyyPOzj2eenmm9vjv5uElm94WSj43KvslO66+Sc5nuTdCNJ7PFlslaz7qUniZx9LfXx7n9m+ e30It7fdDyaftzFvmyOUWIozEg21mIuKEwHFCxw+ewIAAA== X-CMS-MailID: 20200616081249eucas1p151a8892ca0abfa3108955e1fc5054fc3 X-Msg-Generator: CA X-RootMTR: 20200616081249eucas1p151a8892ca0abfa3108955e1fc5054fc3 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200616081249eucas1p151a8892ca0abfa3108955e1fc5054fc3 References: <20200616081230.31198-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The additional soft-reset call during little core power up was needed to properly boot all cores on the Exynos5422-based boards with secure firmware (like Odroid XU3/XU4 family). This however broke big.LITTLE CPUidle driver, which worked only on boards without secure firmware (like Peach-Pit/Pi Chromebooks). Apply the workaround only when board is running under secure firmware. Fixes: 833b 5794 e330 ("ARM: EXYNOS: reset Little cores when cpu is up") Signed-off-by: Marek Szyprowski --- arch/arm/mach-exynos/mcpm-exynos.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-exynos/mcpm-exynos.c b/arch/arm/mach-exynos/mcpm-exynos.c index 9a681b421ae1..cd861c57d5ad 100644 --- a/arch/arm/mach-exynos/mcpm-exynos.c +++ b/arch/arm/mach-exynos/mcpm-exynos.c @@ -26,6 +26,7 @@ #define EXYNOS5420_USE_L2_COMMON_UP_STATE BIT(30) static void __iomem *ns_sram_base_addr __ro_after_init; +static bool secure_firmware __ro_after_init; /* * The common v7_exit_coherency_flush API could not be used because of the @@ -58,15 +59,16 @@ static void __iomem *ns_sram_base_addr __ro_after_init; static int exynos_cpu_powerup(unsigned int cpu, unsigned int cluster) { unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); + bool state; pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); if (cpu >= EXYNOS5420_CPUS_PER_CLUSTER || cluster >= EXYNOS5420_NR_CLUSTERS) return -EINVAL; - if (!exynos_cpu_power_state(cpunr)) { - exynos_cpu_power_up(cpunr); - + state = exynos_cpu_power_state(cpunr); + exynos_cpu_power_up(cpunr); + if (!state && secure_firmware) { /* * This assumes the cluster number of the big cores(Cortex A15) * is 0 and the Little cores(Cortex A7) is 1. @@ -258,6 +260,8 @@ static int __init exynos_mcpm_init(void) return -ENOMEM; } + secure_firmware = exynos_secure_firmware_available(); + /* * To increase the stability of KFC reset we need to program * the PMU SPARE3 register From patchwork Tue Jun 16 08:12:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11606813 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2C7D31862 for ; Tue, 16 Jun 2020 08:12:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 14B0F20A8B for ; Tue, 16 Jun 2020 08:12:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="RY3vHmS1" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727085AbgFPIM5 (ORCPT ); Tue, 16 Jun 2020 04:12:57 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:42974 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727083AbgFPIMw (ORCPT ); Tue, 16 Jun 2020 04:12:52 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200616081250euoutp01c20f91d21073800905ce89fb72229b3d~Y_AVinbLN1721217212euoutp013 for ; Tue, 16 Jun 2020 08:12:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200616081250euoutp01c20f91d21073800905ce89fb72229b3d~Y_AVinbLN1721217212euoutp013 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1592295170; bh=ady02UUfORwMfN1tf+OdaIb6FsoUsoLGlR6OWH++qxs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RY3vHmS1IjtoqnRC/Q+wgH77l3XbIPBPje06SoJd3XoeqovQAFmxJ0gn89Qlch5V7 l93S5PVwTFR79HJTVcNnzIExOB+f/GU9NdapHJ+Wyuk/ocXCvkbaWQhL3e3cWI52Y/ QN9BWW7Cz+nDKbZSA2IfSzNd0jAuxSuFDDSSQ1jA= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200616081249eucas1p1744d4db33ee08b7e9dcb42f388e25501~Y_AVMaevv2412324123eucas1p12; Tue, 16 Jun 2020 08:12:49 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 64.49.60679.10F78EE5; Tue, 16 Jun 2020 09:12:49 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200616081249eucas1p2ad165b545f265bec88a06270d55fce76~Y_AU3Xf9_2000720007eucas1p2A; Tue, 16 Jun 2020 08:12:49 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200616081249eusmtrp1076cd1eed5d122b714828fa3df942678~Y_AU2y82_1314613146eusmtrp1p; Tue, 16 Jun 2020 08:12:49 +0000 (GMT) X-AuditID: cbfec7f4-516ed9c00001ed07-db-5ee87f013edc Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id E0.4A.07950.10F78EE5; Tue, 16 Jun 2020 09:12:49 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200616081249eusmtip24bf183b14f354795f5efd0fe7bc5e7fe~Y_AUX27pf0162901629eusmtip2f; Tue, 16 Jun 2020 08:12:48 +0000 (GMT) From: Marek Szyprowski To: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Lorenzo Pieralisi , Krzysztof Kozlowski , Daniel Lezcano , Lukasz Luba , Bartlomiej Zolnierkiewicz Subject: [PATCH 2/4] cpuidle: big.LITTLE: enable driver only on Peach-Pit/Pi Chromebooks Date: Tue, 16 Jun 2020 10:12:28 +0200 Message-Id: <20200616081230.31198-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200616081230.31198-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupileLIzCtJLcpLzFFi42LZduznOV3G+hdxBjcPGllsnLGe1WLeZ1mL 8+c3sFtsenyN1eJz7xFGixnn9zFZvPn9gt1iYVMLu8XaI3fZHTg91sxbw+ixaVUnm8eda3vY PDYvqffo27KK0ePzJrkAtigum5TUnMyy1CJ9uwSujEMLXzEVNHBWfG7mbmA8z97FyMkhIWAi 8X3nCtYuRi4OIYEVjBK9EzdAOV8YJbZvWsgM4XxmlDj5fR8TTMve6Z0sEInljBKTf31mgms5 9/8qM0gVm4ChRNfbLjYQW0QgXeLe3yXsIEXMAhOYJN4097OCJIQFoiROHZ4BZrMIqErM2XAY rJlXwFZiaUsXM8Q6eYnVGw6A2ZwCdhLLNj8H2yYh8JtNYuG392wQRS4S/1e8grpPWOLV8S1Q 78lInJ7cwwLR0Mwo8fDcWnYIp4dR4nLTDEaIKmuJO+d+AU3iALpPU2L9Ln2IsKPE7C/TmEDC EgJ8EjfeCoKEmYHMSdumM0OEeSU62oQgqtUkZh1fB7f24IVLUPd7SPRuuQINoYmMEt173rFM YJSfhbBsASPjKkbx1NLi3PTUYqO81HK94sTc4tK8dL3k/NxNjMAUcvrf8S87GHf9STrEKMDB qMTDGxH0PE6INbGsuDL3EKMEB7OSCK/T2dNxQrwpiZVVqUX58UWlOanFhxilOViUxHmNF72M FRJITyxJzU5NLUgtgskycXBKNTBqdhYpaex7vuHqwjlJq1YXpJ8XdLEIT2hN/6NvVnjkw5Lq e9PeWe2dG6rT7irNfkjP2+5Ymt31dcmTDftTaxXYRexL1bh9w/TMzx44Y+W00jcg1Wb6S/XJ J6t49rR51m+cyfzdu3+d2kHJYK6EO7O0+j4UpXq7f+Fz2vm5luPljkuR3/LsXyixFGckGmox FxUnAgDZ2r5dHQMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRmVeSWpSXmKPExsVy+t/xe7qM9S/iDA7cVrDYOGM9q8W8z7IW 589vYLfY9Pgaq8Xn3iOMFjPO72OyePP7BbvFwqYWdou1R+6yO3B6rJm3htFj06pONo871/aw eWxeUu/Rt2UVo8fnTXIBbFF6NkX5pSWpChn5xSW2StGGFkZ6hpYWekYmlnqGxuaxVkamSvp2 NimpOZllqUX6dgl6GYcWvmIqaOCs+NzM3cB4nr2LkZNDQsBEYu/0ThYQW0hgKaPE6l08EHEZ iZPTGlghbGGJP9e62CBqPjFKzH2sCmKzCRhKdL2FiIsIZEosPHcTaCYXB7PAFCaJHe92giWE BSIk1p1fBjaIRUBVYs6Gw8wgNq+ArcTSli5miAXyEqs3HACzOQXsJJZtfs4EscxWYtnZi8wT GPkWMDKsYhRJLS3OTc8tNtIrTswtLs1L10vOz93ECAzlbcd+btnB2PUu+BCjAAejEg9vRNDz OCHWxLLiytxDjBIczEoivE5nT8cJ8aYkVlalFuXHF5XmpBYfYjQFOmois5Rocj4wzvJK4g1N Dc0tLA3Njc2NzSyUxHk7BA7GCAmkJ5akZqemFqQWwfQxcXBKNTAerM/vmsn2lztp6eoOhzkM TWEOsUW/5cz2zL/ZvXQdV/PsydWOyk/CrTKCijWrJrrYbjs3S5pv7Ya6PNPllzX3vJrivvaU 3IMWjgPRgvderHa0O3X0aEbHt/Rnb5iszf9aaux9NCF61t+uF01cC80d07se3BGVOmH3vObq 7SlblAIPiN661TFJiaU4I9FQi7moOBEA3JD7ZHsCAAA= X-CMS-MailID: 20200616081249eucas1p2ad165b545f265bec88a06270d55fce76 X-Msg-Generator: CA X-RootMTR: 20200616081249eucas1p2ad165b545f265bec88a06270d55fce76 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200616081249eucas1p2ad165b545f265bec88a06270d55fce76 References: <20200616081230.31198-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org This driver always worked properly only on the Exynos 5420/5800 based Chromebooks (Peach-Pit/Pi), so change the required compatible string to the 'google,peach', to avoid enabling it on the other Exynos 542x/5800 boards, which hangs in such case. The main difference between Peach-Pit/Pi and other Exynos 542x/5800 boards is the firmware - Peach platform doesn't use secure firmware at all. Signed-off-by: Marek Szyprowski Acked-by: Krzysztof Kozlowski Reviewed-by: Bartlomiej Zolnierkiewicz Acked-by: Daniel Lezcano --- drivers/cpuidle/cpuidle-big_little.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/cpuidle/cpuidle-big_little.c b/drivers/cpuidle/cpuidle-big_little.c index 7f8ddc04342d..abe51185f243 100644 --- a/drivers/cpuidle/cpuidle-big_little.c +++ b/drivers/cpuidle/cpuidle-big_little.c @@ -155,8 +155,7 @@ static int __init bl_idle_driver_init(struct cpuidle_driver *drv, int part_id) static const struct of_device_id compatible_machine_match[] = { { .compatible = "arm,vexpress,v2p-ca15_a7" }, - { .compatible = "samsung,exynos5420" }, - { .compatible = "samsung,exynos5800" }, + { .compatible = "google,peach" }, {}, }; From patchwork Tue Jun 16 08:12:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11606805 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 333B1159A for ; Tue, 16 Jun 2020 08:12:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1D5C020786 for ; Tue, 16 Jun 2020 08:12:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="ht+bkG2q" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726099AbgFPIM4 (ORCPT ); Tue, 16 Jun 2020 04:12:56 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:42986 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727085AbgFPIMx (ORCPT ); Tue, 16 Jun 2020 04:12:53 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200616081250euoutp011592fc1393127248dc1482793fcb6f5e~Y_AWLo2qA1721217212euoutp015 for ; Tue, 16 Jun 2020 08:12:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200616081250euoutp011592fc1393127248dc1482793fcb6f5e~Y_AWLo2qA1721217212euoutp015 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1592295171; bh=AWAMWTUTIZzqNOG8Dq390F6D/G8wFyFWzK2NpqNDPCI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ht+bkG2qZ+OdHZWy9XAQH7cki5AfIkHJY7wUUVe05eA6b1kA5P4N5oohA/sdDlyA7 l7s0WSg6861ROmUE4ibkt9Q8iLJE37LPVECyR1xKW2s3e8yPISSUz6rZx+nLtzN+V6 1cGhqToESw0ytNrFLdxDrCrE29ulrvNsbMyy6pM0= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200616081250eucas1p155fffc189a23ff88a3ef5203276ad644~Y_AV30mTb2187921879eucas1p1P; Tue, 16 Jun 2020 08:12:50 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 15.5E.60698.20F78EE5; Tue, 16 Jun 2020 09:12:50 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200616081250eucas1p2de7110898dad050866d78cb5d5120422~Y_AVbP8hL0677406774eucas1p2P; Tue, 16 Jun 2020 08:12:50 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200616081250eusmtrp1da8be45a72185c83dd86ddb56d9f3d18~Y_AVan3io1259512595eusmtrp1g; Tue, 16 Jun 2020 08:12:50 +0000 (GMT) X-AuditID: cbfec7f5-a0fff7000001ed1a-f7-5ee87f02fbd9 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id E1.4A.07950.20F78EE5; Tue, 16 Jun 2020 09:12:50 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200616081249eusmtip288f3c5634c8d95b3191234c8ab2da204~Y_AU3w65N0387603876eusmtip24; Tue, 16 Jun 2020 08:12:49 +0000 (GMT) From: Marek Szyprowski To: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Lorenzo Pieralisi , Krzysztof Kozlowski , Daniel Lezcano , Lukasz Luba , Bartlomiej Zolnierkiewicz Subject: [PATCH 3/4] ARM: exynos_defconfig: Enable big.LITTLE cpuidle driver Date: Tue, 16 Jun 2020 10:12:29 +0200 Message-Id: <20200616081230.31198-4-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200616081230.31198-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgleLIzCtJLcpLzFFi42LZduznOV2m+hdxBp0PlC02zljPajHvs6zF +fMb2C02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SW2StGGFkZ6hpYWekYmlnqGxuaxVkamSvp2 NimpOZllqUX6dgl6GRue32QrWM9asf4VawPjDZYuRk4OCQETiRmfe9m7GLk4hASWMkqcebwF KiEjcXJaAyuELSzx51oXG0TRJ0aJ9dvPgyXYBAwlut6CJDg5RAQyJRaeuwk2iVlgCpPEjnc7 wRLCAj4Sz29dZgKxWQRUJc5+/wm0gYODV8BW4uG0WogF8hKrNxxgBrE5Bewklm1+DlYuBFSy 7OxF5gmMfAsYGVYxiqSWFuem5xYb6RUn5haX5qXrJefnbmIEBvO2Yz+37GDsehd8iFGAg1GJ hzci6HmcEGtiWXFl7iFGCQ5mJRFep7On44R4UxIrq1KL8uOLSnNSiw8xmgLdNJFZSjQ5Hxhp eSXxhqaG5haWhubG5sZmFkrivB0CB2OEBNITS1KzU1MLUotg+pg4OKUaGAUMJRe6GcZEh9bl Ha+5tnrCAps1Xl7772cvYN2ROMPS7WIYc7++1Hb92+ubFapTFPg6RWXVVTze7vn+bernBv+a r2I7fvVc5158Ltz8zKEQVcP4u8zVypGHl/45fufH0//T52U0ce7r5Wxl9rUJTn9ZsfShQ5Sz wII6MY5ophX3r0jzCdtOUmIpzkg01GIuKk4EABQx07p8AgAA X-CMS-MailID: 20200616081250eucas1p2de7110898dad050866d78cb5d5120422 X-Msg-Generator: CA X-RootMTR: 20200616081250eucas1p2de7110898dad050866d78cb5d5120422 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200616081250eucas1p2de7110898dad050866d78cb5d5120422 References: <20200616081230.31198-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Enable big.LITTLE cpuidle driver, which can be used on Exynos-based Peach Pit/Pi Chromebooks. Signed-off-by: Marek Szyprowski Reviewed-by: Bartlomiej Zolnierkiewicz --- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index 374fbff8eaa6..c928bc710c48 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig @@ -28,6 +28,7 @@ CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y CONFIG_CPUFREQ_DT=y CONFIG_CPU_IDLE=y +CONFIG_ARM_BIG_LITTLE_CPUIDLE=y CONFIG_ARM_EXYNOS_CPUIDLE=y CONFIG_VFP=y CONFIG_NEON=y From patchwork Tue Jun 16 08:12:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11606809 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7B600618 for ; Tue, 16 Jun 2020 08:12:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5EE51207DD for ; Tue, 16 Jun 2020 08:12:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="i+jCOQIW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727054AbgFPIM4 (ORCPT ); Tue, 16 Jun 2020 04:12:56 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:42993 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727091AbgFPIMx (ORCPT ); Tue, 16 Jun 2020 04:12:53 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200616081251euoutp01e1104855722e6b0f6eba94cba8b008a7~Y_AWhFcLn1793317933euoutp01W for ; Tue, 16 Jun 2020 08:12:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200616081251euoutp01e1104855722e6b0f6eba94cba8b008a7~Y_AWhFcLn1793317933euoutp01W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1592295171; bh=t+LeSgDb8yZiggnUrlN5WU6K26V0DBW3GJJdVArjas0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i+jCOQIWkDGe9XGLIqdRn3w3dPjQyrpSKh2T4lHysEkAI0fN6GtaoskT83MfGVXv+ gWeajrzI0vI/B/8AhaLm9bdPL6Tuu3vSGvUbT6I9J3dkep1w1JtfOQsjMdb8GBKzgQ Jl1jzPiRNtruHSWgiMvwqzzutkHR0VngL6gAfYtY= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200616081250eucas1p2448a2a68035538b80b7a0ade6d623821~Y_AWLczxx2000720007eucas1p2F; Tue, 16 Jun 2020 08:12:50 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id B5.5E.60698.20F78EE5; Tue, 16 Jun 2020 09:12:50 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200616081250eucas1p2a98f8810962ddc692fa5588a74f911b3~Y_AV5DEGu0048500485eucas1p2o; Tue, 16 Jun 2020 08:12:50 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200616081250eusmtrp11e628046414c848eeef3b46c4e5d342c~Y_AV4dJ0E1314613146eusmtrp1s; Tue, 16 Jun 2020 08:12:50 +0000 (GMT) X-AuditID: cbfec7f5-a29ff7000001ed1a-f8-5ee87f02c16d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id A2.4A.07950.20F78EE5; Tue, 16 Jun 2020 09:12:50 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200616081250eusmtip269bdae8437e63967952de0a9644e93bb~Y_AVXwV1D0491904919eusmtip2j; Tue, 16 Jun 2020 08:12:50 +0000 (GMT) From: Marek Szyprowski To: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Lorenzo Pieralisi , Krzysztof Kozlowski , Daniel Lezcano , Lukasz Luba , Bartlomiej Zolnierkiewicz Subject: [PATCH 4/4] ARM: multi_v7_defconfig: Enable big.LITTLE cpuidle driver Date: Tue, 16 Jun 2020 10:12:30 +0200 Message-Id: <20200616081230.31198-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200616081230.31198-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkleLIzCtJLcpLzFFi42LZduznOV2m+hdxBrN3WlhsnLGe1WLeZ1mL 8+c3sFtsenyN1eJz7xFGixnn9zFZvPn9gt1iYVMLu8XaI3fZHTg91sxbw+ixaVUnm8eda3vY PDYvqffo27KK0ePzJrkAtigum5TUnMyy1CJ9uwSujFdHH7EWnGatOLt3MnsD4xeWLkZODgkB E4m1/5aB2UICKxglOibadDFyAdlfGCXufrvNDuF8ZpS4P2sJM0zHnm1LoRLLGSXWfPvPDNdy dd9bsCo2AUOJrrddbCC2iEC6xL2/S8A6mAUmMEm8ae5n7WLk4BAWCJCYe6AGpIZFQFVizbIW sHpeAVuJY7v+s0Nsk5dYveEA2ExOATuJZZufM4HMkRBoZpc4unEmI0SRi8TTmXOZIGxhiVfH t0A1y0icntzDAtXAKPHw3Fp2CKeHUeJy0wyobmuJO+d+sYFcxCygKbF+lz5E2FHi7dtuJpCw hACfxI23giBhZiBz0rbpzBBhXomONiGIajWJWcfXwa09eOESNLQ8JGZc/MwKCaCJQCd8fc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Onj3h8V7Wymt0QXHP8hVRDa94fvx4e7Ue/LZ3t8 ktMz9Cou2tRWWFPvE90y6aibVpP0w2NXz2+4uUB+rsO0OA45F5aLSmqWr9YpWpxYcHhNeF5v 4QZ7vqe3G3U33p+64s96zxfrlViKMxINtZiLihMBc07dp34CAAA= X-CMS-MailID: 20200616081250eucas1p2a98f8810962ddc692fa5588a74f911b3 X-Msg-Generator: CA X-RootMTR: 20200616081250eucas1p2a98f8810962ddc692fa5588a74f911b3 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200616081250eucas1p2a98f8810962ddc692fa5588a74f911b3 References: <20200616081230.31198-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Enable big.LITTLE cpuidle driver, which can be used on Exynos-based Peach Pit/Pi Chromebooks. Signed-off-by: Marek Szyprowski Reviewed-by: Bartlomiej Zolnierkiewicz --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 95543914d3c7..6a922a8ef712 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -111,6 +111,7 @@ CONFIG_ARM_RASPBERRYPI_CPUFREQ=y CONFIG_QORIQ_CPUFREQ=y CONFIG_CPU_IDLE=y CONFIG_ARM_CPUIDLE=y +CONFIG_ARM_BIG_LITTLE_CPUIDLE=y CONFIG_ARM_ZYNQ_CPUIDLE=y CONFIG_ARM_EXYNOS_CPUIDLE=y CONFIG_ARM_TEGRA_CPUIDLE=y