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>] [day] [month] [year] [list]
Message-ID: <20201130210644.GA41165@roeck-us.net>
Date:   Mon, 30 Nov 2020 13:06:44 -0800
From:   Guenter Roeck <linux@...ck-us.net>
To:     Joe Jamison <joejamison717@...il.com>
Cc:     rydberg@...math.org, jdelvare@...e.com,
        linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org,
        joe@...klab.com
Subject: Re: [PATCH] hwmon: (applesmc) Add DMI product matches for
 Intel-based Xserves (non-RackMac*)

On Sat, Nov 28, 2020 at 10:54:03AM -0600, Joe Jamison wrote:
> This patch adds the DMI Product ID for Intel-based Xserve machines.
> They use the same SMC accessible from the same data ports.
> 
> The 'Xserve' product ID only resolves to SMC-containing
> Intel-based Xserves, as the PowerPC machines are identified
> by the 'RackMac' identifier.
> 
> Tested on: Xserve3,1
> 
> Tested-by: Joe Jamison <joe@...klab.com> # Xserve3,1
> Signed-off-by: Joe Jamison <joe@...klab.com>

Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/applesmc.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
> index 79b498f816fe..89207af81c48 100644
> --- a/drivers/hwmon/applesmc.c
> +++ b/drivers/hwmon/applesmc.c
> @@ -1299,6 +1299,10 @@ static const struct dmi_system_id applesmc_whitelist[] __initconst = {
>  	  DMI_MATCH(DMI_BOARD_VENDOR, "Apple"),
>  	  DMI_MATCH(DMI_PRODUCT_NAME, "iMac") },
>  	},
> +	{ applesmc_dmi_match, "Apple Xserve", {
> +	  DMI_MATCH(DMI_BOARD_VENDOR, "Apple"),
> +	  DMI_MATCH(DMI_PRODUCT_NAME, "Xserve") },
> +	},
>  	{ .ident = NULL }
>  };
>  
> -- 
> 2.20.1
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