Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp325958ybg; Mon, 1 Jun 2020 02:21:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyc/w1JMytyXrQQeE0d+LySARaJhwjPZWQvOrIeCnQ9JjE+SOnCeOw55XtAEYTtOm/X+mjW X-Received: by 2002:a17:906:f74a:: with SMTP id jp10mr12252800ejb.43.1591003268930; Mon, 01 Jun 2020 02:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591003268; cv=none; d=google.com; s=arc-20160816; b=PvxJ8dwq0qxooqMGgfbyJdNQ32HK9Eo22XVy+e8L9kLurXAyp6qL9tgGRj3PtJmixU 10vPNa3j8Q2JXrIvUl3n0sbPE+yWTJkFZiDyCO9IgBtbgPOMm1YzhxBnEVG7UWaikIgQ JPs4DA3a3qVwLVYr7gfxvvekH1yK3eK1N3E8gtfNO4Cd4j5BIj0IqNaz84wyWXIO1oay VA3/evUC0DaRL9erOyQooyrgoksSHPYIUf7M2Ooax+BCLo4ewpC7XcefA08bNWBeNaQf Qx8+BCI+rVhGB/XVbJdS1D5bFOCzKCeySoJ6c3w/FiSmcnfqVpQz4j4HtRdV2Aa+LzrM cSyg== 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=tiQbPp4c2rnXGY+FzgZEz04m1/qcNjW7j3UKGEsTJLE=; b=TvF5SsOrR9qKDW9E21Obze7R4VeMhI1rw6S3x7s3UdRNGIXzORMoFhrA5QA8EvF0cq Xn7po5nxG7f9nATobEOALMcHzb2Z3/BVjuNPFBoXXlj19qxvekegbniTyR3v0VITq8qF ew09ZcNJzykDrKARJgQxXaHuKHi3iPA5LUhaXEZIbKeO5pNe9vPZ9pxR5OMGfNa9l1Pi PrfMeywqDqzChrj0O3Z/Tngyl+9UrAZVRGMPnz4Srj8Per0xePhMo1REComjE2E2lsEh xYRV3Xz+YQvfhrZnGhG9Aj6Y8Jagodk1brN6P7R0MzZt3orDWEJkUo97hqcfgbvjnYil NUCw== 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 4si10034750edw.72.2020.06.01.02.20.46; Mon, 01 Jun 2020 02:21:08 -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 S1726100AbgFAJTC (ORCPT + 99 others); Mon, 1 Jun 2020 05:19:02 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:51528 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726011AbgFAJTB (ORCPT ); Mon, 1 Jun 2020 05:19:01 -0400 Received: from Internal Mail-Server by MTLPINE2 (envelope-from vadimp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 1 Jun 2020 12:18:54 +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 0519IsSo003135; Mon, 1 Jun 2020 12:18:54 +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 v1 0/8] platform/x86: Add new features for Mellanox systems Date: Mon, 1 Jun 2020 12:18:43 +0300 Message-Id: <20200601091851.5491-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 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 #2 adds environmental data to hotplug uevent. Patches #3-#4 adds more definitions for system attributes. Patch #5 extends 'mlxreg-io' driver with complex attributes support. Patches #6 extends documentation with new attributes. Patches #7-#8 extends FAN platform data with register presence field. Vadim Pasternak (8): 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 | 81 ++++++++++---- drivers/platform/mellanox/mlxreg-io.c | 47 ++++++-- drivers/platform/x86/mlx-platform.c | 141 ++++++++++++++++++++++++ include/linux/platform_data/mlxreg.h | 4 + 5 files changed, 258 insertions(+), 32 deletions(-) -- 2.11.0