Re: IDE DMA doesn't work with pata_via and compact flash card

2007-10-11 Thread philipp
other hand it says on the package: "Vista compatible" (whatever that means) Is there some way I can figure it out? I'll have a deeper look on the datasheet when I'm home again later, but I'm rather sure there wasn't anything mentioning supporting data transfer modes..

Re: IDE DMA doesn't work with pata_via and compact flash card

2007-10-11 Thread philipp
le slow.. do you >> have any idea how to fix it, so that DMA works? > > Does your CF/IDE adapter support DMA ? Oh well, you're right.. there are still some CF/IDE adapters which do not support DMA. I'll guess this is the problem then, so I'll return it to the shop. Bes

Re: [PATCH] Support for secure erase functionality

2017-09-14 Thread Philipp
mprove data confidentiality. Best regards, Philipp

[PATCH] mfd: da9052-core: Fix interrupts reported to mfd child devices

2012-11-29 Thread Philipp Zabel
number. Signed-off-by: Philipp Zabel --- drivers/mfd/da9052-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c index c96cdbc..0f12972 100644 --- a/drivers/mfd/da9052-core.c +++ b/drivers/mfd/da9052-core.c @@ -804,

[PATCH 04/18] drbd: use the cached meta_dev_idx

2013-03-19 Thread Philipp Reisner
From: Lars Ellenberg Now we have the cached meta_dev_idx member, we can get rid of a few rcu_read_lock() sections and rcu_dereference(). Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_int.h | 32 +--- drivers/block/drbd

[PATCH 00/18] RFC: Non blocking submit for activity log misses

2013-03-19 Thread Philipp Reisner
The Issues Since the beginning DRBD was written with the assumption that the write pattern has spacial locality. (This assumption was driven from the fact, that rotating media performs better if you do not send the head too far too often) Backed by this assumption a caller that submits a request

[PATCH 03/18] drbd: prepare for new striped layout of activity log

2013-03-19 Thread Philipp Reisner
without a detach/attach cycle. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_actlog.c |6 +-- drivers/block/drbd/drbd_int.h| 46 ++- drivers/block/drbd/drbd_main.c | 77 ++ drivers/block

[PATCH 17/18] drbd: try hard to max out the updates per AL transaction

2013-03-19 Thread Philipp Reisner
From: Lars Ellenberg There may have been more incoming requests while we where preparing the current transaction. Try to consolidate more updates into this transaction until we make no more progres. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd

[PATCH 18/18] drbd: adjust upper limit for activity log extents

2013-03-19 Thread Philipp Reisner
hich means that if you use the maximum, you'd have to resync more than 250 GiB after an unclean Primary shutdown. With capable backend storage and replication links, this is entirely feasible. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/d

[PATCH 16/18] drbd: move start io accounting before activity log transaction

2013-03-19 Thread Philipp Reisner
From: Lars Ellenberg The IO accounting of the drbd "queue depth" was misleading. We only started IO accounting once we already wrote the activity log. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_req.c |6 +++--- 1 file changed, 3

[PATCH 14/18] lru_cache: introduce lc_get_cumulative()

2013-03-19 Thread Philipp Reisner
as already marked %LC_DIRTY. Caller needs to make sure that the pending transaction is completed, before proceeding to actually use this element. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- include/linux/lru_cache.h |1 + lib/lru_cache.c

[PATCH 13/18] drbd: queue writes on submitter thread, unless they pass the activity log fastpath

2013-03-19 Thread Philipp Reisner
From: Lars Ellenberg Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_req.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/drivers/block/drbd/drbd_req.c b/drivers/block/drbd/drbd_req.c index 4af709e..43bc1d0

[PATCH 15/18] drbd: consolidate as many updates as possible into one AL transaction

2013-03-19 Thread Philipp Reisner
From: Lars Ellenberg Depending on current IO depth, try to consolidate as many updates as possible into one activity log transaction. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_actlog.c | 49 ++ drivers/block/drbd

[PATCH 11/18] drbd: split drbd_al_begin_io into fastpath, prepare, and commit

2013-03-19 Thread Philipp Reisner
From: Lars Ellenberg Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_actlog.c | 104 ++ drivers/block/drbd/drbd_int.h|1 + 2 files changed, 72 insertions(+), 33 deletions(-) diff --git a/drivers/block/drbd

[PATCH 12/18] drbd: split out some helper functions to drbd_al_begin_io

2013-03-19 Thread Philipp Reisner
From: Lars Ellenberg To make the code easier to follow, use an explicit find_active_resync_extent(), and add a "nonblock" parameter to _al_get(). Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_actlog.c | 49 ++-

