• Home
  • History
  • Annotate
  • only in /drivers/infiniband/hw/usnic/
History log of /drivers/infiniband/hw/usnic/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
23971bdffff5f7c904131dfb41c186711dc2c418 15-Oct-2014 Linus Torvalds <torvalds@linux-foundation.org> Merge tag 'iommu-updates-v3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu

Pull IOMMU updates from Joerg Roedel:
"This pull-request includes:

- change in the IOMMU-API to convert the former iommu_domain_capable
function to just iommu_capable

- various fixes in handling RMRR ranges for the VT-d driver (one fix
requires a device driver core change which was acked by Greg KH)

- the AMD IOMMU driver now assigns and deassigns complete alias
groups to fix issues with devices using the wrong PCI request-id

- MMU-401 support for the ARM SMMU driver

- multi-master IOMMU group support for the ARM SMMU driver

- various other small fixes all over the place"

* tag 'iommu-updates-v3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (41 commits)
iommu/vt-d: Work around broken RMRR firmware entries
iommu/vt-d: Store bus information in RMRR PCI device path
iommu/vt-d: Only remove domain when device is removed
driver core: Add BUS_NOTIFY_REMOVED_DEVICE event
iommu/amd: Fix devid mapping for ivrs_ioapic override
iommu/irq_remapping: Fix the regression of hpet irq remapping
iommu: Fix bus notifier breakage
iommu/amd: Split init_iommu_group() from iommu_init_device()
iommu: Rework iommu_group_get_for_pci_dev()
iommu: Make of_device_id array const
amd_iommu: do not dereference a NULL pointer address.
iommu/omap: Remove omap_iommu unused owner field
iommu: Remove iommu_domain_has_cap() API function
IB/usnic: Convert to use new iommu_capable() API function
vfio: Convert to use new iommu_capable() API function
kvm: iommu: Convert to use new iommu_capable() API function
iommu/tegra: Convert to iommu_capable() API function
iommu/msm: Convert to iommu_capable() API function
iommu/vt-d: Convert to iommu_capable() API function
iommu/fsl: Convert to iommu_capable() API function
...
28596c9722289b2f98fa83a2e4351eb0a031b953 08-Oct-2014 Linus Torvalds <torvalds@linux-foundation.org> Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial

Pull "trivial tree" updates from Jiri Kosina:
"Usual pile from trivial tree everyone is so eagerly waiting for"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
Remove MN10300_PROC_MN2WS0038
mei: fix comments
treewide: Fix typos in Kconfig
kprobes: update jprobe_example.c for do_fork() change
Documentation: change "&" to "and" in Documentation/applying-patches.txt
Documentation: remove obsolete pcmcia-cs from Changes
Documentation: update links in Changes
Documentation: Docbook: Fix generated DocBook/kernel-api.xml
score: Remove GENERIC_HAS_IOMAP
gpio: fix 'CONFIG_GPIO_IRQCHIP' comments
tty: doc: Fix grammar in serial/tty
dma-debug: modify check_for_stack output
treewide: fix errors in printk
genirq: fix reference in devm_request_threaded_irq comment
treewide: fix synchronize_rcu() in comments
checkstack.pl: port to AArch64
doc: queue-sysfs: minor fixes
init/do_mounts: better syntax description
MIPS: fix comment spelling
powerpc/simpleboot: fix comment
...
6f952710917cfb801664333a491e4a120451a9ff 05-Sep-2014 Joerg Roedel <jroedel@suse.de> IB/usnic: Convert to use new iommu_capable() API function

Cc: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
snic_uiom.c
9b13494c916dc0bf93802d7426b477cc0130fb48 06-Aug-2014 Masanari Iida <standby24x7@gmail.com> treewide: Fix typo in printk

This patch fix spelling typo in printk within vairous
part of the code.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
snic_ib_qp_grp.c
9baa3c34ac4e27f7e062f266f50cc5dbea26a6c1 08-Aug-2014 Benoit Taine <benoit.taine@lip6.fr> PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use

We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to
meet kernel coding style guidelines. This issue was reported by checkpatch.

A simplified version of the semantic patch that makes this change is as
follows (http://coccinelle.lip6.fr/):

// <smpl>

@@
identifier i;
declarer name DEFINE_PCI_DEVICE_TABLE;
initializer z;
@@

- DEFINE_PCI_DEVICE_TABLE(i)
+ const struct pci_device_id i[]
= z;

// </smpl>

[bhelgaas: add semantic patch]
Signed-off-by: Benoit Taine <benoit.taine@lip6.fr>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
snic_ib_main.c
eeaddf3670d4974e17268ec78a576ad397e2dcd9 10-Jun-2014 Roland Dreier <roland@purestorage.com> Merge branches 'core', 'cxgb3', 'cxgb4', 'iser', 'iwpm', 'misc', 'mlx4', 'mlx5', 'noio', 'ocrdma', 'qib', 'srp' and 'usnic' into for-next
60093dc0c8b6407bc7494cbcb3e84322cc6782c8 11-May-2014 Or Gerlitz <ogerlitz@mellanox.com> IB: Return error for unsupported QP creation flags

Fix the usnic and thw qib drivers to err when QP creation flags that
they don't understand are provided.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_ib_verbs.c
ed477c4c83b31ebc2b143382b0b5d70325fc9643 19-Apr-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Fix source file missing copyright and license

Prepends copyright and license to usnic_uiom_interval_tree.c

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_uiom_interval_tree.c
970918b32b030e9b3966e5ccb5f4a5a5b515a5b1 18-Feb-2014 Fabio Estevam <fabio.estevam@freescale.com> IB/usnic: Remove '0x' when using %pa format

%pa format already prints in hexadecimal format, so remove the '0x' annotation
to avoid a double '0x0x' pattern.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_uiom.c
f809309a251a13bd97cc189c3fa428782aab9716 23-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Fix smatch endianness error

Error reported at http://marc.info/?l=linux-rdma&m=138995755801039&w=2

Fix short to int cast for big endian systems.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_ib_qp_grp.c
a384b20e417ae0f5f1f359600b4bdcc34265b256 21-Dec-2013 Wei Yongjun <yongjun_wei@trendmicro.com.cn> IB/usnic: Remove unused includes of <linux/version.h>

Remove including <linux/version.h> that don't need it.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_ib.h
snic_uiom_interval_tree.c
snic_uiom_interval_tree.h
8ce96afa8239f13bdf5ab35839bac46c103bbedc 20-Jan-2014 Dan Carpenter <dan.carpenter@oracle.com> IB/usnic: Use GFP_ATOMIC under spinlock

This is called from qp_grp_and_vf_bind() and we are holding the
vf->lock so the allocation can't sleep.

Fixes: e3cf00d0a87f ('IB/usnic: Add Cisco VIC low-level hardware driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_uiom.c
d1db47c5eed89a1c8b60e780aeadd870bb0d3894 15-Jan-2014 Wei Yongjun <yongjun_wei@trendmicro.com.cn> IB/usnic: Remove unused variable in usnic_debugfs_exit()

The variable qp_grp is initialized but never used otherwise, so remove
the unused variable.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_debugfs.c
6dcebe614c667fca73aaf0cfbd1e70bc9179538e 16-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Set userspace/kernel ABI ver to 4

usNIC userspace/kernel ABI should be set to 4 instead of 3.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_abi.h
61f78268936e781a104b4ac06b7e47d760800c40 16-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Advertise usNIC devices as RDMA_NODE_USNIC_UDP

usNIC default transport is UDP. Hence, advertise RDMA_NODE_USNIC_UDP
by default for usNIC devices.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_ib_main.c
2d97436f5b06217beb6c91a0cd0ae0f0d79b61cc 16-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Add dependency on CONFIG_INET

usNIC needs inet notifiers to function correctly, so add a Kconfig
dependency on CONFIG_INET.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
config
4942c0b4b64478ff45c3bbf4d40aebd66de0bcc5 16-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Fix endianness-related warnings

Fix sparse endianness related warnings.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_common_util.h
snic_transport.c
3108bccb3d9afbd32931d775f5dd5ee157eaa5a9 20-Dec-2013 Upinder Malhi <umalhi@cisco.com> IB/usnic: Append documentation to usnic_transport.h and cleanup

Add comment describing usnic_transport_rsrv port and remove
extraneous space from usnic_transport.c.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_transport.c
snic_transport.h
c30392ab5bb536fef268c22804dafded15170d14 13-Jan-2014 Roland Dreier <roland@purestorage.com> IB/usnic: Fix typo "Ignorning" -> "Ignoring"

Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_ib_main.c
9f637f7936025aef57f247b11036bad18bb87c06 10-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Expose flows via debugfs

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_debugfs.c
snic_debugfs.h
snic_ib.h
snic_ib_qp_grp.c
snic_ib_qp_grp.h
snic_ib_sysfs.c
c5f855e08a97edc107c4a3b73809ed629c1dcac1 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Use for_each_sg instead of a for-loop

Use for_each_sg() instead of an explicit for-loop to iterate over
scatter-gather list.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_uiom.c
6a54d9f9a04ed35e6615a47974c1ef02ff3a62cb 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Remove superflous parentheses

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_ib_main.c
snic_ib_qp_grp.c
snic_ib_verbs.c
e45e614e4015a489d2f8013eaed45d498d884e86 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Add UDP support in usnic_ib_qp_grp.[hc]

UDP support for qp_grps/qps.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_ib_qp_grp.c
snic_ib_qp_grp.h
c7845bcafe4d2ecd5c479fa64d1b425c21dde17c 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Add UDP support in u*verbs.c, u*main.c and u*util.h

Add supports for:
1) Parsing the socket file descriptor pass down from userspace.
2) IP notifiers
3) Encoding the IP in the GID
4) Other aux. changes to support UDP

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_common_util.h
snic_ib_main.c
snic_ib_verbs.c
6214105460842759020bdd7f4dbb50afa1be9d17 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB:usnic: Add UDP support to usnic_transport.[hc]

