Re: [GIT PULL] please pull infiniband.git

2012-12-14 Thread Roland Dreier
On Fri, Dec 14, 2012 at 7:36 AM, Linus Torvalds wrote: >> Any problem with this tree, or did it just slip through the cracks? > > It was merged seven hours before your email. Forgot to check? No, just dumb-assery in how I fetched in one place and checked in another. Sorry. -- To unsubscribe

Re: [GIT PULL] please pull infiniband.git

2012-12-14 Thread Roland Dreier
On Mon, Dec 10, 2012 at 9:59 PM, Roland Dreier wrote: > Hi Linus, > > Please pull from > > git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git > tags/rdma-for-linus Hi Linus, Any problem with this tree, or did it just slip through the cracks?

Re: [GIT PULL] please pull infiniband.git

2012-12-14 Thread Roland Dreier
On Mon, Dec 10, 2012 at 9:59 PM, Roland Dreier rol...@kernel.org wrote: Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git tags/rdma-for-linus Hi Linus, Any problem with this tree, or did it just slip through the cracks? Thanks, Roland

Re: [GIT PULL] please pull infiniband.git

2012-12-14 Thread Roland Dreier
On Fri, Dec 14, 2012 at 7:36 AM, Linus Torvalds torva...@linux-foundation.org wrote: Any problem with this tree, or did it just slip through the cracks? It was merged seven hours before your email. Forgot to check? No, just dumb-assery in how I fetched in one place and checked in another.

[GIT PULL] please pull infiniband.git

2012-12-10 Thread Roland Dreier
: IB/mlx4: Fix spinlock order to avoid lockdep warnings mlx4_core: Fix potential deadlock in mlx4_eq_int() Julia Lawall (3): RDMA/nes: Use WARN() RDMA/cxgb4: use WARN RDMA/cxgb3: use WARN Or Gerlitz (1): mlx4: 64-byte CQE/EQE support Roland Dreier (4):

[GIT PULL] please pull infiniband.git

2012-12-10 Thread Roland Dreier
/mlx4: Fix spinlock order to avoid lockdep warnings mlx4_core: Fix potential deadlock in mlx4_eq_int() Julia Lawall (3): RDMA/nes: Use WARN() RDMA/cxgb4: use WARN RDMA/cxgb3: use WARN Or Gerlitz (1): mlx4: 64-byte CQE/EQE support Roland Dreier (4): Merge branches

Re: [PATCH] UAPI: (Scripted) Disintegrate include/rdma

2012-11-26 Thread Roland Dreier
Thanks, applied. -- 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://www.tux.org/lkml/

Re: [PATCH] UAPI: (Scripted) Disintegrate include/rdma

2012-11-26 Thread Roland Dreier
Thanks, applied. -- 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://www.tux.org/lkml/

[PATCH] block: Don't access request after it might be freed

2012-11-22 Thread Roland Dreier
From: Roland Dreier After we've done __elv_add_request() and __blk_run_queue() in blk_execute_rq_nowait(), the request might finish and be freed immediately. Therefore checking if the type is REQ_TYPE_PM_RESUME isn't safe afterwards, because if it isn't, rq might be gone. Instead, check

[PATCH] block: Don't access request after it might be freed

2012-11-22 Thread Roland Dreier
From: Roland Dreier rol...@purestorage.com After we've done __elv_add_request() and __blk_run_queue() in blk_execute_rq_nowait(), the request might finish and be freed immediately. Therefore checking if the type is REQ_TYPE_PM_RESUME isn't safe afterwards, because if it isn't, rq might be gone

[GIT PULL] please pull infiniband.git

2012-10-26 Thread Roland Dreier
/mlx4: Synchronize cleanup of MCGs in MCG paravirtualization Jack Morgenstein (1): IB/mlx4: Fix QP1 P_Key processing in the Primary Physical Function (PPF) Or Gerlitz (1): mlx4_core: Remove annoying debug messages from SR-IOV flow Roland Dreier (1): Merge branches 'cxgb4' and 'mlx4

[GIT PULL] please pull infiniband.git

