Re: doing lots of disk writes causes oom killer to kill processes

2013-03-12 Thread Michal Suchanek
On 12 March 2013 03:15, Hillf Danton dhi...@gmail.com wrote: On 11 March 2013 13:15, Michal Suchanek hramr...@gmail.com wrote: On 8 February 2013 17:31, Michal Suchanek hramr...@gmail.com wrote: Hello, I am dealing with VM disk images and performing something like wiping free space to prepare

Re: doing lots of disk writes causes oom killer to kill processes

2013-08-26 Thread Michal Suchanek
On 12 March 2013 03:15, Hillf Danton dhi...@gmail.com wrote: On 11 March 2013 13:15, Michal Suchanek hramr...@gmail.com wrote: On 8 February 2013 17:31, Michal Suchanek hramr...@gmail.com wrote: Hello, I am dealing with VM disk images and performing something like wiping free space to prepare

Re: doing lots of disk writes causes oom killer to kill processes

2013-09-17 Thread Michal Suchanek
On 5 September 2013 12:12, Michal Suchanek hramr...@gmail.com wrote: Hello On 26 August 2013 15:51, Michal Suchanek hramr...@gmail.com wrote: On 12 March 2013 03:15, Hillf Danton dhi...@gmail.com wrote: On 11 March 2013 13:15, Michal Suchanek hramr...@gmail.com wrote: On 8 February 2013 17:31

Re: doing lots of disk writes causes oom killer to kill processes

2013-09-17 Thread Michal Suchanek
On 17 September 2013 23:13, Jan Kara j...@suse.cz wrote: Hello, On Tue 17-09-13 15:31:31, Michal Suchanek wrote: On 5 September 2013 12:12, Michal Suchanek hramr...@gmail.com wrote: On 26 August 2013 15:51, Michal Suchanek hramr...@gmail.com wrote: On 12 March 2013 03:15, Hillf Danton

Re: doing lots of disk writes causes oom killer to kill processes

2013-09-18 Thread Michal Suchanek
On 17 September 2013 23:13, Jan Kara j...@suse.cz wrote: Hello, On Tue 17-09-13 15:31:31, Michal Suchanek wrote: On 5 September 2013 12:12, Michal Suchanek hramr...@gmail.com wrote: On 26 August 2013 15:51, Michal Suchanek hramr...@gmail.com wrote: On 12 March 2013 03:15, Hillf Danton

Re: doing lots of disk writes causes oom killer to kill processes

2013-10-15 Thread Michal Suchanek
On 9 October 2013 16:19, Michal Suchanek hramr...@gmail.com wrote: Hello, On 19 September 2013 12:13, Jan Kara j...@suse.cz wrote: On Wed 18-09-13 16:56:08, Michal Suchanek wrote: On 17 September 2013 23:13, Jan Kara j...@suse.cz wrote: Hello, The default for dirty_ratio

Re: doing lots of disk writes causes oom killer to kill processes

2013-10-09 Thread Michal Suchanek
Hello, On 19 September 2013 12:13, Jan Kara j...@suse.cz wrote: On Wed 18-09-13 16:56:08, Michal Suchanek wrote: On 17 September 2013 23:13, Jan Kara j...@suse.cz wrote: Hello, The default for dirty_ratio/dirty_background_ratio is 60/40. Setting Ah, that's not upstream default

Re: doing lots of disk writes causes oom killer to kill processes

2013-09-05 Thread Michal Suchanek
Hello On 26 August 2013 15:51, Michal Suchanek hramr...@gmail.com wrote: On 12 March 2013 03:15, Hillf Danton dhi...@gmail.com wrote: On 11 March 2013 13:15, Michal Suchanek hramr...@gmail.com wrote: On 8 February 2013 17:31, Michal Suchanek hramr...@gmail.com wrote: Hello, I am dealing

Re: doing lots of disk writes causes oom killer to kill processes

2013-09-20 Thread Michal Suchanek
Hello, On 19 September 2013 10:07, Hillf Danton dhi...@gmail.com wrote: Hello Michal Take it easy please, the kernel is made by human hands. Can you please try the diff(and sorry if mail agent reformats it)? Best Regards Hillf --- a/mm/vmscan.c Wed Sep 18 08:44:08 2013 +++

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-29 Thread Michal Suchanek
On 13 January 2014 10:02, boris brezillon b.brezil...@overkiz.com wrote: Hi Henrik, On 11/01/2014 22:11, Henrik Nordström wrote: bbrezillon thanks for pointing out your documents bbrezillon I'm trying to get the NAND driver with HW ECC (and HW RND) without using DMA at all I tried many

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-29 Thread Michal Suchanek
On 29 January 2014 16:43, boris brezillon dev b.brezillon@gmail.com wrote: Hello Michal, On 29/01/2014 16:11, Michal Suchanek wrote: On 13 January 2014 10:02, boris brezillon b.brezil...@overkiz.com wrote: boot 0 part properties: - uses sequential ECC - uses 1024 bytes ECC blocks

