diff options
| author | Peter Fang <peter.fang@intel.com> | 2026-09-30 03:30:53 -0700 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2026-10-02 09:03:33 -0700 |
| commit | ef83bbc05ceb1df7d28e2cbb44ab3cd8584594de (patch) | |
| tree | 920f2e3607817b76028c46304dafaa9d3356ed3d /include/linux/extcon.h | |
| parent | 683cc6010d113bd19693add9150a77862b1231ff (diff) | |
| download | linux-next-ef83bbc05ceb1df7d28e2cbb44ab3cd8584594de.tar.gz linux-next-ef83bbc05ceb1df7d28e2cbb44ab3cd8584594de.zip | |
virt: tdx-guest: Add a helper for the Quote buffer size
The Quote buffer size is a constant sprinkled across several places.
Read it from a helper instead. And rename the constant to avoid using a
verb.
This sets up the plumbing for a later change that makes the size
dynamic.
There are several "sizes" at play here: the raw Quote data, the Quote
buffer (the header metadata plus the raw data), and the allocation (the
page-padded Quote buffer). The helper returns the Quote buffer size and
leaves page alignment to callers that need it.
AI was used under supervision to collect/apply feedback, review code and
workshop logs.
Signed-off-by: Peter Fang <peter.fang@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://patch.msgid.link/20260930103739.2851980-5-peter.fang@intel.com
Diffstat (limited to 'include/linux/extcon.h')
0 files changed, 0 insertions, 0 deletions
