Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757313AbaFYONq (ORCPT ); Wed, 25 Jun 2014 10:13:46 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:20411 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756775AbaFYONn (ORCPT ); Wed, 25 Jun 2014 10:13:43 -0400 X-AuditID: cbfec7f4-b7fac6d000006cfe-dc-53aad91451eb Message-id: <53AAD8FC.9040306@samsung.com> Date: Wed, 25 Jun 2014 16:13:16 +0200 From: Tomasz Figa Organization: Samsung R&D Institute Poland User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-version: 1.0 To: Russell King - ARM Linux Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Kukjin Kim , Laura Abbott , Linus Walleij , Santosh Shilimkar , Tony Lindgren , Tomasz Figa , Daniel Drake , Marek Szyprowski , Arnd Bergmann , Olof Johansson Subject: Re: [PATCH v2 0/6] Enable L2 cache support on Exynos4210/4x12 SoCs References: <1403703451-12233-1-git-send-email-t.figa@samsung.com> <20140625135039.GM3705@n2100.arm.linux.org.uk> In-reply-to: <20140625135039.GM3705@n2100.arm.linux.org.uk> Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t/xy7oiN1cFG7S3aFj8nXSM3eLR/MfM Fr0LrrJZbO+cwW4x5c9yJotNj6+xWlzeNYfNYvaSfhaLGef3MVncvsxrsfbIXXaLU9c/s1m8 7lvDbLFq1x9Gi/1XvBz4PVqae9g8fv+axOjx7eskFo/Lfb1MHou+Z3nsnHWX3ePOtT1sHpuX 1HtcOdHE6tG3ZRWjx/Eb25k8Pm+SC+CJ4rJJSc3JLEst0rdL4Mr4dfU+S8EH3oqff3vZGxg7 ubsYOTkkBEwkjrybwQphi0lcuLeerYuRi0NIYCmjxJ21z6Gcz4wS7Q+mM4JU8QpoSXz69xrM ZhFQlbj+aDaYzSagJvG54REbiM0PVLOm6TpLFyMHh6hAhMTjC0IQrYISPybfYwGxRQRMJa49 esYMMp9ZoI9FYv2ym2C9wgLeEpN6IGYKCRRLrP56kR3E5hSwlri9dgNYM7OAjsT+1mlsELa8 xOY1b5knMArOQrJjFpKyWUjKFjAyr2IUTS1NLihOSs811CtOzC0uzUvXS87P3cQIicYvOxgX H7M6xCjAwajEwxvAsypYiDWxrLgy9xCjBAezkgiv+36gEG9KYmVValF+fFFpTmrxIUYmDk6p BkZHsa0MVZmH/LPTQlc0/1IXSK77eX7V1xOzpq/8z77LW2TCPYfK/BOWLNN23ii8s/v9of66 Oc+tyl+2ib5efEd+AdN0zotuas0NHU9uZ1qL2oTpBHwWkjHvTi8/tn6Vd3DIoqbPraa7i5cW S5dZSwmqfNjU6XVj/sPrhdu2p0/ack2n8tXfp/eVWIozEg21mIuKEwHGu8FepAIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25.06.2014 15:50, Russell King - ARM Linux wrote: > On Wed, Jun 25, 2014 at 03:37:25PM +0200, Tomasz Figa wrote: >> This series intends to add support for L2 cache on Exynos4 SoCs on boards >> running under secure firmware, which requires certain initialization steps >> to be done with help of firmware, as selected registers are writable only >> from secure mode. > > What I said in my message on June 12th applies to this series. I'm > not having the virtual address exposed via the write_sec call. > > Yes, you need to read other registers in order to use your secure > firmware implementation. Let's fix that by providing a better write_sec > interface so you don't have to read back these registers, rather than > working around this short-coming. Do you have anything in particular in mind? I would be glad to implement it and send patches. > > That's exactly what I meant when I talked on June 12th about turning > cache-l2x0.c back into a pile of crap. You're working around problems > rather than fixing the underlying issue, as seems to be standard > platform maintainer behaviour when things like core ARM code is > concerned. This is why things devolve over time into piles of crap, > because platforms just hack around problems rather than fixing the > root cause of the problem. I'm not sure what part of my patches exactly is turning cache-l2x0.c into a pile of crap. On the contrary, I believe that working around the firmware brokenness on platform level, while keeping the core code simple does the opposite. However, I'll be happy to rework my series if you have some more specific suggestions. > So... I'm NAKing the entire series. Your opinion is always appreciated, thanks. Best regards, Tomasz -- 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/