All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Minor fixes for CCMs
@ 2016-12-22 14:09 ` Alexey Brodkin
  0 siblings, 0 replies; 16+ messages in thread
From: Alexey Brodkin @ 2016-12-22 14:09 UTC (permalink / raw)
  To: linux-snps-arc; +Cc: linux-kernel, Vineet Gupta, Alexey Brodkin

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-01-09 15:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-22 14:09 [PATCH 0/2] Minor fixes for CCMs Alexey Brodkin
2016-12-22 14:09 ` Alexey Brodkin
2016-12-22 14:09 ` [PATCH 1/2] arc: rename xCCM sections so they are not merged in global .data/.text Alexey Brodkin
2016-12-22 14:09   ` Alexey Brodkin
2016-12-23  0:25   ` Vineet Gupta
2016-12-23  0:25     ` Vineet Gupta
2017-01-09 15:08     ` Alexey Brodkin
2017-01-09 15:08       ` Alexey Brodkin
2016-12-22 14:09 ` [PATCH 2/2] arc: Fix xCCM size check Alexey Brodkin
2016-12-22 14:09   ` Alexey Brodkin
2016-12-23  0:34   ` Vineet Gupta
2016-12-23  0:34     ` Vineet Gupta
2017-01-09 15:12     ` Alexey Brodkin
2017-01-09 15:12       ` Alexey Brodkin
2016-12-23  0:26 ` [PATCH 0/2] Minor fixes for CCMs Vineet Gupta
2016-12-23  0:26   ` Vineet Gupta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.