Re: [linux-sunxi] [PATCH 00/10] net: stmmac: Add sun7i GMAC glue layer

2013-12-06 Thread Michal Suchanek
-micro: Enable GMAC instead of EMAC ARM: dts: sun7i: Add ethernet alias for GMAC Tested-By: Michal Suchanek hramr...@gmail.com Works for me with RGMII and MII phy on top of 3.13rc3. Thanks Michal -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [linux-sunxi] Re: [PATCH 3/3] ARM: sunxi: dts: Add ahci support to a few A10 and A20 boards

2013-12-07 Thread Michal Suchanek
On 7 December 2013 12:47, Olliver Schinagl oliver+l...@schinagl.nl wrote: Hey maxime, On 06-12-13 19:33, Maxime Ripard wrote: Hi Oliver, On Wed, Dec 04, 2013 at 01:10:55PM +0100, oli...@schinagl.nl wrote: From: Oliver Schinagl oli...@schinagl.nl This patch adds sunxi sata support to A10

Re: doing lots of disk writes causes oom killer to kill processes

2014-07-07 Thread Michal Suchanek
On 9 October 2013 16:19, Michal Suchanek hramr...@gmail.com wrote: Hello, On 19 September 2013 12:13, Jan Kara j...@suse.cz wrote: On Wed 18-09-13 16:56:08, Michal Suchanek wrote: On 17 September 2013 23:13, Jan Kara j...@suse.cz wrote: Hello, The default for dirty_ratio

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-29 Thread Michal Suchanek
On 29 September 2014 10:54, Thierry Reding thierry.red...@gmail.com wrote: On Mon, Sep 29, 2014 at 10:27:41AM +0200, Geert Uytterhoeven wrote: Hi Thierry, (CC linux-pm, as PM is the real reason behind disabling unused clocks) (CC gregkh and lkml, for driver core) On Mon, Sep 29, 2014 at

Re: [PATCH 1/3] ARM: dts: sunxi: A10s Olinuxino add missing SPI and simplefb.

2015-04-26 Thread Michal Suchanek
Hello, On 26 April 2015 at 10:39, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Mon, Mar 23, 2015 at 03:00:31PM +0100, Michal Suchanek wrote: Signed-off-by: Michal Suchanek hramr...@gmail.com ohci0 { status = okay; }; diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 16:33, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote: On 26 April 2015 at 14:51, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 02:38:18PM +0200, Michal Suchanek wrote

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 14:51, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 02:38:18PM +0200, Michal Suchanek wrote: On 26 April 2015 at 13:56, Martin Sperl ker...@martin.sperl.org wrote: On 26.04.2015, at 13:23, Hans de Goede hdego...@redhat.com wrote: I think

Re: [PATCH 3/3] ARM: sunxi: spi: use proper errno when message is too long.

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 10:42, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sat, Apr 25, 2015 at 09:21:07PM +0200, Michal Suchanek wrote: Signed-off-by: Michal Suchanek hramr...@gmail.com No commit log? --- drivers/spi/spi-sun4i.c | 2 +- drivers/spi/spi-sun6i.c | 2 +- 2 files

