RE: [PATCH 1/8] scsi: ufshpb: Cache HPB Control mode on init

From: Avri Altman
Date: Sun Jan 31 2021 - 02:12:54 EST


> >
> > +static enum UFSHPB_MODE ufshpb_mode;
>
> How are you allowed to have a single variable for a device-specific
> thing? What happens when you have two controllers or disks or whatever
> you are binding to here? How does this work at all?
>
> This should be per-device, right?
Right. Done.

Not being bickering, AFAIK, there aren't, nor will be in the foreseen future, any multi-ufs-hosts designs.
There were some talks in the past about ufs cards, but this is officially off the table.

Thanks,
Avri