[PATCH] MIPS: Support binutils configured with --enable-mips-fix-loongson3-llsc=yes

2021-01-09 Thread Aurelien Jarno
5.1+ Cc: YunQiang Su Signed-off-by: Aurelien Jarno --- arch/mips/Makefile| 19 +++ arch/mips/loongson64/Platform | 22 -- 2 files changed, 19 insertions(+), 22 deletions(-) diff --git a/arch/mips/Makefile b/arch/mips/Makefile index cd4343ede

Re: [PATCH v3 4/5] RISC-V: Enable Microchip PolarFire ICICLE SoC

2020-12-25 Thread Aurelien Jarno
USB_STORAGE=y > CONFIG_USB_UAS=y > +CONFIG_SDHCI=y I guess this should be CONFIG_MMC_SDHCI=y > +CONFIG_MMC_SDHCI_PLTFM=y > +CONFIG_MMC_SDHCI_CADENCE=y > CONFIG_MMC=y > CONFIG_MMC_SPI=y > CONFIG_RTC_CLASS=y Regards, Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net

Re: [PATCH V2 1/3] riscv: Fixup static_obj() fail

2020-09-29 Thread Aurelien Jarno
} > > + INIT_DATA_SECTION(16) > + > /* Start of data section */ > _sdata = .; > RO_DATA(SECTION_ALIGN) > This patch doesn't apply, as tabs have been converted to space somewhere. After fixing that, the patch applies and I confirm t

Re: [PATCH V2 1/3] riscv: Fixup static_obj() fail

2020-09-14 Thread Aurelien Jarno
init_text/data and _text is only for > freeable. I have no idea if it is the right thing to do or not, but I can confirm this fixes the issue. How should we proceed to get that fixed in time for 5.9? For the older branches where it has been backported (so far 5.7 and 5.8), should we j

Re: [PATCH V2 1/3] riscv: Fixup static_obj() fail

2020-09-11 Thread Aurelien Jarno
kill init! exitcode=0x000b [4.770070] SMP: stopping secondary CPUs [4.771110] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x000b ]--- Note that this is with CONFIG_HARDENED_USERCOPY=y Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net

Re: [PATCH AUTOSEL 4.19 080/106] mips: Add udelay lpj numbers adjustment

2020-07-11 Thread Aurelien Jarno
t notifier_block *nb, > + unsigned long val, void *data) > +{ > + struct cpufreq_freqs *freq = data; > + struct cpumask *cpus = freq->policy->cpus; ^^ The policy member has been added in kernel 5.2, so kernel 4.19.129 and later do not build anymore when CONFIG_CPU_FREQ=y. -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net

Re: [PATCH] riscv: use 16KB kernel stack on 64-bit

2020-07-07 Thread Aurelien Jarno
scussion on the mailing list, I have been trying this patch on my system for a few days, and it indeed seems more stable. I just wonder if you should Cc stable@ so that it is backported in older kernel versions. -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net

Re: [PATCH fixes] powerpc/vdso32: Fallback on getres syscall when clock is unknown

2020-05-10 Thread Aurelien Jarno
onaly. > > Fixes: e33ffc956b08 ("powerpc/vdso32: implement clock_getres entirely") > Cc: sta...@vger.kernel.org > Reported-by: Aurelien Jarno > Signed-off-by: Christophe Leroy > --- > arch/powerpc/kernel/vdso32/gettimeofday.S | 6 +++--- > 1 file changed, 3

Re: [PATCH v4 7/8] powerpc/vdso32: implement clock_getres entirely

2020-05-05 Thread Aurelien Jarno
e) { | printf(" errno: %d, %s\n", errno, strerror(errno)); | } | | return e; | } Without this patch or with -m64, it returns: | clock_getres returned 0 With this patch with -m32 it returns: | clock_getres returned -1 | errno: 22, Invalid argument Regards, Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net

Re: [PATCH] arm64: compat: Provide definition for COMPAT_SIGMINSTKSZ

2019-07-31 Thread Aurelien Jarno
:47AM +0100, Will Deacon wrote: > > > > > From: Will Deacon > > > > > > > > > > [ Upstream commit 24951465cbd279f60b1fdc2421b3694405bcff42 ] > > > > > > > > > > arch/arm/ defines a SIGMINSTKSZ of 2k, so we should use the same valu

Re: [PATCH 0/2] Don't use SIGMINSTKSZ when enforcing alternative signal stack size for compat tasks

2019-07-29 Thread Aurelien Jarno
in those kernels. Would it be possible to also get it included? Thanks, Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net

[PATCH] MIPS: scall64-o32: Fix indirect syscall number load

2019-04-09 Thread Aurelien Jarno
with seccomp enabled whitelist the getpid syscall for their internal processes (e.g. systemd-journald), but call it through syscall(SYS_getpid). This fix therefore allows O32 big endian systems with a 64-bit kernel to run recent systemd versions. Signed-off-by: Aurelien Jarno Cc: # v3.15

Re: [PATCH] vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1

2019-02-16 Thread Aurelien Jarno
On 2019-01-12 20:07, Aurelien Jarno wrote: > On 2018-12-06 20:05, Aurelien Jarno wrote: > > The preadv2 and pwritev2 syscalls are supposed to emulate the readv and > > writev syscalls when offset == -1. Therefore the compat code should > > check for offset before calling d

Re: [PATCH] vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1

2019-01-12 Thread Aurelien Jarno
On 2018-12-06 20:05, Aurelien Jarno wrote: > The preadv2 and pwritev2 syscalls are supposed to emulate the readv and > writev syscalls when offset == -1. Therefore the compat code should > check for offset before calling do_compat_preadv64 and > do_compat_pwritev64. This is the

[PATCH] vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1

2018-12-06 Thread Aurelien Jarno
== -1 is missing in their 64-bit equivalent. This patch fixes that, calling do_compat_readv and do_compat_writev when offset == -1. This fixes the following glibc tests on x32: - misc/tst-preadvwritev2 - misc/tst-preadvwritev64v2 Cc: Alexander Viro Cc: H.J. Lu Signed-off-by: Aurelien Jarno

[PATCH] RISC-V: build vdso-dummy.o with -no-pie

2018-03-21 Thread Aurelien Jarno
ds vdso-dummy.o as an executable, which is therefore linked as PIE. Fix that by updating this specific link rule to also include "-no-pie". Signed-off-by: Aurelien Jarno --- arch/riscv/kernel/vdso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/ke

[PATCH] sh: use pr_cont in code dump

2017-05-16 Thread Aurelien Jarno
pr_cont. This makes the code dump readable again. Signed-off-by: Aurelien Jarno --- arch/sh/kernel/disassemble.c | 98 ++-- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/arch/sh/kernel/disassemble.c b/arch/sh/kernel/disassemble.c index

Re: [PATCH 1/2] MIPS: Disable preemption during prctl(PR_SET_FP_MODE, ...)

2016-05-10 Thread Aurelien Jarno
building pillow, which otherwise hangs running "python setup.py build" [1]. The setup code uses the multiprocessing package, and it hangs in a call to PR_SET_FP_MODE. You can therefore add for both patches: Tested-by: Aurelien Jarno Thanks, Aurelien [1] https://buildd.debian.org/st

Re: Silence compiler warning in arch/x86/kvm/emulate.c

2016-02-19 Thread Aurelien Jarno
On 2016-02-19 13:05, Paolo Bonzini wrote: > > > On 19/02/2016 12:11, Aurelien Jarno wrote: > > On 2015-08-29 17:49, Valdis Kletnieks wrote: > >> Compiler warning: > >> > >> CC [M] arch/x86/kvm/emulate.o > >> arch/x86/kvm/emulate.c: In

Re: Silence compiler warning in arch/x86/kvm/emulate.c

2016-02-19 Thread Aurelien Jarno
On 2016-02-19 12:11, Aurelien Jarno wrote: > On 2015-08-29 17:49, Valdis Kletnieks wrote: > > Compiler warning: > > > > CC [M] arch/x86/kvm/emulate.o > > arch/x86/kvm/emulate.c: In function "__do_insn_fetch_bytes": > > arch/x86/kvm/emulate.c:814:9:

Re: Silence compiler warning in arch/x86/kvm/emulate.c

2016-02-19 Thread Aurelien Jarno
UE; > bad: > if (addr.seg == VCPU_SREG_SS) > Unfortunately this patch broke GNU/Hurd when running under KVM. It fails to boot almost immediately. I haven't debug it more, but it looks like *linear should not always be written. This can easily be reproduced by trying to boot Deb

Re: [PATCH 6/6] MIPS: net: BPF: Introduce BPF ASM helpers

2015-08-13 Thread Aurelien Jarno
imply download all 3 files and run './bpf_analysis.py' This patch relies on R2 instructions, and thus the Linux kernel fails to build when targetting non-R2 CPUs. See for example: https://buildd.debian.org/status/fetch.php?pkg=linux&arch=mipsel&ver=4.2%7Erc6-1%7Eexp1&stamp=14

Re: [PATCH] UAPI linux/fs.h: add a warning about wrong ioctl argument types

2013-11-27 Thread Aurelien Jarno
const int * 0x80047601 EXT2_IOC_GETVERSION int * 0x40047602 EXT2_IOC_SETVERSION const int * -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To unsubscribe from this list: send the line "unsubscr

[PATCH] UAPI linux/fs.h: add a warning about wrong ioctl argument types

2013-11-27 Thread Aurelien Jarno
comment on the same line while staying within 80 characters so that the issue appears when doing a grep on this file. Cc: Alexander Viro Cc: Christoph Hellwig Cc: Theodore Ts'o Cc: linux-fsde...@vger.kernel.org Signed-off-by: Aurelien Jarno --- include/uapi/linux/fs.h | 14 ++

[PATCH] UAPI: include in linux/raid/md_p.h

2013-10-29 Thread Aurelien Jarno
e at the beginning of this header to make it usable alone. This is needed to compile klibc on MIPS. Signed-off-by: Aurelien Jarno --- include/uapi/linux/raid/md_p.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/raid/md_p.h b/include/uapi/linux/raid/md_p.h index fe

[MIPS] BCM47XX: use new SSB SPROM data structure

2008-02-18 Thread Aurelien Jarno
Switch the BCM47XX code to the new SPROM data structure now that the old one has been removed. Signed-off-by: Aurelien Jarno <[EMAIL PROTECTED]> --- arch/mips/bcm47xx/setup.c | 12 ++-- arch/mips/bcm47xx/wgt634u.c |2 +- 2 files changed, 7 insertions(+), 7 deletions(-)

[PATCH] [SSB] PCI core driver: use new SPROM data structure

2008-02-18 Thread Aurelien Jarno
Switch the SSB PCI core driver to the new SPROM data structure now that the old one has been removed. Signed-off-by: Aurelien Jarno <[EMAIL PROTECTED]> --- drivers/ssb/driver_pcicore.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/ssb/driver_pcico

Re: mips/bcm47xx/setup.c compile error

2008-02-18 Thread Aurelien Jarno
On Mon, Feb 18, 2008 at 08:49:44AM +0100, Aurelien Jarno wrote: > On Sun, Feb 17, 2008 at 10:09:47PM +0200, Adrian Bunk wrote: > > Commit d3c319f9c8d9ee2c042c60b8a1bbd909dcc42782 causes the following > > compile error: > > > > <-- snip --> > > > >

Re: mips/bcm47xx/setup.c compile error

2008-02-18 Thread Aurelien Jarno
nux-2.6/arch/mips/bcm47xx/setup.c:105: > error: 'struct ssb_sprom' has no member named 'r1' > make[2]: *** [arch/mips/bcm47xx/setup.o] Error 1 > It has been broken by commit d3c319f9c8d9ee2c042c60b8a1bbd909dcc42782. I am working on a fix. -- .''`. Aurelien Jarno

Re: [kvm-devel] severe bug in 2.6.23+ kvm.git

2007-10-19 Thread Aurelien Jarno
een broken by this commit: http://cvs.savannah.nongnu.org/viewvc/qemu/hw/ide.c?root=qemu&r1=1.64&r2=1.65 You can try to apply the attached patch, it reverts this commit and can be applied to the latest QEMU CVS and to the latest KVM versions. -- .''`. Aurelien Jarno

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-11 Thread Aurelien Jarno
Markus Rechberger a écrit : > On 10/11/07, Aurelien Jarno <[EMAIL PROTECTED]> wrote: >> Markus Rechberger a écrit : >>> On 10/11/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: >>>> As such, the old and decrepit em28xx driver seems more useful to people, &

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Aurelien Jarno
at firmware, > if someone's interested in that he has to disassemble the firmware). > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `-

Re: 2.6.23-rc2-mm2

2007-08-10 Thread Aurelien Jarno
was the already case in 2.6.23-rc2-mm1 but not 2.6.23-rc1-mm2. Is it something really wanted? -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED]

Re: 2.6.23-rc2-mm2

2007-08-10 Thread Aurelien Jarno
xes this problem. Signed-off-by: Aurelien Jarno <[EMAIL PROTECTED]> --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -10,6 +10,7 @@ #include #include #include +#include #include struct address_space; -- .''`. Aurelien Jarno | GPG: 1024D

[PATCH] parisc: Disable LWS debugging

2007-05-22 Thread Aurelien Jarno
The LWS debugging code on parisc is wrongly enabled due to a bug in the use of the preprocessor directives. This debugging code is not thread safe and causes problems with a recent glibc on SMP kernels. Signed-off-by: Aurelien Jarno <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] --- syscall.S

Re: IPv6 router advertisement broken on 2.6.20-rc5

2007-01-17 Thread Aurelien Jarno
problem. Thanks a lot. Aurelien -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `-people.debian.org/~aurel32 | www.aurel32.net - To

Re: IPv6 router advertisement broken on 2.6.20-rc5

2007-01-16 Thread Aurelien Jarno
On Wed, Jan 17, 2007 at 12:30:53AM +0100, bert hubert wrote: > On Tue, Jan 16, 2007 at 10:42:53PM +0100, Aurelien Jarno wrote: > > > I have just tried a 2.6.20-rc5 kernel (I previously used a 2.6.19 one), > > and I have noticed that the IPv6 router advertisement functionali

IPv6 router advertisement broken on 2.6.20-rc5

2007-01-16 Thread Aurelien Jarno
individual interface configuration). Using tcpdump, I am seeing the router advertisement messages arriving on the interface, but they seems to be ignored. Does somebody have also seen this behaviour? Bye, Aurelien -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :&

Re: [BK PATCHES] 2.6.x libata updates

2005-03-07 Thread Aurelien Jarno
y > > Adrian Bunk: > o drivers/scsi/sata_*: make code static > Is there any plan to include the ATA pass thru functionality into the main kernel tree? Thanks, Aurelien -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian GNU/Linux develop

[PATCH] Fix USB stack regression in 2.6.11-rc5

2005-02-25 Thread Aurelien Jarno
due to a wrong comparison. Please find a patch below to fix that. Bye, Aurelien Signed-off-by: Aurelien Jarno <[EMAIL PROTECTED]> diff -urN linux-2.6.11-rc5.orig/drivers/usb/core/devio.c linux-2.6.11-rc5/drivers/usb/core/devio.c --- linux-2.6.11-rc5.orig/drivers/usb/core/devio.c 2005

Re: [PATCH 2.6] I2C: New chip driver: sis5595

2005-02-01 Thread Aurelien Jarno
s5595.ko: base address not set - > > upgrade BIOS or use force_addr=0xaddr\n"); > > ".ko" isn't needed. "Error: " in the first line too. You're right. So greg, here is the new patch, that fixes that. Please apply. Thanks, Aurelien Signed-off-by:

Re: [PATCH 2.6] I2C: New chip driver: sis5595

2005-02-01 Thread Aurelien Jarno
are listed in alphanumerical order (as in the 2.4 driver). Thanks, Aurelien Signed-off-by: Aurelien Jarno <[EMAIL PROTECTED]> diff -urN linux-2.6.11-rc2-mm2.orig/drivers/i2c/chips/Kconfig linux-2.6.11-rc2-mm2/drivers/i2c/chips/Kconfig --- linux-2.6.11-rc2-mm2.orig/drivers/i2c/chips/Kconfi