Re: [PATCH] pci: Add and use PCI_GENERIC_SETUP Kconfig entry

2017-06-27 Thread Palmer Dabbelt
On Tue, 27 Jun 2017 16:37:40 PDT (-0700), helg...@kernel.org wrote: > [+cc Lorenzo] > > Hi Palmer, > > On Fri, Jun 23, 2017 at 02:45:38PM -0700, Palmer Dabbelt wrote: >> We wanted to add RISC-V to the list of architectures that used the >> generic PCI setup-irq.o inside the Makefile and it was

Re: [RFC 4/6] ARC: Initial port to glibc

2017-06-27 Thread Joseph Myers
On Tue, 27 Jun 2017, Vineet Gupta wrote: > On 06/27/2017 02:56 PM, Joseph Myers wrote: > > > Signed-off-by: Cupertino Miranda > > > Signed-off-by: Vineet Gupta > > We need ChangeLog entries and copyright assignments, but don't use > > Signed-off-by. >

Re: [RFC 4/6] ARC: Initial port to glibc

2017-06-27 Thread Vineet Gupta
On 06/27/2017 02:56 PM, Joseph Myers wrote: Signed-off-by: Cupertino Miranda Signed-off-by: Vineet Gupta We need ChangeLog entries and copyright assignments, but don't use Signed-off-by. About the copyright assignment and $start-$end, I suppose end

Re: [RFC 4/6] ARC: Initial port to glibc

2017-06-27 Thread Joseph Myers
On Tue, 27 Jun 2017, Vineet Gupta wrote: > thx for this link - per comments there the contents of struct sigcontext could > come from kernel which is > > struct sigcontext { > struct user_regs_struct regs; > }; > > Now I'd rather prefer to not duplicate user_regs_struct here, but

Re: [RFC 2/6] ARC: Fixed inline asm contraints to gcc 6.x

2017-06-27 Thread Zack Weinberg
On Tue, Jun 27, 2017 at 12:40 PM, Vineet Gupta wrote: > On 06/27/2017 02:47 PM, Joseph Myers wrote: >> >> longlong.h should be kept in sync with GCC. If the GCC version has been >> fixed we can copy the updated version verbatim from GCC. > > > Indeed it is fixed in

Re: [RFC 2/6] ARC: Fixed inline asm contraints to gcc 6.x

2017-06-27 Thread Vineet Gupta
On 06/27/2017 02:47 PM, Joseph Myers wrote: longlong.h should be kept in sync with GCC. If the GCC version has been fixed we can copy the updated version verbatim from GCC. Indeed it is fixed in upstream gcc. commit 608e1e3746f5242f0b0987ce64ca99969c33fb48 Author: claziss

Re: [RFC 4/6] ARC: Initial port to glibc

2017-06-27 Thread Vineet Gupta
On 06/27/2017 02:56 PM, Joseph Myers wrote: On Tue, 27 Jun 2017, Vineet Gupta wrote: Signed-off-by: Cupertino Miranda Signed-off-by: Vineet Gupta We need ChangeLog entries and copyright assignments, but don't use Signed-off-by. OK ! diff

Re: [RFC 0/6] glibc port to ARC architecture

2017-06-27 Thread Vineet Gupta
On 06/27/2017 02:44 PM, Joseph Myers wrote: I don't see a corporate copyright assignment (or disclaimer plus individual assignments) from Synopsys in the FSF copyright.list. The assignment will be needed before we can consider this port. Right we missed this ! FWIW we did the agreements for

Re: [RFC 4/6] ARC: Initial port to glibc

2017-06-27 Thread Florian Weimer
On 06/27/2017 01:55 PM, Vineet Gupta wrote: > On 06/27/2017 02:29 PM, Florian Weimer wrote: >> On 06/27/2017 10:00 AM, Vineet Gupta wrote: >>> diff --git a/sysdeps/unix/sysv/linux/arc/shlib-versions >>> b/sysdeps/unix/sysv/linux/arc/shlib-versions >>> new file mode 100644 >>> index

Re: [RFC 0/6] glibc port to ARC architecture