Re: [PATCH 2/3] spidev: Add DT binding example.

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 12:32, Mark Brown broo...@kernel.org wrote: On Tue, Mar 24, 2015 at 11:50:53AM +0100, Michal Suchanek wrote: +A spidev example for devicetree binding in a board dts file +spi2 { No, this is broken - nothing should ever bind to spidev as spidev. The fact that we have

Re: [PATCH 2/3] spidev: Add DT binding example.

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 13:01, Mark Brown broo...@kernel.org wrote: On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote: On 26 April 2015 at 12:32, Mark Brown broo...@kernel.org wrote: No, this is broken - nothing should ever bind to spidev as spidev. The fact that we have

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 13:56, Martin Sperl ker...@martin.sperl.org wrote: On 26.04.2015, at 13:23, Hans de Goede hdego...@redhat.com wrote: I think there is actual a use for just binding spidev as spidev, think e.g. the spi pins on the raspberry pi. How do you deal we suggest with such a

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 17:54, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 05:33:36PM +0200, Michal Suchanek wrote: On 26 April 2015 at 16:33, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-28 Thread Michal Suchanek
On 28 April 2015 at 16:16, Mark Brown broo...@kernel.org wrote: On Tue, Apr 28, 2015 at 02:52:54PM +0200, Michal Suchanek wrote: On 28 April 2015 at 14:15, Eric D. eric.dillm...@gmail.com wrote: I was just seeking a way to make spidev device appear under mainline kernel and found

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-28 Thread Michal Suchanek
On 28 April 2015 at 16:03, Eric D. eric.dillm...@gmail.com wrote: Hi, I give Maxime's patch a try and got 4 spidev devices : /dev/spidev32766.[0-3] root@bpi:~# ls -lh /dev/spidev* crw--- 1 root root 153, 0 Apr 28 15:52 /dev/spidev32766.0 crw--- 1 root root 153, 1 Apr 28 15:52

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-28 Thread Michal Suchanek
On 28 April 2015 at 16:12, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Tue, Apr 28, 2015 at 07:03:16AM -0700, Eric D. wrote: Hi, I give Maxime's patch a try and got 4 spidev devices : /dev/spidev32766.[0-3] root@bpi:~# ls -lh /dev/spidev* crw--- 1 root root 153, 0 Apr 28

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-28 Thread Michal Suchanek
On 28 April 2015 at 14:15, Eric D. eric.dillm...@gmail.com wrote: Hi, I'am a mainline linux user of A20 (bananapi). I'am currently running a debian jessie with latest mainline kernel (4.0.0+). I have a project of home automation, based on nrfl04+ spi driven wireless chip. I was just seeking

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-28 Thread Michal Suchanek
On 28 April 2015 at 19:17, Mark Brown broo...@kernel.org wrote: On Tue, Apr 28, 2015 at 04:22:24PM +0200, Michal Suchanek wrote: On 28 April 2015 at 16:16, Mark Brown broo...@kernel.org wrote: That is not the case as you well know. As has been said several times the compatible

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-29 Thread Michal Suchanek
On 29 April 2015 at 20:56, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Wed, Apr 29, 2015 at 8:37 PM, Michal Suchanek hramr...@gmail.com wrote: I am using a version of Maxime's patch myself right now. It does not seem it's going to be include in the kernel any time soon, however. FWIW I

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-29 Thread Michal Suchanek
On 29 April 2015 at 20:06, Mark Brown broo...@kernel.org wrote: On Wed, Apr 29, 2015 at 07:44:59PM +0200, Michal Suchanek wrote: On 29 April 2015 at 19:40, Mark Brown broo...@kernel.org wrote: Please stop this, it is not helpful. Then please make one of the useful ways of instantiating

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-29 Thread Michal Suchanek
On 29 April 2015 at 19:40, Mark Brown broo...@kernel.org wrote: On Tue, Apr 28, 2015 at 10:43:37PM +0200, Michal Suchanek wrote: I know you have a viewpoint on this but engaging in this way is not helping anyone. The point is that patching the kernel to use spidev is totally useless

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Michal Suchanek
On 26 April 2015 at 17:47, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 04:40:50PM +0200, Hans de Goede wrote: Hi, I've a feeling everyone in this thread is ignoring the raspberry pi use-case. Where the board is specifically designed for educational purposes

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Michal Suchanek
On 27 April 2015 at 11:36, Mark Brown broo...@kernel.org wrote: On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote: On 26 April 2015 at 14:51, Maxime Ripard No, you add a compatible for the device that is connected to the bus through that slot. There is no device connected

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Michal Suchanek
On 27 April 2015 at 12:04, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 08:53:16PM +0200, Michal Suchanek wrote: Also for driver prototyping you need a compatible which makes the device accessible. If no spidev general compatible is available people

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Michal Suchanek
On 27 April 2015 at 12:10, Mark Brown broo...@kernel.org wrote: On Sun, Apr 26, 2015 at 04:40:50PM +0200, Hans de Goede wrote: Hi, Please always provide context in your replies so people know what you're talking about. I've a feeling everyone in this thread is ignoring the raspberry pi

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Michal Suchanek
On 27 April 2015 at 17:13, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Mon, Apr 27, 2015 at 4:28 PM, Michal Suchanek hramr...@gmail.com wrote: When you have a serial port and just connect serial device to it with no special requirement you just specify the serial port in DT and talk

Re: [PATCH 0/3] Using SPI NOR flah on sunxi.

2015-04-30 Thread Michal Suchanek
On 30 April 2015 at 18:30, thomas.bet...@rohde-schwarz.com wrote: Hello Michal: I tried to connect a SPI NOR flash to my sunxi board and due to the current sunxi SPI driver limitations it does not work. The SPI driver returns an error when more than 64 bytes are transferred at once due

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-05-04 Thread Michal Suchanek
Hello, On 3 May 2015 at 23:00, Martin Sperl ker...@martin.sperl.org wrote: On 03.05.2015, at 11:59, Mark Brown broo...@kernel.org wrote: Hrm, yes - that should work. I'd ask Greg, that's not something the bus implements. It is still slightly more “complicated” from a distribution

Re: [linux-sunxi] Re: [PATCH 0/3] Using SPI NOR flah on sunxi.

2015-05-04 Thread Michal Suchanek
Hello, On 1 May 2015 at 14:27, Stefan Monnier monn...@iro.umontreal.ca wrote: The SPI driver returns an error when more than 64 bytes are transferred at once due to lack of DMA support. Have you tried the dmaengine patch and make the SPI driver use it? The dmaengine is already merged or

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-05-04 Thread Michal Suchanek
On 4 May 2015 at 12:12, Mark Brown broo...@kernel.org wrote: On Sun, May 03, 2015 at 11:00:40PM +0200, Martin Sperl wrote: I will investigate the fine details, but I fear we may need some “compatibility” magic similar to “new_id” in USB to make it work, because it seems as if you can ONLY

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-04 Thread Michal Suchanek
Hello, On 1 May 2015 at 16:20, Marek Vasut ma...@denx.de wrote: On Friday, May 01, 2015 at 09:05:15 AM, Michal Suchanek wrote: On 1 May 2015 at 01:13, Marek Vasut ma...@denx.de wrote: I can determine it for this particular chip. However, when the vendor datasheet says the block is 64/32K

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-04 Thread Michal Suchanek
On 4 May 2015 at 14:12, Marek Vasut ma...@denx.de wrote: On Monday, May 04, 2015 at 01:11:03 PM, Michal Suchanek wrote: Hello, Hi! On 1 May 2015 at 16:20, Marek Vasut ma...@denx.de wrote: On Friday, May 01, 2015 at 09:05:15 AM, Michal Suchanek wrote: On 1 May 2015 at 01:13, Marek Vasut

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-04 Thread Michal Suchanek
On 4 May 2015 at 15:35, Marek Vasut ma...@denx.de wrote: On Monday, May 04, 2015 at 03:18:56 PM, Michal Suchanek wrote: On 4 May 2015 at 14:12, Marek Vasut ma...@denx.de wrote: On Monday, May 04, 2015 at 01:11:03 PM, Michal Suchanek wrote: It mentions both 32KB Block Erase (BE) (52H

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-01 Thread Michal Suchanek
On 1 May 2015 at 01:13, Marek Vasut ma...@denx.de wrote: On Thursday, April 30, 2015 at 11:13:12 PM, Michal Suchanek wrote: The sector size of the flash memory is unclear from datasheet or may possibly vary between chips so add a flag to always use 4k blocks. Currently 4k blocks are always

Re: [PATCH 1/3] MTD: m25p80: fix write return value.

2015-04-30 Thread Michal Suchanek
On 30 April 2015 at 20:43, Marek Vasut ma...@denx.de wrote: On Thursday, April 30, 2015 at 03:33:47 PM, Michal Suchanek wrote: The size of written data was added to user supplied value rather than written at the provided address. You might want to work on the commit message a little

Re: [PATCH] xen/arm: Define xen_arch_suspend()

2015-05-07 Thread Michal Suchanek
boris.ostrov...@oracle.com Reported-by: Michal Suchanek hramr...@gmail.com Tested-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Tested-by: Michal Suchanek hramr...@gmail.com Thanks -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH] ARM: exynos_defconfig: add options to make wifi usable

2015-05-11 Thread Michal Suchanek
. Signed-off-by: Michal Suchanek hramr...@gmail.com --- arch/arm/configs/exynos_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index d034c96..5d4ee83f 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm

Re: [PATCH] ARM: exynos_defconfig: add options to make wifi usable

2015-05-11 Thread Michal Suchanek
On 11 May 2015 at 13:25, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Hello Michal, On 05/11/2015 12:22 PM, Michal Suchanek wrote: The Exynos defconfig includes mwifiex sdio support which is present on some of the Exynos boards. For the WiFi to be usable two extra options

problem building on ARM with XEN enabled

2015-05-07 Thread Michal Suchanek
Hello, it appears the Linus master tree fails to build on ARM with XEN enabled. Since commit 2b953a5e9 xen: Suspend ticks on all CPUs during suspend provides the suspend function only for x86 this is not surprising. I currently don't use XEN yet but building with XEN enabled was not a problem

Re: [PATCH] spi: Add option to bind spidev to all chipselects

2015-05-13 Thread Michal Suchanek
On 13 May 2015 at 12:16, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Wed, May 13, 2015 at 09:34:41AM -, Michal Suchanek wrote: Bypass the check if CS is in use for spidev devices if CONFIG_SPIDEV_SHADOW is set. Rename spidev devices to avoid sysfs conflict

[PATCH] spi: Add option to bind spidev to all chipselects

2015-05-13 Thread Michal Suchanek
Bypass the check if CS is in use for spidev devices if CONFIG_SPIDEV_SHADOW is set. Rename spidev devices to avoid sysfs conflict. This allows dynamically loading SPI device overlays or communicating with SPI devices configured by a kernel driver from userspace. Signed-off-by: Michal Suchanek

Re: [PATCH] spi: Force the registration of the spidev devices

2015-05-13 Thread Michal Suchanek
On 13 May 2015 at 13:26, Mark Brown broo...@kernel.org wrote: On Tue, May 12, 2015 at 10:33:24PM +0200, Maxime Ripard wrote: While this is nicer than the DT solution because of its accurate hardware representation, it's still not perfect because you might not have access to the DT, or you

Re: [PATCH] spi: Force the registration of the spidev devices

2015-05-13 Thread Michal Suchanek
On 13 May 2015 at 17:37, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Wed, May 13, 2015 at 12:26:04PM +0100, Mark Brown wrote: On Tue, May 12, 2015 at 10:33:24PM +0200, Maxime Ripard wrote: While this is nicer than the DT solution because of its accurate hardware representation,

Re: [PATCH] spi: Force the registration of the spidev devices

2015-05-13 Thread Michal Suchanek
On 13 May 2015 at 16:36, Mark Brown broo...@kernel.org wrote: On Wed, May 13, 2015 at 02:51:02PM +0200, Maxime Ripard wrote: I'd say we're also ok because if we delegate the device driving logic to userspace, we should expect it to know what it does to first drive the device properly, but

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-05-12 Thread Michal Suchanek
Hello, On 12 May 2015 at 16:27, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Mon, Apr 27, 2015 at 07:07:28PM +0100, Mark Brown wrote: On Mon, Apr 27, 2015 at 07:30:36PM +0200, Maxime Ripard wrote: On Mon, Apr 27, 2015 at 11:16:01AM +0100, Mark Brown wrote: lkml.org is being

Re: [PATCH] ARM: exynos_defconfig: add options to make wifi usable

2015-05-12 Thread Michal Suchanek
Hello, On 11 May 2015 at 15:28, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: On 05/11/2015 02:23 PM, Michal Suchanek wrote: On 11 May 2015 at 13:25, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Hello Michal, On 05/11/2015 12:22 PM, Michal Suchanek wrote

Re: [PATCH 2/3] MTD: spi-nor: check for short writes in spi_nor_write.

2015-05-21 Thread Michal Suchanek
On 21 May 2015 at 01:38, Brian Norris computersforpe...@gmail.com wrote: + linux-spi, Mark On Thu, Apr 30, 2015 at 03:38:50PM +0200, Michal Suchanek wrote: My SPI controller driver does not support DMA so writes are truncated to FIFO size. Which SPI master driver? I am using sunxi SPI

Re: [PATCH 1/3] MTD: m25p80: fix write return value.

2015-05-21 Thread Michal Suchanek
Hello, On 21 May 2015 at 01:45, Brian Norris computersforpe...@gmail.com wrote: On Thu, Apr 30, 2015 at 03:33:47PM +0200, Michal Suchanek wrote: The 'retlen' points to a variable representing the number of data bytes written/read (see include/linux/mtd/mtd.h) by the current invocation

Re: [PATCH 04/11] mtd: ofpart: do not fail probe when no partitions exist

2015-06-04 Thread Michal Suchanek
On 4 June 2015 at 17:28, Marek Vasut ma...@denx.de wrote: On Thursday, June 04, 2015 at 06:54:00 AM, Michal Suchanek wrote: On 4 June 2015 at 00:58, Marek Vasut ma...@denx.de wrote: On Wednesday, June 03, 2015 at 11:26:40 PM, Michal Suchanek wrote: On Exynos it is necessary to set SPI

Re: [PATCH 04/11] mtd: ofpart: do not fail probe when no partitions exist

2015-06-03 Thread Michal Suchanek
On 4 June 2015 at 00:58, Marek Vasut ma...@denx.de wrote: On Wednesday, June 03, 2015 at 11:26:40 PM, Michal Suchanek wrote: On Exynos it is necessary to set SPI controller parameters that apply to a SPI slave in a DT subnode of the slave device. The ofpart code returns an error when

Re: [PATCH 08/11] MTD: m25p80: Add option to limit SPI transfer size.

2015-06-03 Thread Michal Suchanek
On 4 June 2015 at 01:03, Marek Vasut ma...@denx.de wrote: On Wednesday, June 03, 2015 at 11:26:41 PM, Michal Suchanek wrote: On sunxi the SPI controller currently does not have DMA support and fails any transfer larger than 63 bytes. On Exynos the pl330 DMA controller fails any transfer

Re: [PATCH 10/11] spi: add more debug prints in s3c64xx

2015-06-04 Thread Michal Suchanek
On 4 June 2015 at 12:26, Mark Brown broo...@kernel.org wrote: On Thu, Jun 04, 2015 at 11:33:37AM +0200, Michal Suchanek wrote: On 4 June 2015 at 11:16, Mark Brown broo...@kernel.org wrote: Also for this patch (which just adds some trace) there isn't any clear reason for it to be sent

Re: [PATCH 08/11] MTD: m25p80: Add option to limit SPI transfer size.

2015-06-04 Thread Michal Suchanek
On 4 June 2015 at 08:42, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Wed, Jun 3, 2015 at 11:26 PM, Michal Suchanek hramr...@gmail.com wrote: On sunxi the SPI controller currently does not have DMA support and fails any transfer larger than 63 bytes. This is a driver limitation

Re: [PATCH 00/11] Enable access to SPI NOR flash on Samsung Snow board

2015-06-03 Thread Michal Suchanek
On 4 June 2015 at 00:53, Marek Vasut ma...@denx.de wrote: On Wednesday, June 03, 2015 at 11:26:39 PM, Michal Suchanek wrote: Hello, Hi, this patch series makes it possible to access the SPI NOR flash in the Samsung XE303 'Snow' Chromebook. Unfortunately not all issues are resolved

Re: [PATCH 10/11] spi: add more debug prints in s3c64xx

2015-06-04 Thread Michal Suchanek
Hello, On 4 June 2015 at 11:16, Mark Brown broo...@kernel.org wrote: On Wed, Jun 03, 2015 at 09:26:42PM -, Michal Suchanek wrote: The SPI NOR transfers mysteriously fail so add more debug prints about SPI transactions. Please try to only send patches to relevant people - the list

Re: pl330 dma failure

2015-06-17 Thread Michal Suchanek
H On 2 June 2015 at 16:17, Michal Suchanek hramr...@gmail.com wrote: On 2 June 2015 at 15:08, Vinod Koul vinod.k...@intel.com wrote: On Sat, May 30, 2015 at 09:37:07PM +0200, Michal Suchanek wrote: Hello, I was trying to read the SPI NOR flash and found that the pl330 controller dma

pl330 dma failure

2015-05-30 Thread Michal Suchanek
Hello, I was trying to read the SPI NOR flash and found that the pl330 controller dma mysteriously fails. There is the problem that the 256 bytes of dma program buffer does not suffice for the whole of 4M of the flash memory so all of it cannot be possibly transferred in one go with the pl330

Re: pl330 dma failure

2015-06-02 Thread Michal Suchanek
On 2 June 2015 at 15:08, Vinod Koul vinod.k...@intel.com wrote: On Sat, May 30, 2015 at 09:37:07PM +0200, Michal Suchanek wrote: Hello, I was trying to read the SPI NOR flash and found that the pl330 controller dma mysteriously fails. Adding Robert, There is the problem that the 256

Re: [PATCH v4 0/7] Add spi-nor SPI transfer error handling

2015-08-16 Thread Michal Suchanek
Hello, On 15 August 2015 at 03:51, Bean Huo 霍斌斌 (beanhuo) bean...@micron.com wrote: Hello, with these patches SPI transfer errors are not silently ignored but rather reported to spi-nor users. This should prevent silently dropping data to the floor in cases when the SPI transfer fails and the

un4i-ss-cipher.c warning

2015-08-19 Thread Michal Suchanek
Hello, when building a kernel with sunxi crypto driver as merged into the sinxi-wip branch I get a compiler warning. I am not sure this is the latest version of the driver. It does not seem to be in mainline yet. Thanks Michal In file included from

Re: [PATCH 2/2] dmaengine: pl330: event debug messages.

2015-08-19 Thread Michal Suchanek
On 19 August 2015 at 18:41, Vinod Koul vinod.k...@intel.com wrote: On Tue, Jul 28, 2015 at 10:49:33AM +, Michal Suchanek wrote: In pl330.c is a define which enables very verbose decoding of genereted programs. Also add decoding of thread abort states and signalled events. Signed-off

Re: [linux-sunxi] [PATCH 4/9] spi: sun4i: add DMA support

2015-08-20 Thread Michal Suchanek
On 20 August 2015 at 16:19, Emilio López emi...@elopez.com.ar wrote: From: Emilio López emi...@elopez.com.ar Something went wrong with overriding the headers Sorry Michal -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 2/3] mmc: dw_mmc: simplify the SDMMC_CLKEN_LOW_PWR logic

