From patchwork Sat Nov 10 21:02:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= X-Patchwork-Id: 10677433 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 23861109C for ; Sat, 10 Nov 2018 21:03:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 131A92C40A for ; Sat, 10 Nov 2018 21:03:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 074E42C410; Sat, 10 Nov 2018 21:03:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B48902C40A for ; Sat, 10 Nov 2018 21:03:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:MIME-Version:Subject:From:Message-Id :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=X9yfJTlyVSTjhowAyAs6seySutjxp8P2adPCqA/hitk=; b=PKIY6LQuJzGHpr W60WRh/B+96PYW6/NGhp99bfrJzuhvQfii+OgN9k8lQpIVwO49+UMtcrQXZn2AoSy5PtFrgatR42T FCyGtiHU960CsF/OaRwff3WMvsQ+3lFmk+Ka7hLXaF3FoitdJM0lTGThAIKSAqs8JTLxtArP+Z6y+ 6/xuHkoX/wuM4d6A0jyvOXOxGzXz3baDlOJWWYb3zx9zGleQ6r0lNXRzWuMDK+s0SbcheTYhhzGG1 HJhL4e93or/BD3QHhlQUPNXog9HQwuvaPxsyZzK0T7aY2Xq6R3RilVODj5BBHwIDPztM4c0UaPkLz m0DkeHyC28Qmwjk08wmQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLaPS-0003q1-Do; Sat, 10 Nov 2018 21:03:14 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLaOs-00038o-MI for linux-arm-kernel@bombadil.infradead.org; Sat, 10 Nov 2018 21:02:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Cc:To:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:From:Message-Id:Date:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=p6AmwIQ93blXvDGlG14c9gYpOyqLzdgmv5n4zIWg/bc=; b=U0TDQPQNQKGD4eXh5g4swHWN4 y9VNnoGWnIqdUDb/SaomGP94CaRujiZvXYBUwQ7KgjkxRac66IR62tFQva/+mzs0lE72QkYd4nbOy 6Lm7P66OhiKfiuwAv/Tf0pzxdK3SYmJicegn5K0rPjYeF48ogD8bUrb5TxWerzHwGxhKs8r+wBmdk wmLOi0db2de4WKre6+KFs6Z2qa/+rvURvxAYi9zHfjb4PloHUeexapJOVNcviXfRm94+nWsVV3VwH GS5iyGUPDcwCdMc/15csJhJe3lhcSiH9jy21YWp+/8UzNkAdQAMmhC4nR8sHeC63K/ECaUoQpH+4r a/12JywTw==; Received: from rere.qmqm.pl ([91.227.64.183]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLaOo-0008Pj-RQ for linux-arm-kernel@lists.infradead.org; Sat, 10 Nov 2018 21:02:35 +0000 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 42sqFG2FcwzBr; Sat, 10 Nov 2018 22:01:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1541883682; bh=65Ouijtauimx6Q+ros69Sj/DRBtvuNUIXfmZMDSdcL0=; h=Date:From:Subject:To:Cc:From; b=hzfL3ssQoCZ4Kwq2x6WuH38AZuYQWcclWfIK/zSgg8sQKTPBG6y/Xg6mA/a8KmPWh Xi6tdLnlC+TkqLjGKoTtYtH9pGhI4yHU3/PHLvr2EM2TzCnYOmRhTwGWo4RqOZaLlw E66xej9hADaZOVyqcmDJ0NjQGHFh0M+z4a6o5tbD0vyEyN8UVHngRmI3g0Twp0uoL0 o2k9kAtvjAWldMNy6pUqIdgdZ9r6Ak0dKLKjWD+Jzxzfkc5nSmffd42pt2CzPNrxc8 jN2AuzWPxhozZw5MHpgxpAw7shMpldycyoa3q/f/GXGVCcKfA+03xgjiNUDuBK9zXl xHBFPVFfWUCtQ== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.100.2 at mail Date: Sat, 10 Nov 2018 22:02:21 +0100 Message-Id: From: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= Subject: [PATCH 0/3] ARM: enable cache via Trusted Foundations firmware MIME-Version: 1.0 To: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181110_160235_229618_A4A30561 X-CRM114-Status: UNSURE ( 6.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, Mark Rutland , Dmitry Osipenko , Russell King Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This set enables platforms using Trusted Foundations firmware to use their L2 cache. L2 cache can be enabled only by calling the firmware. Michał Mirosław (3): ARM: cache-l2x0: share l2x0_base with PMU code ARM: trusted_foundations: enable L2x0 cache via firmware_ops ARM: trusted_foundations: announce firmware version arch/arm/firmware/trusted_foundations.c | 67 +++++++++++++++++++++- arch/arm/include/asm/hardware/cache-l2x0.h | 6 +- arch/arm/mm/cache-l2x0-pmu.c | 9 +-- arch/arm/mm/cache-l2x0.c | 14 ++++- 4 files changed, 82 insertions(+), 14 deletions(-)