On Sun, 2021-02-07 at 15:36 +0800, Can Guo wrote: > > > > Thanks, I tested Daejun's patchset before, it is also ok (I don't > > know > > which version patchset). maybe we can keep current implementation > > as > > default, then if there is conflict, and submit the quirk. > > > > Yeah, you've tested it, are you sure that Micron's UFS devices are OK > with this specific code line? > > Micron UFS FW team has confirmed that Micron's HPB entries read out > by > "HPB Buffer Read" cmd are in big-endian byte ordering. Aha, I think you didn't check with right person :), ping me, let me tell you this confusing story. and see my HPB patch, I didn't the same with here: https://patchwork.kernel.org/project/linux-scsi/patch/20200504142032.16619-6-beanhuo@xxxxxxxxxx/ Bean