On Tue, Oct 16, 2018 at 4:50 PM, John Stultz <john.stultz@xxxxxxxxxx> wrote: > On Tue, Oct 16, 2018 at 3:48 PM, John Stultz <john.stultz@xxxxxxxxxx> wrote: >> On Mon, Oct 15, 2018 at 8:41 PM, Martin K. Petersen >> <martin.petersen@xxxxxxxxxx> wrote: >>> >>> John, >>> >>>> Hynix ufs has deviations on hi36xx platform which will result in ufs >>>> bursts transfer failures. >>> >>> Is this specific to the particular implementation on hi36xx or all SK >>> Hynix implementations? >> >> I'd have to defer to Wei Li on that question. So I followed up with Wei Li and it seems its something specific to hi36xx that the specific hynix chip brings out, which most other chips don't seem to trigger. > Just to short-cut things a bit, as this is probably an obvious > followup: if it is hi36xx specific, how would you suggest a such a > targeted quirk be added? I'm not sure I see how to get to the > ufs_dev_desc from the ufs-hisi.c code. So yea, I've already reworked the quirk to be specific to the one model of hynix chip, but I'm still a bit confused on best practices for handling these quirks on the controller side. If there's a pointer to similar controller side quirks that are device specific, I'd be glad to rework the patch in that fashion. Otherwise I'll just try to figure out how to get to the ufs_dev_desc from ufs-hisi.c thanks -john