[PATCH 09/18] drbd: split __drbd_make_request in before and after drbd_al_begin_io

2013-03-19 Thread Philipp Reisner
From: Lars Ellenberg This is in preparation to be able to defer requests that need to wait for an activity log transaction to a submitter workqueue. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_req.c | 40

[PATCH 10/18] drbd: prepare to queue write requests on a submit worker

2013-03-19 Thread Philipp Reisner
From: Lars Ellenberg Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_int.h | 13 + drivers/block/drbd/drbd_main.c | 25 - drivers/block/drbd/drbd_nl.c |1 + drivers/block/drbd/drbd_req.c | 29

[PATCH 07/18] drbd: Clarify when activity log I/O is delegated to the worker thread

2013-03-19 Thread Philipp Reisner
From: Lars Ellenberg Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_actlog.c | 49 drivers/block/drbd/drbd_int.h |2 +- drivers/block/drbd/drbd_receiver.c |2 +- drivers/block/drbd/drbd_req.c

[PATCH 08/18] drbd: drbd_al_being_io: short circuit to reduce latency

2013-03-19 Thread Philipp Reisner
lizing the innocent. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_actlog.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/block/drbd/drbd_actlog.c b/drivers/block/drbd/drbd_actlog.c index 82199d9..1d7244d 10

[PATCH 06/18] drbd: read meta data early, base on-disk offsets on super block

2013-03-19 Thread Philipp Reisner
log and bitmap offsets on the stored offsets/al stripe settings. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_actlog.c | 11 +++- drivers/block/drbd/drbd_main.c | 131 +++--- drivers/block/drbd/drbd_nl.c | 15

[PATCH 05/18] drbd: mechanically rename la_size to la_size_sect

2013-03-19 Thread Philipp Reisner
From: Lars Ellenberg Make it obvious that this value is in units of 512 Byte sectors. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_main.c |6 +++--- drivers/block/drbd/drbd_nl.c | 16 drivers/block/drbd

[PATCH 02/18] drbd: cleanup ondisk meta data layout calculations and defines

2013-03-19 Thread Philipp Reisner
isk to 4kB, and initialize to zero not only the first 512 Byte, but all of it in drbd_md_sync(). Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_actlog.c | 28 ++--- drivers/block/drbd/drbd_bitmap.c | 13 +- drivers/block/drbd/drbd_in

[PATCH 01/18] drbd: cleanup bogus assert message

2013-03-19 Thread Philipp Reisner
and that checks already for D_FAILED, drop that assert, and fold in the drbd_queue_work(). Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_int.h |7 --- drivers/block/drbd/drbd_main.c |7 --- 2 files changed, 4 insertions(+), 10 del

[PATCH v9 RESEND 0/4] Add generic driver for on-chip SRAM

2013-03-20 Thread Philipp Zabel
nst the "mmio-sram" compatible string. - Removed a whitespace error in the device tree binding documentation. regards Philipp --- Documentation/devicetree/bindings/media/coda.txt | 30 ++ Documentation/devicetree/bindings/misc/sram.txt | 16 +++ arch/arm/boot/dts/imx53.dt

[PATCH v9 RESEND 4/4] ARM: dts: add sram for imx53 and imx6q

2013-03-20 Thread Philipp Zabel
Signed-off-by: Philipp Zabel Reviewed-by: Shawn Guo Acked-by: Grant Likely --- Changes since v8: - Changed device tree compatible string to "mmio-sram" --- arch/arm/boot/dts/imx53.dtsi |5 + arch/arm/boot/dts/imx6q.dtsi |6 ++ 2 files changed, 11 insertions(+) di

[PATCH v9 RESEND 1/4] genalloc: add devres support, allow to find a managed pool by device

2013-03-20 Thread Philipp Zabel
node. The corresponding platform device is then fed into dev_get_gen_pool and the resulting gen_pool is returned. Signed-off-by: Philipp Zabel Acked-by: Grant Likely --- include/linux/genalloc.h | 15 + lib/genalloc.c | 81 ++ 2

[PATCH v9 RESEND 3/4] media: coda: use genalloc API

2013-03-20 Thread Philipp Zabel
This patch depends on "genalloc: add devres support, allow to find a managed pool by device", which provides the of_get_named_gen_pool and dev_get_gen_pool functions. Signed-off-by: Philipp Zabel Acked-By: Javier Martin Acked-by: Grant Likely --- Documentation/devicetree/bind

[PATCH v9 RESEND 2/4] misc: Generic on-chip SRAM allocation driver