This patch provides API for rest of usNIC code to increment or decrement
socket's reference count. Auxiliary socket APIs are also provided.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_transport.c
snic_transport.h
3f92bed3d6c073f41efc0777ecd3442aa1f03d20 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Add UDP support to usnic_fwd.[hc]

Add *ip field* to *struct usnic_fwd_dev* as well as new *functions* to
manipulate the *ip field.* Furthermore, add new functions for
programming UDP flows in the forwarding device.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_fwd.c
snic_fwd.h
b85caf479b577f000067002259539ad4341d4530 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Update ABI and Version file for UDP support

Expand the kernel/userspace interface so userspace may push down
a socket file descriptor to usNIC. Also, bump up the abi and version
numbers.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic.h
snic_abi.h
60b215e8b267f911751a043de63181dab1b69706 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Port over sysfs to new usnic_fwd.h

This patch ports usnic_ib_sysfs.c to the new interface of
usnic_fwd.h.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_ib_sysfs.c
256d6a6ac52ee02e897cec88ecc96c3ae7f9cb88 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Port over usnic_ib_qp_grp.[hc] to new usnic_fwd.h

This patch ports usnic_ib_qp_grp.[hc] to the new interface
of usnic_fwd.h.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_ib_qp_grp.c
snic_ib_qp_grp.h
8af94ac66a4d53a96278ecbb9ef2e8592f0d9ba3 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Port over main.c and verbs.c to the usnic_fwd.h

This patch ports usnic_ib_main.c, usnic_ib_verbs.c and usnic_ib.h
to the new interface of usnic_fwd.h.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_ib.h
snic_ib_main.c
snic_ib_verbs.c
2183b990b67b761f81c68a18f60df028e080cf05 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Push all forwarding state to usnic_fwd.[hc]

Push all of the usnic device forwarding state - such as mtu, mac - to
usnic_fwd_dev. Furthermore, usnic_fwd.h exposes a improved interface
for rest of the usnic code. The primary improvement is that
usnic_fwd.h's flow management interface takes in high-level *filter*
and *action* structures now, instead of low-level paramaters such as
vnic_idx, rq_idx.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_fwd.c
snic_fwd.h
301a0dd68e5ddd22d992a58f466b621987d9df3b 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Add struct usnic_transport_spec

Add *struct usnic_transport_spec* for passing around transport
specifications.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_abi.h
8192d4acb5c5376c0f6756f2106ab243036c8c7d 09-Jan-2014 Upinder Malhi <umalhi@cisco.com> IB/usnic: Change WARN_ON to lockdep_assert_held

usNIC calls WARN_ON(spin_is_locked..) at few places. In some of these
instances, the call is made while holding a spinlock. Change
all WARN_ON(spin_is_locked...) calls in usNIC to
lockdep_assert_held to make it fool-proof bc the latter can be
called while holding a spinlock and unlike spin_is_locked,
lockdep_assert_held also works correctly on UP.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
snic_ib_qp_grp.c
e3cf00d0a87f025db5855a43a67c67a41fa79fef 10-Sep-2013 Upinder Malhi <umalhi@cisco.com> IB/usnic: Add Cisco VIC low-level hardware driver

This adds a driver that allows userspace to use UD-like QPs over a
proprietary Cisco transport with Cisco's Virtual Interface Cards (VICs),
including VIC 1240 and 1280 cards.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
config
akefile
snic.h
snic_abi.h
snic_common_pkt_hdr.h
snic_common_util.h
snic_debugfs.c
snic_debugfs.h
snic_fwd.c
snic_fwd.h
snic_ib.h
snic_ib_main.c
snic_ib_qp_grp.c
snic_ib_qp_grp.h
snic_ib_sysfs.c
snic_ib_sysfs.h
snic_ib_verbs.c
snic_ib_verbs.h
snic_log.h
snic_transport.c
snic_transport.h
snic_uiom.c
snic_uiom.h
snic_uiom_interval_tree.c
snic_uiom_interval_tree.h
snic_vnic.c
snic_vnic.h