[PATCH v2] x86/hyperv : Fixing removal of __iomem address space warning

2023-10-30 Thread Abhinav Singh
This patch fixes two sparse warnings 1. sparse complaining about the removal of __iomem address space when casting the return value of this ioremap_cache(...) from `void __ioremap*` to `void*`. Fixed this by replacing the ioremap_cache(...) by memremap(...) and using MEMREMAP_DEC and MEMREMAP_WB

RE: [Patch v2] hv_netvsc: Mark VF as slave before exposing it to user-mode

2023-10-30 Thread Long Li
> Subject: Re: [Patch v2] hv_netvsc: Mark VF as slave before exposing it to > user- > mode > > On Fri, 27 Oct 2023 13:59:50 -0700 lon...@linuxonhyperv.com wrote: > > When a VF is being exposed form the kernel, it should be marked as "slave" > > before exposing to the user-mode. The VF is not

Re: [Patch v2] hv_netvsc: Mark VF as slave before exposing it to user-mode

2023-10-30 Thread Jakub Kicinski
On Fri, 27 Oct 2023 13:59:50 -0700 lon...@linuxonhyperv.com wrote: > When a VF is being exposed form the kernel, it should be marked as "slave" > before exposing to the user-mode. The VF is not usable without netvsc running > as master. The user-mode should never see a VF without the "slave" flag.

Re: [PATCH] Fixing warning cast removes address space '__iomem' of expression

2023-10-30 Thread Abhinav Singh
On 10/30/23 22:08, Michael Kelley (LINUX) wrote: From: Abhinav Singh Sent: Saturday, October 28, 2023 2:26 PM It turns out that Nischala Yelchuri at Microsoft is concurrently working on fixing this occurrence as well as the others we know about in Hyper-V specific code. So should I

RE: [PATCH] Fixing warning cast removes address space '__iomem' of expression

2023-10-30 Thread Michael Kelley (LINUX)
From: Abhinav Singh Sent: Saturday, October 28, 2023 2:26 PM > > >It turns out that Nischala Yelchuri at Microsoft is > > concurrently working on fixing this occurrence as well as the > > others we know about in Hyper-V specific code. > > So should I continue or not with this patch? > I'll

Re: [EXTERNAL] Re: [Patch v7 5/5] RDMA/mana_ib: Send event to qp

2023-10-30 Thread Jason Gunthorpe
On Fri, Oct 27, 2023 at 09:35:05PM +, Long Li wrote: > > Subject: RE: [EXTERNAL] Re: [Patch v7 5/5] RDMA/mana_ib: Send event to qp > > > > > > > -Original Message- > > > From: Jason Gunthorpe > > > Sent: Monday, October 23, 2023 11:24 AM > > > To: sharmaa...@linuxonhyperv.com > > >