Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941022AbcLVOJ4 (ORCPT ); Thu, 22 Dec 2016 09:09:56 -0500 Received: from smtprelay.synopsys.com ([198.182.47.9]:60336 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758716AbcLVOJy (ORCPT ); Thu, 22 Dec 2016 09:09:54 -0500 From: Alexey Brodkin To: linux-snps-arc@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Vineet Gupta , Alexey Brodkin Subject: [PATCH 0/2] Minor fixes for CCMs Date: Thu, 22 Dec 2016 17:09:08 +0300 Message-Id: <1482415750-5471-1-git-send-email-abrodkin@synopsys.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 772 Lines: 21 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 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(-) -- 2.7.4