Re: [PATCH] platform/x86: gigabyte-wmi: add support for B450M S2H V2

From: Hans de Goede
Date: Wed Aug 18 2021 - 13:42:39 EST


Hi,

On 8/18/21 6:44 PM, Thomas Weißschuh wrote:
> Reported as working here:
> https://github.com/t-8ch/linux-gigabyte-wmi-driver/issues/1#issuecomment-901207693
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>

Thank you for your patch, I've applied this patch to my review-hans
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note I had to apply this manual since the for-next branch already
had your patch to add support for the "B550 AORUS ELITE V2" and this
patch was based on an older version of gigabyte-wmi.c without this so
the context did not match.

I've also added this to the fixes branch so that it will be
included in the next (and last) fixes-pullreq to Linus for 5.14 .

Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.

Regards,

Hans



> ---
> drivers/platform/x86/gigabyte-wmi.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/platform/x86/gigabyte-wmi.c b/drivers/platform/x86/gigabyte-wmi.c
> index 5529d7b0abea..a2beaea18d2f 100644
> --- a/drivers/platform/x86/gigabyte-wmi.c
> +++ b/drivers/platform/x86/gigabyte-wmi.c
> @@ -140,6 +140,7 @@ static u8 gigabyte_wmi_detect_sensor_usability(struct wmi_device *wdev)
> }}
>
> static const struct dmi_system_id gigabyte_wmi_known_working_platforms[] = {
> + DMI_EXACT_MATCH_GIGABYTE_BOARD_NAME("B450M S2H V2"),
> DMI_EXACT_MATCH_GIGABYTE_BOARD_NAME("B550 AORUS ELITE"),
> DMI_EXACT_MATCH_GIGABYTE_BOARD_NAME("B550 GAMING X V2"),
> DMI_EXACT_MATCH_GIGABYTE_BOARD_NAME("B550M AORUS PRO-P"),
>
> base-commit: 009c9aa5be652675a06d5211e1640e02bbb1c33d
>