2013-03-20 Thread Philipp Zabel
track allocations. Signed-off-by: Philipp Zabel Reviewed-by: Shawn Guo Acked-by: Grant Likely --- Changes since v8: - Changed device tree compatible string to "mmio-sram" --- Documentation/devicetree/bindings/misc/sram.txt | 16 +++ drivers/misc/Kconfig

[PATCH v8 0/4] Add generic driver for on-chip SRAM

2013-02-04 Thread Philipp Zabel
gen_pool_find_by_phys with dev_get_gen_pool (and made of_get_named_gen_pool use that) - In the coda driver, switched to dev_get_gen_pool and added a platform_data struct to pass the SRAM device pointer (instead of using a second IO memory resource). Added device tree binding documentation.

[PATCH v8 4/4] ARM: dts: add sram for imx53 and imx6q

2013-02-04 Thread Philipp Zabel
Signed-off-by: Philipp Zabel Reviewed-by: Shawn Guo --- arch/arm/boot/dts/imx53.dtsi |5 + arch/arm/boot/dts/imx6q.dtsi |6 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index edc3f1e..8faca1a 100644 --- a/arch/arm

[PATCH v8 1/4] genalloc: add devres support, allow to find a managed pool by device

2013-02-04 Thread Philipp Zabel
node. The corresponding platform device is then fed into dev_get_gen_pool and the resulting gen_pool is returned. Signed-off-by: Philipp Zabel --- Changes since v7: - Removed the global pool list. Instead, added a devres managed version of gen_pool_create, replacing gen_pool_find_by_phys with

[PATCH v8 2/4] misc: Generic on-chip SRAM allocation driver

2013-02-04 Thread Philipp Zabel
track allocations. Signed-off-by: Philipp Zabel Reviewed-by: Shawn Guo --- Changes since v7: - Removed obsolete __devinit/__devexit/__devexit_p --- Documentation/devicetree/bindings/misc/sram.txt | 17 drivers/misc/Kconfig|9 ++ drivers/misc/Mak

[PATCH v8 3/4] media: coda: use genalloc API

2013-02-04 Thread Philipp Zabel
This patch depends on "genalloc: add devres support, allow to find a managed pool by device", which provides the of_get_named_gen_pool and dev_get_gen_pool functions. Signed-off-by: Philipp Zabel --- Changes since v7: - In the platform data case, retrieve gen_pool by device instea

[GIT PULL] drbd build fix in case CONFIG_CRYPTO_HMAC is not set

2013-02-04 Thread Philipp Reisner
78aa7987a223e8542f2735dace439690c6171ac5: drbd: Fix build error when CONFIG_CRYPTO_HMAC is not set (2013-02-04 18:14:03 +0100) Philipp Reisner (1): drbd: Fix build error when CONFIG_CRYPTO_HMAC is not set drivers/block/drbd

Re: [PATCH v8 2/4] misc: Generic on-chip SRAM allocation driver

2013-02-05 Thread Philipp Zabel
Am Dienstag, den 05.02.2013, 00:53 +0900 schrieb Paul Mundt: > On Mon, Feb 04, 2013 at 12:32:16PM +0100, Philipp Zabel wrote: > > This driver requests and remaps a memory region as configured in the > > device tree. It serves memory from this region via the genalloc API. > >

Re: [GIT PULL] drbd build fix in case CONFIG_CRYPTO_HMAC is not set

2013-02-05 Thread Philipp Reisner
RYPTO_HMAC is not set (2013-02-05 15:58:34 +0100) ---- Philipp Reisner (1): drbd: Fix build error when CONFIG_CRYPTO_HMAC is not set drivers/block/drbd/drbd_receiver.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH v8 2/4] misc: Generic on-chip SRAM allocation driver

2013-02-11 Thread Philipp Zabel
Hi Grant, Am Freitag, den 08.02.2013, 20:16 + schrieb Grant Likely: > On Mon, 4 Feb 2013 12:32:16 +0100, Philipp Zabel > wrote: > > This driver requests and remaps a memory region as configured in the > > device tree. It serves memory from this region via the ge

[GIT PULL] drbd activity log improvements for the 3.9 merge window

2013-01-30 Thread Philipp Reisner
g transaction drbd: try hard to max out the updates per AL transaction drbd: adjust upper limit for activity log extents Philipp Reisner (7): drbd: reset ap_in_flight counter for new connections drbd: abort start of resync early, if it raced with connection breakage

[GIT PULL] drbd: Fix flushes without data on a diskless primary node

2013-01-30 Thread Philipp Reisner
Hi Jens, Please consider to forward this fix for 3.8 to Linus. The following changes since commit 949db153b6466c6f7cad5a427ecea94985927311: Linux 3.8-rc5 (2013-01-25 11:57:28 -0800) are available in the git repository at: git://git.drbd.org/linux-drbd.git for-jens-3.8-fix for you to fetch

