[PATCH] Input: i8042 - Fix warning on non-x86 builds

2008-02-08 Thread Roland Dreier
eclaration into the #ifdef too. Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> --- diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 2763394..65a74cf 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c @@ -1151,7 +1151,6 @@ static int __devinit

[PATCH] Input: i8042 -

2008-02-08 Thread Roland Dreier
eclaration into the #ifdef too. Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> --- diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 2763394..65a74cf 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c @@ -1151,7 +1151,6 @@ static int __devinit

kobject must be initialized before calling kobject_init()?!

2008-02-08 Thread Roland Dreier
So I was perusing the code in lib/kobject.c, and I saw this: void kobject_init(struct kobject *kobj, struct kobj_type *ktype) { // [a couple of of parameter checks...] if (kobj->state_initialized) { /* do not error out as

Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6

2008-02-08 Thread Roland Dreier
> I thought the adaptor can always remove the mapping by renegotiating > with the remote side? Even if its dumb then a callback could notify the > driver that it may be required to tear down the mapping. We then hold the > pages until we get okay by the driver that the mapping has been

Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6

2008-02-08 Thread Roland Dreier
> We have done several rounds of discussion on linux-kernel about this so > far and the IB folks have not shown up to join in. I have tried to make > this as general as possible. Sorry, this has been on my "things to look at" list for a while, but I haven't gotten a chance to really

[PATCH] SUNPRC: Fix printk format warning

2008-02-08 Thread Roland Dreier
net/sunrpc/xprtrdma/svc_rdma_sendto.c:160: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'u64' Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> --- diff --git a/net/sunrpc/xprtrdma/svc_rdma_sendto.c b/net/sunrpc/xprtrdma/svc_rdma_sendto.c index 3

[GIT PULL] please pull infiniband.git

2008-02-08 Thread Roland Dreier
() kernel queue buffers IB/mlx4: Use multiple WQ blocks to post smaller send WQEs Roland Dreier (3): IB/mlx4: Consolidate code to get an entry from a struct mlx4_buf mlx4_core: Clean up struct mlx4_buf IB/core: Remove unused struct ib_device.flags member drivers/infiniband/hw

[PATCH] SUNPRC: Fix printk format warning

2008-02-08 Thread Roland Dreier
net/sunrpc/xprtrdma/svc_rdma_sendto.c:160: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'u64' Signed-off-by: Roland Dreier [EMAIL PROTECTED] --- diff --git a/net/sunrpc/xprtrdma/svc_rdma_sendto.c b/net/sunrpc/xprtrdma/svc_rdma_sendto.c index 3e32194

Re: [ofa-general] Re: [patch 0/6] MMU Notifiers V6

2008-02-08 Thread Roland Dreier
I thought the adaptor can always remove the mapping by renegotiating with the remote side? Even if its dumb then a callback could notify the driver that it may be required to tear down the mapping. We then hold the pages until we get okay by the driver that the mapping has been removed.

kobject must be initialized before calling kobject_init()?!

2008-02-08 Thread Roland Dreier
So I was perusing the code in lib/kobject.c, and I saw this: void kobject_init(struct kobject *kobj, struct kobj_type *ktype) { // [a couple of of parameter checks...] if (kobj-state_initialized) { /* do not error out as

[PATCH] Input: i8042 -

2008-02-08 Thread Roland Dreier
into the #ifdef too. Signed-off-by: Roland Dreier [EMAIL PROTECTED] --- diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 2763394..65a74cf 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c @@ -1151,7 +1151,6 @@ static int __devinit i8042_setup_kbd(void

[PATCH] Input: i8042 - Fix warning on non-x86 builds

2008-02-08 Thread Roland Dreier
into the #ifdef too. Signed-off-by: Roland Dreier [EMAIL PROTECTED] --- diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 2763394..65a74cf 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c @@ -1151,7 +1151,6 @@ static int __devinit i8042_setup_kbd(void

[GIT PULL] please pull infiniband.git

2008-02-08 Thread Roland Dreier
() kernel queue buffers IB/mlx4: Use multiple WQ blocks to post smaller send WQEs Roland Dreier (3): IB/mlx4: Consolidate code to get an entry from a struct mlx4_buf mlx4_core: Clean up struct mlx4_buf IB/core: Remove unused struct ib_device.flags member drivers/infiniband/hw

[PATCH] Fix CONFIG_COMPAT_BRK help text

2008-02-07 Thread Roland Dreier
CONFIG_COMPAT_BRK=y means that heap randomization is turned off, so it's *always* a safe choice. I assume the help text is trying to say that if one does not run ancient binaries, then enabling heap randomization is safe. Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> --- diff --git

Plans for d0049e71 ("x86: make io_delay=0xed the default")

2008-02-07 Thread Roland Dreier
Hi Ingo, What are your plans for handling the x86 io_delay stuff? The current situation is pretty confusing to someone updating their config from a 2.6.24 kernel, since arch/x86/Kconfig.debug has: config IO_DELAY_0X80 bool "port 0x80 based port-IO delay [recommended]" but also choice

Re: Integration of SCST in the mainstream Linux kernel

2008-02-06 Thread Roland Dreier
> Sorry, but I'm afraid you got this wrong. When the iSER transport is > used instead of TCP, all data is sent via RDMA, including unsolicited > data. If you have look at the iSER implementation in the Linux kernel > (source files under drivers/infiniband/ulp/iser), you will see that > all

Re: Integration of SCST in the mainstream Linux kernel

2008-02-06 Thread Roland Dreier
Sorry, but I'm afraid you got this wrong. When the iSER transport is used instead of TCP, all data is sent via RDMA, including unsolicited data. If you have look at the iSER implementation in the Linux kernel (source files under drivers/infiniband/ulp/iser), you will see that all data is

[GIT PULL] please pull infiniband.git

2008-02-04 Thread Roland Dreier
codes from mthca_fmr_alloc() Or Gerlitz (3): IPoIB: Handle bonding failover race for connected neighbours too IPoIB: Remove a misleading debug print IB/fmr_pool: Allocate page list for pool FMRs only when caching enabled Roland Dreier (4): mlx4_core: Fix more section mism

Re: [drivers/misc/thinkpad_acpi.c] duplicate test if (level & TP_EC_FAN_FULLSPEED)

2008-02-04 Thread Roland Dreier
> /* safety net should the EC not support AUTO > * or FULLSPEED mode bits and just ignore them */ > if (level & TP_EC_FAN_FULLSPEED) > level |= 7; /* safety min speed 7 */ > else if (level &

Re: [drivers/misc/thinkpad_acpi.c] duplicate test if (level TP_EC_FAN_FULLSPEED)

2008-02-04 Thread Roland Dreier
/* safety net should the EC not support AUTO * or FULLSPEED mode bits and just ignore them */ if (level TP_EC_FAN_FULLSPEED) level |= 7; /* safety min speed 7 */ else if (level

[GIT PULL] please pull infiniband.git

2008-02-04 Thread Roland Dreier
from mthca_fmr_alloc() Or Gerlitz (3): IPoIB: Handle bonding failover race for connected neighbours too IPoIB: Remove a misleading debug print IB/fmr_pool: Allocate page list for pool FMRs only when caching enabled Roland Dreier (4): mlx4_core: Fix more section mismatches

Re: [build bug] undefined reference to `i2c_attach_client'

2008-02-01 Thread Roland Dreier
> > randconfig testing found the following build bug in latest -git: > > > > drivers/built-in.o: In function `v4l2_i2c_attach': > > : undefined reference to `i2c_attach_client' I hit this too -- it seems that commit 8ffbc655 ("V4L/DVB (6451): v4l2: add support for bus-based I2C drivers"),

Re: Are Section mismatches out of control?

2008-02-01 Thread Roland Dreier
> Subject to someone _making_ it an issue, can't see it changing. Actually I think that Sam's recent improvements to the section mismatch detection should make it easy to get at least all of the driver issues fixed -- the problem in the past was that many warnings would only show with certain

Re: Are Section mismatches out of control?

2008-02-01 Thread Roland Dreier
Subject to someone _making_ it an issue, can't see it changing. Actually I think that Sam's recent improvements to the section mismatch detection should make it easy to get at least all of the driver issues fixed -- the problem in the past was that many warnings would only show with certain

Re: [PATCH 2/2] IB/ehca: Add PMA support

2008-01-30 Thread Roland Dreier
thanks, applied 1-2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] IB/ehca: Prevent sending UD packets to QP0

2008-01-30 Thread Roland Dreier
thanks, applied -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 4/4] IB: introducing MTHCA_MR_DMABARRIER

2008-01-30 Thread Roland Dreier
> @@ -72,6 +73,8 @@ static void __ib_umem_release(struct ib_device *dev, > struct ib_umem *umem, int d > * @addr: userspace virtual address to start at > * @size: length of region to pin > * @access: IB_ACCESS_xxx flags for memory being pinned > + * @dmabarrier: set a "dma barrier" so

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-30 Thread Roland Dreier
> Could you try the patch below and give me all boot messages again? Sure, no problem, see below for full log (I updated to the latest git, which seems to have some other unrelated problems with things timing out earlier in the boot, but it does get to the ide-cd init); here's the relevant

Re: [PATCH 3/4] IB: add dmabarrier to ib_umem_get() prototype

2008-01-30 Thread Roland Dreier
> diff --git a/drivers/infiniband/core/umem.c b/drivers/infiniband/core/umem.c > index 4e3128f..5b00408 100644 > --- a/drivers/infiniband/core/umem.c > +++ b/drivers/infiniband/core/umem.c > @@ -74,7 +74,7 @@ static void __ib_umem_release(struct ib_device *dev, > struct ib_umem *umem, int d

Re: [PATCH 3/4] IB: add dmabarrier to ib_umem_get() prototype

2008-01-30 Thread Roland Dreier
diff --git a/drivers/infiniband/core/umem.c b/drivers/infiniband/core/umem.c index 4e3128f..5b00408 100644 --- a/drivers/infiniband/core/umem.c +++ b/drivers/infiniband/core/umem.c @@ -74,7 +74,7 @@ static void __ib_umem_release(struct ib_device *dev, struct ib_umem *umem, int d *

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 -g8561b089

2008-01-30 Thread Roland Dreier
Could you try the patch below and give me all boot messages again? Sure, no problem, see below for full log (I updated to the latest git, which seems to have some other unrelated problems with things timing out earlier in the boot, but it does get to the ide-cd init); here's the relevant

Re: [PATCH 4/4] IB: introducing MTHCA_MR_DMABARRIER

2008-01-30 Thread Roland Dreier
@@ -72,6 +73,8 @@ static void __ib_umem_release(struct ib_device *dev, struct ib_umem *umem, int d * @addr: userspace virtual address to start at * @size: length of region to pin * @access: IB_ACCESS_xxx flags for memory being pinned + * @dmabarrier: set a dma barrier so that

Re: [PATCH] IB/ehca: Prevent sending UD packets to QP0

2008-01-30 Thread Roland Dreier
thanks, applied -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 2/2] IB/ehca: Add PMA support

2008-01-30 Thread Roland Dreier
thanks, applied 1-2 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: task blocked in sync_buffer from ext3_free_branches

2008-01-29 Thread Roland Dreier
Actually this appears to be the bug that Jens fixed with this patch, and with that patch my system seems fine as well: diff --git a/block/as-iosched.c b/block/as-iosched.c index b201d16..9603684 100644 --- a/block/as-iosched.c +++ b/block/as-iosched.c @@ -1275,9 +1275,13 @@ static void

task blocked in sync_buffer from ext3_free_branches

2008-01-29 Thread Roland Dreier
I'm getting the following while building a kernel (with make -j24 on an 8 CPU system: 4 socket dual-core opteron) with current Linus git (5b10ca19 is my head). Once this happens the build is hung, although I can ssh in and get a new shell OK. Any ideas or suggestions on what would be useful

Re: Integration of SCST in the mainstream Linux kernel

2008-01-29 Thread Roland Dreier
> . . STGT read SCST read.STGT read > SCST read. > . . performance performance . performance > performance . > . . (0.5K, MB/s) (0.5K, MB/s) . (1 MB, MB/s) > (1 MB, MB/s)

Re: Integration of SCST in the mainstream Linux kernel

2008-01-29 Thread Roland Dreier
. . STGT read SCST read.STGT read SCST read. . . performance performance . performance performance . . . (0.5K, MB/s) (0.5K, MB/s) . (1 MB, MB/s) (1 MB, MB/s) . .

task blocked in sync_buffer from ext3_free_branches

2008-01-29 Thread Roland Dreier
I'm getting the following while building a kernel (with make -j24 on an 8 CPU system: 4 socket dual-core opteron) with current Linus git (5b10ca19 is my head). Once this happens the build is hung, although I can ssh in and get a new shell OK. Any ideas or suggestions on what would be useful

Re: task blocked in sync_buffer from ext3_free_branches

2008-01-29 Thread Roland Dreier
Actually this appears to be the bug that Jens fixed with this patch, and with that patch my system seems fine as well: diff --git a/block/as-iosched.c b/block/as-iosched.c index b201d16..9603684 100644 --- a/block/as-iosched.c +++ b/block/as-iosched.c @@ -1275,9 +1275,13 @@ static void

[GIT PULL] First InfiniBand/RDMA merge

2008-01-25 Thread Roland Dreier
Add mappings from HW register to PortInfo port physical state IB/ipath: Trivial simplification of ipath_make_ud_req() Roland Dreier (10): IB/ipath: Fix crash on unload introduced by sysfs changes IPoIB: Trivial formatting cleanups IPoIB/cm: Factor out ipoib_cm_free_rx_ring()

Re: [PATCH 148/196] Infiniband: make ipath driver use default driver groups.

2008-01-25 Thread Roland Dreier
So I think it is coming from the following code in ipath_sysfs.c: int ipath_device_create_group(struct device *dev, struct ipath_devdata *dd) { int ret; ret = sysfs_create_group(>kobj, _attr_group); if (ret)

Re: [PATCH 148/196] Infiniband: make ipath driver use default driver groups.

2008-01-25 Thread Roland Dreier
Hey Greg, with Linus's latest kernel v2.6.24-412-gb47711b (which includes the patch in the email I'm replying to), I see the following when I do "modprobe -r ib_ipath" (on a system that actually has ipath hardware): kernel BUG at fs/sysfs/group.c:74! invalid opcode: [1] SMP CPU 1

Re: [PATCH 148/196] Infiniband: make ipath driver use default driver groups.

2008-01-25 Thread Roland Dreier
Hey Greg, with Linus's latest kernel v2.6.24-412-gb47711b (which includes the patch in the email I'm replying to), I see the following when I do modprobe -r ib_ipath (on a system that actually has ipath hardware): kernel BUG at fs/sysfs/group.c:74! invalid opcode: [1] SMP CPU 1 Modules

[GIT PULL] First InfiniBand/RDMA merge

2008-01-25 Thread Roland Dreier
register to PortInfo port physical state IB/ipath: Trivial simplification of ipath_make_ud_req() Roland Dreier (10): IB/ipath: Fix crash on unload introduced by sysfs changes IPoIB: Trivial formatting cleanups IPoIB/cm: Factor out ipoib_cm_free_rx_ring() IPoIB/cm: Factor out

Re: [PATCH 148/196] Infiniband: make ipath driver use default driver groups.

2008-01-25 Thread Roland Dreier
So I think it is coming from the following code in ipath_sysfs.c: int ipath_device_create_group(struct device *dev, struct ipath_devdata *dd) { int ret; ret = sysfs_create_group(dev-kobj, dev_attr_group); if (ret)

Re: [PATCH 2.6.25] RDMA/cxgb3: Fix the T3A workaround checks.

2008-01-24 Thread Roland Dreier
thanks, applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [ofa-general] InfiniBand/RDMA merge plans for 2.6.25

2008-01-24 Thread Roland Dreier
> > Anyway, here are all the pending things that I'm aware of. As usual, > > if something isn't already in my tree and isn't listed below, I > > probably missed it or dropped it by mistake. Please remind me again > > in that case. > > Are there any plans to merge the SDP (Sockets Direct

Re: [ofa-general] InfiniBand/RDMA merge plans for 2.6.25

2008-01-24 Thread Roland Dreier
Anyway, here are all the pending things that I'm aware of. As usual, if something isn't already in my tree and isn't listed below, I probably missed it or dropped it by mistake. Please remind me again in that case. Are there any plans to merge the SDP (Sockets Direct Protocol)

Re: [PATCH 2.6.25] RDMA/cxgb3: Fix the T3A workaround checks.

2008-01-24 Thread Roland Dreier
thanks, applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: kernel bug report 2.6.24-rc8 on core2quad q6600 with debian unstable amd64

2008-01-23 Thread Roland Dreier
> drivers/acpi/pci_bind.c: In function 'acpi_pci_unbind'::0: > internal compiler error: Segmentation fault > Depending on which kernel i build, it fails on different things. Seems like a classic symptom of some sort of hardware fault/memory corruption... > I tried disabling HPET and VT in

Re: InfiniBand/RDMA merge plans for 2.6.25

2008-01-23 Thread Roland Dreier
e endianness stuff elsewhere. Anyway this is what I have in case the promised cleanups don't turn up in time... Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c index 7a2f596..365ebaa 100644 --- a/drivers/infin

Re: InfiniBand/RDMA merge plans for 2.6.25

2008-01-23 Thread Roland Dreier
> > be improved (sparse endianness annotation, > that's a blocker for sure. No new code that's not sparse clean, please. I have to disagree -- remember how strongly Linus pushed to merge hardware drivers early? the code in question will not run unless you have the hardware it drives, and

Re: InfiniBand/RDMA merge plans for 2.6.25

2008-01-23 Thread Roland Dreier
be improved (sparse endianness annotation, that's a blocker for sure. No new code that's not sparse clean, please. I have to disagree -- remember how strongly Linus pushed to merge hardware drivers early? the code in question will not run unless you have the hardware it drives, and that

Re: InfiniBand/RDMA merge plans for 2.6.25

2008-01-23 Thread Roland Dreier
in case the promised cleanups don't turn up in time... Signed-off-by: Roland Dreier [EMAIL PROTECTED] diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c index 7a2f596..365ebaa 100644 --- a/drivers/infiniband/hw/nes/nes.c +++ b/drivers/infiniband/hw/nes/nes.c @@ -231,10

Re: kernel bug report 2.6.24-rc8 on core2quad q6600 with debian unstable amd64

2008-01-23 Thread Roland Dreier
drivers/acpi/pci_bind.c: In function 'acpi_pci_unbind':built-in:0: internal compiler error: Segmentation fault Depending on which kernel i build, it fails on different things. Seems like a classic symptom of some sort of hardware fault/memory corruption... I tried disabling HPET and VT

Re: [RFC/PATCH] dma: dma_{un}map_{single|sg}_attrs() interface

2008-01-22 Thread Roland Dreier
> --- a/include/linux/dma-attrs.h > +++ b/include/linux/dma-attrs.h > @@ -0,0 +1,33 @@ > +#ifndef _DMA_ATTR_H > +#define _DMA_ATTR_H > + > +#include > + > +enum { > +DMA_ATTR_INVALID, > +DMA_ATTR_BARRIER, > +DMA_ATTR_FOO, > +DMA_ATTR_GOO, > +DMA_ATTR_MAX, > +};

Re: [PATCH RESEND 3/3] RDMA/cxgb3: Mark qp as privileged based on user capabilities.

2008-01-22 Thread Roland Dreier
thanks, applied 1-3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: InfiniBand/RDMA merge plans for 2.6.25

2008-01-22 Thread Roland Dreier
> > - Neteffect "nes" driver. It's not terribly clean code but since > >it's a new driver that is completely self-contained, I plan on > >merging it and letting cleanups happen upstream. > > New code should be better quality than old code, not worse. I haven't > actually seen

Re: InfiniBand/RDMA merge plans for 2.6.25

2008-01-22 Thread Roland Dreier
- Neteffect nes driver. It's not terribly clean code but since it's a new driver that is completely self-contained, I plan on merging it and letting cleanups happen upstream. New code should be better quality than old code, not worse. I haven't actually seen the driver

Re: [PATCH RESEND 3/3] RDMA/cxgb3: Mark qp as privileged based on user capabilities.

2008-01-22 Thread Roland Dreier
thanks, applied 1-3 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC/PATCH] dma: dma_{un}map_{single|sg}_attrs() interface

2008-01-22 Thread Roland Dreier
--- a/include/linux/dma-attrs.h +++ b/include/linux/dma-attrs.h @@ -0,0 +1,33 @@ +#ifndef _DMA_ATTR_H +#define _DMA_ATTR_H + +#include linux/bug.h + +enum { +DMA_ATTR_INVALID, +DMA_ATTR_BARRIER, +DMA_ATTR_FOO, +DMA_ATTR_GOO, +DMA_ATTR_MAX, +}; +

Re: [PATCH 4/4] IB/ehca: Prevent RDMA-related connection failures

2008-01-18 Thread Roland Dreier
thanks, applied 1-4. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 4/4] IB/ehca: Prevent RDMA-related connection failures

2008-01-18 Thread Roland Dreier
thanks, applied 1-4. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

InfiniBand/RDMA merge plans for 2.6.25

2008-01-17 Thread Roland Dreier
IB/ipath: Export hardware counters more consistently IB/ipath: Allow more flexible user register alignments IB/ipath: Port config has on-chip effects for 7220 IB/ipath: Add flag and handling for chips with swapped register bug Roland Dreier (8): IPoIB: Trivial format

Re: Bitops source problem

2008-01-17 Thread Roland Dreier
> Yes, indeed none of the atomic bit operations functions has > LOCK_PREFIX in my version of Linux kernel. You have a broken source tree then. Where did your kernel source come from then? I'm not able to find any version of asm-i386/bitops.h where clear_bit() doesn't have LOCK_PREFIX in any

Re: Bitops source problem

2008-01-17 Thread Roland Dreier
Yes, indeed none of the atomic bit operations functions has LOCK_PREFIX in my version of Linux kernel. You have a broken source tree then. Where did your kernel source come from then? I'm not able to find any version of asm-i386/bitops.h where clear_bit() doesn't have LOCK_PREFIX in any of

InfiniBand/RDMA merge plans for 2.6.25

2008-01-17 Thread Roland Dreier
consistently IB/ipath: Allow more flexible user register alignments IB/ipath: Port config has on-chip effects for 7220 IB/ipath: Add flag and handling for chips with swapped register bug Roland Dreier (8): IPoIB: Trivial formatting cleanups IPoIB/cm: Factor out

Re: Bitops source problem

2008-01-16 Thread Roland Dreier
> Then, I think there is a problem with the function written below which is > meant to be atomic. > > static __inline__ void change_bit(int nr, volatile void * addr) > { > __asm__ __volatile__( > "btcl %1,%0" > :"=m" (ADDR) > :"Ir"

[GIT PULL] please pull infiniband.git

2008-01-16 Thread Roland Dreier
Signed-off-by: Ralph Campbell <[EMAIL PROTECTED]> Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> --- diff --git a/drivers/infiniband/hw/ipath/ipath_ud.c b/drivers/infiniband/hw/ipath/ipath_ud.c index 16a2a93..b3df6f3 100644 --- a/drivers/infiniband/hw/ipath/ipath_ud.c +++ b/dri

Re: [ofa-general] [PATCH] IB/ipoib: Fix undefined symbol (priv->cm) if ipoib_cm disabled

2008-01-16 Thread Roland Dreier
Thanks a lot for pointing this out! I rolled the following into the offending patch in my tree instead (I preferred avoiding #ifdefs in .c files...) diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index 545c5a3..fe250c6 100644 ---

Re: [ofa-general] [PATCH] IB/ipoib: Fix undefined symbol (priv-cm) if ipoib_cm disabled

2008-01-16 Thread Roland Dreier
Thanks a lot for pointing this out! I rolled the following into the offending patch in my tree instead (I preferred avoiding #ifdefs in .c files...) diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index 545c5a3..fe250c6 100644 ---

Re: Bitops source problem

2008-01-16 Thread Roland Dreier
Then, I think there is a problem with the function written below which is meant to be atomic. static __inline__ void change_bit(int nr, volatile void * addr) { __asm__ __volatile__( btcl %1,%0 :=m (ADDR) :Ir (nr)); } If

Re: [patch 09/11] PAT x86: Add ioremap_wc support

2008-01-11 Thread Roland Dreier
> >I don't think that's a good idea. Drivers should be able to > >detect this somehow. > >Handling UC mappings as WC will probably give very poor results. > It is the other way. ioremap_wc aliases to ioremap_nocache. > This was based on earlier feedback from Roland.

Re: Usage semantics of atomic_set ( )

2008-01-11 Thread Roland Dreier
> I'm trying to implement atomic ops for a CPU which has no inherent > support for Read-Modify-Write Ops. Instead of using a global spin lock > which protects all the atomic APIs, I want to use a spin lock per > instance of atomic_t. This works well when atomic_t is unitary and > statically

Re: Usage semantics of atomic_set ( )

2008-01-11 Thread Roland Dreier
I'm trying to implement atomic ops for a CPU which has no inherent support for Read-Modify-Write Ops. Instead of using a global spin lock which protects all the atomic APIs, I want to use a spin lock per instance of atomic_t. This works well when atomic_t is unitary and statically

Re: [patch 09/11] PAT x86: Add ioremap_wc support

2008-01-11 Thread Roland Dreier
I don't think that's a good idea. Drivers should be able to detect this somehow. Handling UC mappings as WC will probably give very poor results. It is the other way. ioremap_wc aliases to ioremap_nocache. This was based on earlier feedback from Roland. From: Roland Dreier [mailto

Re: [RFC/PARTIAL PATCH 0/3] dma: passing "attributes" to dma_map_* routines

2008-01-09 Thread Roland Dreier
> What it wants to do is set strict ordering for the bus ... well, that is > an attribute in the PCIe standard (it just happens to be the default one > for a standard bus, whereas relaxed is the default for altix). However, > set bus attribute strict would be a simple no-op for a standard bus

Re: [RFC/PARTIAL PATCH 0/3] dma: passing attributes to dma_map_* routines

2008-01-09 Thread Roland Dreier
What it wants to do is set strict ordering for the bus ... well, that is an attribute in the PCIe standard (it just happens to be the default one for a standard bus, whereas relaxed is the default for altix). However, set bus attribute strict would be a simple no-op for a standard bus

[GIT PULL] please pull infiniband.git

2008-01-08 Thread Roland Dreier
--git a/MAINTAINERS b/MAINTAINERS index 79c711e..56e6159 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1919,7 +1919,7 @@ INFINIBAND SUBSYSTEM P: Roland Dreier M: [EMAIL PROTECTED] P: Sean Hefty -M: [EMAIL PROTECTED] +M: [EMAIL PROTECTED] P: Hal Rosenstock M: [EMAIL

Re: [2.6.24-rc minor bugfix] IB/srp: release transport before removing host

2008-01-08 Thread Roland Dreier
thanks, applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC/PARTIAL PATCH 0/3] dma: passing "attributes" to dma_map_* routines

2008-01-08 Thread Roland Dreier
> > I think the case before us that Arthur is dealing with is a > > counterexample for this: there's nothing bus-specific about it all. > > The issue is related to reordering of DMAs within the Altix system > > fabric, after they've left the PCI world. This issue would be present > > no

Re: [RFC/PARTIAL PATCH 0/3] dma: passing "attributes" to dma_map_* routines

2008-01-08 Thread Roland Dreier
> Onething I've missed with these patches is drivers actually using > it. What driver actually needs it and why don't you send patches > for them? In previous patch series, Arthur sent fixes for the mthca IB driver. Other IB drivers like mlx4 also need this on Altix systems. Basically

Re: [RFC/PARTIAL PATCH 0/3] dma: passing "attributes" to dma_map_* routines

2008-01-08 Thread Roland Dreier
> I'm already on record saying I don't think attributes in the generic > code is the right approach. All of the attributes I can see adding are > bus specific (even to the extent that PCIe ones wouldn't apply to PCI > for instance). I think the case before us that Arthur is dealing with is a

Re: [RFC/PARTIAL PATCH 0/3] dma: passing attributes to dma_map_* routines

2008-01-08 Thread Roland Dreier
I'm already on record saying I don't think attributes in the generic code is the right approach. All of the attributes I can see adding are bus specific (even to the extent that PCIe ones wouldn't apply to PCI for instance). I think the case before us that Arthur is dealing with is a

Re: [RFC/PARTIAL PATCH 0/3] dma: passing attributes to dma_map_* routines

2008-01-08 Thread Roland Dreier
Onething I've missed with these patches is drivers actually using it. What driver actually needs it and why don't you send patches for them? In previous patch series, Arthur sent fixes for the mthca IB driver. Other IB drivers like mlx4 also need this on Altix systems. Basically anything

Re: [RFC/PARTIAL PATCH 0/3] dma: passing attributes to dma_map_* routines

2008-01-08 Thread Roland Dreier
I think the case before us that Arthur is dealing with is a counterexample for this: there's nothing bus-specific about it all. The issue is related to reordering of DMAs within the Altix system fabric, after they've left the PCI world. This issue would be present no matter what

Re: [2.6.24-rc minor bugfix] IB/srp: release transport before removing host

2008-01-08 Thread Roland Dreier
thanks, applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[GIT PULL] please pull infiniband.git

2008-01-08 Thread Roland Dreier
--git a/MAINTAINERS b/MAINTAINERS index 79c711e..56e6159 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1919,7 +1919,7 @@ INFINIBAND SUBSYSTEM P: Roland Dreier M: [EMAIL PROTECTED] P: Sean Hefty -M: [EMAIL PROTECTED] +M: [EMAIL PROTECTED] P: Hal Rosenstock M: [EMAIL

Re: [PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'

2008-01-04 Thread Roland Dreier
> - "radiotap head [%d]\n", > + "radiotap head [%ld]\n", > skb_headroom(skb), sizeof(*iwl4965_rt)); Actually I think the correct printf format for printing a size_t (coming here from sizeof foo) is "%zd".

Re: [PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'

2008-01-04 Thread Roland Dreier
- radiotap head [%d]\n, + radiotap head [%ld]\n, skb_headroom(skb), sizeof(*iwl4965_rt)); Actually I think the correct printf format for printing a size_t (coming here from sizeof foo) is %zd. Otherwise you'll

Re: [ofa-general] [PATCH] IB/ehca: Forward event client-reregister-required to registered clients

2008-01-03 Thread Roland Dreier
thanks, applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [2.6 patch] mthca: the scheduled MSI support removal

2008-01-03 Thread Roland Dreier
thanks for keeping on top of the schedule, applied for 2.6.25. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [04/06] [typo fix] drivers/infiniband/ulp/iser/iser_verbs.c

2008-01-03 Thread Roland Dreier
what the heck, applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [GIT PULL] please pull infiniband.git for-linus

2008-01-03 Thread Roland Dreier
> @@ -423,8 +423,8 @@ static void srp_remove_work(struct work_struct *work) > list_del(>list); > spin_unlock(>srp_host->target_lock); > > -srp_remove_host(target->scsi_host); > scsi_remove_host(target->scsi_host); > +srp_remove_host(target->scsi_host); Thanks... I

Re: [ofa-general] Re: list corruption on ib_srp load in v2.6.24-rc5

2008-01-03 Thread Roland Dreier
> +if (scsi_is_srp_rport(dev)) > +srp_rport_del(dev_to_rport(dev)); This has the ring of truth to me as the right fix, although I certainly don't know the details of this code... Fujita-san? - R. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [GIT PULL] please pull infiniband.git for-linus

2008-01-03 Thread Roland Dreier
> If we've got time before 2.6.24 final, I'd wait on this a bit. > ib_srp:srp_remove_work() has them reversed as well, and I'm currently > tracking down why it oopses when the srp_remove_host() happens before > the scsi_remove_host(), which is the documented call sequence. I think the best

[GIT PULL] please pull infiniband.git for-linus

2008-01-03 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will pull one fix for an oops caused by

[GIT PULL] please pull infiniband.git for-linus

2008-01-03 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will pull one fix for an oops caused by

Re: [GIT PULL] please pull infiniband.git for-linus

2008-01-03 Thread Roland Dreier
If we've got time before 2.6.24 final, I'd wait on this a bit. ib_srp:srp_remove_work() has them reversed as well, and I'm currently tracking down why it oopses when the srp_remove_host() happens before the scsi_remove_host(), which is the documented call sequence. I think the best thing

<    1   2   3   4   5   6   7   8   9   10   >