Hi,
On Sun, 22 Jan 2023 00:50:37 +0800, Shengyu Qu wrote:
Since we have the over-4GB problem now, should we mark this problem as aI am not really sure where to put such a TODO to make it visible for people
TODO or something?
that are running into the issue and to make sure that it is removed once it is
fixed.
Maybe it would be better to add error handling to the rga_buf_map function to
fail if the address of the buffer that should be mapped has the upper 32 bit
set and print a warning. Furthermore, the driver would be able to skip the
buffer and prevent potential memory corruption caused by the erroneous
mapping.
Unfortunately, I don't have hardware that allows me to test this.
Michael
Attachment:
OpenPGP_0xE3520CC91929C8E7.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature