[PATCH] ARC: build: Try to guess GCC variant of cross compiler

2024-12-03 Thread Leon Romanovsky
From: Leon Romanovsky ARC GCC compiler is packaged starting from Fedora 39i and the GCC variant of cross compile tools has arc-linux-gnu- prefix and not arc-linux-. This is causing that CROSS_COMPILE variable is left unset. This change allows builds without need to supply CROSS_COMPILE argument

Re: [PATCH 3/4 v3] arc: fix data type errors in platform headers

2018-07-29 Thread Leon Romanovsky
On Sun, Jul 29, 2018 at 11:10:51AM -0700, Randy Dunlap wrote: > On 07/29/2018 12:01 AM, Leon Romanovsky wrote: > > On Thu, Jul 26, 2018 at 08:16:35PM -0700, rd_dunlab wrote: > >> From: Randy Dunlap > >> > >> Add to fix build errors. > >> Both ctop.h

Re: [PATCH 4/4 v2] arc: fix printk warning in arc/plat-eznps/mtm.c

2018-07-29 Thread Leon Romanovsky
l)\n", >~^ >%ld > The hs_ctr variable can just be int instead of long, so also change > kstrtol() to kstrtoint() and leave the format string as %d. > > Also add 2 header files since they are used in mtm.c

Re: [PATCH 3/4 v2] arc: fix data type errors in platform headers

2018-07-29 Thread Leon Romanovsky
e > 'u32' >u32 value; > ../arch/arc/plat-eznps/include/plat/ctop.h:93:4: error: unknown type name > 'u32' > u32 csa:22, dmsid:6, __reserved:3, cs:1; > ../arch/arc/plat-eznps/include/plat/ctop.h:95:3: error: unknown type name > 'u32' >

Re: arch/arc/ allmodconfig

2018-07-28 Thread Leon Romanovsky
On Fri, Jul 27, 2018 at 08:14:31PM +, Vineet Gupta wrote: > On 07/23/2018 10:02 AM, Leon Romanovsky wrote: > >>> diff -uprN linux-4.17.9.org/arch/arc/plat-eznps/include/plat/ctop.h > >>> linux-4.17.9/arch/arc/plat-eznps/include/plat/ctop.h > >>> -

[PATCH RESEND] ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc

2018-07-28 Thread Leon Romanovsky
From: Ofer Levi Fixing compilation issue caused by missing struct nps_host_reg_aux_dpc definition. Fixes: 3f9cd874dcc87 ("ARC: [plat-eznps] avoid toggling of DPC register") Reported-by: Randy Dunlap Signed-off-by: Ofer Levi --- arch/arc/plat-eznps/include/plat/ctop.h |9 + 1 files

[PATCH RESEND] ARC: Add Ofer Levi as plat-eznps maintainer

2018-07-24 Thread Leon Romanovsky
From: Leon Romanovsky Signed-off-by: Leon Romanovsky --- Resend with proper Vineet's email --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c79f306a936a..6be664ed0527 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5444,6 +5444,7

Re: arch/arc/ allmodconfig

2018-07-23 Thread Leon Romanovsky
gt; (you > ?) should add their name to MAINTAINERS file under arch/arc/plat-eznps and > send > that patch as well. Hi Vineet, Thanks for your feedback, I'll work with Ofer to make it happen. > > Thx, > -Vineet > > > > > > > > > > > >> -Original Message- >