lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <zwqjtobvlqhvnfv6xf3cjhq5c3xab7aoyx2fuitmhkxfyjl6ro@p7zsqrim3ad7>
Date: Mon, 9 Dec 2024 23:09:43 -0300
From: Kurt Borja <kuurtb@...il.com>
To: Armin Wolf <W_Armin@....de>
Cc: jlee@...e.com, farhan.anwar8@...il.com, rayanmargham4@...il.com, 
	hdegoede@...hat.com, ilpo.jarvinen@...ux.intel.com, 
	platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 1/5] platform/x86: acer-wmi: Add support for Acer
 PH14-51

On Tue, Dec 10, 2024 at 01:16:53AM +0100, Armin Wolf wrote:
> Add the Acer Predator PT14-51 to acer_quirks to provide support
> for the turbo button and predator_v4 hwmon interface.

Reviewed-by: Kurt Borja <kuurtb@...il.com>

> 
> Reported-by: Rayan Margham <rayanmargham4@...il.com>
> Closes: https://lore.kernel.org/platform-driver-x86/CACzB==6tUsCnr5musVMz-EymjTUCJfNtKzhMFYqMRU_h=kydXA@mail.gmail.com
> Tested-by: Rayan Margham <rayanmargham4@...il.com>
> Signed-off-by: Armin Wolf <W_Armin@....de>
> ---
>  drivers/platform/x86/acer-wmi.c | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
> index d09baa3d3d90..5cff538ee67f 100644
> --- a/drivers/platform/x86/acer-wmi.c
> +++ b/drivers/platform/x86/acer-wmi.c
> @@ -393,6 +393,13 @@ static struct quirk_entry quirk_acer_predator_ph315_53 = {
>  	.gpu_fans = 1,
>  };
> 
> +static struct quirk_entry quirk_acer_predator_pt14_51 = {
> +	.turbo = 1,
> +	.cpu_fans = 1,
> +	.gpu_fans = 1,
> +	.predator_v4 = 1,
> +};
> +
>  static struct quirk_entry quirk_acer_predator_v4 = {
>  	.predator_v4 = 1,
>  };
> @@ -600,6 +607,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
>  		},
>  		.driver_data = &quirk_acer_predator_v4,
>  	},
> +	{
> +		.callback = dmi_matched,
> +		.ident = "Acer Predator PT14-51",
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "Predator PT14-51"),
> +		},
> +		.driver_data = &quirk_acer_predator_pt14_51,
> +	},
>  	{
>  		.callback = set_force_caps,
>  		.ident = "Acer Aspire Switch 10E SW3-016",
> --
> 2.39.5
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