2015-08-17 Thread Michal Suchanek
Hello, On 17 August 2015 at 16:42, Alim Akhtar alim.akh...@gmail.com wrote: HI On Mon, Aug 17, 2015 at 4:56 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: On 08/17/2015 02:52 PM, Michal Suchanek wrote: Hello, On 17 August 2015 at 03:55, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi

Re: [PATCH 2/3] mmc: dw_mmc: simplify the SDMMC_CLKEN_LOW_PWR logic

2015-08-16 Thread Michal Suchanek
Hello, On 17 August 2015 at 03:55, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi, Michal. On 08/12/2015 09:23 PM, Michal Suchanek wrote: The driver has open-coded test for SDIO cards. Use the mmc core provided MMC_QUIRK_BROKEN_CLK_GATING flag instead. Did you use the clock-gating for SDIO

[PATCH] of: fdt: mark unflattened tree as detached

2015-08-17 Thread Michal Suchanek
The tree returned from of_fdt_unflatten_tree cannot be attached to the live tree because it is not marked as detached so mark it as such. The dt resolver checks the flag and refuses to process the tree otherwise. Signed-off-by: Michal Suchanek hramr...@gmail.com --- drivers/of/fdt.c | 12

Re: [PATCH 3/9] spi: sunxi: check that transfer speed is non-zero

