Re: [PATCH] powerpc: Fix handling of alignment interrupt on dcbz instruction

2017-09-13 Thread Michal Sojka
On Wed, Sep 13 2017, Michael Ellerman wrote: > Michal, Christian, can you please confirm this fixes the problems you > were seeing. Yes, it fixes my problem. Thanks. -Michal

Unable to handle kernel paging request for unaligned access

2017-09-08 Thread Michal Sojka
Hi all, commit 31bfdb036f12 ("powerpc: Use instruction emulation infrastructure to handle alignment faults", 2017-08-30) breaks my MPC5200B system. Boot log is below. Let me know if you need more information to debug the problem. Best regards, -Michal Sojka Linux version 4.13.0

Re: MPC5200 does not boot

2016-08-10 Thread Michal Sojka
ommit that didn't boot. Let me know if you need more information. Thanks. -Michal On Tue, Aug 02 2016, Benjamin Herrenschmidt wrote: > On Tue, 2016-08-02 at 00:44 +0200, Michal Sojka wrote: >> Hi Benjamin, >> >> the following commit causes my MP

Re: MPC5200 does not boot

2016-08-01 Thread Michal Sojka
On Tue, Aug 02 2016, Benjamin Herrenschmidt wrote: > On Tue, 2016-08-02 at 00:44 +0200, Michal Sojka wrote: >> Hi Benjamin, >> >> the following commit causes my MPC5200 not to boot. >> >> commit 9402c684613163888714df0955fa1f17142b08bf > > Does this fi

MPC5200 does not boot

2016-08-01 Thread Michal Sojka
Hi Benjamin, the following commit causes my MPC5200 not to boot. commit 9402c684613163888714df0955fa1f17142b08bf Author: Benjamin Herrenschmidt Date: Tue Jul 5 15:03:41 2016 +1000 powerpc: Factor do_feature_fixup calls 32 and 64-bit do a similar set o

Re: [PATCH v3] powerpc32: memset: only use dcbz once cache is enabled

2015-09-14 Thread Michal Sojka
On Mon, Sep 14 2015, Christophe Leroy wrote: > memset() uses instruction dcbz to speed up clearing by not wasting time > loading cache line with data that will be overwritten. > Some platform like mpc52xx do no have cache active at startup and > can therefore not use memset(). Allthough no part of

Re: [PATCH] powerpc32: memcpy: only use dcbz once cache is enabled

2015-09-07 Thread Michal Sojka
s dcbz) if > cache is already enabled. > > Once the initial MMU is setup, in machine_init() we patch memcpy() > by replacing the temporary 'dcbt' by 'dcbz' > > Reported-by: Michal Sojka > Signed-off-by: Christophe Leroy >

Re: memcpy regression

2015-09-07 Thread Michal Sojka
On 4.9.2015 21:49, Michal Sojka wrote: On 4.9.2015 20:10, christophe leroy wrote: Le 04/09/2015 16:35, Michal Sojka a écrit : On Fri, Sep 04 2015, Christophe LEROY wrote: Le 04/09/2015 15:33, Michal Sojka a écrit : Dear Christophe, my MPC5200-based system stopped booting recently. I

Re: memcpy regression

2015-09-07 Thread Michal Sojka
On 4.9.2015 20:10, christophe leroy wrote: Le 04/09/2015 16:35, Michal Sojka a écrit : On Fri, Sep 04 2015, Christophe LEROY wrote: Le 04/09/2015 15:33, Michal Sojka a écrit : Dear Christophe, my MPC5200-based system stopped booting recently. I bisected the problem to your commit below

Re: memcpy regression

2015-09-07 Thread Michal Sojka
On Fri, Sep 04 2015, Christophe LEROY wrote: > Le 04/09/2015 15:33, Michal Sojka a écrit : >> Dear Christophe, >> >> my MPC5200-based system stopped booting recently. I bisected the problem >> to your commit below. If I revert that commit (on top of >> 807249d

memcpy regression

2015-09-07 Thread Michal Sojka
memcpy This patch renames memcpy as generic_memcpy, and renames cacheable_memcpy as memcpy On MPC885, we get approximatly 7% increase of the transfer rate on an FTP reception Signed-off-by: Christophe Leroy Signed-off-by: Scott Wood Best regards, -Michal Sojka

Re: memcpy regression

2015-09-07 Thread Michal Sojka
On 7.9.2015 10:40, Michael Ellerman wrote: On Mon, 2015-09-07 at 09:08 +0200, Christophe LEROY wrote: Hi Michael Le 07/09/2015 03:14, Michael Ellerman a écrit : On Sun, 2015-09-06 at 23:01 +0200, Michal Sojka wrote: I found the problem. The compiler replaces an assignment with a call to

Re: memcpy regression

2015-09-06 Thread Michal Sojka
On Sun, Sep 06 2015, Michal Sojka wrote: > On Sun, Sep 06 2015, christophe leroy wrote: >> Le 05/09/2015 02:08, Michal Sojka a écrit : >>> On 4.9.2015 21:49, Michal Sojka wrote: >>>> On 4.9.2015 20:10, christophe leroy wrote: >>>>> >>>>>

Re: memcpy regression

2015-09-06 Thread Michal Sojka
On Sun, Sep 06 2015, christophe leroy wrote: > Le 05/09/2015 02:08, Michal Sojka a écrit : >> On 4.9.2015 21:49, Michal Sojka wrote: >>> On 4.9.2015 20:10, christophe leroy wrote: >>>> >>>> >>>> Le 04/09/2015 16:35, Michal Sojka a écr