RE: [PATCH v8 01/20] dlb: add skeleton for DLB driver

2021-01-08 Thread Chen, Mike Ximing
> -Original Message- > From: Greg KH > Sent: Thursday, January 7, 2021 2:36 PM > To: Chen, Mike Ximing > Cc: linux-kernel@vger.kernel.org; a...@arndb.de; Williams, Dan J > ; pierre-louis.boss...@linux.intel.com; Gage Eads > > Subject: Re: [PATCH v8 01/20] d

Re: [PATCH v8 01/20] dlb: add skeleton for DLB driver

2021-01-07 Thread Greg KH
On Mon, Jan 04, 2021 at 08:58:20PM -0600, Mike Ximing Chen wrote: > +static int dlb_probe(struct pci_dev *pdev, > + const struct pci_device_id *pdev_id) > +{ > + struct dlb *dlb; > + int ret; > + > + dlb = devm_kzalloc(>dev, sizeof(*dlb), GFP_KERNEL); > + if (!dlb)

[PATCH v8 01/20] dlb: add skeleton for DLB driver

2021-01-04 Thread Mike Ximing Chen
Add basic driver functionality (load, unload, probe, and remove callbacks) for the DLB driver. Add documentation which describes in detail the hardware, the user interface, device interrupts, and the driver's power-management strategy. For more details about the driver see the documentation in