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] [day] [month] [year] [list]
Message-ID: <CH2PR12MB389596CA10C6B487EA7A0B5BD7179@CH2PR12MB3895.namprd12.prod.outlook.com>
Date:   Fri, 2 Dec 2022 20:08:27 +0000
From:   Asmaa Mnebhi <asmaa@...dia.com>
To:     Asmaa Mnebhi <asmaa@...dia.com>,
        "linus.walleij@...aro.org" <linus.walleij@...aro.org>,
        "linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "andy.shevchenko@...il.com" <andy.shevchenko@...il.com>,
        "bgolaszewski@...libre.com" <bgolaszewski@...libre.com>,
        "linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>
Subject: RE: [PATCH v1 0/2] Add NVIDIA BlueField-3 GPIO driver and pin
 controller

Hi,

Could you please review this patch?

Thanks.
Asmaa

-----Original Message-----
From: Asmaa Mnebhi <asmaa@...dia.com> 
Sent: Wednesday, October 26, 2022 1:29 PM
To: linus.walleij@...aro.org; linux-gpio@...r.kernel.org; linux-kernel@...r.kernel.org; andy.shevchenko@...il.com; bgolaszewski@...libre.com; linux-acpi@...r.kernel.org
Cc: Asmaa Mnebhi <asmaa@...dia.com>
Subject: [PATCH v1 0/2] Add NVIDIA BlueField-3 GPIO driver and pin controller
Importance: High

This series of patches addresses maintainers' comments from a previous patch which supported the GPIO driver for BlueField-3 SoC:
"[PATCH v1 1/1] Add driver for Mellanox BlueField-3 GPIO controller"
Instead of creating v2 for that patch, I am creating a new series starting patch v1 because there are 2 drivers involved.

It was suggested to follow the linux gpio standards, and separate the pin controller functionality from the gpio functionality.
Instead of creating a followup v2 patch, I am creating a new series because there are 2 drivers (2 patches) involved now:
1) NVIDIA BlueField-3 GPIO driver as front end
2) NVIDIA BlueField-3 pin controller as back end

Moved the FW_CONTROL_CLEAR/SET code to the pin controller so that there are 2 GPIO mux selectors:
1) default hardware functionality
2) gpio functionality where software can control the GPIO value when
   the direction is set to output.

Removed support to the GPIO sysfs since its use is deprecated and risky.
Instead, used libgpiod to test this code.

Asmaa Mnebhi (2):
  Support NVIDIA BlueField-3 GPIO controller
  Support NVIDIA BlueField-3 pinctrl driver

 drivers/gpio/Kconfig            |   7 +
 drivers/gpio/Makefile           |   1 +
 drivers/gpio/gpio-mlxbf3.c      | 314 ++++++++++++++++++++++++++++
 drivers/pinctrl/Kconfig         |   9 +
 drivers/pinctrl/Makefile        |   1 +
 drivers/pinctrl/pinctrl-mlxbf.c | 353 ++++++++++++++++++++++++++++++++
 6 files changed, 685 insertions(+)
 create mode 100644 drivers/gpio/gpio-mlxbf3.c  create mode 100644 drivers/pinctrl/pinctrl-mlxbf.c

--
2.30.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