Re: [GIT PULL] ARC updates for 5.7-rc1
The pull request you sent on Fri, 3 Apr 2020 21:57:33 +: > git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ tags/arc-5.7-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5364abc57993b3bf60c41923cb98a8f1a594e749 Thank you! -- Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc
Re: [PATCH] ARC: Fix ICCM & DCCM runtime size checks
On 4/2/20 10:54 AM, Eugeniy Paltsev wrote: > As of today the ICCM and DCCM size checks are incorrectly using > mismatched units (KiB checked against bytes). The CONFIG_ARC_DCCM_SZ > and CONFIG_ARC_ICCM_SZ are in KiB, but the size calculated in > runtime and stored in cpu->dccm.sz and cpu->iccm.sz is in bytes. > > Fix that. > > Reported-by: Paul Greco > Signed-off-by: Eugeniy Paltsev LGTM. Will be added after merge window ! Thx, -Vineet > --- > arch/arc/kernel/setup.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c > index aa41af6ef4ac..efdedf83b954 100644 > --- a/arch/arc/kernel/setup.c > +++ b/arch/arc/kernel/setup.c > @@ -11,6 +11,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -409,12 +410,12 @@ static void arc_chk_core_config(void) > if ((unsigned int)__arc_dccm_base != cpu->dccm.base_addr) > panic("Linux built with incorrect DCCM Base address\n"); > > - if (CONFIG_ARC_DCCM_SZ != cpu->dccm.sz) > + if (CONFIG_ARC_DCCM_SZ * SZ_1K != cpu->dccm.sz) > panic("Linux built with incorrect DCCM Size\n"); > #endif > > #ifdef CONFIG_ARC_HAS_ICCM > - if (CONFIG_ARC_ICCM_SZ != cpu->iccm.sz) > + if (CONFIG_ARC_ICCM_SZ * SZ_1K != cpu->iccm.sz) > panic("Linux built with incorrect ICCM Size\n"); > #endif > ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc
[GIT PULL] ARC updates for 5.7-rc1
Hi Linus, Please pull. Thx, -Vineet --> The following changes since commit fb33c6510d5595144d585aa194d377cf74d31911: Linux 5.6-rc6 (2020-03-15 15:01:23 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ tags/arc-5.7-rc1 for you to fetch changes up to f09d3174f002ee2cf15623d5a0f68f7393536ce7: ARC: allow userspace DSP applications to use AGU extensions (2020-03-16 10:30:49 -0700) ARC updates for 5.7-rc1 - Support for DSP enabled userspace (save/restore regs) - Miscll other platform fixes Eugeniy Paltsev (5): ARC: [plat-axs10x]: PGU: remove unused encoder-slave property ARC: add helpers to sanitize config options ARC: handle DSP presence in HW ARC: add support for DSP-enabled userspace applications ARC: allow userspace DSP applications to use AGU extensions arch/arc/Kconfig | 50 - arch/arc/boot/dts/axs10x_mb.dtsi | 1 - arch/arc/include/asm/arcregs.h | 26 +++ arch/arc/include/asm/asserts.h | 34 + arch/arc/include/asm/dsp-impl.h| 150 + arch/arc/include/asm/dsp.h | 29 +++ arch/arc/include/asm/entry-arcv2.h | 6 ++ arch/arc/include/asm/processor.h | 4 + arch/arc/include/asm/ptrace.h | 3 + arch/arc/include/asm/switch_to.h | 2 + arch/arc/kernel/asm-offsets.c | 4 + arch/arc/kernel/head.S | 4 + arch/arc/kernel/setup.c| 34 + 13 files changed, 332 insertions(+), 15 deletions(-) create mode 100644 arch/arc/include/asm/asserts.h create mode 100644 arch/arc/include/asm/dsp-impl.h create mode 100644 arch/arc/include/asm/dsp.h ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc