RE: Abnormal behavior with JFFS2 on latest kernel

2008-02-15 Thread Joakim Tjernlund
On Fri, 2008-02-15 at 17:56 +0900, Kyungmin Park wrote: > > > I got following messages. > > > INFO: task pdflush:56 blocked for more than 120 seconds. > > > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > > > > > > What are the meanings? > > > Too mush running GC in JFF

RE: Abnormal behavior with JFFS2 on latest kernel

2008-02-15 Thread Joakim Tjernlund
On Fri, 2008-02-15 at 18:35 +0900, Kyungmin Park wrote: > > > > Nope, the patch is probably named > > "[JFFS2] Stop erasing blocks when rebooting." > > > > No it's same; we have to find another one. OK, it was worth a try. Sorry but I don't have any more ideas. Jocke -- To unsubscribe from t

Re: [PATCH] powerpc 8xx: Reverting commit e0908085fc2391c85b85fb814ae1df377c8e0dcb which has become useless

2013-09-12 Thread Joakim Tjernlund
Christophe Leroy wrote on 2013/09/11 17:50:28: > From: Christophe Leroy > To: Benjamin Herrenschmidt , Paul Mackerras , > Cc: linux-kernel@vger.kernel.org, linuxppc-...@lists.ozlabs.org, Joakim Tjernlund > Date: 2013/09/11 18:43 > Subject: [PATCH] powerpc 8xx: R

High load which eventually leads to lockup

2013-08-18 Thread Joakim Tjernlund
The last week I have had 4 lockups which required power on/off. Before getting there I noticed that the machine was getting slow. top reported high load(5-10) but there was no process consuming CPU except for migration/0 which were spicing 100% on and off. Ping times went up with a factor of 40 t

Re: High load which eventually leads to lockup

2013-08-19 Thread Joakim Tjernlund
-Greg KH wrote: - > > On Sun, Aug 18, 2013 at 04:32:23PM +0200, Joakim Tjernlund wrote: > The last > week I have had 4 > lockups which required power on/off. > Before getting there I noticed that > the machine was > getting slow. > > top reported hi

RE: [PATCH 0/3] UCC TDM driver for MPC83xx platforms

2008-01-18 Thread Joakim Tjernlund
On Fri, 2008-01-18 at 17:28 +0530, Aggrwal Poonam wrote: > Hello All > > The TDM driver just now does not have a proper framework. Probably the > interface cannot be generalised as such. Hence we could not decide > whether it would be right to think of a TDM framework. Infact the > interface this

RE: [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHYlayer functionality

2007-12-02 Thread Joakim Tjernlund
[SNIP] > ^^ the correct solution is to implement arch_initcall function > which will create fixed PHYs, and then leave only > snprintf(fpi->bus_id, 16, PHY_ID_FMT, 0, *data); part in the > fs_enet's find_phy(). > > Try add something like this to the fsl_soc.c (compile untested): > > - - - - > sta

what happened to RELATIME?

2007-12-03 Thread Joakim Tjernlund
Looking in 2.6.23 sources it seems like only ocfs2 has added support for RELATIME. Was RELATIME a bad idea or is there some other reason other filesystems hasn't added support? Jocke -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PRO

RE: what happened to RELATIME?

2007-12-03 Thread Joakim Tjernlund
> -Original Message- > From: Mark Fasheh [mailto:[EMAIL PROTECTED] > Sent: den 3 december 2007 22:34 > To: Joakim Tjernlund > Cc: linux-kernel@vger.kernel.org > Subject: Re: what happened to RELATIME? > > On Mon, Dec 03, 2007 at 09:16:15PM +0100, Joakim Tjernlu

Re: [PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar forfixed-link property

2007-11-26 Thread Joakim Tjernlund
On Mon, 2007-11-26 at 17:29 +0300, Vitaly Bordug wrote: > fixed-link says: register new "Fixed/emulated PHY", i.e. PHY that > not connected to the real MDIO bus. > > Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]> > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > > --- > > Documentation/p

Re: [PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar for fixed-link property

2007-11-27 Thread Joakim Tjernlund
On Tue, 2007-11-27 at 14:39 +0300, Anton Vorontsov wrote: > On Mon, Nov 26, 2007 at 04:04:08PM +0100, Joakim Tjernlund wrote: > > On Mon, 2007-11-26 at 17:29 +0300, Vitaly Bordug wrote: > > > fixed-link says: register new "Fixed/emulated PHY", i.e. PHY that > >

Re: [PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar for fixed-link property

2007-11-27 Thread Joakim Tjernlund
On Tue, 2007-11-27 at 16:59 +0300, Anton Vorontsov wrote: > On Tue, Nov 27, 2007 at 02:17:11PM +0100, Joakim Tjernlund wrote: > > > > On Tue, 2007-11-27 at 14:39 +0300, Anton Vorontsov wrote: > > > On Mon, Nov 26, 2007 at 04:04:08PM +0100, Joakim Tjernlund wrote: > >

ip_auto_config bug in 2.6.20-rc6

2007-02-01 Thread Joakim Tjernlund
The following commandline: root=/dev/mtdblock6 rw rootfstype=jffs2 ip=192.168.1.10:::255.255.255.0:localhost.localdomain:eth1:off console=ttyS0,115200 makes ip_auto_config fall back to DHCP and complain "IP-Config: Incomplete network configuration information." depending on if CONFIG_IP_PNP_DHC

[PATCH]ip_auto_config bug in 2.6.20-rc6

2007-02-02 Thread Joakim Tjernlund
On Thu, 2007-02-01 at 12:26 +0100, Joakim Tjernlund wrote: > The following commandline: > root=/dev/mtdblock6 rw rootfstype=jffs2 > ip=192.168.1.10:::255.255.255.0:localhost.localdomain:eth1:off > console=ttyS0,115200 > makes ip_auto_config fall back to DHCP and complain "I

RE: [PATCH]ip_auto_config bug in 2.6.20-rc6

2007-02-02 Thread Joakim Tjernlund
> -Original Message- > From: Thomas Bogendoerfer [mailto:[EMAIL PROTECTED] > Sent: 02 February 2007 16:18 > To: Jan Engelhardt > Cc: Joakim Tjernlund; Netdev; Linux-Kernel > Subject: Re: [PATCH]ip_auto_config bug in 2.6.20-rc6 > > On Fri, Feb 02, 2007 at 02:27:29

FW: RTC , ds1307 I2C driver and NTP does not work.

2006-11-17 Thread Joakim Tjernlund
switching to kernel/i2c list, see below for details. Jocke -Original Message- From: Kumar Gala [mailto:[EMAIL PROTECTED] Sent: 17 November 2006 17:57 To: Joakim Tjernlund Cc: [EMAIL PROTECTED] Subject: Re: RTC , ds1307 I2C driver and NTP does not work. On Nov 17, 2006, at 10:38 AM

RE: RTC , ds1307 I2C driver and NTP does not work.

2006-11-18 Thread Joakim Tjernlund
> > On Fri, 17 Nov 2006 18:38:10 +0100, Joakim Tjernlund wrote: > > On Nov 17, 2006, at 10:38 AM, Joakim Tjernlund wrote: > > > > > I get this when I activathte NTP and ntp "sync" the time > the I2C HW > > > clock. > > > > You ma

RE: NTP time sync

2006-11-26 Thread Joakim Tjernlund
> -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > abs.org] On Behalf Of David Brownell > Sent: den 26 november 2006 00:22 > To: Benjamin Herrenschmidt > Cc: [EMAIL PROTECTED]; Alessandro Zummo; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; Linux Kernel Mailing List

RE: NTP time sync

2006-11-26 Thread Joakim Tjernlund
> -Original Message- > From: Alessandro Zummo [mailto:[EMAIL PROTECTED] > Sent: den 26 november 2006 20:22 > To: Joakim Tjernlund > > On Sun, 26 Nov 2006 12:04:54 +0100 > "Joakim Tjernlund" <[EMAIL PROTECTED]> wrote: > > > Looking at rtc-de

Re: [PATCH] PHY fixed driver: rework release path and updatephy_id notation

2007-06-13 Thread Joakim Tjernlund
On Sat, 2007-06-09 at 20:21 +0400, Vitaly Bordug wrote: > device_bind_driver() error code returning has been fixed. > release() function has been written, so that to free resources > in correct way; the release path is now clean. > > Before the rework, it used to cause > Device '[EMAIL PROTECTED

[PATCH] spi-fsl-spi: Align CS behaviour for last SPI msg

2017-08-16 Thread Joakim Tjernlund
According to spi.h cs_change can be used to leave the CS active until next SPI transfer(paragraph ii). Adjust driver to comply with (ii). Signed-off-by: Joakim Tjernlund --- drivers/spi/spi-fsl-spi.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/spi

Re: Strange reports of perf events on powerpc 83xx

2015-09-02 Thread Joakim Tjernlund
On Thu, 2015-08-27 at 15:58 +0200, leroy christophe wrote: > Hi, > > Has anybody already used 'perf' tool on powerpc MPC83xx ? > > I have been succesfully using perf on MPC8xx, but on MPC83xx I get > something strange. > > perf record/report reports addresses on user stack, as if it was mixing

[Fwd: 11 minute NTP hw clock update racy?]

2018-08-28 Thread Joakim Tjernlund
No luck on linuxppc-dev, trying LKML ... Forwarded Message From: Joakim Tjernlund To: linuxppc-dev linuxppc-dev Subject: 11 minute NTP hw clock update racy? Date: Mon, 27 Aug 2018 10:01:12 +0200 We see corrupt HW clock time every now and then(really hard to reproduce) Our RTC

Re: [PATCH] jffs2: implement mount option to configure endianness

2018-11-07 Thread Joakim Tjernlund
On Wed, 2018-11-07 at 10:05 +0100, David Woodhouse wrote: > > On Tue, 2018-11-06 at 13:49 -0800, Nikunj Kela wrote: > > This patch allows the endianness of the JFSS2 filesystem to be > > specified by mount option 'force_endian=big|little|native'. If > > endianness is not specified, it defaults to

Re: [PATCH] jffs2: implement mount option to configure endianness

2018-11-07 Thread Joakim Tjernlund
On Wed, 2018-11-07 at 17:58 +, David Woodhouse wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > > On Wed, Nov 07, 2018 at 04:12:14PM -, David Woodhouse

Re: [PATCH] jffs2: implement mount option to configure endianness

2018-11-08 Thread Joakim Tjernlund
On Thu, 2018-11-08 at 18:01 +, Nikunj Kela (nkela) wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > On 11/8/18, 12:12 AM, "David Woodhouse" wrote: > >

Re: [PATCH] Make JFFS2 endianness configurable

2018-11-02 Thread Joakim Tjernlund
On Thu, 2018-11-01 at 15:56 -0700, Nikunj Kela wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > This patch allows the endianness of the JFSS2 filesystem to be

Re: [PATCH 04/11] powerpc/8xx: Take benefit of aligned PGDIR

2015-01-05 Thread Joakim Tjernlund
On Tue, 2014-12-16 at 16:03 +0100, Christophe Leroy wrote: > L1 base address is now aligned so we can insert L1 index into r11 directly and > then preserve r10 > > Signed-off-by: Christophe Leroy Acked-by: Joakim Tjernlund > > --- > arch/powerpc/k

Re: [PATCH v3 2/2] powerpc/8xx: use _PAGE_RO instead of _PAGE_RW

2015-01-05 Thread Joakim Tjernlund
On Mon, 2014-12-22 at 11:14 +0100, Christophe Leroy wrote: > On powerpc 8xx, in TLB entries, 0x400 bit is set to 1 for read-only pages > and is set to 0 for RW pages. So we should use _PAGE_RO instead of _PAGE_RW > > Signed-off-by: Christophe Leroy Hi Christophe, been meaning to look over all y

Re: [PATCH 02/11] powerpc/8xx: remove tests on PGDIR entry validity

2015-01-05 Thread Joakim Tjernlund
time for handling invalid entries. > > Signed-off-by: Christophe Leroy Nice :) Acked-by: Joakim Tjernlund > > --- > arch/powerpc/kernel/head_8xx.S | 41 - > 1 file changed, 8 insertions(+), 33 deletions(-) > > diff --git a/arch/powerpc/

Re: [PATCH 11/11] powerpc/8xx: Add support for TASK_SIZE greater than 0x80000000

2015-01-05 Thread Joakim Tjernlund
ould be just as happy with not supporting different TASK_SIZEs, but why not .. Acked-by: Joakim Tjernlund > > Signed-off-by: Christophe Leroy > > --- > arch/powerpc/kernel/head_8xx.S | 29 + > 1 file changed, 21 insertions(+), 8 deletions(-) > &

Re: [PATCH 09/11] powerpc/8xx: dont save CR in SCRATCH registers

2015-01-05 Thread Joakim Tjernlund
On Tue, 2014-12-16 at 16:03 +0100, Christophe Leroy wrote: > CR only needs to be preserved when checking if we are handling a kernel > address. > So we can preserve CR in a register: > - In ITLBMiss, check is done only when CONFIG_MODULES is defined. Otherwise we > don't need to do anything at al

Re: [PATCH 05/11] powerpc/8xx: Optimise access to swapper_pg_dir

2015-01-05 Thread Joakim Tjernlund
On Tue, 2014-12-16 at 16:03 +0100, Christophe Leroy wrote: > All accessed to PGD entries are done via 0(r11). > By using lower part of swapper_pg_dir as load index to r11, we can remove the > ori instruction. > > Signed-off-by: Christophe Leroy Nice :) Acked-by: J

Re: [PATCH v3 2/2] powerpc/8xx: use _PAGE_RO instead of _PAGE_RW

2015-01-06 Thread Joakim Tjernlund
On Tue, 2015-01-06 at 08:03 +0100, leroy christophe wrote: > Le 05/01/2015 19:12, Joakim Tjernlund a écrit : > > On Mon, 2014-12-22 at 11:14 +0100, Christophe Leroy wrote: > > > On powerpc 8xx, in TLB entries, 0x400 bit is set to 1 for read-only pages > > > and is s

Re: [PATCH] ALSA: usb-audio: Apply sample rate quirk to Logitech Connect

2021-03-24 Thread Joakim Tjernlund
On Wed, 2021-03-24 at 18:51 +0800, Ikjoon Jang wrote: > Logitech ConferenceCam Connect is a compound USB device with UVC and > UAC. Not 100% reproducible but sometimes it keeps responding STALL to > every control transfer once it receives get_freq request. > > This patch adds 046d:0x084c to a snd_

Re: [PATCH] ALSA: usb-audio: Apply sample rate quirk to Logitech Connect

2021-03-25 Thread Joakim Tjernlund
On Wed, 2021-03-24 at 13:49 +0100, Takashi Iwai wrote: > On Wed, 24 Mar 2021 13:03:14 +0100, > Ikjoon Jang wrote: > > > > On Wed, Mar 24, 2021, 7:16 PM Joakim Tjernlund > > > > wrote: > > > > The Logitech devices with 046d:* should be covered generall

Re: [PATCH] ALSA: usb-audio: Disable USB autosuspend properly in setup_disable_autosuspend()

2021-03-04 Thread Joakim Tjernlund
On Thu, 2021-03-04 at 12:34 +0800, Kai-Heng Feng wrote: > Rear audio on Lenovo ThinkStation P620 stops working after commit > 1965c4364bdd ("ALSA: usb-audio: Disable autosuspend for Lenovo > ThinkStation P620"): > [6.013526] usbcore: registered new interface driver snd-usb-audio > [6.023064

Re: [PATCH] jffs2: fix kasan slab-out-of-bounds problem

2021-03-22 Thread Joakim Tjernlund
Reviewe-by: Joakim Tjernlund It would be interesting to known how you managed to create such a dir entry as that is a bug too. From: linux-mtd on behalf of Zhe Li Sent: 18 March 2021 04:06 To: rich...@nod.at; dw...@infradead.org; linux

loadkeys --mktable fi > /usr/src/linux/drivers/tty/vt/defkeymap.c_shipped OOPSes the kernel 5.4.89

2021-01-16 Thread Joakim Tjernlund
Building a kernel and having the default keymap replaced with loadkeys --mktable fi > /usr/src/linux/drivers/tty/vt/defkeymap.c_shipped makes the kernel OOPS during startup. The OOPS scrolls away and I can only see a few registers. The OOPS seems to happen when running the loadkeys command. Work

Re: loadkeys --mktable fi > /usr/src/linux/drivers/tty/vt/defkeymap.c_shipped OOPSes the kernel 5.4.89

2021-01-16 Thread Joakim Tjernlund
On Sat, 2021-01-16 at 16:23 +0100, Joakim Tjernlund wrote: > Building a kernel and having the default keymap replaced with >   loadkeys --mktable fi > /usr/src/linux/drivers/tty/vt/defkeymap.c_shipped > makes the kernel OOPS during startup. > The OOPS scrolls away and I can

Re: [PATCH] jffs2: check the validity of dstlen in jffs2_zlib_compress()

2021-01-28 Thread Joakim Tjernlund
On Thu, 2021-01-28 at 02:55 -0800, menglong8.d...@gmail.com wrote: > From: Yang Yang > > KASAN reports a BUG when download file in jffs2 filesystem.It is > because when dstlen == 1, cpage_out will write array out of bounds. > Actually, data will not be compressed in jffs2_zlib_compress() if > dat

Re: [PATCH 01/20] ethernet: ucc_geth: set dev->max_mtu to 1518

2021-01-05 Thread Joakim Tjernlund
On Thu, 2020-12-10 at 02:25 +0100, Andrew Lunn wrote: > On Sat, Dec 05, 2020 at 08:17:24PM +0100, Rasmus Villemoes wrote: > > All the buffers and registers are already set up appropriately for an > > MTU slightly above 1500, so we just need to expose this to the > > networking stack. AFAICT, there'

Re: [PATCH 01/20] ethernet: ucc_geth: set dev->max_mtu to 1518

2021-01-05 Thread Joakim Tjernlund
On Tue, 2021-01-05 at 15:33 +0100, Andrew Lunn wrote: > On Tue, Jan 05, 2021 at 02:17:42PM +0000, Joakim Tjernlund wrote: > > On Thu, 2020-12-10 at 02:25 +0100, Andrew Lunn wrote: > > > On Sat, Dec 05, 2020 at 08:17:24PM +0100, Rasmus Villemoes wrote: > > > > All

Re: [PATCH] lib/crc32: slice by 4 is more efficient than the default slice by 8 on Powerpc 8xx.

2013-11-19 Thread Joakim Tjernlund
I found the same on MPC8321 long time ago(when 64 bits change went in), the 32 bits were much faster. I guess the "smaller" CPUs cannot handle the cache trashing these big tables impose, I didn't look into the details though. So I think this is a good change for 8xx. Acked-by: J

Re: [PATCH] lib/crc32: slice by 4 is more efficient than the default slice by 8 on Powerpc 8xx.

2013-11-19 Thread Joakim Tjernlund
gt; -Scott > > On Tue, 2013-11-19 at 15:11 +0100, Joakim Tjernlund wrote: > > I found the same on MPC8321 long time ago(when 64 bits change went in), > > the 32 bits were much faster. I guess the "smaller" > > CPUs cannot handle the cache trashing these big

Re: [PATCH] powerpc 8xx: Fixing memory init issue with CONFIG_PIN_TLB

2013-10-11 Thread Joakim Tjernlund
"Linuxppc-dev" wrote on 2013/10/11 14:56:40: > > Activating CONFIG_PIN_TLB allows access to the 24 first Mbytes of memory at > bootup instead of 8. It is needed for "big" kernels for instance when activating > CONFIG_LOCKDEP_SUPPORT. This needs to be taken into account in init_32 too, > othe

Re: [PATCH] powerpc 8xx: Fixing memory init issue with CONFIG_PIN_TLB

2013-10-15 Thread Joakim Tjernlund
leroy christophe wrote on 2013/10/15 18:27:00: > > > Le 11/10/2013 17:13, Joakim Tjernlund a écrit : > > "Linuxppc-dev" > > > > wrote on 2013/10/11 14:56:40: > >> Activating CONFIG_PIN_TLB allows access to the 24 first Mbytes of memory > >

Re: ls -l /proc/1/exe -> Permission denied

2014-07-18 Thread Joakim Tjernlund
Richard Weinberger wrote on 2014/07/18 14:58:30: > > On Thu, Jul 17, 2014 at 1:18 PM, Joakim Tjernlund > wrote: > > Trying to real /proc//exe I noticed I could not read links not > > belonging to my user such as: > > jocke > ls -l /proc/1/exe > >

Re: ls -l /proc/1/exe -> Permission denied

2014-07-18 Thread Joakim Tjernlund
Joakim Tjernlund/Transmode wrote on 2014/07/18 15:49:17: > > Richard Weinberger wrote on 2014/07/18 14:58:30: > > > > On Thu, Jul 17, 2014 at 1:18 PM, Joakim Tjernlund > > wrote: > > > Trying to real /proc//exe I noticed I could not read links not &

Re: ls -l /proc/1/exe -> Permission denied

2014-07-20 Thread Joakim Tjernlund
Andreas Schwab wrote on 2014/07/19 22:21:59: > > Joakim Tjernlund writes: > > > Trying to real /proc//exe I noticed I could not read links not > > belonging to my user such as: > > jocke > ls -l /proc/1/exe > > ls: cannot read symbolic

Re: ls -l /proc/1/exe -> Permission denied

2014-07-20 Thread Joakim Tjernlund
Richard Weinberger wrote on 2014/07/20 13:06:30: > > On Sun, Jul 20, 2014 at 12:55 PM, Andreas Schwab wrote: > > Joakim Tjernlund writes: > > > >> Andreas Schwab wrote on 2014/07/19 22:21:59: > >>> > >>> Joakim Tjernlund writes: > >&

Re: ls -l /proc/1/exe -> Permission denied

2014-07-20 Thread Joakim Tjernlund
Richard Weinberger wrote on 2014/07/20 14:05:41: > > Am 20.07.2014 13:51, schrieb Andreas Schwab: > > Richard Weinberger writes: > >> Do you have an example? > > > > proc symlinks are special because they actually resolve to the inode. > > Ah. If an attacker manages the kernel to follow the sy

Re: ls -l /proc/1/exe -> Permission denied

2014-07-20 Thread Joakim Tjernlund
Richard Weinberger wrote on 2014/07/20 22:00:02: > > Am 20.07.2014 21:15, schrieb Joakim Tjernlund: > > Richard Weinberger wrote on 2014/07/20 14:05:41: > >> > >> Am 20.07.2014 13:51, schrieb Andreas Schwab: > >>> Richard Weinberger writes: >

Re: [PATCH v3 03/21] powerpc/8xx: exception InstructionAccess does not exist on MPC8xx

2014-09-18 Thread Joakim Tjernlund
Christophe Leroy wrote on 2014/09/17 18:36:57: > > Exception InstructionAccess does not exist on MPC8xx. No need to branch there from somewhere else. > Handling can be done directly in InstructionTLBError Exception. > > Signed-off-by: Christophe Leroy > > --- > Changes in v2: > - None > > C

Re: [PATCH v3 03/21] powerpc/8xx: exception InstructionAccess does not exist on MPC8xx

2014-09-18 Thread Joakim Tjernlund
leroy christophe wrote on 2014/09/18 18:42:14: > > Le 18/09/2014 17:15, Joakim Tjernlund a écrit : > > Christophe Leroy wrote on 2014/09/17 18:36:57: > >> Exception InstructionAccess does not exist on MPC8xx. No need to branch > > there from somewhere else. > &g

Re: [PATCH v3 03/21] powerpc/8xx: exception InstructionAccess does not exist on MPC8xx

2014-09-18 Thread Joakim Tjernlund
christophe leroy wrote on 2014/09/18 21:11:01: > > > Le 18/09/2014 20:12, Joakim Tjernlund a écrit : > > leroy christophe wrote on 2014/09/18 18:42:14: > > > >> Le 18/09/2014 17:15, Joakim Tjernlund a écrit : > >>> Christophe Leroy wrote on

Re: [PATCH 2/2] powerpc32: add support for csum_add()

2014-09-19 Thread Joakim Tjernlund
inline function. > > Signed-off-by: Christophe Leroy > > --- Ouch, this is still so. Back in 2010 I reported this to gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43892 Anyway, Acked-by: Joakim Tjernlund -- To unsubscribe from this list: send the line "unsubsc

Re: [PATCH 2/2] powerpc32: add support for csum_add()

2014-09-19 Thread Joakim Tjernlund
Christophe Leroy wrote on 2014/09/19 15:57:56: > +#define HAVE_ARCH_CSUM_ADD > +static inline __wsum csum_add(__wsum csum, __wsum addend) > +{ > +__asm__("\n\ > + addc %0,%0,%1 \n\ > + addze %0,%0 \n\ > + " > + : "=r" (csum) > + : "r" (addend), "0"(csum)); hmm, I wonder if not this

ls -l /proc/1/exe -> Permission denied

2014-07-17 Thread Joakim Tjernlund
Trying to real /proc//exe I noticed I could not read links not belonging to my user such as: jocke > ls -l /proc/1/exe ls: cannot read symbolic link /proc/1/exe: Permission denied Is this expected? uname -a Linux gentoo-jocke 3.12.21 -- To unsubscribe from this list: send the line

Re: [PATCH v2 03/19] powerpc/8xx: exception InstructionAccess does not exist on MPC8xx

2014-08-29 Thread Joakim Tjernlund
Christophe Leroy wrote on 2014/08/29 11:14:37: > > Exception InstructionAccess does not exist on MPC8xx. No need to branch there from somewhere else. > Handling can be done directly in InstructionTLBError Exception. > > Signed-off-by: Christophe Leroy > > --- > arch/powerpc/kernel/head_8xx.

Re: [PATCH v2 17/19] powerpc/8xx: set PTE bit 22 off TLBmiss

2014-08-29 Thread Joakim Tjernlund
Christophe Leroy wrote on 2014/08/29 11:14:40: > > No need to re-set this bit at each TLB miss. Let's set it in the PTE. > > Signed-off-by: Christophe Leroy > > --- > arch/powerpc/include/asm/pgtable-ppc32.h | 21 + > arch/powerpc/include/asm/pte-8xx.h |7 +

Re: [PATCH v2 02/19] powerpc/8xx: Use SCRATCH0 and SCRATCH1 also for TLB handlers

2014-08-29 Thread Joakim Tjernlund
Christophe Leroy wrote on 2014/08/29 11:14:37: > > SCRATCH0 and SCRATCH1 are only used in Exceptions prologs where no other > exception can happen. There is therefore no need to preserve them accross > TLB handlers, we can use them there as in other exceptions. One of the > advantages is that th

Re: [PATCH v2 00/19] powerpc/8xx: Optimise MMU TLB handling and add support of 16k pages

2014-08-29 Thread Joakim Tjernlund
Christophe Leroy wrote on 2014/08/29 11:13:24: > > This patchset: > 1) provides several MMU TLB handling optimisation on MPC8xx. > 2) adds support of 16k pages on MPC8xx. > All changes have been successfully tested on a custom board equipped with MPC885 > > The two differences with first versio

Re: [PATCH 00/20] powerpc/8xx: Optimise MMU TLB handling and add support of 16k pages

2014-08-10 Thread Joakim Tjernlund
/08/2014 9:04 Cc: linux-kernel@vger.kernel.org, linuxppc-...@lists.ozlabs.org, Joakim Tjernlund , scottw...@freescale.com Subject: [PATCH 00/20] powerpc/8xx: Optimise MMU TLB handling and add support of 16k pages === This patchset: * provides several MMU TLB handling

Re: [PATCH 02/10] dpaa_eth: add support for DPAA Ethernet

2015-07-29 Thread Joakim Tjernlund
On Wed, 2015-07-22 at 19:16 +0300, Madalin Bucur wrote: > This introduces the Freescale Data Path Acceleration Architecture > (DPAA) Ethernet driver (dpaa_eth) that builds upon the DPAA QMan, > BMan, PAMU and FMan drivers to deliver Ethernet connectivity on > the Freescale DPAA QorIQ platforms. >

Re: [PATCH RFC 02/10] dpaa_eth: add support for DPAA Ethernet

2015-07-20 Thread Joakim Tjernlund
On Wed, 2015-04-01 at 19:19 +0300, Madalin Bucur wrote: > This introduces the Freescale Data Path Acceleration Architecture > (DPAA) Ethernet driver (dpaa_eth) that builds upon the DPAA QMan, > BMan, PAMU and FMan drivers to deliver Ethernet connectivity on > the Freescale DPAA QorIQ platforms. >

Re: [PATCH RFC 02/10] dpaa_eth: add support for DPAA Ethernet

2015-07-20 Thread Joakim Tjernlund
On Mon, 2015-07-20 at 09:54 +0200, Joakim Tjernlund wrote: > On Wed, 2015-04-01 at 19:19 +0300, Madalin Bucur wrote: > > This introduces the Freescale Data Path Acceleration Architecture > > (DPAA) Ethernet driver (dpaa_eth) that builds upon the DPAA QMan, > > BMan, PAM

Re: [RFC,v3,12/12] fsl/fman: Add FMan MAC driver

2015-07-20 Thread Joakim Tjernlund
On Wed, 2015-04-29 at 12:29 +0300, Igal.Liberman wrote: > From: Igal Liberman > > This patch adds the Ethernet MAC driver support. > > Signed-off-by: Igal Liberman > --- > drivers/net/ethernet/freescale/fman/inc/mac.h | 125 + > drivers/net/ethernet/freescale/fman/mac/Makefile |3

Re: [PATCH RFC 02/10] dpaa_eth: add support for DPAA Ethernet

2015-07-20 Thread Joakim Tjernlund
On Mon, 2015-07-20 at 12:18 +, Madalin-Cristian Bucur wrote: > Hi Joakim > > > -Original Message- > > From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se] > > Sent: Monday, July 20, 2015 10:57 AM > > To: linuxppc-...@lists.ozlabs.org; net...@

Re: [RFC,v3,12/12] fsl/fman: Add FMan MAC driver

2015-07-20 Thread Joakim Tjernlund
On Mon, 2015-07-20 at 12:28 +, Madalin-Cristian Bucur wrote: > Hi Joakim, > > It seems we just need to align to the API introduced by Thomas Petazzoni > in 3be2a49e. > > Madalin So it seems, any idea when the next spin will be ready? Could you also push it onto http://git.freescale.com/gi

Re: [RFC,v3,12/12] fsl/fman: Add FMan MAC driver

2015-07-21 Thread Joakim Tjernlund
On Mon, 2015-07-20 at 13:33 +, Madalin-Cristian Bucur wrote: > > -Original Message- > > From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se] > > Sent: Monday, July 20, 2015 3:57 PM > > To: net...@vger.kernel.org; Liberman Igal-B31950; Bucur Madalin-Cri

Re: JFFS2 deadlock

2016-02-24 Thread Joakim Tjernlund
On Thu, 2016-02-18 at 10:57 +0100, thomas.bet...@rohde-schwarz.com wrote: > Hello David: > > > > > > > > > Please could you try what's in the tree at > > > http://git.infradead.org/users/dwmw2/jffs2-fixes.git > > > > Your patch looks much simpler, and I will definitely test it. It may > > take

Re: [PATCH 4/5] fsl/qe: Add QE TDM lib

2016-03-30 Thread Joakim Tjernlund
On Wed, 2016-03-30 at 16:50 +0800, Zhao Qiang wrote: > QE has module to support TDM, some other protocols > supported by QE are based on TDM. > add a qe-tdm lib, this lib provides functions to the protocols > using TDM to configurate QE-TDM. > > Signed-off-by: Zhao Qiang > --- >  drivers/soc/fsl/

Re: [net-next v4 2/8] dpaa_eth: add support for DPAA Ethernet

2015-11-03 Thread Joakim Tjernlund
On Mon, 2015-11-02 at 19:31 +0200, Madalin Bucur wrote: > + if (unlikely(fd_status & FM_FD_STAT_RX_ERRORS) != 0) { > + if (net_ratelimit()) > + netif_warn(priv, hw, net_dev, "FD status = 0x%08x\n", > + fd_status & FM_FD_STAT

Re: [net-next v4 2/8] dpaa_eth: add support for DPAA Ethernet

2015-11-03 Thread Joakim Tjernlund
On Tue, 2015-11-03 at 09:37 +, Madalin-Cristian Bucur wrote: > > -Original Message- > > From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se] > > > > On Mon, 2015-11-02 at 19:31 +0200, Madalin Bucur wrote: > > > + if (unlikely(fd_st

Re: [PATCH] powerpc/8xx: drop unused self-modifying code alternative to FixupDAR.

2019-08-22 Thread Joakim Tjernlund
o. Reviewed-by: Joakim Tjernlund Jocke > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/kernel/head_8xx.S | 24 > 1 file changed, 24 deletions(-) > > diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S > index b8ca5b4

Re: Re: [PATCH] cfi: fix deadloop in cfi_cmdset_0002.c do_write_buffer

2019-02-08 Thread Joakim Tjernlund
On Thu, 2019-02-07 at 23:50 +, Sobon, Przemyslaw wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > Hi Ikegami, > > I have seen a case myself where a value

Re: [PATCH v3 4/6] dt-bindings: soc/fsl: qe: document new fsl,qe-snums binding

2019-05-13 Thread Joakim Tjernlund
On Mon, 2019-05-13 at 11:14 +, Rasmus Villemoes wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > Reading table 4-30, and its footnotes, of the QUICC Engine

Re: [PATCH v1 4/8] soc/fsl/qbman: Use index when accessing device tree properties

2019-05-13 Thread Joakim Tjernlund
On Mon, 2019-05-13 at 16:09 +, Roy Pledge wrote: > > The index value should be passed to the of_parse_phandle() > function to ensure the correct property is read. Is this a bug fix? Maybe for stable too? Jocke > > Signed-off-by: Roy Pledge > --- > drivers/soc/fsl/qbman/dpaa_sys.c | 2 +-

Re: [PATCH v1 4/8] soc/fsl/qbman: Use index when accessing device tree properties

2019-05-13 Thread Joakim Tjernlund
On Mon, 2019-05-13 at 17:40 +, Roy Pledge wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > On 5/13/2019 12:40 PM, Joakim Tjernlund wrote

Re: [RFC PATCH v2 1/5] mtd: cfi_cmdset_0002: Add support for polling status register

2019-03-21 Thread Joakim Tjernlund
On Thu, 2019-03-21 at 23:15 +0530, Vignesh Raghavendra wrote: > > HyperFlash devices are compliant with CFI AMD/Fujitsu Extended Command > Set(0x0002) for flash operations, therefore > drivers/mtd/chips/cfi_cmdset_0002.c > can be use as is. But these devices do not support DQ polling method of >

Re: [RFC PATCH v2 1/5] mtd: cfi_cmdset_0002: Add support for polling status register

2019-03-25 Thread Joakim Tjernlund
On Mon, 2019-03-25 at 18:27 +0530, Vignesh Raghavendra wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > Hi, > > On 21/03/19 11:41 PM

Re: [RFC PATCH v2 1/5] mtd: cfi_cmdset_0002: Add support for polling status register

2019-03-25 Thread Joakim Tjernlund
On Mon, 2019-03-25 at 22:36 +0530, Vignesh Raghavendra wrote: > > On 25/03/19 7:21 PM, Joakim Tjernlund wrote: > > On Mon, 2019-03-25 at 18:27 +0530, Vignesh Raghavendra wrote: > > > CAUTION: This email originated from outside of the organization. Do not > > > c

Re: [PATCH 12/17] powerpc/8xx: Remove PTE_ATOMIC_UPDATES

2018-05-04 Thread Joakim Tjernlund
On Fri, 2018-05-04 at 14:34 +0200, Christophe Leroy wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > commit 1bc54c03117b9 ("powerpc: rework 4xx PTE access and

Re: [PATCH 0/5] DPAA Ethernet fixes

2018-03-14 Thread Joakim Tjernlund
On Wed, 2018-03-14 at 08:37 -0500, Madalin Bucur wrote: > Hi, > > This patch set is addressing several issues in the DPAA Ethernet > driver suite: > > - module unload crash caused by wrong reference to device being left >in the cleanup code after the DSA related changes > - scheduling wile

Re: [PATCH] jffs2: remove fd from the f->dents list immediately.

2018-03-16 Thread Joakim Tjernlund
On Fri, 2018-03-16 at 19:05 +0800, Yufen Yu wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > commit 15953580e79b ("[JFFS2] Improve getdents vs. f_pos handling

Re: fs/jffs2/readinode.c:189: faulty logic ?

2017-01-24 Thread Joakim Tjernlund
On Tue, 2017-01-24 at 15:52 +0100, Marek Vasut wrote: > On 01/24/2017 09:15 AM, David Binderman wrote: > > Hello there, > > > > fs/jffs2/readinode.c:189]: (style) Condition 'tn.fn.ofs>=offset' is always > > true > > > > Source code is > > > > if (tn->fn->ofs < offset) > > ne

Re: [Patch v2 5/5] drivers/net: support hdlc function for QE-UCC

2016-06-02 Thread Joakim Tjernlund
On Thu, 2016-06-02 at 09:45 +0800, Zhao Qiang wrote: > The driver add hdlc support for Freescale QUICC Engine. > It support NMSI and TSA mode. > > Signed-off-by: Zhao Qiang > --- > Changes for v2: > - remove useless code. > - remove Unnecessary casts > - return IRQ_NONE when the

Re: [PATCH net-next v6 02/10] dpaa_eth: add support for DPAA Ethernet

2016-11-07 Thread Joakim Tjernlund
IQ platforms. Nice to see DPAA support soon entering the kernel(not a day too early:) I would like to see BQL supported from day one though, if possible.  Regards           Joakim Tjernlund

[PATCHv2 2/2] x86: Match bitops prototypes

2017-03-17 Thread Joakim Tjernlund
Building VirtualBox modules causes type mismatch complaints when mixing void * and unsigned long *. Adjust bitops function prototypes in asm-generic/bitops/le.h to match the generic ones in arch/x86/include/asm/le.h That is, replace void* with unsigned long * Cc: # v4.9+ Signed-off-by: Joakim

[PATCHv2 1/2] x86: asm/bitops.h

2017-03-17 Thread Joakim Tjernlund
VirtualBox modules complains when doing pointer arithmetic's, replace void * cast with uintptr_t to do pointer arithmetic's in integer space instead. Cc: # v4.9+ Signed-off-by: Joakim Tjernlund --- v2 - Improve wording arch/x86/include/asm/bitops.h | 2 +- 1 file changed, 1 inser

[PATCH 1/2] x86: asm/bitops.h

2017-03-16 Thread Joakim Tjernlund
Replace void * cast with uintptr_t to do pointer arithmetic's Cc: # v4.9+ Signed-off-by: Joakim Tjernlund --- arch/x86/include/asm/bitops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/bitops.h b/arch/x86/include/asm/bitops.h index 8540227..b5

[PATCH 2/2] x86: Match bitops prototypes

2017-03-16 Thread Joakim Tjernlund
Adjust bitops function prototypes in asm-generic/bitops/le.h to match the generic ones in arch/x86/include/asm/le.h That is, replace void* with unsigned long* Cc: # v4.9+ Signed-off-by: Joakim Tjernlund --- include/asm-generic/bitops/le.h | 42 ++--- 1 file

different xxx_bit() function prototypes in bitops for x86 vs generic

2017-03-09 Thread Joakim Tjernlund
Building virtualbox external kernel modules warns about different types, example: include/asm-generic/bitops/le.h; set_bit_le(int nr, const void *addr) vs arch/x86/include/asm/bitops.h: set_bit(long nr, volatile unsigned long *addr) This difference is causes complaints, changing set_bit_le

[PATCH 1/2] Correct function definition for C++

2017-02-21 Thread Joakim Tjernlund
C++ does does not like the extra extern before asmlinkage, remove it. Signed-off-by: Joakim Tjernlund --- include/linux/printk.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/printk.h b/include/linux/printk.h index 3472cc6..be823f5 100644 --- a/include

[PATCH 2/2] compiler.h: fix C++ uninitialized const issue

2017-02-21 Thread Joakim Tjernlund
_val; char __c[1]; } __u={0} To please gcc 6.3.0 also add in a _u(){} as default ctor. This makes C++ happy enough to build. Signed-off-by: Joakim Tjernlund --- include/linux/compiler.h | 12 1 file changed, 12 insertions(+) diff --git a/include/linux/compiler.h b/include/linux/

Re: [PATCH 1/2] Correct function definition for C++

2017-02-21 Thread Joakim Tjernlund
On Wed, 2017-02-22 at 08:10 +0100, Greg KH wrote: > On Tue, Feb 21, 2017 at 04:24:04PM +0100, Joakim Tjernlund wrote: > > C++ does does not like the extra extern before asmlinkage, remove it. > > > > Signed-off-by: Joakim Tjernlund > > --- > > include/linux/prin

Re: [PATCH 1/2] Correct function definition for C++

2017-02-22 Thread Joakim Tjernlund
On Wed, 2017-02-22 at 14:03 +0100, g...@kroah.com wrote: > On Wed, Feb 22, 2017 at 07:50:46AM +0000, Joakim Tjernlund wrote: > > On Wed, 2017-02-22 at 08:10 +0100, Greg KH wrote: > > > On Tue, Feb 21, 2017 at 04:24:04PM +0100, Joakim Tjernlund wrote: > > > > C++ does

Re: [PATCH 1/2] Correct function definition for C++

2017-02-22 Thread Joakim Tjernlund
On Wed, 2017-02-22 at 15:22 +0100, g...@kroah.com wrote: > On Wed, Feb 22, 2017 at 02:00:53PM +0000, Joakim Tjernlund wrote: > > On Wed, 2017-02-22 at 14:03 +0100, g...@kroah.com wrote: > > > On Wed, Feb 22, 2017 at 07:50:46AM +, Joakim Tjernlund wrote: > > > &g

Re: [PATCH] x86/fpu/xstate: Fix xcomp_bv in XSAVES header

2017-02-02 Thread Joakim Tjernlund
n commit: b22cbe404a9cc3c7949e380fa1861e31934c8978, and when > > __fpu_restore_sig() does fpu__restore() for a COMPAT-mode app, > > a #GP occurs. This can be easily triggered by doing valgrind on > > a COMPAT-mode "Hello World," as reported by Joakim Tjernlund and > &

  1   2   >