crypto: ccp - Use lower 8 bytes to communicate with doorbell command register
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 3 Apr 2023 18:32:13 +0000 (13:32 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 14 Apr 2023 10:59:34 +0000 (18:59 +0800)
commit6699e1431e1567d1bae9cdccb4a849ca029eb861
tree90748eaa4c2bfedc271d0cebc76742c7ee07a5a3
parenta19c61b06585f71c4dc1303fe6a3af79dfe33678
crypto: ccp - Use lower 8 bytes to communicate with doorbell command register

Unlike other command registers used by the PSP, only the lower 8 bytes are
used for communication for both command and status of the command.

Suggested-by: Mark Hasemeyer <markhas@chromium.org>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mark Hasemeyer <markhas@chromium.org>
Tested-by: Mark Hasemeyer <markhas@chromium.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/platform-access.c