Re: [PATCH v18 3/3] vfio/nvgrace-gpu: Add vfio pci variant module for grace hopper

2024-02-18 Thread Yishai Hadas
index 73d898383e51..7fc7a14c1a20 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -23075,12 +23075,11 @@ L:k...@vger.kernel.org S:Maintained F:drivers/vfio/pci/mlx5/ -VFIO VIRTIO PCI DRIVER -M: Yishai Hadas +VFIO NVIDIA GRACE GPU DRIVER +M: Ankit Agrawal L:k...

Re: [PATCH v18 2/3] vfio/pci: rename and export range_intersect_range

2024-02-18 Thread Yishai Hadas
g_cnt, +loff_t *buf_offset, +size_t *intersect_count, +size_t *register_offset); #define VFIO_IOWRITE_DECLATION(size) \ int vfio_pci_core_iowrite##size(struct vfio_pci_core_device *vdev,\ bool test_mem, u##size val, void __iomem *io); Reviewed-by: Yishai Hadas

Re: [PATCH v18 1/3] vfio/pci: rename and export do_io_rw()

2024-02-18 Thread Yishai Hadas
ruct vfio_pci_core_device *vdev,\ bool test_mem, u##size val, void __iomem *io); Reviewed-by: Yishai Hadas

Re: [PATCH rdma-next 0/7] Introduce KABIs to query UCONTEXT, PD and MR properties

2020-06-17 Thread Yishai Hadas
On 6/17/2020 11:34 AM, Christoph Hellwig wrote: On Wed, Jun 17, 2020 at 11:31:38AM +0300, Leon Romanovsky wrote: On Wed, Jun 17, 2020 at 01:29:16AM -0700, Christoph Hellwig wrote: I think you are talking about UABIs (which in linux we actually call uapis). Yes, I used Yishai's cover letter as

Re: mlx4 BUG_ON in probe path

2016-11-17 Thread Yishai Hadas
On 11/16/2016 8:25 PM, Bjorn Helgaas wrote: Hi Yishai, Johannes has been working on an mlx4 initialization problem on an IBM x3850 X6. The underlying problem is a PCI core issue -- we're setting RCB in the Mellanox device, which means it thinks it can generate 128-byte Completions, even though

Re: [PATCH] IB/mlx4: avoid a -Wmaybe-uninitialize warning

2016-10-25 Thread Yishai Hadas
[-Werror=maybe-uninitialized] The problem here is that gcc won't track the state of the variable across a spin_unlock. Moving the assignment out of the lock is safe here and avoids the warning. Signed-off-by: Arnd Bergmann Reviewed-by: Yishai Hadas --- drivers/net/ethernet/mellanox

Re: [PATCH v2 5/8] ib_uverbs: Add padding to end align ib_uverbs_reg_mr_resp

2016-09-20 Thread Yishai Hadas
On 9/16/2016 9:31 PM, Knut Omang wrote: The ib_uverbs_reg_mr_resp structure was not 64 bit end aligned as required by the protocol. This causes alignment issues if a device specific driver needs to transfer extra response arguments. Avoid breaking backward compatibility by improving the handling

Re: [GIT] Networking

2016-03-21 Thread Yishai Hadas
On 3/19/2016 6:42 AM, David Miller wrote: There is a merge conflict against the RDMA tree pull wrt the mlx4 driver, which I don't know how to resolve. Can you please point on the conflict ? is it still open that needs our input ?

Re: [PATCH 3/5] net/mlx4: fix some error handling in mlx4_multi_func_init()

2016-02-10 Thread Yishai Hadas
On 2/9/2016 10:11 PM, Rasmus Villemoes wrote: The while loop after err_slaves should use post-decrement; otherwise we'll fail to do the kfrees for i==0, and will run into out-of-bounds accesses if the setup above failed already at i==0. The predecrement in the --port is ok, since ->vlan_filter i

Re: [PATCH] mlx4_core: Fix fallback from MSI-X to INTx

2015-05-27 Thread Yishai Hadas
On 5/23/2015 2:12 AM, Benjamin Poirier wrote: The test in mlx4_load_one() to remove MLX4_FLAG_MSI_X expects mlx4_NOP() to fail with -EBUSY. It is also necessary to avoid the reset since the device is not fully reinitialized before calling mlx4_start_hca() a second time. Note that this will also

kernel thread id

2007-09-17 Thread Yishai Hadas
Hi List, I'm using NPTL multi-threaded library and kernel 2.4. When a new thread is created using the pthread_create call the returned thread handle is pthread_t. I want to get the kernel thread id for this pthread - means similar to what gettid returns when it's called by the thread itself. Ho

Health monitor of a multi-threaded process

2007-09-09 Thread Yishai Hadas
Hi List, I'm looking for any mechanism in a multi-threaded process to monitor the health of its running threads - or by a specific monitor thread or by any other mechanism. It includes the following aspects: 1) Threads are running and not stuck on any lock. 2) Threads are running and ha