summaryrefslogtreecommitdiffstats
path: root/tools/crypto/ccp
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2023-08-29 10:07:55 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2023-09-15 18:29:45 +0800
commit53f7f779f45cbe1771bc4ae05f0320e204a18611 (patch)
tree34849ccd0c311ba64754068e9c7b4aa7693c3d69 /tools/crypto/ccp
parentDocumentation: ABI: debugfs-driver-qat: fix fw_counters path (diff)
downloadlinux-53f7f779f45cbe1771bc4ae05f0320e204a18611.tar.gz
linux-53f7f779f45cbe1771bc4ae05f0320e204a18611.zip
crypto: ccp - Get a free page to use while fetching initial nonce
dbc_dev_init() gets a free page from `GFP_KERNEL`, but if that page has any data in it the first nonce request will fail. This prevents dynamic boost control from probing. To fix this, explicitly request a zeroed page with `__GFP_ZERO` to ensure first nonce fetch works. Fixes: c04cf9e14f10 ("crypto: ccp - Add support for fetching a nonce for dynamic boost control") Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/crypto/ccp')
0 files changed, 0 insertions, 0 deletions