[PATCH v2 8/9] ARM: i.MX6: use generic on-chip SRAM allocator driver for OCRAM

2012-08-31 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- arch/arm/boot/dts/imx6q.dtsi |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 9cb0b50..1e463c4 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi

[PATCH v2 7/9] ARM: i.MX53: use generic on-chip SRAM allocator driver for OCRAM

2012-08-31 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- arch/arm/boot/dts/imx53.dtsi |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index 5da342a..2767a92 100644 --- a/arch/arm/boot/dts/imx53.dtsi +++ b/arch/arm/boot/dts/imx53.dtsi

[PATCH v2 6/9] misc: Generic on-chip SRAM allocation driver

2012-08-31 Thread Philipp Zabel
This driver requests and remaps a memory region as configured in the device tree. It serves memory from this region via the genalloc API. Other drivers can retrieve the genalloc pool from a phandle pointing to this drivers' device node in the device tree. Signed-off-by: Philipp

[PATCH v2 1/9] ARM i.MX: Switch IRAM allocator to device tree initialization

2012-08-31 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- arch/arm/plat-mxc/include/mach/iram.h |6 - arch/arm/plat-mxc/iram_alloc.c| 44 ++--- 2 files changed, 41 insertions(+), 9 deletions(-) diff --git a/arch/arm/plat-mxc/include/mach/iram.h b/arch/arm/plat-mxc/include

[PATCH v2 9/9] ARM i.MX: remove IRAM_ALLOC facility

2012-08-31 Thread Philipp Zabel
virt); /* ... */ - iram_free(virt, SIZE); + gen_pool_free(iram_pool, virt, SIZE); Signed-off-by: Philipp Zabel --- arch/arm/plat-mxc/Kconfig |4 -- arch/arm/plat-mxc/Makefile|1 - arch/arm/plat-mxc/include/mach/iram.h | 35 -- arch/arm/plat-mxc/iram_alloc.c|

[PATCH v2 5/9] genalloc: add a global pool list, allow to find pools by phys address

2012-08-31 Thread Philipp Zabel
This patch keeps all created pools in a global list and adds two functions that allow to retrieve the gen_pool pointer from a known physical address and from a device tree node. Signed-off-by: Philipp Zabel --- include/linux/genalloc.h | 14 + lib/genalloc.c | 77

[PATCH v2 4/9] iram_alloc: store the virt and phys mem address in gen_pool chunks

2012-08-31 Thread Philipp Zabel
This improves the symmetry of iram_alloc and iram_free in that iram_free has to be called with the virtual address now. Also, gen_pool_virt_to_phys is now functional. Signed-off-by: Philipp Zabel --- arch/arm/plat-mxc/iram_alloc.c | 39 ++- 1 file changed

[PATCH v2 0/9] Add device tree support for on-chip SRAM

2012-08-31 Thread Philipp Zabel
iram = <&ocram>; }; Changes since v1: - Added a generic SRAM driver in drivers/misc that does nothing but request/ioremap its given memory region and serve it via the genalloc API. - Renamed the i.MX device tree nodes from "iram" to "ocram". regards P

[PATCH v2 2/9] ARM i.MX53: Add OCRAM to device tree

2012-08-31 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- - Renamed "iram" to "ocram" as it appears in the processor reference manuals. --- arch/arm/boot/dts/imx53.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi in

[PATCH v2 3/9] ARM i.MX6: Add OCRAM to device tree

2012-08-31 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- Changes since v1: - Renamed "iram" to "ocram" as it appears in the processor reference manuals. --- arch/arm/boot/dts/imx6q.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/

Re: [PATCH v2 0/9] Add device tree support for on-chip SRAM

2012-09-03 Thread Philipp Zabel
a vpu patches that depend on sram support on imx53/6q. I'll work in your comments and reduce the patch count as you propose. regards Philipp -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo inf

[PATCH v3 4/4] ARM i.MX: remove IRAM_ALLOC facility

2012-09-03 Thread Philipp Zabel
virt); /* ... */ - iram_free(virt, SIZE); + gen_pool_free(iram_pool, virt, SIZE); Signed-off-by: Philipp Zabel --- arch/arm/plat-mxc/Kconfig |4 -- arch/arm/plat-mxc/Makefile|1 - arch/arm/plat-mxc/include/mach/iram.h | 41 -- arch/arm/plat-mxc/iram_all

[PATCH v3 3/4] ARM: dts: add sram for imx53 and imx6q

