summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2025-01-17 17:05:47 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-20 10:15:52 +0200
commit5116b340cf8858e645338edbd2bae641b6ac2c88 (patch)
treed8f7695932635686eb4727f5b32ef3c11565e6e0 /include/uapi/linux
parent1f9648e2460ba2c4e2ed71c83f210b4c96ecd045 (diff)
crypto: ccp - Fix check for the primary ASP device
commit 07bb097b92b987db518e72525b515d77904e966e upstream. Currently, the ASP primary device check does not have support for PCI domains, and, as a result, when the system is configured with PCI domains (PCI segments) the wrong device can be selected as primary. This results in commands submitted to the device timing out and failing. The device check also relies on specific device and function assignments that may not hold in the future. Fix the primary ASP device check to include support for PCI domains and to perform proper checking of the Bus/Device/Function positions. Fixes: 2a6170dfe755 ("crypto: ccp: Add Platform Security Processor (PSP) device support") Cc: stable@vger.kernel.org Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions