From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966251AbcLWA15 (ORCPT ); Thu, 22 Dec 2016 19:27:57 -0500 Received: from smtprelay.synopsys.com ([198.182.60.111]:37528 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966037AbcLWA14 (ORCPT ); Thu, 22 Dec 2016 19:27:56 -0500 Subject: Re: [PATCH 0/2] Minor fixes for CCMs To: Alexey Brodkin , "linux-snps-arc@lists.infradead.org" References: <1482415750-5471-1-git-send-email-abrodkin@synopsys.com> CC: "linux-kernel@vger.kernel.org" From: Vineet Gupta Message-ID: <81af855f-4847-5115-6f3e-49bb005b0a24@synopsys.com> Date: Thu, 22 Dec 2016 16:26:37 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1482415750-5471-1-git-send-email-abrodkin@synopsys.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.10.161.52] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/22/2016 06:09 AM, Alexey Brodkin wrote: > It turned out current implementation of CCM support doesn't work at all. > There're 2 isseus: > * Data/code which is supposed to be in DCCM or ICCM accordingly gets > merged in common .data and .text sections so CCMs won't be used > * Kerenl will panic on early boot because comparison of CCM sizes > is implemented incorrectly FWIW, for current hsdk bringup I won't recommend to switch them on just yet ! > > This short series fixes both issues above so CCMs are usable again. > And both patches indeed should be back-ported to stable kernels. > > Alexey Brodkin (2): > arc: rename xCCM sections so they are not merged in global .data/.text > arc: Fix xCCM size check > > arch/arc/include/asm/linkage.h | 6 +++--- > arch/arc/kernel/setup.c | 4 ++-- > arch/arc/kernel/vmlinux.lds.S | 8 ++++---- > 3 files changed, 9 insertions(+), 9 deletions(-) > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vineet.Gupta1@synopsys.com (Vineet Gupta) Date: Thu, 22 Dec 2016 16:26:37 -0800 Subject: [PATCH 0/2] Minor fixes for CCMs In-Reply-To: <1482415750-5471-1-git-send-email-abrodkin@synopsys.com> References: <1482415750-5471-1-git-send-email-abrodkin@synopsys.com> List-ID: Message-ID: <81af855f-4847-5115-6f3e-49bb005b0a24@synopsys.com> To: linux-snps-arc@lists.infradead.org On 12/22/2016 06:09 AM, Alexey Brodkin wrote: > It turned out current implementation of CCM support doesn't work at all. > There're 2 isseus: > * Data/code which is supposed to be in DCCM or ICCM accordingly gets > merged in common .data and .text sections so CCMs won't be used > * Kerenl will panic on early boot because comparison of CCM sizes > is implemented incorrectly FWIW, for current hsdk bringup I won't recommend to switch them on just yet ! > > This short series fixes both issues above so CCMs are usable again. > And both patches indeed should be back-ported to stable kernels. > > Alexey Brodkin (2): > arc: rename xCCM sections so they are not merged in global .data/.text > arc: Fix xCCM size check > > arch/arc/include/asm/linkage.h | 6 +++--- > arch/arc/kernel/setup.c | 4 ++-- > arch/arc/kernel/vmlinux.lds.S | 8 ++++---- > 3 files changed, 9 insertions(+), 9 deletions(-) >