2015-08-20 Thread Michal Suchanek
On 20 August 2015 at 16:48, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Thu, Aug 20, 2015 at 02:19:46PM -, Michal Suchanek wrote: When the maximum transfer speed is not set for a SPI slave the value remains 0 and the code in sunxi SPI divides by it. Use an arbitrary speed

Re: [RFC PATCH 2/2] dt: spi: s3c64xx: add compatible to controller-data

2015-07-29 Thread Michal Suchanek
On 29 July 2015 at 16:00, Mark Brown broo...@kernel.org wrote: On Wed, Jul 29, 2015 at 12:19:57PM +0200, Michal Suchanek wrote: Please use subject lines matching the style for the subsytsem so people can spot that the patch is in some way relevant. The controller-data subnode has

Re: [PATCH 2/3] mtd: ofpart: do not fail probe when no partitions exist

2015-07-28 Thread Michal Suchanek
On 27 July 2015 at 22:39, Brian Norris computersforpe...@gmail.com wrote: On Mon, Jul 27, 2015 at 08:30:43PM -, Michal Suchanek wrote: ... The controller-data node contains no partition information and no other subnodes with partition information exist. The ofpart code returns an error

Re: [PATCH 1/2] mtd: spi-nor: Add GD25LQ32C 1.8V SPI NOR flash ID

2015-07-28 Thread Michal Suchanek
On 28 July 2015 at 16:33, Marek Vasut ma...@denx.de wrote: On Tuesday, July 28, 2015 at 11:07:57 AM, Michal Suchanek wrote: This 1.8V SPI NOR flash is found on ARM Chromebook XE303C and reads something like 25LQ32VIG in the middle. Signed-off-by: Michal Suchanek hramr...@gmail.com

Re: [RFC PATCH 2/2] dt: spi: s3c64xx: add compatible to controller-data

2015-07-29 Thread Michal Suchanek
On 29 July 2015 at 19:16, Mark Brown broo...@kernel.org wrote: On Wed, Jul 29, 2015 at 06:19:24PM +0200, Michal Suchanek wrote: On 29 July 2015 at 16:00, Mark Brown broo...@kernel.org wrote: I can't tell from this commit message what the issue you're trying to fix is, sorry. Nodes without

Re: [PATCH 08/11] MTD: m25p80: Add option to limit SPI transfer size.

2015-07-30 Thread Michal Suchanek
On 30 July 2015 at 13:24, Marek Vasut ma...@denx.de wrote: On Monday, July 27, 2015 at 10:43:05 PM, Michal Suchanek wrote: On 27 July 2015 at 19:43, Marek Vasut ma...@denx.de wrote: On Monday, July 27, 2015 at 11:46:25 AM, Michal Suchanek wrote: On 24 July 2015 at 10:34, Marek Vasut ma

