Debian: gcc: add support for ARC

2021-06-04 Thread Vineet Gupta
reassign 989453 src:gcc-11 ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Debian: gcc: add support for ARC

2021-06-04 Thread Vineet Gupta
reassign 989453 package src:gcc-11 ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Debian: gcc: add support for ARC

2021-06-04 Thread Vineet Gupta
Missed attaching patches in original report. From b2bb3ff341a43a1abe033daa9d6fbf8bb6f86fab Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Wed, 3 Mar 2021 16:36:44 -0500 Subject: [PATCH 1/4] ARC/upstream: gcc driver default to hard-float This change is already merged in mainline gcc as of 2021-

Re: [PATCH v2 3/9] arc: remove support for DISCONTIGMEM

2021-06-04 Thread Vineet Gupta
On 6/3/21 11:49 PM, Mike Rapoport wrote: > From: Mike Rapoport > > DISCONTIGMEM was replaced by FLATMEM with freeing of the unused memory map > in v5.11. > > Remove the support for DISCONTIGMEM entirely. > > Signed-off-by: Mike Rapoport Looks non intrusive, but I'd still like to give this a spin

Re: [PATCH v2 2/9] arc: update comment about HIGHMEM implementation

2021-06-04 Thread Vineet Gupta
On 6/3/21 11:49 PM, Mike Rapoport wrote: > From: Mike Rapoport > > Arc does not use DISCONTIGMEM to implement high memory, update the comment > describing how high memory works to reflect this. > > Signed-off-by: Mike Rapoport Acked-by: Vineet Gupta Thx, -Vineet > --- > arch/arc/mm/init.c |

Re: [PATCH v2 02/15] arc: convert to setup_initial_init_mm()

2021-06-04 Thread Vineet Gupta
On 6/4/21 12:06 AM, Kefeng Wang wrote: > Use setup_initial_init_mm() helper to simplify code. > > Cc: Vineet Gupta > Cc: linux-snps-arc@lists.infradead.org > Signed-off-by: Kefeng Wang Acked-by: Vineet Gupta    #arch/arc Thx, -Vineet > --- > arch/arc/mm/init.c | 5 + > 1 file changed, 1

Re: [PATCH v2 3/9] arc: remove support for DISCONTIGMEM

2021-06-04 Thread Mike Rapoport
On Fri, Jun 04, 2021 at 02:07:39PM +, Vineet Gupta wrote: > On 6/3/21 11:49 PM, Mike Rapoport wrote: > > From: Mike Rapoport > > > > DISCONTIGMEM was replaced by FLATMEM with freeing of the unused memory map > > in v5.11. > > > > Remove the support for DISCONTIGMEM entirely. > > > > Signed-off

Debian: gcc: add support for ARC

2021-06-04 Thread Vineet Gupta
Source: gcc Severity: normal Tags: patch Hi, To bootstrap arc port we need following changes to debian:gcc. These patches are based off of 10.2.1-6 as that's what rebootstrap builds are using. - 0001-ARC-upstream-gcc-driver-default-to-hard-float.patch This change is already merged in mainl

[PATCH] Recognize arc32

2021-06-04 Thread Vineet Gupta
This is the 32-bit variant of ARCv3 ISA (which is not compatible with the 32-bit ARCv2 ISA) | make check | cd testsuite && bash config-guess.sh && rm uname | PASS: config.guess checks (136 tests) | cd testsuite && bash config-sub.sh | PASS: config.sub checks (864 tests) | PASS: config.sub idempote

[PATCH v2 00/15] init_mm: cleanup ARCH's text/data/brk setup code

2021-06-04 Thread Kefeng Wang
Add setup_initial_init_mm() helper, then use it to cleanup the text, data and brk setup code. v2: - change argument from "char *" to "void *" setup_initial_init_mm() suggested by Geert Uytterhoeven - use NULL instead of (void *)0 on h8300 and m68k - collect ACKs Cc: linux-snps-arc@lists.infrade

[PATCH v2 01/15] mm: add setup_initial_init_mm() helper

2021-06-04 Thread Kefeng Wang
Add setup_initial_init_mm() helper to setup kernel text, data and brk. Cc: linux-snps-arc@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-c...@vger.kernel.org Cc: uclinux-h8-de...@lists.sourceforge.jp Cc: linux-m...@lists.linux-m68k.org Cc: openr...@lists.librecores.org Cc:

[PATCH v2 02/15] arc: convert to setup_initial_init_mm()

2021-06-04 Thread Kefeng Wang
Use setup_initial_init_mm() helper to simplify code. Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org Signed-off-by: Kefeng Wang --- arch/arc/mm/init.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arc/mm/init.c b/arch/arc/mm/init.c index e2ed355438c9..33b8

[PATCH v2 9/9] mm: replace CONFIG_FLAT_NODE_MEM_MAP with CONFIG_FLATMEM

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport After removal of the DISCONTIGMEM memory model the FLAT_NODE_MEM_MAP configuration option is equivalent to FLATMEM. Drop CONFIG_FLAT_NODE_MEM_MAP and use CONFIG_FLATMEM instead. Signed-off-by: Mike Rapoport --- include/linux/mmzone.h | 4 ++-- kernel/crash_core.c| 2 +-

[PATCH v2 8/9] mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMA

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport After removal of DISCINTIGMEM the NEED_MULTIPLE_NODES and NUMA configuration options are equivalent. Drop CONFIG_NEED_MULTIPLE_NODES and use CONFIG_NUMA instead. Done with $ sed -i 's/CONFIG_NEED_MULTIPLE_NODES/CONFIG_NUMA/' \ $(git grep -wl CONFIG_N