On 05/23/24 at 01:04pm, Coiby Xu wrote:
......
+ssize_t __weak dm_crypt_keys_read(char *buf, size_t count, u64 *ppos)Do we need create a x86 specific version to cope with the confidential
+{
+ struct kvec kvec = { .iov_base = buf, .iov_len = count };
+ struct iov_iter iter;
+
+ iov_iter_kvec(&iter, READ, &kvec, 1, count);
+ return read_from_oldmem(&iter, count, ppos, false);
computing thing, e.g sme/tdx?