[PATCH] watchdog: Add Broadcom BCM2708 watchdog timer driver

2013-03-22 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Stephen Warren swar...@wwwdotorg.org Cc: Wim Van Sebroeck w...@iguana.be Cc: linux-rpi-ker...@lists.infradead.org Cc: linux-watch...@vger.kernel.org --- arch/arm/configs/bcm2835_defconfig |4 + drivers/watchdog/Kconfig | 11

[PATCH] hw_random: Add Broadcom BCM2835 RNG Driver

2013-03-22 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Stephen Warren swar...@wwwdotorg.org Cc: Matt Mackall m...@selenic.com Cc: linux-rpi-ker...@lists.infradead.org --- arch/arm/boot/dts/bcm2835.dtsi |5 + arch/arm/configs/bcm2835_defconfig |3 +- drivers/char/hw_random/Kconfig

[PATCH] of: add managed version of of_iomap()

2013-03-24 Thread Lubomir Rintel
This introduces a routine devm_of_iomap(), which acts exactly like of_iomap() apart from that managed deivce resource subsystem takes care of reclaiming the resources wherever appropriate. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring

Re: watchdog: Add Broadcom BCM2708 watchdog timer driver

2013-03-24 Thread Lubomir Rintel
On Fri, 2013-03-22 at 06:56 -0700, Guenter Roeck wrote: Thank you for your response! On Fri Mar 22 09:56:01 EDT 2013, Guenter Roeck wrote: On Fri, Mar 22, 2013 at 12:55:07PM -, Lubomir Rintel wrote: ... + writel_relaxed(PM_PASSWORD | (cur PM_RSTC_WRCFG_CLR

Re: [PATCH] watchdog: Add Broadcom BCM2708 watchdog timer driver

2013-03-24 Thread Lubomir Rintel
On Fri, 2013-03-22 at 19:46 +0100, Arend van Spriel wrote: Thanks for your response! On 03/22/2013 01:55 PM, Lubomir Rintel wrote: Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Stephen Warren swar...@wwwdotorg.org Cc: Wim Van Sebroeck w...@iguana.be Cc: linux-rpi-ker

Re: [PATCH] watchdog: Add Broadcom BCM2708 watchdog timer driver

2013-03-24 Thread Lubomir Rintel
On Fri, 2013-03-22 at 20:24 -0600, Stephen Warren wrote: Thank you for your response! On 03/22/2013 06:55 AM, Lubomir Rintel wrote: Signed-off-by: Lubomir Rintel lkundrak at v3.sk A commit description would be useful. I'll add a more descriptive one in next patch revision. arch/arm

[PATCH v2] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-24 Thread Lubomir Rintel
/raspberrypi/linux.git Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Stephen Warren swar...@wwwdotorg.org Cc: Wim Van Sebroeck w...@iguana.be Cc: linux-rpi-ker...@lists.infradead.org Cc: linux-watch...@vger.kernel.org --- Changes for v2: - Use per-device structure instead of global variables

[PATCH v2] arm: Add Broadcom BCM2835 watchdog timer driver to bcm2835_defconfig

2013-03-24 Thread Lubomir Rintel
This enables a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Stephen Warren swar...@wwwdotorg.org Cc: linux-rpi-ker...@lists.infradead.org --- Changes for v2: - Split out from

[PATCH v2] bcm2835: Add Broadcom BCM2835 RNG to the device tree

2013-03-24 Thread Lubomir Rintel
This adds a device tree binding for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Stephen Warren swar...@wwwdotorg.org Cc: linux-rpi-ker...@lists.infradead.org --- Changes for v2: - Split out

Re: [PATCH] hw_random: Add Broadcom BCM2835 RNG Driver

2013-03-24 Thread Lubomir Rintel
On Fri, 2013-03-22 at 20:44 -0600, Stephen Warren wrote: Thank you for your response! On 03/22/2013 06:55 AM, Lubomir Rintel wrote: Signed-off-by: Lubomir Rintel lkundrak at v3.sk A commit description would be useful. arch/arm/boot/dts/bcm2835.dtsi |5 + arch/arm/configs

[PATCH v2] hw_random: Add Broadcom BCM2835 RNG driver

2013-03-24 Thread Lubomir Rintel
This adds a driver for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Stephen Warren swar...@wwwdotorg.org Cc: Matt Mackall m...@selenic.com Cc: linux-rpi-ker...@lists.infradead.org --- Changes

[PATCH v2] arm: Add Broadcom BCM2835 RNG driver to bcm2835_defconfig

2013-03-24 Thread Lubomir Rintel
This enables a driver for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Stephen Warren swar...@wwwdotorg.org Cc: linux-rpi-ker...@lists.infradead.org --- Changes for v2: - Split out from

Re: [PATCH v2] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-26 Thread Lubomir Rintel
On Sun, 2013-03-24 at 09:12 -0700, Guenter Roeck wrote: On Sun, Mar 24, 2013 at 03:22:53PM +0100, Lubomir Rintel wrote: This adds a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Interface to the Broadcom BCM2835 watchdog

[PATCH v2] bcm2835: Add Broadcom BCM2835 RNG to the device tree

2013-03-26 Thread Lubomir Rintel
This adds a device tree binding for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Stephen Warren swar...@wwwdotorg.org Cc: linux-rpi-ker...@lists.infradead.org --- Changes for v2: - Split out

[PATCH v3] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-26 Thread Lubomir Rintel
This adds a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Stephen Warren swar...@wwwdotorg.org Cc: Wim Van Sebroeck w...@iguana.be Cc: Guenter Roeck li...@roeck-us.net Cc: linux-rpi-ker

Re: [PATCH v2] bcm2835: Add Broadcom BCM2835 RNG to the device tree

2013-03-26 Thread Lubomir Rintel
On Tue, 2013-03-26 at 18:48 +0100, Lubomir Rintel wrote: This adds a device tree binding for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Please ignore this one; it has been re-sent here by accident. -- To unsubscribe from this list: send

Re: [PATCH v3] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-27 Thread Lubomir Rintel
On Tue, 2013-03-26 at 21:40 -0600, Stephen Warren wrote: On 03/26/2013 11:50 AM, Lubomir Rintel wrote: This adds a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Since this patch defines a new DT binding, you should send

Re: [PATCH v3] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-27 Thread Lubomir Rintel
On Tue, 2013-03-26 at 14:03 -0700, Guenter Roeck wrote: On Tue, Mar 26, 2013 at 06:50:00PM +0100, Lubomir Rintel wrote: This adds a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. ... +static unsigned int heartbeat = 0

[PATCH v4] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-27 Thread Lubomir Rintel
This adds a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel lkund...@v3.sk Signed-off-by: Dom Cobley popcorn...@gmail.com Tested-by: Stephen Warren swar...@wwwdotorg.org Cc: Stephen Warren swar

[PATCH] bcm2835: Add Broadcom BCM2835 RNG to the device tree

2013-03-28 Thread Lubomir Rintel
This adds a device tree binding for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel lkund...@v3.sk Tested-by: Stephen Warren swar...@wwwdotorg.org Cc: Stephen Warren swar...@wwwdotorg.org Cc: linux-rpi-ker

Re: [PATCH] hw_random: Add Broadcom BCM2835 RNG Driver

2013-03-28 Thread Lubomir Rintel
On Fri, 2013-03-22 at 20:44 -0600, Stephen Warren wrote: On 03/22/2013 06:55 AM, Lubomir Rintel wrote: Signed-off-by: Lubomir Rintel lkund...@v3.sk A commit description would be useful. arch/arm/boot/dts/bcm2835.dtsi |5 + arch/arm/configs/bcm2835_defconfig |3

[PATCH v3] hw_random: Add Broadcom BCM2835 RNG driver

2013-03-28 Thread Lubomir Rintel
This adds a driver for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Dom Cobley popcorn...@gmail.com Signed-off-by: Lubomir Rintel lkund...@v3.sk Tested-by: Stephen Warren swar...@wwwdotorg.org Cc: Herbert Xu herb

[PATCH RESEND] bluetooth: btmrvl_sdio: look for sd8688 firmware in proper location

2013-03-13 Thread Lubomir Rintel
into mrvl/ now. Signed-off-by: Lubomir Rintel lkund...@v3.sk Acked-by: Marcel Holtmann mar...@holtmann.org --- Now that the relevant changes are in linux-firmware it makes sense to merge this to make the driver look for correct firmware files. drivers/bluetooth/btmrvl_sdio.c |8 1 files

Re: [PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-27 Thread Lubomir Rintel
On Mon, 2013-01-21 at 01:12 +, Ben Hutchings wrote: On Fri, 2013-01-18 at 08:33 +0100, Lubomir Rintel wrote: On Tue, 2013-01-08 at 22:35 -0800, Marcel Holtmann wrote: Hi Lubomir, linux-firmware ships the sd8688* firmware images that are shared with libertas_sdio

[PATCH 1/2] mtd: cmdlinepart: Make it into a module

2013-01-15 Thread Lubomir Rintel
All other partitioning schemes can be compiled as modules Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/mtd/Kconfig |4 ++-- drivers/mtd/cmdlinepart.c |8 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig

[PATCH 2/2] mtd: Allow removal of partitioning modules

2013-01-15 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/mtd/ar7part.c |6 ++ drivers/mtd/cmdlinepart.c |6 ++ drivers/mtd/ofpart.c |7 +++ 3 files changed, 19 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/ar7part.c b/drivers/mtd/ar7part.c index 9453931

[PATCH] libertas sdio: remove CMD_FUNC_INIT call

2013-01-17 Thread Lubomir Rintel
It actually times out on a 8688 present in GuruPlug with sd8688.bin (md5=7233401e9687f8c880da547beed4324e) firmware (that's present in linux-firmware tree), but the adapter works fine. For that firmware times out with libertas_uap [1] as well, though it succeeds with sd8688_ap.bin

Re: [PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-17 Thread Lubomir Rintel
On Tue, 2013-01-08 at 22:35 -0800, Marcel Holtmann wrote: Hi Lubomir, linux-firmware ships the sd8688* firmware images that are shared with libertas_sdio WiFi driver under libertas/. libertas_sdio looks in both places and so should we. Signed-off-by: Lubomir

[PATCH] bluetooth: btmrvl_sdio: look for sd8688 firmware in proper location

2013-01-17 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/bluetooth/btmrvl_sdio.c |8 drivers/bluetooth/btmrvl_sdio.h |6 -- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 3f4bfc8..bc27d01

[PATCH] libertas sdio: look for 8688 firmware in common location

2013-01-17 Thread Lubomir Rintel
sd8688 is not only used by libertas WiFi, but shared with btmrvl bluetooth as well. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/net/wireless/libertas/if_sdio.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/libertas/if_sdio.c b

Re: [PATCH 2/2] dma: mv_xor: do not sync the DMA buffer after being deallocated

2013-01-17 Thread Lubomir Rintel
On Sun, 2013-01-13 at 14:18 +0100, Lubomir Rintel wrote: On Fri, 2013-01-04 at 17:10 +0100, Thomas Petazzoni wrote: Dear Lubomir Rintel, On Thu, 27 Dec 2012 20:23:48 +0100, Lubomir Rintel wrote: dma_sync_single_for_cpu(dma_chan-device-dev, dest_dma

[PATCH 1/3] dma: mv_xor: do not sync the DMA buffer after being deallocated

2013-01-17 Thread Lubomir Rintel
-by: Lubomir Rintel lkund...@v3.sk --- drivers/dma/mv_xor.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index e666983..8b81a04 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c @@ -960,8 +960,6 @@ static int

[PATCH 3/3] dma: mv_xor: get rid of a DMA-API sanity check warning

2013-01-17 Thread Lubomir Rintel
mv_xor_run_tx_complete_actions() frees for multiple sources. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/dma/mv_xor.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index d00a834..1e90f5d 100644 --- a/drivers/dma

[PATCH 2/3] dma: mv_xor: fix DMA-API error handling sanity check

2013-01-17 Thread Lubomir Rintel
Add error checking. --- drivers/dma/mv_xor.c | 27 ++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 8b81a04..d00a834 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c @@ -939,9 +939,21 @@

[PATCH] bluetooth: btmrvl_sdio: look for sd8688 firmware in proper location

2013-01-19 Thread Lubomir Rintel
into mrvl/ now. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/bluetooth/btmrvl_sdio.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 9959d4c..1cb5183 100644 --- a/drivers/bluetooth

RE: [PATCH] libertas sdio: remove CMD_FUNC_INIT call

2013-02-18 Thread Lubomir Rintel
On Fri, 2013-01-18 at 12:28 -0800, Bing Zhao wrote: Hi Lubomir, It actually times out on a 8688 present in GuruPlug with sd8688.bin (md5=7233401e9687f8c880da547beed4324e) firmware (that's present in linux-firmware tree), but the adapter works fine. For that firmware times out with

RE: [PATCH] libertas sdio: remove CMD_FUNC_INIT call

2013-02-24 Thread Lubomir Rintel
On Wed, 2013-02-20 at 17:59 -0800, Bing Zhao wrote: Hi Lubomir, @@ -825,20 +825,6 @@ static void if_sdio_finish_power_on(struct if_sdio_card *card) sdio_release_host(func); - /* -* FUNC_INIT is required for SD8688 WLAN/BT multiple functions

[PATCH 1/2] dma: mv_xor: use proper dma memory management functions

2012-12-27 Thread Lubomir Rintel
Caught by self-check with DMA_API_DEBUG: WARNING: at lib/dma-debug.c:878 check_unmap+0x37c/0x748() mv_xor mv_xor.0: DMA-API: device driver frees DMA memory with wrong function [device address=0x1f3a1a40] [size=2000 bytes] [mapped as single] [unmapped as page] Signed-off-by: Lubomir

[PATCH 2/2] dma: mv_xor: do not sync the DMA buffer after being deallocated

2012-12-27 Thread Lubomir Rintel
) now: mv_xor mv_xor.0: DMA-API: device driver frees DMA memory with different direction [device address=0x1dea4000] [size=4096 bytes] [mapped with DMA_FROM_DEVICE] [unmapped with DMA_BIDIRECTIONAL] Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/dma/mv_xor.c |9 +++-- 1

[PATCH] orion_wdt: Add platform alias

2013-01-04 Thread Lubomir Rintel
...so that it's automatically picked up on relevant platforms. Tested on Kirkwood-based GuruPlug. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/watchdog/orion_wdt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog

[PATCH] mv643xx_eth: Fix a possible deadlock upon ifdown

2013-01-04 Thread Lubomir Rintel
From: Lubomir Rintel lubo.rin...@gooddata.com = [ INFO: inconsistent lock state ] 3.7.0-6.luboskovo.fc19.armv5tel.kirkwood #1 Tainted: GW - inconsistent {IN-SOFTIRQ-W} - {SOFTIRQ-ON-W} usage. NetworkManager/337 [HC0[0]:SC0[0

[PATCH] mv643xx_eth: Fix a possible deadlock upon ifdown

2013-01-04 Thread Lubomir Rintel
] (sock_sendmsg+0xa8/0xd0) [c03d209c] (sock_sendmsg+0xa8/0xd0) from [c03d2314] (__sys_sendmsg+0x1d8/0x280) [c03d2314] (__sys_sendmsg+0x1d8/0x280) from [c03d4054] (sys_sendmsg+0x44/0x68) [c03d4054] (sys_sendmsg+0x44/0x68) from [c0008cc0] (ret_fast_syscall+0x0/0x38) Signed-off-by: Lubomir Rintel

Re: [PATCH 2/2] dma: mv_xor: do not sync the DMA buffer after being deallocated

2013-01-13 Thread Lubomir Rintel
On Fri, 2013-01-04 at 17:10 +0100, Thomas Petazzoni wrote: Dear Lubomir Rintel, On Thu, 27 Dec 2012 20:23:48 +0100, Lubomir Rintel wrote: dma_sync_single_for_cpu(dma_chan-device-dev, dest_dma, MV_XOR_TEST_SIZE, DMA_FROM_DEVICE); + dma_unmap_single

sd8688 firmware location

2013-01-08 Thread Lubomir Rintel
in in libertas/, since the bluetooth hardware is not really marketed as Libertas. I'm following up with patches to linux and linux-firmware and I'd be very thankful if you could pick one (not both of them). Have a nice day! -- Lubomir Rintel o (\) -- To unsubscribe from

[PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-08 Thread Lubomir Rintel
linux-firmware ships the sd8688* firmware images that are shared with libertas_sdio WiFi driver under libertas/. libertas_sdio looks in both places and so should we. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/bluetooth/btmrvl_sdio.c | 24 ++-- drivers

[PATCH] Move sd8688*.bin images away from libertas tree

2013-01-08 Thread Lubomir Rintel
. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- libertas/sd8688.bin = sd8688.bin | Bin 259172 - 259172 bytes libertas/sd8688_helper.bin = sd8688_helper.bin | Bin 2616 - 2616 bytes 2 files changed, 0 insertions(+), 0 deletions(-) rename libertas/sd8688.bin = sd8688.bin (100

RE: [PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-08 Thread Lubomir Rintel
On Tue, 2013-01-08 at 18:43 -0800, Bing Zhao wrote: linux-firmware ships the sd8688* firmware images that are shared with libertas_sdio WiFi driver under libertas/. libertas_sdio looks in both places and so should we. Signed-off-by: Lubomir Rintel lkund...@v3.sk

[PATCH] [media] usbtv: Add S-Video input support

2013-07-12 Thread Lubomir Rintel
Alongside already existing Composite input. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Hans Verkuil hans.verk...@cisco.com Cc: Mauro Carvalho Chehab mche...@redhat.com Cc: linux-kernel@vger.kernel.org Cc: linux-me...@vger.kernel.org --- drivers/media/usb/usbtv/usbtv.c | 99

Re: [PATCH v4] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-06-18 Thread Lubomir Rintel
Hi Wim, On Sun, 2013-05-26 at 16:22 +0200, Wim Van Sebroeck wrote: Hi Lubomir, On 03/27/2013 10:40 AM, Lubomir Rintel wrote: This adds a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel

Re: [PATCH] hwrng: bcm2835: fix MODULE_LICENSE tag

2013-06-18 Thread Lubomir Rintel
-only symbol 'platform_driver_unregister' Thank you, obviously a typo of mine that slipped through. I'm wondering if this could get queued for 3.10; it definitely can't do any harm. Acked-by: Lubomir Rintel lkund...@v3.sk Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Dom Cobley popcorn

[PATCH 1/3] pxa168_eth: Allocate receive queue initialized to zero

2013-06-18 Thread Lubomir Rintel
. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Kosta Zertsekel konsz...@marvell.com Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/net/ethernet/marvell/pxa168_eth.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/marvell

[PATCH] mv643xx_eth: Allocate receive queue initialized to zero

2013-06-18 Thread Lubomir Rintel
Zero pointer in rx_skb is how respective rxq_deinit() finds out out that a skb slot is unallocated. If rxq_refill() fails (e.g. on OOM condition), subsequent teardown would result in an attempt to kfree() invalid pointers. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Lennert Buytenhek buyt

[PATCH] mv643xx_eth: Fix a DMA-API error handling warning

2013-06-18 Thread Lubomir Rintel
+0x48/0x11c [bf068494] mv643xx_eth_xmit+0x41c/0x5a8 [mv643xx_eth] [c0410a6c] dev_hard_start_xmit+0x308/0x6cc [c042c720] sch_direct_xmit+0x74/0x2d4 [c041148c] dev_queue_xmit+0x4b8/0x8dc Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Lennert Buytenhek buyt...@wantstofly.org Cc: net

[PATCH v5] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-06-18 Thread Lubomir Rintel
This adds a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel lkund...@v3.sk Tested-by: Stephen Warren swar...@wwwdotorg.org Cc: Stephen Warren swar...@wwwdotorg.org Cc: Wim Van Sebroeck w...@iguana.be Cc

[PATCH] sysv: Add forgotten superblock lock init for v7 fs

2013-09-17 Thread Lubomir Rintel
Superblock lock was replaced with (un)lock_super() removal, but left uninitialized for Seventh Edition UNIX filesystem in the following commit (3.7): c07cb01 sysv: drop lock/unlock super Signed-off-by: Lubomir Rintel lkund...@v3.sk --- fs/sysv/super.c |1 + 1 files changed, 1 insertions

[PATCH] jbd: Lower severity of aborted journal from EMERG to CRIT

2013-11-15 Thread Lubomir Rintel
, often causing unnecessary noise. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- fs/jbd/journal.c |2 +- fs/jbd2/journal.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c index 2d04f9a..9dbc1b6 100644 --- a/fs/jbd/journal.c +++ b

[RESEND PATCH] drm/radeon: Don't limit fb console on 32M cards to 8 bpp

2013-11-15 Thread Lubomir Rintel
matter. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/gpu/drm/radeon/radeon_fb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c index 665ced3..cef3bc7 100644 --- a/drivers/gpu/drm/radeon

[PATCH] gadgetfs: Initialize CHIP to NULL before UDC probe

2014-02-24 Thread Lubomir Rintel
] vfs_kern_mount+0x63/0xf0 [811d93be] do_mount+0x23e/0xac0 [811660eb] ? strndup_user+0x4b/0xf0 [811d9f63] SyS_mount+0x83/0xc0 [81695b69] system_call_fastpath+0x16/0x1b Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/usb/gadget/inode.c | 1 + 1 file changed, 1

[PATCH] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-10 Thread Lubomir Rintel
Reverse-engineered driver for cheapo video digitizer, made from observations of Windows XP driver. The protocol is not yet completely understood, so far we don't provide any controls, only support a single format out of three and don't support the audio device. Signed-off-by: Lubomir Rintel lkund

Re: [PATCH] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-10 Thread Lubomir Rintel
: 36, Succeeded: 36, Failed: 0, Warnings: 0 -- Lubomir Rintel lkund...@v3.sk -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

[PATCH] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-10 Thread Lubomir Rintel
Reverse-engineered driver for cheapo video digitizer, made from observations of Windows XP driver. The protocol is not yet completely understood, so far we don't provide any controls, only support a single format out of three and don't support the audio device. Signed-off-by: Lubomir Rintel lkund

[PATCH v3] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-17 Thread Lubomir Rintel
Reverse-engineered driver for cheapo video digitizer, made from observations of Windows XP driver. The protocol is not yet completely understood, so far we don't provide any controls, only support a single format out of three and don't support the audio device. Signed-off-by: Lubomir Rintel lkund

Re: [PATCH] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-17 Thread Lubomir Rintel
gstreamer. I was using GStreamer from RHEL6. I retried with Fedora 17 and it worked fine. Regards, Lubo -- Lubomir Rintel lkund...@v3.sk -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

[PATCH v4] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-17 Thread Lubomir Rintel
Reverse-engineered driver for cheapo video digitizer, made from observations of Windows XP driver. The protocol is not yet completely understood, so far we don't provide any controls, only support a single format out of three and don't support the audio device. Signed-off-by: Lubomir Rintel lkund

[PATCH] [media] usbtv: Add support for PAL video source.

2013-10-21 Thread Lubomir Rintel
From: Georg Kaindl gkai...@mac.com Signed-off-by: Georg Kaindl gkai...@mac.com Tested-by: Lubomir Rintel lkund...@v3.sk --- Hi, this is a patch sent to me by Georg Kaindl, who uses it with ambi-tv [1]. It looks fine to me and works well, please review and eventually pull it into the media tree

[PATCH] drm/radeon: Don't limit fb console on 32M cards to 8 bpp

2013-09-26 Thread Lubomir Rintel
matter. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/gpu/drm/radeon/radeon_fb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c index 665ced3..cef3bc7 100644 --- a/drivers/gpu/drm/radeon

Re: [PATCH] [media] usbtv: fix leak at failure path in usbtv_probe()

2014-05-26 Thread Lubomir Rintel
On Sat, 2014-05-24 at 00:47 +0400, Alexey Khoroshilov wrote: Error handling code in usbtv_probe() misses usb_put_dev(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru Acked-by: Lubomir Rintel lkund...@v3.sk Thank you

[PATCH RESEND] gadgetfs: Initialize CHIP to NULL before UDC probe

2014-03-27 Thread Lubomir Rintel
] vfs_kern_mount+0x63/0xf0 [811d93be] do_mount+0x23e/0xac0 [811660eb] ? strndup_user+0x4b/0xf0 [811d9f63] SyS_mount+0x83/0xc0 [81695b69] system_call_fastpath+0x16/0x1b Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/usb/gadget/inode.c | 1 + 1 file changed, 1

[PATCH 1/2] [media] usbtv: Fix deinterlacing

2013-07-02 Thread Lubomir Rintel
-off-by: Lubomir Rintel lkund...@v3.sk Cc: Hans Verkuil hans.verk...@cisco.com Cc: Mauro Carvalho Chehab mche...@redhat.com Cc: linux-kernel@vger.kernel.org Cc: linux-me...@vger.kernel.org --- drivers/media/usb/usbtv/usbtv.c | 36 +--- 1 files changed, 25 insertions

[PATCH 2/2] [media] usbtv: Throw corrupted frames away

2013-07-02 Thread Lubomir Rintel
Ignore out of order data and mark incomplete buffers as errored. This gets rid of annoying flicker due to occassional garbage from hardware. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Hans Verkuil hans.verk...@cisco.com Cc: Mauro Carvalho Chehab mche...@redhat.com Cc: linux-kernel

[PATCH] staging: crystalhd: Do not mix integers and user pointers

2014-06-20 Thread Lubomir Rintel
/crystalhd_lnx.c:229:65: warning: incorrect type in argument 4 (different base types) crystalhd/crystalhd_lnx.c:229:65:expected unsigned long [unsigned] ua crystalhd/crystalhd_lnx.c:229:65:got void [noderef] asn:1*ua Done for the Eudyptula challenge. Signed-off-by: Lubomir Rintel lkund...@v3

Re: [PATCHv7 2/5] mailbox: Introduce framework for mailbox

2014-06-20 Thread Lubomir Rintel
On Thu, 2014-06-12 at 22:31 +0530, Jassi Brar wrote: Introduce common framework for client/protocol drivers and controller drivers of Inter-Processor-Communication (IPC). Client driver developers should have a look at include/linux/mailbox_client.h to understand the part of the API exposed

Re: [PATCHv7 2/5] mailbox: Introduce framework for mailbox

2014-06-22 Thread Lubomir Rintel
On Thu, 2014-06-12 at 22:31 +0530, Jassi Brar wrote: Introduce common framework for client/protocol drivers and controller drivers of Inter-Processor-Communication (IPC). Client driver developers should have a look at include/linux/mailbox_client.h to understand the part of the API exposed

Re: [PATCHv7 0/5] Common Mailbox Framework

2014-06-30 Thread Lubomir Rintel
Hi Jassi, On Thu, 2014-06-12 at 22:28 +0530, Jassi Brar wrote: Hello, Here is the next revision of Mailbox framwork. I'm wondering whether you keep a Git tree with the framework we could keep the Raspberry Pi mailbox driver based on (bcm2835-mbox)? Also, from look at the API it does not

[PATCH] docs: Update FireWire debugging documentation

2013-12-22 Thread Lubomir Rintel
The old firewire stack is long dead now and a new version firescope has been released with support for current kernels. Cc: Rob Landley r...@landley.net Cc: Justin P. Mattock justinmatt...@gmail.com Cc: Bernhard Kaindl b...@suse.de Signed-off-by: Lubomir Rintel lkund...@v3.sk --- Documentation

[PATCH] ohci: Turn remote DMA support into a module parameter

2013-12-22 Thread Lubomir Rintel
This makes it possible to debug kernel over FireWire without the need to recompile it. Cc: Stefan Richter stef...@s5r6.in-berlin.de Cc: Dave Hansen dave.han...@linux.intel.com Signed-off-by: Lubomir Rintel lkund...@v3.sk --- Documentation/debugging-via-ohci1394.txt | 4 +--- drivers/firewire

Re: [PATCH] ipv6: notify userspace when we added or changed an ipv6 token

2014-10-26 Thread Lubomir Rintel
On Mon, 2014-10-13 at 11:46 +0200, Daniel Borkmann wrote: On 10/10/2014 04:08 PM, Lubomir Rintel wrote: NetworkManager might want to know that it changed when the router advertisement arrives. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Hannes Frederic Sowa han

[RESEND PATCH] saa7146: Create a device name before it's used

2014-10-02 Thread Lubomir Rintel
request_irq() uses it, tries to create a procfs file with an empty name otherwise. Link: https://bugzilla.kernel.org/show_bug.cgi?id=83771 Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/media/common/saa7146/saa7146_core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH] ARM: bcm2835: Enable USB_DWC2_HOST in bcm2835_defconfig

2014-09-16 Thread Lubomir Rintel
It broke when host was moved into a separate module, in [47a1685f1]. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- arch/arm/configs/bcm2835_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig index 0302d29

[PATCH] ipv6: notify userspace when we added or changed an ipv6 token

2014-10-10 Thread Lubomir Rintel
NetworkManager might want to know that it changed when the router advertisement arrives. Signed-off-by: Lubomir Rintel lkund...@v3.sk Cc: Hannes Frederic Sowa han...@stressinduktion.org Cc: Daniel Borkmann dbork...@redhat.com --- net/ipv6/addrconf.c | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH] ipv6: expose RFC4191 route preference via rtnetlink

2015-03-10 Thread Lubomir Rintel
On Tue, 2015-03-03 at 16:17 +0100, Jiri Pirko wrote: Tue, Mar 03, 2015 at 11:01:52AM CET, lkund...@v3.sk wrote: This makes it possible to retain the route preference when RAs are handled in userspace. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- include/uapi/linux/rtnetlink.h | 1

[PATCH v2] ipv6: expose RFC4191 route preference via rtnetlink

2015-03-11 Thread Lubomir Rintel
This makes it possible to retain the route preference when RAs are handled in userspace. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- Changes since v1: - In case an invalid value is specified treat it as ICMPV6_ROUTER_PREF_MEDIUM include/uapi/linux/rtnetlink.h | 1 + net/ipv6/route.c

[PATCH] ipv6: expose RFC4191 route preference via rtnetlink

2015-03-03 Thread Lubomir Rintel
This makes it possible to retain the route preference when RAs are handled in userspace. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- include/uapi/linux/rtnetlink.h | 1 + net/ipv6/route.c | 16 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git

[PATCH] kdbus: create /sys/fs/kdbus with sysfs_create_mount_point()

2015-08-14 Thread Lubomir Rintel
Since 0cbee99269 user-namespace pull, if a kdbusfs is mounted on a location that's not created with sysfs_create_mount_point the user namespaces are not allowed to mount their sysfs instances. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- Applies on top of char-misc/kdbus a36324913. ipc

Re: [PATCH 3/3] bonding: make device count build-time configurable

2016-02-05 Thread Lubomir Rintel
Hi Bjørn, On Tue, 2016-01-12 at 22:40 +0100, Bjørn Mork wrote: > David Miller <da...@davemloft.net> writes: > > From: Lubomir Rintel <lkund...@v3.sk> > > Date: Tue, 12 Jan 2016 18:19:49 +0100 > > > > > It's still an improvement to let the distributions

Re: [PATCH 2/3] dummy: make device count build-time configurable

2016-02-05 Thread Lubomir Rintel
Hi Stephen, On Tue, 2016-01-12 at 10:42 -0800, Stephen Hemminger wrote: > On Tue, 12 Jan 2016 12:57:33 +0100 > Lubomir Rintel <lkund...@v3.sk> wrote: > > > The devices can be created at run-time for quite some time already > > and the > > load-time devic

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-05 Thread Lubomir Rintel
Hi Olivier, On Fri, 2016-02-05 at 15:25 +0100, Olivier Blin wrote: > Lubomir Rintel <lkund...@v3.sk> writes: > > > diff --git a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts > > b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts > [...] > > @@ -33,3 +37,17

Re: [PATCH 1/3] ifb: make device count build-time configurable

2016-02-05 Thread Lubomir Rintel
On Tue, 2016-01-12 at 15:54 -0500, David Miller wrote: > From: Stephen Hemminger <step...@networkplumber.org> > Date: Tue, 12 Jan 2016 10:44:37 -0800 > > > On Tue, 12 Jan 2016 07:55:22 -0500 > > Jamal Hadi Salim <j...@mojatatu.com> wrote: > >  > >

[PATCH 0/2] Set the Raspberry Pi Ethernet MAC address

2016-02-03 Thread Lubomir Rintel
Hello, Looks like Peter Chen has submitted a patch that associates the USB device with the device-tree node. This is nice; we could use it to propagate the MAC address from firmware with minimal changes now, something that Arnd Bergmann suggested back in 2011 [2]. [1] USB: core: let USB device

[PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device tree

2016-02-03 Thread Lubomir Rintel
can read out the address and set the local-mac-address property of the node with "ethernet" alias. Let's add the node so that U-Boot can do its business. Signed-off-by: Lubomir Rintel <lkund...@v3.sk> --- arch/arm/boot/dts/bcm2835-rpi-b-plus.dts | 18 ++ a

[PATCH 1/2] net/smscx5xx: use the device tree for mac address

2016-02-03 Thread Lubomir Rintel
quires an a MAC address to be functional. The smsc75xx and smsc95xx drivers are just two copies of the same code, so better fix both. Tested-by: Lubomir Rintel <lkund...@v3.sk> Signed-off-by: Arnd Bergmann <a...@arndb.de> --- drivers/net/usb/smsc75xx.c | 10 ++ drivers/net/u

Re: [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device tree

2016-02-03 Thread Lubomir Rintel
On Wed, 2016-02-03 at 16:02 +0100, Lubomir Rintel wrote: > The hub and the ethernet in its port 1 are hardwired on the board. > > Compared to the adapters that can be plugged into the USB ports, this > one has no serial EEPROM to store its MAC. Nevertheless, the > Raspberry P

Re: [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device tree

2016-02-03 Thread Lubomir Rintel
On Wed, 2016-02-03 at 09:11 -0700, Stephen Warren wrote: > On 02/03/2016 08:02 AM, Lubomir Rintel wrote: > > The hub and the ethernet in its port 1 are hardwired on the board. > > > > Compared to the adapters that can be plugged into the USB ports, > > this > >

Re: [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device tree

2016-02-03 Thread Lubomir Rintel
On Thu, 2016-02-04 at 06:28 +, Peter Chen wrote: >   > > Lubomir Rintel <lkund...@v3.sk> writes: > > > > > diff --git a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts > > > b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts > > > index ef54050..32bbd2a 10

[PATCH 2/2] net/smscx5xx: use the device tree for mac address

2016-02-03 Thread Lubomir Rintel
operty() as per suggestion from Arnd, reworded the message and comments a bit] Tested-by: Lubomir Rintel <lkund...@v3.sk> Signed-off-by: Arnd Bergmann <a...@arndb.de> --- Changes since v1: - Made use of_get_property() - Amended comments/commit message a bit drivers/net/u

[PATCH v2 0/2] Set the Raspberry Pi Ethernet MAC address

2016-02-03 Thread Lubomir Rintel
Hi, an updated patch pair addressing the feedback. Originally submitted in [1]. Still not ready for merge as it needs the usb core [2] change and an U-Boot change [3] to work properly. [1] [PATCH 0/2] Set the Raspberry Pi Ethernet MAC address

[PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-03 Thread Lubomir Rintel
. Original Model B is a blind short, though very likely correct. Signed-off-by: Lubomir Rintel <lkund...@v3.sk> --- Changes since v1: - s/@01/@1/ for ethernet and the hub - Corrected the vid/pid pairs for hub and ethernet - Added Model B rev2 and version 2 board changes - Fixed a missin

Re: [PATCH 1/2] net/smscx5xx: use the device tree for mac address

2016-02-03 Thread Lubomir Rintel
On Wed, 2016-02-03 at 16:23 +0100, Arnd Bergmann wrote: > On Wednesday 03 February 2016 16:02:38 Lubomir Rintel wrote: > > From: Arnd Bergmann <a...@arndb.de> > > > > This takes the MAC address for smsc75xx/smsc95xx USB network > > devices > > from a t

[PATCH] net/smscx5xx: use the device tree for mac address

2016-04-29 Thread Lubomir Rintel
operty() as per suggestion from Arnd, reworded the message and comments a bit] Tested-by: Lubomir Rintel <lkund...@v3.sk> Signed-off-by: Arnd Bergmann <a...@arndb.de> Signed-off-by: Lubomir Rintel <lkund...@v3.sk> --- Changes since v2: - Prefer DT address to EEPROM address. No pr

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-04-28 Thread Lubomir Rintel
On Thu, 2016-04-28 at 18:26 +0200, Stefan Wahren wrote: > Hi Olivier > > Am 28.04.2016 um 14:52 schrieb Olivier Blin: > > > > Stephen Warren <swar...@wwwdotorg.org> writes: > > > > > > > > On 02/04/2016 12:36 AM, Lubomir Rintel wrote: >

  1   2   3   4   5   6   7   8   9   10   >