2012-09-03 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- arch/arm/boot/dts/imx53.dtsi |5 + arch/arm/boot/dts/imx6q.dtsi |5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index cd37165..2767a92 100644 --- a/arch/arm/boot/dts/imx53.dtsi

[PATCH v3 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-09-03 Thread Philipp Zabel
This patch keeps all created pools in a global list and adds two functions that allow to retrieve the gen_pool pointer from a known physical address and from a device tree node. Signed-off-by: Philipp Zabel --- Changes since v2: - Moved struct device_node declaration out of #ifdef CONFIG_OF

[PATCH v3 2/4] misc: Generic on-chip SRAM allocation driver

2012-09-03 Thread Philipp Zabel
This driver requests and remaps a memory region as configured in the device tree. It serves memory from this region via the genalloc API. Other drivers can retrieve the genalloc pool from a phandle pointing to this drivers' device node in the device tree. Signed-off-by: Philipp

[PATCH v3 0/4] Add device tree support for on-chip SRAM

2012-09-03 Thread Philipp Zabel
fails. - Squashed i.MX changes together. regards Philipp --- arch/arm/boot/dts/imx53.dtsi |5 ++ arch/arm/boot/dts/imx6q.dtsi |5 ++ arch/arm/plat-mxc/Kconfig |4 -- arch/arm/plat-mxc/Makefile|1 - arch/arm/plat-mxc/include/mach/iram.h |

FLUSH/FUA documentation & code discrepancy

2012-09-04 Thread Philipp Reisner
Hi, I think commit 1e87901e18 was wrong. Starting with that commit the REQ_FLUSH and REQ_FUA bits get stripped away if the queue does not advertise REQ_FLUSH or REQ_FUA support. But the REQ_FLUSH bit is also tested for when not merging requests (blk_queue_bio()) or when it comes to the elevator

Re: [Drbd-dev] FLUSH/FUA documentation & code discrepancy

2012-09-05 Thread Philipp Reisner
> Currently, FLUSH/FUA doesn't enforce any ordering requirement. File > systems are responsible for draining all writes which have to happen > before and not issue further writes which should come after. Ok. That is a clear statement. So we will do it that way. The "Currently" in you statement,

[GIT PULL] drbd-8.3 updates

2012-10-02 Thread Philipp Reisner
isk, unless force-detached drbd: prepare for more than 32 bit flags drbd: always write bitmap on detach drbd: log request sector offset and size for IO errors Philipp Reisner (6): drbd: Add a drbd directory to sysfs drbd: expose the data generation identifiers via sy

Re: [GIT PULL] drbd-8.3 updates

2012-10-03 Thread Philipp Reisner
> Not pulled. Two reasons: > > - It's late (in the merge window) > - and it's not based off my for-3.7/drivers branch, hence I get a ton of > unrelated changes with a pull into that branch. Hi Jens, I can rebase it for you in a few hours. Would influence this your decission? Best, Phil -- To

Re: [GIT PULL] drbd-8.3 updates

2012-10-03 Thread Philipp Reisner
data IO completion even with failed disk, unless force-detached drbd: prepare for more than 32 bit flags drbd: always write bitmap on detach drbd: log request sector offset and size for IO errors Philipp Reisner (6): drbd: Add a drbd directory to sysfs drbd: expo

Re: [GIT PULL] drbd-8.3 updates

2012-10-03 Thread Philipp Reisner
> Thanks, one question before this is pulled in: > > Philipp Reisner (6): > > drbd: Add a drbd directory to sysfs > > drbd: expose the data generation identifiers via sysfs > > What are these? It's sitting in /sys/block//drbd/, I don't see any >

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Philipp Zabel
uio_pruss driver could then use the gen_pool_find_by_phys() (or of_get_named_gen_pool() for initialization from device tree) to retrieve the struct gen_pool*. This way you could avoid handing it over via platform data and you could get rid of arch/arm/mach-davinci/{sram.c,include/mach/sram.h} comple

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Philipp Zabel
her > things. We'll eventually need that when switching to it as the > hardcoded page size order isn't going to work for all cases. Good point. regards Philipp -- Pengutronix e.K. | | Industrial Linux Solutions

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Philipp Zabel
y with other > > > things. We'll eventually need that when switching to it as the > > > hardcoded page size order isn't going to work for all cases. > > > > Good point. > > I think this is the on

Re: [PATCH v4 2/6] misc: Generic on-chip SRAM allocation driver

2012-10-05 Thread Philipp Zabel
Am Donnerstag, den 04.10.2012, 11:25 -0400 schrieb Matt Porter: > On Fri, Sep 07, 2012 at 02:43:44PM +0200, Philipp Zabel wrote: > > This driver requests and remaps a memory region as configured in the > > device tree. It serves memory from this region via the genalloc API. > &g

Re: [GIT PULL] 4 fixes for drbd

2012-11-05 Thread Philipp Reisner
> > Can you rebase this against for-3.8/drivers? Thanks. Hi Jens, One of these changes fixes a regression that was introduced in the last merge window. Please consider to pull this single commit. (I will rebase the other 3 commit on for-3.8/drivers) The following changes since commit a13c29ddf

Re: [GIT PULL] 4 fixes for drbd

2012-11-05 Thread Philipp Reisner
Am Montag, 5. November 2012, 15:43:28 schrieb Jens Axboe: > On 2012-11-05 15:35, Philipp Reisner wrote: > >> Can you rebase this against for-3.8/drivers? Thanks. > > > > Hi Jens, > > > > One of these changes fixes a regression that was introduced in the last

[PATCH] net: move "IPv6: sending pkt_too_big to self" to NETDEBUG

2012-07-28 Thread Philipp Kern
event. Hence move this message to LIMIT_NETDEBUG, as suggested by Andi Kleen back in 2001 (<20010215231715.26...@colin.muc.de>). Signed-off-by: Philipp Kern --- net/ipv6/ip6_output.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/ip6_output.c b/ne

Re: [PATCH] net: move "IPv6: sending pkt_too_big to self" to NETDEBUG

2012-07-29 Thread Philipp Kern
On Sat, Jul 28, 2012 at 10:29:20AM -0700, Joe Perches wrote: > On Sat, 2012-07-28 at 17:06 +0200, Philipp Kern wrote: > > ip6_xmit checks if the outgoing packet is larger than the path MTU and > > emits ICMPv6 packet too big locally if this is the case. Logging this, > &g

Re: [PATCH v5 3/4] misc: sram: Add optional clock

2012-10-29 Thread Philipp Zabel
Am Freitag, den 26.10.2012, 12:17 -0400 schrieb Paul Gortmaker: > On Thu, Oct 18, 2012 at 10:27 AM, Philipp Zabel > wrote: > > On some platforms the SRAM needs a clock to be enabled explicitly. > > > > Signed-off-by: Philipp Zabel > > --- > > drivers/misc/

Re: [PATCH v5 3/4] misc: sram: Add optional clock

2012-10-29 Thread Philipp Zabel
Am Freitag, den 26.10.2012, 11:18 -0400 schrieb Paul Gortmaker: > On Thu, Oct 18, 2012 at 10:27 AM, Philipp Zabel > wrote: > > On some platforms the SRAM needs a clock to be enabled explicitly. > > Since this is a file that you've just created in the previous commit,

Re: [PATCH v5 2/4] misc: Generic on-chip SRAM allocation driver

2012-10-29 Thread Philipp Zabel
Hi Paul, thank you for your comments. Am Freitag, den 26.10.2012, 12:07 -0400 schrieb Paul Gortmaker: > On Thu, Oct 18, 2012 at 10:27 AM, Philipp Zabel > wrote: > > This driver requests and remaps a memory region as configured in the > > device tree. It serves memory from t

[GIT PULL] 4 fixes for drbd

2012-10-29 Thread Philipp Reisner
ng Wang (1): drbd: check return of kmalloc in receive_uuids Lars Ellenberg (2): drbd: fix regression: potential NULL pointer dereference drbd: don't try to clear bits once the disk has failed Philipp Reisner (1): drbd: Broadcast sync progress no more often than

Re: [PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-05 Thread Philipp Zabel
| 2 + > drivers/reset/Kconfig | 14 ++ > drivers/reset/Makefile | 1 + > drivers/reset/amx3_reset.c | 157 > + > drivers/reset/core.c |

Re: [PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-09 Thread Philipp Zabel
Am Donnerstag, den 05.09.2013, 21:26 +0530 schrieb Afzal Mohammed: > Hi Philipp, > > On Thursday 05 September 2013 03:37 PM, Philipp Zabel wrote: > > Am Montag, den 02.09.2013, 19:41 +0530 schrieb Afzal Mohammed: > > >> Two new reset API's are provided to check wh

Re: [PATCH] reset: Add non CONFIG_RESET_CONTROLLER routines

2013-10-10 Thread Philipp Zabel
r into a runtime error for devices that don't work without being properly reset. Please also refer to this thread: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-June/174758.html regards Philipp > Signed-off-by: Ivan T. Ivanov > Cc: Pavel Machek > Cc: Stephen Warren

Re: [Drbd-dev] [PATCH] drbd: use list_move_tail instead of list_del/list_add_tail

2012-09-05 Thread Philipp Reisner
Thanks, applied. Best regards, Phil > From: Wei Yongjun > > Using list_move_tail() instead of list_del() + list_add_tail(). > > spatch with a semantic match is used to found this problem. > (http://coccinelle.lip6.fr/) > > Signed-off-by: Wei Yongjun > --- > drivers/block/drbd/drbd_worker.c

[PATCH v4 0/6] Add device tree support for on-chip SRAM

2012-09-07 Thread Philipp Zabel
iram = <&ocram>; }; Changes since v3: - Added devicetree binding documentation - Register platform driver early with postcore_initcall - Added optional SRAM clock support. regards Philipp --- Documentation/devicetree/bindings/misc/sram.txt | 17 arch/arm/boot/dts/im

[PATCH v4 1/6] genalloc: add a global pool list, allow to find pools by phys address

2012-09-07 Thread Philipp Zabel
This patch keeps all created pools in a global list and adds two functions that allow to retrieve the gen_pool pointer from a known physical address and from a device tree node. Signed-off-by: Philipp Zabel Reviewed-by: Shawn Guo --- include/linux/genalloc.h | 14 ++ lib/genalloc.c

[PATCH v4 4/6] ARM i.MX: remove IRAM_ALLOC facility

2012-09-07 Thread Philipp Zabel
virt); /* ... */ - iram_free(virt, SIZE); + gen_pool_free(iram_pool, virt, SIZE); Signed-off-by: Philipp Zabel Reviewed-by: Shawn Guo --- arch/arm/plat-mxc/Kconfig |4 -- arch/arm/plat-mxc/Makefile|1 - arch/arm/plat-mxc/include/mach/iram.h | 41 -- arch/arm/

[PATCH v4 6/6] ARM i.MX6q: Add ocram clkdev entry

2012-09-07 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- arch/arm/mach-imx/clk-imx6q.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index 4233d9e..5912966 100644 --- a/arch/arm/mach-imx/clk-imx6q.c +++ b/arch/arm/mach-imx/clk-imx6q.c @@ -439,6

[PATCH v4 5/6] misc: sram: Add optional clock

2012-09-07 Thread Philipp Zabel
On some platforms the SRAM needs a clock to be enabled explicitly. Signed-off-by: Philipp Zabel --- drivers/misc/sram.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c index 7a363f2..0cc2e75 100644 --- a/drivers/misc/sram.c +++ b

[PATCH v4 3/6] ARM: dts: add sram for imx53 and imx6q

2012-09-07 Thread Philipp Zabel
Signed-off-by: Philipp Zabel Reviewed-by: Shawn Guo --- arch/arm/boot/dts/imx53.dtsi |5 + arch/arm/boot/dts/imx6q.dtsi |5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index cd37165..2767a92 100644 --- a/arch/arm

[PATCH v4 2/6] misc: Generic on-chip SRAM allocation driver

2012-09-07 Thread Philipp Zabel
This driver requests and remaps a memory region as configured in the device tree. It serves memory from this region via the genalloc API. Other drivers can retrieve the genalloc pool from a phandle pointing to this drivers' device node in the device tree. Signed-off-by: Philipp Zabel Rev

Re: [PATCH v7 0/4] Add generic driver for on-chip SRAM

2012-12-04 Thread Philipp Zabel
Hi, On Fri, 2012-11-23 at 15:24 +0100, Philipp Zabel wrote: > These patches add support to configure on-chip SRAM via device-tree > node or platform data and to obtain the resulting genalloc pool from > the physical address or a phandle pointing at the device tree node. > This allow

Re: [PATCH v7 0/4] Add generic driver for on-chip SRAM

2012-12-04 Thread Philipp Zabel
On Tue, 2012-12-04 at 08:19 -0800, Greg Kroah-Hartman wrote: > On Tue, Dec 04, 2012 at 09:53:38AM +0100, Philipp Zabel wrote: > > Hi, > > > > On Fri, 2012-11-23 at 15:24 +0100, Philipp Zabel wrote: > > > These patches add support to configure on-chip SRAM via devi

[PATCH] regmap: default Y if REGMAP_MMIO is selected

2012-10-17 Thread Philipp Zabel
The syscon mfd driver selects REGMAP_MMIO and uses struct regmap_config, which is only defined if CONFIG_REGMAP is enabled. Signed-off-by: Philipp Zabel --- drivers/base/regmap/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/Kconfig b/drivers

Re: [PATCH] regmap: default Y if REGMAP_MMIO is selected

2012-10-17 Thread Philipp Zabel
Am Mittwoch, den 17.10.2012, 21:32 +0900 schrieb Mark Brown: > On Wed, Oct 17, 2012 at 02:31:16PM +0200, Philipp Zabel wrote: > > The syscon mfd driver selects REGMAP_MMIO and uses struct regmap_config, > > which is only defined if CONFIG_REGMAP is enabled. > > Already

[PATCH v5 3/4] misc: sram: Add optional clock

2012-10-18 Thread Philipp Zabel
On some platforms the SRAM needs a clock to be enabled explicitly. Signed-off-by: Philipp Zabel --- drivers/misc/sram.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c index 7a363f2..0cc2e75 100644 --- a/drivers/misc/sram.c +++ b

[PATCH v5 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-10-18 Thread Philipp Zabel
This patch keeps all created pools in a global list and adds two functions that allow to retrieve the gen_pool pointer from a known physical address and from a device tree node. Signed-off-by: Philipp Zabel Reviewed-by: Shawn Guo --- include/linux/genalloc.h | 14 ++ lib/genalloc.c

[PATCH v5 2/4] misc: Generic on-chip SRAM allocation driver

2012-10-18 Thread Philipp Zabel
This driver requests and remaps a memory region as configured in the device tree. It serves memory from this region via the genalloc API. Other drivers can retrieve the genalloc pool from a phandle pointing to this drivers' device node in the device tree. Signed-off-by: Philipp Zabel Rev

[PATCH v5 0/4] Add generic driver for on-chip SRAM

2012-10-18 Thread Philipp Zabel
tree patches as those should go through the ARM SoC tree. regards Philipp --- Documentation/devicetree/bindings/misc/sram.txt | 27 + drivers/misc/Kconfig|9 ++ drivers/misc/Makefile |1 + drivers/misc/sram.c

[PATCH v5 4/4] misc: sram: add support for configurable allocation order

2012-10-18 Thread Philipp Zabel
igned-off-by: Matt Porter Signed-off-by: Philipp Zabel --- Documentation/devicetree/bindings/misc/sram.txt | 12 ++- drivers/misc/sram.c | 14 - include/linux/platform_data/sram.h | 25 +++ 3 files change

[GIT PULL] drbd Kconfig update and minor fixes

2012-12-06 Thread Philipp Reisner
rs setting also when changed online via disk-options drbd: update Kconfig to match current dependencies Philipp Reisner (3): drbd: Remove obsolete check drbd: close race between drbd_set_role and drbd_connect drbd: Fix drbdsetup wait-connect, wait-sync etc... commands dri

Re: [PATCH v5 4/4] misc: sram: add support for configurable allocation order

2012-11-15 Thread Philipp Zabel
Am Mittwoch, den 14.11.2012, 19:15 + schrieb Grant Likely: > On Thu, 18 Oct 2012 16:27:33 +0200, Philipp Zabel > wrote: > > From: Matt Porter > > > > Adds support for setting the genalloc pool's minimum allocation > > order via DT or platform data. The a

Re: [PATCH v5 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-11-15 Thread Philipp Zabel
Hi Paul, Am Freitag, den 26.10.2012, 15:46 -0400 schrieb Paul Gortmaker: > On Thu, Oct 18, 2012 at 10:27 AM, Philipp Zabel > wrote: > > This patch keeps all created pools in a global list and adds two > > functions that allow to retrieve the gen_pool pointer from a known &g

[GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Philipp Reisner
drbd: simplify condition in drbd_may_do_local_read() [...] Philipp Marek (1): drbd: pass some more information to userspace. Philipp Reisner (234): idr: idr_for_each_entry() macro [...] drivers/block/drbd/Makefile|2 + drivers/block/drbd/drbd_actlog.c | 689

Re: [GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Philipp Reisner
[...] > > It has the sysfs bits in again. The reason for that is that we want to > > expose more information by that, and remove the /proc/drbd with the > > next evolutionary step. -- In case this is a show stopper, let me > > remove the sysfs bits. > > The exact same sysfs bits I complained about

Re: [GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Philipp Reisner
completion even with failed disk, unless force-detached drbd: always write bitmap on detach drbd: log request sector offset and size for IO errors drbd: if the replication link breaks during handshake, keep retrying Philipp Marek (1): drbd: pass some more information to users

Re: [GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Philipp Reisner
Am Freitag, 9. November 2012, 15:50:24 schrieb Jens Axboe: > On 2012-11-09 15:18, Jens Axboe wrote: > > On 2012-11-09 14:33, Philipp Reisner wrote: > >> Jens, here it is without the sysfs stuff > > > > Thanks, pulled into for-3.8/drivers > > I didn't say

  1   2   3   4   5   6   7   8   9   10   >