RE: [PATCH v8 03/20] dlb: add resource and device initialization

2021-01-10 Thread Chen, Mike Ximing
> -Original Message- > From: Greg KH > Sent: Thursday, January 7, 2021 2:40 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 03/20] dlb:

Re: [PATCH v8 03/20] dlb: add resource and device initialization

2021-01-07 Thread Greg KH
On Mon, Jan 04, 2021 at 08:58:22PM -0600, Mike Ximing Chen wrote: > Introduce dlb_bitmap_* functions, a thin convenience layer wrapping the > Linux bitmap interfaces, used by the bitmaps in the dlb hardware types. No, you created custom #defines: > --- a/drivers/misc/dlb/dlb_hw_types.h > +++ b/dr

[PATCH v8 03/20] dlb: add resource and device initialization

2021-01-04 Thread Mike Ximing Chen
Add the hardware resource data structures, functions for their initialization/teardown, and a function for device power-on. In subsequent commits, dlb_resource.c will be expanded to hold the dlb resource-management and configuration logic (using the data structures defined in dlb_hw_types.h). Intr