2012-10-26 Thread Roland Dreier
/mlx4: Synchronize cleanup of MCGs in MCG paravirtualization Jack Morgenstein (1): IB/mlx4: Fix QP1 P_Key processing in the Primary Physical Function (PPF) Or Gerlitz (1): mlx4_core: Remove annoying debug messages from SR-IOV flow Roland Dreier (1): Merge branches 'cxgb4' and 'mlx4

[GIT PULL] please pull infiniband.git

2012-10-04 Thread Roland Dreier
ble. Alex Tabachnik (1): IB/iser: Add more RX CQs to scale out processing of SCSI responses Jack Morgenstein (1): mlx4_core: Adjust flow steering attach wrapper so that IB works on SR-IOV VFs Roland Dreier (2): IPoIB: Fix bu

[GIT PULL] please pull infiniband.git

2012-10-04 Thread Roland Dreier
. Alex Tabachnik (1): IB/iser: Add more RX CQs to scale out processing of SCSI responses Jack Morgenstein (1): mlx4_core: Adjust flow steering attach wrapper so that IB works on SR-IOV VFs Roland Dreier (2): IPoIB: Fix build

[GIT PULL] please pull infiniband.git

2012-10-02 Thread Roland Dreier
-after-free of multicast object Roland Dreier (7): mlx4_core: Trivial readability fix: "0X30" -> "0x30" mlx4_core: Trivial cleanups to driver log messages mlx4_core: Fix crash on uninitialized priv->cmd.slave_sem mlx4_core: Stash PCI ID driver_d

[GIT PULL] please pull infiniband.git

2012-10-02 Thread Roland Dreier
-after-free of multicast object Roland Dreier (7): mlx4_core: Trivial readability fix: 0X30 - 0x30 mlx4_core: Trivial cleanups to driver log messages mlx4_core: Fix crash on uninitialized priv-cmd.slave_sem mlx4_core: Stash PCI ID driver_data in mlx4_priv structure

Re: linux-next: build failure after merge of the akpm tree

2012-09-24 Thread Roland Dreier
On Mon, Sep 24, 2012 at 7:02 AM, Stephen Rothwell wrote: > After merging the akpm tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > drivers/infiniband/hw/mlx4/cm.c: In function 'id_map_alloc': > drivers/infiniband/hw/mlx4/cm.c:228:36: error: 'MAX_ID_MASK' undeclared

Re: linux-next: build failure after merge of the akpm tree

2012-09-24 Thread Roland Dreier
On Mon, Sep 24, 2012 at 7:02 AM, Stephen Rothwell s...@canb.auug.org.au wrote: After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/infiniband/hw/mlx4/cm.c: In function 'id_map_alloc': drivers/infiniband/hw/mlx4/cm.c:228:36: error:

[GIT PULL] please pull infiniband.git

2012-09-17 Thread Roland Dreier
of unsignaled WQE Roland Dreier (1): Merge branches 'cxgb4', 'ipoib', 'mlx4', 'ocrdma' and 'qib' into for-next Shlomo Pongratz (2): IPoIB: Fix memory leak in the neigh table deletion flow IPoIB: Fix AB-BA deadlock when deleting neighbours Wei Yongjun (1): RDMA/cxgb4: Move

[GIT PULL] please pull infiniband.git

2012-09-17 Thread Roland Dreier
of unsignaled WQE Roland Dreier (1): Merge branches 'cxgb4', 'ipoib', 'mlx4', 'ocrdma' and 'qib' into for-next Shlomo Pongratz (2): IPoIB: Fix memory leak in the neigh table deletion flow IPoIB: Fix AB-BA deadlock when deleting neighbours Wei Yongjun (1): RDMA/cxgb4: Move

[GIT PULL] please pull infiniband.git

2012-08-17 Thread Roland Dreier
Roland Dreier (3): RDMA/ocrdma: Don't call vlan_dev_real_dev() for non-VLAN netdevs mlx4_core: Clean up buddy bitmap allocation Merge branches 'cma', 'ipoib', 'misc', 'mlx4', 'ocrdma', 'qib' and 'srp' into for-next Shlomo Pongratz (2): IB/ipoib: Add missing locking when

[GIT PULL] please pull infiniband.git

2012-08-17 Thread Roland Dreier
Roland Dreier (3): RDMA/ocrdma: Don't call vlan_dev_real_dev() for non-VLAN netdevs mlx4_core: Clean up buddy bitmap allocation Merge branches 'cma', 'ipoib', 'misc', 'mlx4', 'ocrdma', 'qib' and 'srp' into for-next Shlomo Pongratz (2): IB/ipoib: Add missing locking when

Re: linux-next: build failure after merge of the infiniband tree

2012-08-15 Thread Roland Dreier
On Wed, Aug 15, 2012 at 6:44 PM, Stephen Rothwell wrote: > After merging the infiniband tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > drivers/net/ethernet/mellanox/mlx4/mr.c: In function 'mlx4_buddy_init': > drivers/net/ethernet/mellanox/mlx4/mr.c:134:4: error:

Re: linux-next: build failure after merge of the infiniband tree

2012-08-15 Thread Roland Dreier
On Wed, Aug 15, 2012 at 6:44 PM, Stephen Rothwell s...@canb.auug.org.au wrote: After merging the infiniband tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/net/ethernet/mellanox/mlx4/mr.c: In function 'mlx4_buddy_init':

Re: [PATCH v3 26/32] PCI/mthca: use PCIe capabilities access functions to simplify implementation

2012-08-02 Thread Roland Dreier
> Use PCIe capabilities access functions to simplify mthca driver's > implementation. Acked-by: Roland Dreier -- 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.kern

Re: [PATCH v3 26/32] PCI/mthca: use PCIe capabilities access functions to simplify implementation

2012-08-02 Thread Roland Dreier
Use PCIe capabilities access functions to simplify mthca driver's implementation. Acked-by: Roland Dreier rol...@purestorage.com -- 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

Re: mellanox mlx4_core and SR-IOV

