Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1694441ybh; Tue, 14 Jul 2020 05:02:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7PDHZDh/+6nuHIyPVVlPgq56b6KpRixSoMETkLaRyJ8+cLgfVJeJKVnwLOjY2AhgVi7QJ X-Received: by 2002:a17:906:6d0e:: with SMTP id m14mr4051124ejr.251.1594728168592; Tue, 14 Jul 2020 05:02:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594728168; cv=none; d=google.com; s=arc-20160816; b=zx0yaQctPx0ySJU6Lx5zqCwK0vtestRnCerGi2t4FmQsW0Kj00fi0fHSEB6p0t0mVg zFe8DN1uuj4g13FyFe0RFYjJ4NibDNgwxHKpr5gQbsQ3+RQgk9Tp0fC4ZCUQrCxV+iTm Dson75q1SLhMIt9+39QszGEsca/FC4msSjFNbrdpEkU8ahbNq1LrHl7Qfaj5U56dhPZv AEu60JaSYnqZhNmcRiLf9CC/IUet7FMRbj2GdcCkYEnsaI45dEansKypSNWxdLtf8h2i Zf65W/1Ka2ggNOH3CsayK5h+5YuQrYYyWgRa3baPZbma6d19Oq/7KoxjKrw+bRyvyPtX exUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=59pVKR3voKrOk2EEXDY6MkcPfILkbKxrtWV2u4GGIP8=; b=wkD6CSAGX1ZA60DXnHFiDYORIeVdDUbUdreRQ/ZhWQ5y479uow/DHSXV8/yNLJkVpe QLDzWFN21SqThvoIwsmhbTSS79Krrkxwak0WhWfQuVGeu9vuOE0E3kJ7WDTy4hShb52i ffkAnEOD5q6SyZv4yXO3mRuA9Gu+XjQP6U4GMaBlNulqZ9iwcvTOOyb3mA7RJV7+4Rux +TToHBJUoF58ymy8YyrSUnRXtsEc2S8ENkvwszb7QGBAFAe7dIsRKvvGsQSM0kGg9UtX XToqFRoQlkcQoEnNmQiD1EMbQBShTkvO45/Zz7baJR9KpkTJYou7sjDuGvwok8hPTrwL P3Hw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ec22si11024625ejb.23.2020.07.14.05.02.24; Tue, 14 Jul 2020 05:02:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728049AbgGNMCI (ORCPT + 99 others); Tue, 14 Jul 2020 08:02:08 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:52543 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726041AbgGNMCI (ORCPT ); Tue, 14 Jul 2020 08:02:08 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from vadimp@mellanox.com) with SMTP; 14 Jul 2020 15:02:05 +0300 Received: from r-build-lowlevel.mtr.labs.mlnx. (r-build-lowlevel.mtr.labs.mlnx [10.209.0.190]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 06EC25dd004353; Tue, 14 Jul 2020 15:02:05 +0300 From: Vadim Pasternak To: andy@infradead.org, dvhart@infradead.org Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Vadim Pasternak Subject: [PATCH platform-next v2 00/11] platform/x86: Add new features for Mellanox systems Date: Tue, 14 Jul 2020 15:01:52 +0300 Message-Id: <20200714120203.10352-1-vadimp@mellanox.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patchset adds new features for the existing Mellanox systems. Patch #1 add string helpers for upper/lower conversion. Patch #2 add tests for these helpers. Patch #3 updates license for module 'mlxreg-hotplug'. Patch #4 allows to configure number of hotplug 'sysfs' attributes for the particular system class according to the hardware data for the specific system from this class, instead of configuring it up-to maximum number in the class. Patch #5 adds environmental data to hotplug 'uevent'. Patches #6-#7 add more definitions for system attributes. Patch #8 extends 'mlxreg-io' driver with complex attributes support. Patch #9 extends documentation with new attributes. Patches #10-#11 extend FAN platform data with register presence field. Vadim Pasternak (11): lib/string_helpers: Introduce string_upper() and string_lower() helpers lib/test-string_helpers.c: Add string_upper() and string_lower() tests platform/mellanox: mlxreg-hotplug: Modify module license platform/mellanox: mlxreg-hotplug: Use capability register for attribute creation platform/mellanox: mlxreg-hotplug: Add environmental data to uevent platform_data/mlxreg: Add support for complex attributes platform/x86: mlx-platform: Add more definitions for system attributes platform/mellanox: mlxreg-io: Add support for complex attributes Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces platform_data/mlxreg: Add presence register field for FAN devices platform/x86: mlx-platform: Extend FAN platform data description Documentation/ABI/stable/sysfs-driver-mlxreg-io | 17 +++ drivers/platform/mellanox/mlxreg-hotplug.c | 114 ++++++++++--------- drivers/platform/mellanox/mlxreg-io.c | 45 ++++++-- drivers/platform/x86/mlx-platform.c | 141 ++++++++++++++++++++++++ include/linux/platform_data/mlxreg.h | 4 + include/linux/string_helpers.h | 15 +++ lib/test-string_helpers.c | 67 +++++++++++ 7 files changed, 341 insertions(+), 62 deletions(-) -- 2.11.0