2017-06-27 Thread Joseph Myers
On Tue, 27 Jun 2017, Florian Weimer wrote: > On 06/27/2017 10:00 AM, Vineet Gupta wrote: > > This is a Request for comments for glibc port to ARC architecture. > > http://www.synopsys.com/IP/ProcessorIP/ARCProcessors/Pages/default.aspx > > > > The Linux kernel, uClibc, buildroot have been

Re: [RFC 4/6] ARC: Initial port to glibc

2017-06-27 Thread Joseph Myers
On Tue, 27 Jun 2017, Vineet Gupta wrote: > Signed-off-by: Cupertino Miranda > Signed-off-by: Vineet Gupta We need ChangeLog entries and copyright assignments, but don't use Signed-off-by. > diff --git a/.gitignore b/.gitignore > index

Re: [RFC 4/6] ARC: Initial port to glibc

2017-06-27 Thread Vineet Gupta
On 06/27/2017 02:29 PM, Florian Weimer wrote: On 06/27/2017 10:00 AM, Vineet Gupta wrote: diff --git a/sysdeps/unix/sysv/linux/arc/shlib-versions b/sysdeps/unix/sysv/linux/arc/shlib-versions new file mode 100644 index ..c4d5d029812d --- /dev/null +++

Re: [RFC 2/6] ARC: Fixed inline asm contraints to gcc 6.x

2017-06-27 Thread Joseph Myers
longlong.h should be kept in sync with GCC. If the GCC version has been fixed we can copy the updated version verbatim from GCC. -- Joseph S. Myers jos...@codesourcery.com ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org

Re: [RFC 0/6] glibc port to ARC architecture

2017-06-27 Thread Joseph Myers
I don't see a corporate copyright assignment (or disclaimer plus individual assignments) from Synopsys in the FSF copyright.list. The assignment will be needed before we can consider this port. -- Joseph S. Myers jos...@codesourcery.com ___

Re: [RFC 0/6] glibc port to ARC architecture

2017-06-27 Thread Florian Weimer
On 06/27/2017 10:00 AM, Vineet Gupta wrote: > This is a Request for comments for glibc port to ARC architecture. > http://www.synopsys.com/IP/ProcessorIP/ARCProcessors/Pages/default.aspx > > The Linux kernel, uClibc, buildroot have been upstream for quite some time. Is it possible to build the

Re: [RFC 4/6] ARC: Initial port to glibc

2017-06-27 Thread Florian Weimer
On 06/27/2017 10:00 AM, Vineet Gupta wrote: > diff --git a/sysdeps/unix/sysv/linux/arc/shlib-versions > b/sysdeps/unix/sysv/linux/arc/shlib-versions > new file mode 100644 > index ..c4d5d029812d > --- /dev/null > +++ b/sysdeps/unix/sysv/linux/arc/shlib-versions > @@ -0,0 +1,2 @@ >

Re: [PATCH] pci: Add and use PCI_GENERIC_SETUP Kconfig entry

2017-06-27 Thread Ralf Baechle
On Mon, Jun 26, 2017 at 01:27:56PM -0700, Palmer Dabbelt wrote: Acked-by: Ralf Baechle Thanks, Ralf ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

[RFC 6/6] ARC: Fix several testsuite failures related to unwinding

2017-06-27 Thread Vineet Gupta
From: Cupertino Miranda 1. Add BLINK clobber to syscall wrappers allowing unwinding off of sleeping syscalls (this is arguably excessive, give it is not needed except for a handful of slow syscalls such as read/write/nanosleep...) 2. Rework sigreturn to undo

[RFC 5/6] ARC: Enable __start as entry point vs. canonical _start

2017-06-27 Thread Vineet Gupta
ARC linker scripts have defined __start as entry point so to not break ABI for uClibc et al we allow __start for glibc as well Signed-off-by: Vineet Gupta --- sysdeps/arc/dl-machine.h | 14 ++ sysdeps/arc/entry.h | 5 + sysdeps/arc/start.S | 14

[RFC 3/6] ARC: add definitions to elf/elf.h

2017-06-27 Thread Vineet Gupta
Signed-off-by: Cupertino Miranda Signed-off-by: Vineet Gupta --- elf/elf.h | 68 +++ 1 file changed, 68 insertions(+) diff --git a/elf/elf.h b/elf/elf.h index 3900b4c9f0ca..8b58818228ba