mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
82f9327f77
Older systems will not populate the security attributes in the capabilities register. The PSP on these systems, however, does have a command to get the security attributes. Use this command during ccp startup to populate the attributes if they're missing. Closes: https://github.com/fwupd/fwupd/issues/5284 Closes: https://github.com/fwupd/fwupd/issues/5675 Closes: https://github.com/fwupd/fwupd/issues/6253 Closes: https://github.com/fwupd/fwupd/issues/7280 Closes: https://github.com/fwupd/fwupd/issues/6323 Closes: https://github.com/fwupd/fwupd/discussions/5433 Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 lines
387 B
C
18 lines
387 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* AMD Secure Processor device driver, security attributes
|
|
*
|
|
* Copyright (C) 2023-2024 Advanced Micro Devices, Inc.
|
|
*
|
|
* Author: Mario Limonciello <mario.limonciello@amd.com>
|
|
*/
|
|
|
|
#ifndef __HSTI_H
|
|
#define __HSTI_H
|
|
|
|
extern struct attribute_group psp_security_attr_group;
|
|
|
|
int psp_init_hsti(struct psp_device *psp);
|
|
|
|
#endif /* __HSTI_H */
|