From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A2241373 for ; Wed, 20 Apr 2022 11:24:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3EDDC385A1; Wed, 20 Apr 2022 11:24:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650453847; bh=fJpmxkCLvdCXuGogptXUUbt1bPMwKBxSAoanwzD9n2E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=z5hovpcvNioXVjhgv96JrIpL6NWRVHgMDyDa7uEhHK4OdXYo0qpSj+tDnm05YGtKJ HtzQoSvd5yTIXhees4N6wFRWOiawjutw58rrRD/C+7FoOQIUpwSVm3EveCaTUdpgdm TAbcBDfMhgJcIm8q7BgQNt+Tor8XqZnJF8EMx4tE= Date: Wed, 20 Apr 2022 13:24:03 +0200 From: Greg KH To: "Czerwacki, Eial" Cc: "linux-staging@lists.linux.dev" , SAP vSMP Linux Maintainer Subject: Re: [RFC] staging/vSMP: new driver Message-ID: References: Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Apr 20, 2022 at 11:18:15AM +0000, Czerwacki, Eial wrote: > Greetings Greg, > > >From: Czerwacki, Eial > >Sent: Thursday, March 17, 2022 11:04 > >To: Greg KH > >Cc: linux-staging@lists.linux.dev ; SAP vSMP Linux Maintainer > >Subject: Re: [RFC] staging/vSMP: new driver > > > >>On Thu, Mar 17, 2022 at 08:52:37AM +0000, Czerwacki, Eial wrote: > >>> >> >What tasks? > >>> >> support of other information bits like stats > >>> > > >>> >I have no idea what that means :) > >>> in short, the hypervisor can provide stats it collects, future implementation will export that too > >> > >>The trick will be _how_ you export this information.  Let's wait on that > >>one for now, your current api has lots of other questions to work out > >>first :) > > > >sure, thanks for all the help. > > > >Eial > > I was wondering, after I've switched the driver flow to the pci driver one, I lost the ability to prevent vsmp.ko from loading in case no device was found. > is there a way do to so? No, that is not how drivers have worked since the 2.4 kernel days (i.e. 20 years ago?) It is fine for your driver to be loaded even if there is no device present. But, your driver will NOT be loaded automatically unless a device is found, so why would it be present in that situation? thanks, greg k-h