Home
last modified time | relevance | path

Searched hist:c1691730d9ffb8e813018235ad1b9754104cf67b (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/platform/x86/amd/hsmp/
H A Dacpi.cdiff c1691730d9ffb8e813018235ad1b9754104cf67b Mon Oct 21 13:14:27 CEST 2024 Suma Hegde <suma.hegde@amd.com> platform/x86/amd/hsmp: Use dev_groups in the driver structure

Move out of device_add_group() variants, instead assign static array of
attribute groups to .dev_groups in platform_driver structure.
Then use is_visible to enable only the necessary files on the platform.

.read() and .is_bin_visibile() have slightly different
implemetations on ACPI and non-ACPI system, so move them
to respective files.

Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Link: https://lore.kernel.org/r/20241021111428.2676884-10-suma.hegde@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
H A Dplat.cdiff c1691730d9ffb8e813018235ad1b9754104cf67b Mon Oct 21 13:14:27 CEST 2024 Suma Hegde <suma.hegde@amd.com> platform/x86/amd/hsmp: Use dev_groups in the driver structure

Move out of device_add_group() variants, instead assign static array of
attribute groups to .dev_groups in platform_driver structure.
Then use is_visible to enable only the necessary files on the platform.

.read() and .is_bin_visibile() have slightly different
implemetations on ACPI and non-ACPI system, so move them
to respective files.

Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Link: https://lore.kernel.org/r/20241021111428.2676884-10-suma.hegde@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
H A Dhsmp.cdiff c1691730d9ffb8e813018235ad1b9754104cf67b Mon Oct 21 13:14:27 CEST 2024 Suma Hegde <suma.hegde@amd.com> platform/x86/amd/hsmp: Use dev_groups in the driver structure

Move out of device_add_group() variants, instead assign static array of
attribute groups to .dev_groups in platform_driver structure.
Then use is_visible to enable only the necessary files on the platform.

.read() and .is_bin_visibile() have slightly different
implemetations on ACPI and non-ACPI system, so move them
to respective files.

Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Link: https://lore.kernel.org/r/20241021111428.2676884-10-suma.hegde@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>