On Tue, Nov 30, 2021 at 05:23:52AM +0000, Pei, Andy wrote:
Hi Gerd,
Yes, you are right. I think reading these two config register is fine during init and align with the virtio blk spec.
It is not wrong but also pointless.
In the near future, we will working on some related work on these two value. To be specific, we will do some modification in virtio blk driver. If driver reads data larger than VIRTIO_BLK_F_SIZE_MAX, it will cause some issue to the DMA engine.
Please submit all changes together as patch series.
thanks, Gerd