2012-08-01 Thread Roland Dreier
On Wed, Aug 1, 2012 at 6:38 AM, Lukas Hejtmanek wrote: > [3.558296] mlx4_core :02:00.0: not enough MMIO resources for SR-IOV > (nres: 0, iov->nres: 1) This comes from the core sriov_enable() function, not anything in mlx4. (although my kernel doesn't have the print of nres in that

Re: mellanox mlx4_core and SR-IOV

2012-08-01 Thread Roland Dreier
On Wed, Aug 1, 2012 at 6:38 AM, Lukas Hejtmanek xhejt...@ics.muni.cz wrote: [3.558296] mlx4_core :02:00.0: not enough MMIO resources for SR-IOV (nres: 0, iov-nres: 1) This comes from the core sriov_enable() function, not anything in mlx4. (although my kernel doesn't have the print of

[GIT PULL] please pull infiniband.git

2012-07-23 Thread Roland Dreier
contention IB/qib: Add congestion control agent implementation IB/qib: checkpatch fixes Roland Dreier (4): RDMA/ocrdma: Fix assignment of max_srq_sge in device query RDMA/cxgb4: Fix endianness of addition to mpa->private_data_size IB: Use IS_ENABLED(CONFIG_I

[GIT PULL] please pull infiniband.git

2012-07-23 Thread Roland Dreier
contention IB/qib: Add congestion control agent implementation IB/qib: checkpatch fixes Roland Dreier (4): RDMA/ocrdma: Fix assignment of max_srq_sge in device query RDMA/cxgb4: Fix endianness of addition to mpa-private_data_size IB: Use IS_ENABLED(CONFIG_IPV6

Re: 3.5-rc7 - can no longer wake up from suspend to RAM

2012-07-21 Thread Roland Dreier
Thanks Hugh. I just went ahead and built 3.5 final, and suspend/resume look to be working again. I'm not even going to try to understand how a timekeeping bug broke resume... - R. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: 3.5-rc7 - can no longer wake up from suspend to RAM

2012-07-21 Thread Roland Dreier
On Wed, Jul 18, 2012 at 9:46 PM, Tomasz Chmielewski wrote: > After upgrading to 3.5-rc7, my laptop no longer wakes up reliable from > suspend to RAM. 3.4.x worked fine. FWIW, I've been having similar problems with 3.5-rc7. With 3.5-rc6 my laptop resumed fine, but since updating to -rc7, it

Re: 3.5-rc7 - can no longer wake up from suspend to RAM

2012-07-21 Thread Roland Dreier
On Wed, Jul 18, 2012 at 9:46 PM, Tomasz Chmielewski t...@wpkg.org wrote: After upgrading to 3.5-rc7, my laptop no longer wakes up reliable from suspend to RAM. 3.4.x worked fine. FWIW, I've been having similar problems with 3.5-rc7. With 3.5-rc6 my laptop resumed fine, but since updating to

Re: 3.5-rc7 - can no longer wake up from suspend to RAM

2012-07-21 Thread Roland Dreier
Thanks Hugh. I just went ahead and built 3.5 final, and suspend/resume look to be working again. I'm not even going to try to understand how a timekeeping bug broke resume... - R. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] [Trivial] qib: fix an incorrect message

2012-07-19 Thread Roland Dreier
thanks, applied. -- 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://www.tux.org/lkml/

Re: [PATCH] [Trivial] qib: fix an incorrect message

2012-07-19 Thread Roland Dreier
thanks, applied. -- 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://www.tux.org/lkml/

Re: [ofa-general] [PATCH 2/2] ib fmr pool: flush used clean entries

2008-02-26 Thread Roland Dreier
This looks like a really nice approach to me. Olaf? - R. -- 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] [PATCH 2/2] ib fmr pool: flush used clean entries

2008-02-26 Thread Roland Dreier
This looks like a really nice approach to me. Olaf? - R. -- 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.6 8/8] RDMA/nes: Fix interrupt moderation low threshold

2008-02-25 Thread Roland Dreier
thanks, applied all 8 patches -- 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] [PATCH 2.6.25] RDMA/cxgb3: Shift calculation wrong for single sge entries.

2008-02-25 Thread Roland Dreier
Thanks, applied, although I assume based on the Signed-off-by line that you left out a From: Bryan Rosenburg <[EMAIL PROTECTED]> at the top (to get the authorship in git correctly). > RDMA/cxgb3: Shift calculation wrong for single sge entries. BTW, there's no need to duplicate the subject

Re: [ofa-general] [PATCH 2.6.25] RDMA/cxgb3: Shift calculation wrong for single sge entries.

2008-02-25 Thread Roland Dreier
Thanks, applied, although I assume based on the Signed-off-by line that you left out a From: Bryan Rosenburg [EMAIL PROTECTED] at the top (to get the authorship in git correctly). RDMA/cxgb3: Shift calculation wrong for single sge entries. BTW, there's no need to duplicate the subject line

Re: [PATCH 2.6 8/8] RDMA/nes: Fix interrupt moderation low threshold

2008-02-25 Thread Roland Dreier
thanks, applied all 8 patches -- 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: Merging of completely unreviewed drivers

2008-02-21 Thread Roland Dreier
> Is it really intended to merge drivers without _any_ kind of review? > > This driver even lacks a basic "please fix the > 250 checkpatch errors" [1] > and similar low hanging fruits that could easily be spotted and then > fixed by the submitter within a short amount of time. Just to be

Re: [ofa-general] [2.6 patch] infiniband/hw/nes/nes_verbs.c: fix off-by-one

2008-02-21 Thread Roland Dreier
> This driver should really have gotten some review before being included > in the kernel. > Even a simple checkpatch run finds more than > 250 stylistic errors > (not code bugs but cases where the driver violates the standard code > formatting rules of kernel code). Linus has strongly

Re: [ofa-general] [2.6 patch] infiniband/hw/nes/nes_verbs.c: fix off-by-one

2008-02-21 Thread Roland Dreier
This driver should really have gotten some review before being included in the kernel. Even a simple checkpatch run finds more than 250 stylistic errors (not code bugs but cases where the driver violates the standard code formatting rules of kernel code). Linus has strongly stated

Re: Merging of completely unreviewed drivers

2008-02-21 Thread Roland Dreier
Is it really intended to merge drivers without _any_ kind of review? This driver even lacks a basic please fix the 250 checkpatch errors [1] and similar low hanging fruits that could easily be spotted and then fixed by the submitter within a short amount of time. Just to be clear,

Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-20 Thread Roland Dreier
BTW, sorry I didn't get a chance to try some of the other debugging you suggested yet... got busy with other stuff. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-20 Thread Roland Dreier
> I just tried Ingo's patch[1] on a 2.6.25-rc2 kernel with printk timestamps > turned on ... and it booted just fine on my tiger4. The default path > for non-boot cpus is from head.S to start_secondary(), and that > calls cpu_init() pretty quickly. There shouldn't normally[2] be any >

Re: [ofa-general] [2.6 patch] infiniband/hw/nes/nes_verbs.c: fix off-by-one

2008-02-20 Thread Roland Dreier
> No, 51af33e8 was for a similar same bug 400 lines below this bug... Heh, sorry. Glenn -- please review Adrian's patches and let me know which ones are good to apply. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [ofa-general] [2.6 patch] infiniband/hw/nes/nes_verbs.c: fix off-by-one

2008-02-20 Thread Roland Dreier
No, 51af33e8 was for a similar same bug 400 lines below this bug... Heh, sorry. Glenn -- please review Adrian's patches and let me know which ones are good to apply. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-20 Thread Roland Dreier
I just tried Ingo's patch[1] on a 2.6.25-rc2 kernel with printk timestamps turned on ... and it booted just fine on my tiger4. The default path for non-boot cpus is from head.S to start_secondary(), and that calls cpu_init() pretty quickly. There shouldn't normally[2] be any printk()

Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-20 Thread Roland Dreier
BTW, sorry I didn't get a chance to try some of the other debugging you suggested yet... got busy with other stuff. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [ofa-general] [2.6 patch] infiniband/hw/nes/nes_verbs.c: fix off-by-one

2008-02-19 Thread Roland Dreier
Thanks, this is already upstream as 51af33e8 -- 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-02-19 Thread Roland Dreier
fixes: Pradeep Satyanarayana (1): IPoIB/cm: Fix ipoib_cm_dev_stop() cleanup when drain times out Roland Dreier (1): IB/mthca: Free correct MPT on error exit from mthca_fmr_alloc() drivers/infiniband/hw/mthca/mthca_mr.c |2 +- drivers/infiniband/ulp/ipoib/ipoib_cm.c | 10

[GIT PULL] please pull infiniband.git

2008-02-19 Thread Roland Dreier
fixes: Pradeep Satyanarayana (1): IPoIB/cm: Fix ipoib_cm_dev_stop() cleanup when drain times out Roland Dreier (1): IB/mthca: Free correct MPT on error exit from mthca_fmr_alloc() drivers/infiniband/hw/mthca/mthca_mr.c |2 +- drivers/infiniband/ulp/ipoib/ipoib_cm.c | 10

Re: [ofa-general] [2.6 patch] infiniband/hw/nes/nes_verbs.c: fix off-by-one

2008-02-19 Thread Roland Dreier
Thanks, this is already upstream as 51af33e8 -- 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 1/6] mmu_notifier: Core code

