From patchwork Thu May 10 11:02:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 135403 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp857075lji; Thu, 10 May 2018 04:03:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo4/4PhR4nFjktpTqkOYdHQX1XmqKc53Ke4tkUUg2bMIA9ZersG3hZYcBbs/OVB1jc1Rm3A X-Received: by 2002:a17:902:bc4a:: with SMTP id t10-v6mr919096plz.343.1525950191093; Thu, 10 May 2018 04:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525950191; cv=none; d=google.com; s=arc-20160816; b=fKVGtf57zZpnSJMMz5w6S59EJ5ydA6rKbUEs0BtTtQ+14E15PLqxXDweHIFJ8+fl/j Cu8gNY+6SpecId8B8nNFMAjzf6K5bZncr3nZORry7sV/D826xsadWu9u3ga88Sr1Yn3Z WCyh/BBDIaMOJD22GE2xnAJJn+ddjLc1/jlZDyBJhOXhY7EySw/HPYMrPZMFz1a02/KY DedHETNq4mRhNjgvy56jGA3s5k04lcgSOU57juqpIzk9pHgZ8Qagwm87Rnbuf6W2QTbC Xjiq+Czyj1EZ2gKVlkmWayQ0Ewl5uqUqTYSWXVOGRTL/9MA13BDDM3ZthLcnuXWbp+B7 Lrmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=Pg0QwtuIj2GA/ixbLi74dGQKq0wri/2v+d4h2Ct5tjE=; b=VvAgJpbFh7eBws2S2DzIGyQFhKpBk191cIrgdAcX8oeRNNNxcH1KbPozuSN5wMeh53 r92c1WLL7ovd/vqaklnZdeqi8tmsuG7bvXusYDibJvsCbJO/5RU1ixbhsM4/3I6Kj4K7 yAe1QM2kXkjRSv3oObIa4rMBkyzeEcx8DFS+B4+QEW2SKNd5VaSX0EfmviKd5KORYjcV jML+yNvTFshZ83AHzm04vSuBOJrvbSMBVoF38F76hE9YfrZoAwyhYnBEIS+8yXTFQ22g gLlQYztgOCu+A4ayshLhbUvMM+rOea1bl4s2g+YRQOKNoEDioG3bz7E3EnQIzvlodAT8 XtfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=gEQMKcQa; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s22-v6si593183plp.216.2018.05.10.04.03.10; Thu, 10 May 2018 04:03:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=gEQMKcQa; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756777AbeEJLDK (ORCPT + 3 others); Thu, 10 May 2018 07:03:10 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:43401 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756679AbeEJLDJ (ORCPT ); Thu, 10 May 2018 07:03:09 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180510110307euoutp022603c6352f233737232f9db292edc147~tQ5xBLGd-2364823648euoutp02v; Thu, 10 May 2018 11:03:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180510110307euoutp022603c6352f233737232f9db292edc147~tQ5xBLGd-2364823648euoutp02v DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1525950187; bh=Tw9pe2RttiLx939VSPKBmlNJICqdxqdQGzYCtZDi274=; h=From:To:Cc:Subject:Date:References:From; b=gEQMKcQamDjmocJJzwMV6w4mAGwMZ6dR/x33ojYXdVraU+LFGnZIOksAjwH6vCYZL oOwrwkZ+jGPUykeXfeOCtBpLIWtd+vo9MYwGFnVbaSdrgu8XZ95+pg0g1jbjD6QtR0 eC6BtefF/6CL6I9VEWTsHBvJjhyCsfzzHfk2kPYI= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180510110305eucas1p214ea6f0541791a1da4b55c5dd092426d~tQ5v6khdL1324913249eucas1p2S; Thu, 10 May 2018 11:03:05 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 41.54.05700.9E624FA5; Thu, 10 May 2018 12:03:05 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180510110304eucas1p218ac89e680bec9769204969104ea2765~tQ5uobFYb1978619786eucas1p2W; Thu, 10 May 2018 11:03:04 +0000 (GMT) X-AuditID: cbfec7f2-5ffe19c000011644-af-5af426e9e410 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id B2.49.04178.8E624FA5; Thu, 10 May 2018 12:03:04 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P8I00HDOEP19UA0@eusync1.samsung.com>; Thu, 10 May 2018 12:03:04 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Pankaj Dubey , Alim Akhtar , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH v4 0/2] Remove static mapping of SCU from mach-exynos Date: Thu, 10 May 2018 13:02:53 +0200 Message-id: <20180510110255.30727-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprOIsWRmVeSWpSXmKPExsWy7djPc7ov1b5EGfz4JGvxYN42NouNM9az Wpw/v4HdYsb5fUwWa4/cZbdYtPULuwObx6ZVnWwefVtWMXp83iQXwBzFZZOSmpNZllqkb5fA lfFuV17Bd66KHQ8eszQw7uHoYuTkkBAwkXj4ro2pi5GLQ0hgBaNEx+N+VgjnM6PEvhkH2WCq /v08DlW1jFHi04YzjBBOA5PE0mdvwarYBAwlut52gdkiAqoSn9sWsIPYzAKPGCWmdWeD2MIC rhLfby1mBrFZgGrOn38EVs8rYCtxedMfJoht8hLPps9jh7AvskqsOG7fxcgBZLtIvFjrAREW lnh1fAtUiYxEZ8dBqNZ6ib7vR8AOlRDoYZTY2zIVKmEtcfj4RVaIe/gkJm2bzgwxk1eio00I osRDYua6R8wQtqPEkdYnYKcJCcRK3Oj7xDyBUXIBI8MqRvHU0uLc9NRiw7zUcr3ixNzi0rx0 veT83E2MwOg6/e/4px2MXy8lHWIU4GBU4uGdwfU5Sog1say4MvcQowQHs5II749zQCHelMTK qtSi/Pii0pzU4kOM0hwsSuK8cRp1UUIC6YklqdmpqQWpRTBZJg5OqQbGmT85FsV82Hwr+Gii RL2DKdvS9TNqvleuEezhDTG+uGRyocBhx/QKD2mLUr9Vc9n7ir4u21i/ZXvS7B1PZqgFv/n7 Vk37hsBFZcV6+9YPufxc08oMbhnnVXxv4rt3qCr0OuuGqXJhy3x4nv+5tPN0/4/dNmdne+6p N10/aV/fi5CHm5k/zk4IVGIpzkg01GIuKk4EACaqAkSqAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrAJMWRmVeSWpSXmKPExsVy+t/xy7ov1L5EGZyeqmDxYN42NouNM9az Wpw/v4HdYsb5fUwWa4/cZbdYtPULuwObx6ZVnWwefVtWMXp83iQXwBzFZZOSmpNZllqkb5fA lfFuV17Bd66KHQ8eszQw7uHoYuTkkBAwkfj38zhTFyMXh5DAEkaJndNuMUI4TUwSv89cZgOp YhMwlOh62wVmiwioSnxuW8AOUsQs8IhRouf1PBaQhLCAq8T3W4uZQWwWoKLz5x+BNfAK2Epc 3vSHCWKdvMSz6fPYJzByLWBkWMUoklpanJueW2yoV5yYW1yal66XnJ+7iRHo723Hfm7ewXhp Y/AhRgEORiUe3hlcn6OEWBPLiitzDzFKcDArifD+OAcU4k1JrKxKLcqPLyrNSS0+xCjNwaIk znveoDJKSCA9sSQ1OzW1ILUIJsvEwSnVwBghIdfrZRSy5LOz14J7q5cs28XvKqOzvfhqD59c /sXqV0aB3Pvnv+KsuPHyZKLTP0UDj4m3vJ/pbv9u+ipVez3/0fOfVkv7VAQHvFP43RNuuzYg TkaT8b7w7VUVzyrmnJMo8J3WtKBkZ6ijd81z+dy7GxPO7n6rYNrkX7ngV3lybbTxhR+NXUos xRmJhlrMRcWJANbTZKPzAQAA X-CMS-MailID: 20180510110304eucas1p218ac89e680bec9769204969104ea2765 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180510110304eucas1p218ac89e680bec9769204969104ea2765 X-RootMTR: 20180510110304eucas1p218ac89e680bec9769204969104ea2765 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Hi! This is a resurrection of the patchset initially posted by Pankaj Dubey about 1.5 year ago: https://www.spinics.net/lists/arm-kernel/msg541517.html I fixed the following issues that prevented the merge of the original patchset: - added fallback to scu_a9_get_base() when no SCU DT node is available, what fixed compabitlity issue with old DTBs - fixed non-SMP build - keep SCU mapping permanent, to avoid costly DT lookup in CPUidle hot path and calling ioremap with IRQs disabled (also in CPUidle calls) This patchset has been tested on the following Exynos4-based boards: Universal_C210 (4210-EVT0), Origen (4210), Trats (4210), Trats2 (4412), OdroidU3 (4412). In all cases it works fine. Best regards Marek Szyprowski Samsung R&D Institute Poland Pankaj Dubey (2): ARM: EXYNOS: Remove static mapping of SCU SFR ARM: EXYNOS: Remove unused soc_is_exynos{4,5} arch/arm/mach-exynos/common.h | 9 ++++--- arch/arm/mach-exynos/exynos.c | 22 ---------------- arch/arm/mach-exynos/include/mach/map.h | 2 -- arch/arm/mach-exynos/platsmp.c | 27 +++++++++++++++----- arch/arm/mach-exynos/pm.c | 4 +-- arch/arm/mach-exynos/suspend.c | 4 +-- arch/arm/plat-samsung/include/plat/map-s5p.h | 4 --- 7 files changed, 28 insertions(+), 44 deletions(-) -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html