Re: [PATCH v2 1/6] mtd: spi-nor: change return value of read/write

2015-08-04 Thread Michal Suchanek
On 3 August 2015 at 23:46, Marek Vasut ma...@denx.de wrote: On Monday, August 03, 2015 at 08:39:01 PM, Michal Suchanek wrote: Change the return value of spi-nor device read and write methods to allow returning amount of data transferred and errors as read(2)/write(2) does. Signed-off

Re: [PATCH v2 5/5] mtd: ofpart: move ofpart partitions to a dedicated dt node

2015-07-31 Thread Michal Suchanek
On 31 July 2015 at 18:06, Boris Brezillon boris.brezil...@free-electrons.com wrote: Hi Michal, On Thu, 30 Jul 2015 12:10:42 +0200 Michal Suchanek hramr...@gmail.com wrote: Parsing direct subnodes of a mtd device as partitions is unreliable since the mtd device is also part of its bus

Re: [PATCH v2 5/5] mtd: ofpart: move ofpart partitions to a dedicated dt node

2015-07-31 Thread Michal Suchanek
On 31 July 2015 at 19:24, Boris Brezillon boris.brezil...@free-electrons.com wrote: On Fri, 31 Jul 2015 18:52:01 +0200 Michal Suchanek hramr...@gmail.com wrote: (*pparts)[i].offset = of_read_number(reg, a_cells); (*pparts)[i].size = of_read_number(reg

Re: [PATCH 1/2] mtd: spi-nor: Add GD25LQ32C 1.8V SPI NOR flash ID

2015-07-28 Thread Michal Suchanek
On 28 July 2015 at 16:38, Marek Vasut ma...@denx.de wrote: On Tuesday, July 28, 2015 at 04:36:29 PM, Michal Suchanek wrote: On 28 July 2015 at 16:33, Marek Vasut ma...@denx.de wrote: On Tuesday, July 28, 2015 at 11:07:57 AM, Michal Suchanek wrote: This 1.8V SPI NOR flash is found on ARM

Re: [PATCH 1/2] mtd: spi-nor: rework spi nor read and write.

2015-07-28 Thread Michal Suchanek
On 28 July 2015 at 20:15, Marek Vasut ma...@denx.de wrote: On Tuesday, July 28, 2015 at 11:23:02 AM, Michal Suchanek wrote: The spi_nor read and write functions pass thru the mtd retlen to the chip-specific read and write function. This makes it difficult to check for errors in read and write

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-04 Thread Michal Suchanek
Hello, On 4 August 2015 at 19:59, R, Vignesh vigne...@ti.com wrote: On 8/4/2015 9:21 PM, Mark Brown wrote: On Mon, Aug 03, 2015 at 10:27:19AM +0530, Vignesh R wrote: @use_mmap_mode: Some SPI controller chips are optimized for interacting with serial flash memories. These chips have memory

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-04 Thread Michal Suchanek
On 5 August 2015 at 07:35, Vignesh R vigne...@ti.com wrote: On 08/05/2015 10:51 AM, Michal Suchanek wrote: Hello, On 4 August 2015 at 19:59, R, Vignesh vigne...@ti.com wrote: On 8/4/2015 9:21 PM, Mark Brown wrote: On Mon, Aug 03, 2015 at 10:27:19AM +0530, Vignesh R wrote: TI QSPI

Re: [PATCH v2 1/6] mtd: spi-nor: change return value of read/write

2015-08-05 Thread Michal Suchanek
On 4 August 2015 at 18:42, Marek Vasut ma...@denx.de wrote: On Tuesday, August 04, 2015 at 08:42:51 AM, Michal Suchanek wrote: On 3 August 2015 at 23:46, Marek Vasut ma...@denx.de wrote: On Monday, August 03, 2015 at 08:39:01 PM, Michal Suchanek wrote: Change the return value of spi-nor

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-05 Thread Michal Suchanek
On 5 August 2015 at 13:50, Mark Brown broo...@kernel.org wrote: On Tue, Aug 04, 2015 at 11:29:52PM +0530, R, Vignesh wrote: On 8/4/2015 9:21 PM, Mark Brown wrote: On Mon, Aug 03, 2015 at 10:27:19AM +0530, Vignesh R wrote: I still can't tell from the above what this interface is supposed to

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-05 Thread Michal Suchanek
On 5 August 2015 at 14:44, Mark Brown broo...@kernel.org wrote: On Wed, Aug 05, 2015 at 02:40:01PM +0200, Michal Suchanek wrote: On 5 August 2015 at 13:50, Mark Brown broo...@kernel.org wrote: As far as I can tell you want to set a per spi_message flag saying that the message is a flash

Re: [RFC PATCH 2/2] dt: spi: s3c64xx: add compatible to controller-data

2015-07-30 Thread Michal Suchanek
On 29 July 2015 at 20:40, Mark Brown broo...@kernel.org wrote: On Wed, Jul 29, 2015 at 08:21:34PM +0200, Michal Suchanek wrote: On 29 July 2015 at 19:16, Mark Brown broo...@kernel.org wrote: It will not break anything. It will just spam dmesg. I'm confused - if all this change does

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Michal Suchanek
On 6 August 2015 at 11:02, Mark Brown broo...@kernel.org wrote: On Wed, Aug 05, 2015 at 02:56:09PM +0200, Michal Suchanek wrote: On 5 August 2015 at 14:44, Mark Brown broo...@kernel.org wrote: On Wed, Aug 05, 2015 at 02:40:01PM +0200, Michal Suchanek wrote: I don't think sending 03 or other

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-07 Thread Michal Suchanek
On 6 August 2015 at 23:33, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Aug 06, 2015 at 06:14:00PM +0200, Geert Uytterhoeven wrote: On Thu, Aug 6, 2015 at 3:51 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Aug 06, 2015 at 05:55:23PM +0530, Vignesh R

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Michal Suchanek
On 6 August 2015 at 13:23, Mark Brown broo...@kernel.org wrote: On Thu, Aug 06, 2015 at 12:01:37PM +0200, Michal Suchanek wrote: However, I am familiar m25p80.c and as I understand it the controller is basically supposed to implement m25p80.c in hardware when this flag is set. But what

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Michal Suchanek
On 6 August 2015 at 12:22, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Aug 06, 2015 at 12:01:37PM +0200, Michal Suchanek wrote: Disclaimer: I am not familiar with the hardware for which this patch adds support. However, I am familiar m25p80.c and as I understand

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-07 Thread Michal Suchanek
driver that you will in fact not send a SPI message and reverse-engineer what m25p80 really meant. On 7 August 2015 at 10:35, Vignesh R vigne...@ti.com wrote: On 08/07/2015 01:08 PM, Michal Suchanek wrote: Now since the description is clearer it's obvious that ti-qspi cannot work fully mmapped

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Michal Suchanek
On 6 August 2015 at 18:14, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Thu, Aug 6, 2015 at 3:51 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Aug 06, 2015 at 05:55:23PM +0530, Vignesh R wrote: On the whole following are my requirements: 1. to be able to communicate

Re: [linux-sunxi] MMC clock gating broken on a20

2015-08-12 Thread Michal Suchanek
On 12 August 2015 at 13:55, Olliver Schinagl oliver+l...@schinagl.nl wrote: Actually, I've reverted hans's mmc: sunxi: Don't start commands while the card is busy and that makes it disapear as well. So it looks like that patch triggers the aggressiveness more? It probably inserts delays

Re: [linux-sunxi] [PATCH 3/3] mmc: sunxi: use controller automatic clock gating.

2015-08-12 Thread Michal Suchanek
On 12 August 2015 at 14:35, Hans de Goede hdego...@redhat.com wrote: Hi, On 12-08-15 14:23, Michal Suchanek wrote: When core does not set the MMC_QUIRK_BROKEN_CLK_GATING flag enable automatic hardware controlled clock gating on the mmc interface. Signed-off-by: Michal Suchanek hramr

  1   2   3   4   5   6   7   8   >