Bug 6361 - The tpm driver does not supoort partial reads
Summary: The tpm driver does not supoort partial reads
Status: NEW
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-06 15:01 UTC by xuxinsss
Modified: 2023-09-06 15:10 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xuxinsss inspur_group 2023-09-06 15:01:41 UTC
Description of problem:
当前应用程序需要开辟足够大的空间来接受TPM返回的相应,且必须一次读取完。但应用程序事先不知道响应有多大,所以始终需要保持 4K 缓冲区并读取最大值 (4K)。

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2023-09-06 15:10:25 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2122