2008-02-18 Thread Roland Dreier
It seems that we've come up with two reasonable cases where it makes sense to use these notifiers for InfiniBand/RDMA: First, the ability to safely to DMA to/from userspace memory with the memory regions mlock()ed but the pages not pinned. In this case the notifiers here would seem to suit us

[GIT PULL] please pull infiniband.git

2008-02-18 Thread Roland Dreier
for the new nes driver: Chien Tung (1): RDMA/nes: Fix VLAN support Glenn Streiff (1): RDMA/nes: Fix MAC interrupt erroneously masked on ifdown Li Zefan (1): IB: Fix return value in ib_device_register_sysfs() Roland Dreier (1): RDMA/nes: Fix possible array overrun drivers

Re: Unable to continue testing of 2.6.25

2008-02-18 Thread Roland Dreier
> > AFAIK mapping PCI memory WB is not allowed, so WC is really our only > > choice. > afaik that depends on the BAR being prefetchable or not. In my case the BAR is prefetchable. > (and by your argument, ioremap_cached() would not be useful, and since that > was, until > 2.6.25-rc1, the

Re: Unable to continue testing of 2.6.25

2008-02-18 Thread Roland Dreier
> I've yet to see a user who wants WC. Lets face it, WC *sucks*. This is why > the folks who care about performance (the graphics guys) stopped using it. > WC is slow, and on modern cpus leads to really bad performance. I'm really > half tempted to just ignore WC entirely and suggest that we

Re: Unable to continue testing of 2.6.25

2008-02-18 Thread Roland Dreier
I've yet to see a user who wants WC. Lets face it, WC *sucks*. This is why the folks who care about performance (the graphics guys) stopped using it. WC is slow, and on modern cpus leads to really bad performance. I'm really half tempted to just ignore WC entirely and suggest that we don't

Re: Unable to continue testing of 2.6.25

2008-02-18 Thread Roland Dreier
AFAIK mapping PCI memory WB is not allowed, so WC is really our only choice. afaik that depends on the BAR being prefetchable or not. In my case the BAR is prefetchable. (and by your argument, ioremap_cached() would not be useful, and since that was, until 2.6.25-rc1, the default

[GIT PULL] please pull infiniband.git

2008-02-18 Thread Roland Dreier
for the new nes driver: Chien Tung (1): RDMA/nes: Fix VLAN support Glenn Streiff (1): RDMA/nes: Fix MAC interrupt erroneously masked on ifdown Li Zefan (1): IB: Fix return value in ib_device_register_sysfs() Roland Dreier (1): RDMA/nes: Fix possible array overrun drivers

Re: [patch 1/6] mmu_notifier: Core code

2008-02-18 Thread Roland Dreier
It seems that we've come up with two reasonable cases where it makes sense to use these notifiers for InfiniBand/RDMA: First, the ability to safely to DMA to/from userspace memory with the memory regions mlock()ed but the pages not pinned. In this case the notifiers here would seem to suit us

Re: [PATCH] fix return value in ib_device_register_sysfs()

2008-02-14 Thread Roland Dreier
Wow, good catch. How did you find this bug? Anyway, thanks, applied. - R. -- 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

[GIT PULL] please pull infiniband.git

2008-02-14 Thread Roland Dreier
): IB/mthca: Convert to use be16_add_cpu() Roland Dreier (3): IB/mthca: Add missing sg_init_table() in mthca_map_user_db() IB/cm: Remove debug printk()s that snuck upstream IB/cm: Fix infiniband_cm class kobject ref counting Sean Hefty (1): RDMA/cma: Do not issue MRA if user

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-14 Thread Roland Dreier
> The first things I need from the subsystem maintainers (you know who you > are) are a contact address (a list address is fine) and at least one git > branch or quilt series that contains all the things you want to see go > into 2.6.26. For InfiniBand/RDMA, the tree is:

Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-14 Thread Roland Dreier
> > The strange thing is that Ingo's patch to make cpu_clock() a NOP until > > after sched_init() didn't fix things for me... > Very strange. I threw in an output line counter into the printk code() ... > if I > disable the timestamps for the first 30 lines, then everything is good (so

Re: [PATCH] unhide CONFIG_DEBUG_SECTION_MISMATCH

2008-02-14 Thread Roland Dreier
> I can indeed try to re-make, passing CONFIG_DEBUG_SECTION_MISMATCH=y on the > command line, but I can't turn on the option in my .config. That's because > the option depends on "UNDEFINED". (Was that an attempt to "hide" the > option? Why?) The following small patch allows me to set the

Re: [PATCH] unhide CONFIG_DEBUG_SECTION_MISMATCH

2008-02-14 Thread Roland Dreier
I can indeed try to re-make, passing CONFIG_DEBUG_SECTION_MISMATCH=y on the command line, but I can't turn on the option in my .config. That's because the option depends on UNDEFINED. (Was that an attempt to hide the option? Why?) The following small patch allows me to set the option

Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-14 Thread Roland Dreier
The strange thing is that Ingo's patch to make cpu_clock() a NOP until after sched_init() didn't fix things for me... Very strange. I threw in an output line counter into the printk code() ... if I disable the timestamps for the first 30 lines, then everything is good (so the

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-14 Thread Roland Dreier
The first things I need from the subsystem maintainers (you know who you are) are a contact address (a list address is fine) and at least one git branch or quilt series that contains all the things you want to see go into 2.6.26. For InfiniBand/RDMA, the tree is:

[GIT PULL] please pull infiniband.git

2008-02-14 Thread Roland Dreier
): IB/mthca: Convert to use be16_add_cpu() Roland Dreier (3): IB/mthca: Add missing sg_init_table() in mthca_map_user_db() IB/cm: Remove debug printk()s that snuck upstream IB/cm: Fix infiniband_cm class kobject ref counting Sean Hefty (1): RDMA/cma: Do not issue MRA if user

Re: [PATCH] fix return value in ib_device_register_sysfs()

2008-02-14 Thread Roland Dreier
Wow, good catch. How did you find this bug? Anyway, thanks, applied. - R. -- 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: Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-13 Thread Roland Dreier
> I'll take a closer look at what is needed tomorrow. Hi Tony, Just curious -- can you reproduce the same problem with CONFIG_PRINTK_TIME as I'm seeing? If not I'm happy to test anything you want to try. The strange thing is that Ingo's patch to make cpu_clock() a NOP until after sched_init()

Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-13 Thread Roland Dreier
> > so .. how about the patch below? Note that we already had an "early > > bootup" special (the rq->idle check), it's now just made explicit via > > the scheduler_running flag. > > the one below even builds. (untested otherwise) I just tried this... it doesn't work on top of current git

Re: [ofa-general] [PATCH 2.6.25] RDMA/cxgb3: Fail loopbackconnections.

2008-02-13 Thread Roland Dreier
: Fail loopback connections The cxgb3 HW and driver don't support loopback RDMA connections. So fail any connection attempt where the destination address is local. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> di

Re: [ofa-general] [PATCH 2.6.25] RDMA/cxgb3: Fail loopbackconnections.

2008-02-13 Thread Roland Dreier
> how can a static void function return 0? good question... I've fixed the patch in my tree. -- 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

Re: [ofa-general] [PATCH 2.6.25] RDMA/cxgb3: Fail loopbackconnections.

2008-02-13 Thread Roland Dreier
how can a static void function return 0? good question... I've fixed the patch in my tree. -- 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

Re: [ofa-general] [PATCH 2.6.25] RDMA/cxgb3: Fail loopbackconnections.

2008-02-13 Thread Roland Dreier
loopback connections The cxgb3 HW and driver don't support loopback RDMA connections. So fail any connection attempt where the destination address is local. Signed-off-by: Steve Wise [EMAIL PROTECTED] Signed-off-by: Roland Dreier [EMAIL PROTECTED] diff --git a/drivers

Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-13 Thread Roland Dreier
so .. how about the patch below? Note that we already had an early bootup special (the rq-idle check), it's now just made explicit via the scheduler_running flag. the one below even builds. (untested otherwise) I just tried this... it doesn't work on top of current git (same

Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-13 Thread Roland Dreier
I'll take a closer look at what is needed tomorrow. Hi Tony, Just curious -- can you reproduce the same problem with CONFIG_PRINTK_TIME as I'm seeing? If not I'm happy to test anything you want to try. The strange thing is that Ingo's patch to make cpu_clock() a NOP until after sched_init()

Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-12 Thread Roland Dreier
I'm seeing a strange hang with current git (head 96b5a46e) on an ia64 box -- an Intel SDV with 2 dual core hyperthreaded Itanium 2 CPUs (so 8 logical CPUs to the kernel). It hangs without printing anything ("Uncompressing Linux... done" from ELILO is the last thing I see) if I have

Re: [PATCH] infiniband: be*_add_cpu conversion

2008-02-12 Thread Roland Dreier
neat. 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] [PATCH 2.6.25] RDMA/cxgb3: Fail loopback connections.

2008-02-12 Thread Roland Dreier
applied, although: > +static void is_loopback_dst(struct iw_cm_id *cm_id) > +{ > +struct net_device *dev; > + > +dev = ip_dev_find(_net, cm_id->remote_addr.sin_addr.s_addr); > +if (!dev) > +return 0; > +dev_put(dev); > +return 1; > +} is there any

Re: [ofa-general] Re: Demand paging for memory regions

2008-02-12 Thread Roland Dreier
> > Chelsio's T3 HW doesn't support this. > Not so far I guess but it could be equipped with these features right? I don't know anything about the T3 internals, but it's not clear that you could do this without a new chip design in general. Lot's of RDMA devices were designed expecting that

Re: multiple drivers, single device

2008-02-12 Thread Roland Dreier
> The work I'm doing here is for stupid PCI firmware engineers, who have > created devices that are different things, all bound up under the same > PCI device. I'm thinking of watchdog timers and random number > generator and i2c controller on the same PCI device, or even the more > basic,

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-12 Thread Roland Dreier
> The other is that once somebody says "ok, I *really* need to cause this > breakage, because there's a major bug or we need it for fundamental reason > XYZ", then that person should > > (a) create a base tree with _just_ that fundamental infrastructure change, > and make sure that

Re: [ofa-general] Re: Demand paging for memory regions

2008-02-12 Thread Roland Dreier
Chelsio's T3 HW doesn't support this. Not so far I guess but it could be equipped with these features right? I don't know anything about the T3 internals, but it's not clear that you could do this without a new chip design in general. Lot's of RDMA devices were designed expecting that

Re: [ofa-general] [PATCH 2.6.25] RDMA/cxgb3: Fail loopback connections.

2008-02-12 Thread Roland Dreier
applied, although: +static void is_loopback_dst(struct iw_cm_id *cm_id) +{ +struct net_device *dev; + +dev = ip_dev_find(init_net, cm_id-remote_addr.sin_addr.s_addr); +if (!dev) +return 0; +dev_put(dev); +return 1; +} is there any way this

Re: [PATCH] infiniband: be*_add_cpu conversion

2008-02-12 Thread Roland Dreier
neat. 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: multiple drivers, single device

2008-02-12 Thread Roland Dreier
The work I'm doing here is for stupid PCI firmware engineers, who have created devices that are different things, all bound up under the same PCI device. I'm thinking of watchdog timers and random number generator and i2c controller on the same PCI device, or even the more basic, frame

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-12 Thread Roland Dreier
The other is that once somebody says ok, I *really* need to cause this breakage, because there's a major bug or we need it for fundamental reason XYZ, then that person should (a) create a base tree with _just_ that fundamental infrastructure change, and make sure that base

Strange hang on ia64 with CONFIG_PRINTK_TIME=y

2008-02-12 Thread Roland Dreier
I'm seeing a strange hang with current git (head 96b5a46e) on an ia64 box -- an Intel SDV with 2 dual core hyperthreaded Itanium 2 CPUs (so 8 logical CPUs to the kernel). It hangs without printing anything (Uncompressing Linux... done from ELILO is the last thing I see) if I have

Demand paging for memory regions (was Re: MMU Notifiers V6)

2008-02-11 Thread Roland Dreier
[Adding [EMAIL PROTECTED] to get the IB/RDMA people involved] This thread has patches that add support for notifying drivers when a process's memory map changes. The hope is that this is useful for letting RDMA devices handle registered memory without pinning the underlying pages, by updating

[GIT PULL] please pull infiniband.git

2008-02-11 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 get one build fix: Olof Johansson (1):

Re: [PATCH] mlx4: fix build break

2008-02-11 Thread Roland Dreier
Thanks, applied. Jack, I thought you guys tested the build on powerpc. How did this sneak through? -- 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

Demand paging for memory regions (was Re: MMU Notifiers V6)

2008-02-11 Thread Roland Dreier
[Adding [EMAIL PROTECTED] to get the IB/RDMA people involved] This thread has patches that add support for notifying drivers when a process's memory map changes. The hope is that this is useful for letting RDMA devices handle registered memory without pinning the underlying pages, by updating

[GIT PULL] please pull infiniband.git

2008-02-11 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 get one build fix: Olof Johansson (1):

Re: [PATCH] mlx4: fix build break

2008-02-11 Thread Roland Dreier
Thanks, applied. Jack, I thought you guys tested the build on powerpc. How did this sneak through? -- 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

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