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-next>] [day] [month] [year] [list]
Message-Id: <20220121112238.47281-1-abel.vesa@nxp.com>
Date:   Fri, 21 Jan 2022 13:22:35 +0200
From:   Abel Vesa <abel.vesa@....com>
To:     Shawn Guo <shawnguo@...nel.org>,
        Sascha Hauer <s.hauer@...gutronix.de>,
        Fabio Estevam <festevam@...il.com>,
        Lucas Stach <l.stach@...gutronix.de>
Cc:     Pengutronix Kernel Team <kernel@...gutronix.de>,
        NXP Linux Team <linux-imx@....com>,
        Frieder Schrempf <frieder.schrempf@...tron.de>,
        Ezequiel Garcia <ezequiel@...guardiasur.com.ar>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        linux-arm-kernel@...ts.infradead.org
Subject: [RFC 0/3] soc: imx: Refactor BLK CTRL driver

This splits the SoC specific parts into separate drivers for i.MX8MM and
i.MX8MN. Should be more readable and easier to maintain.

As for the i.MX8MP BLK CTRL driver (sent by Lucas here:
https://lore.kernel.org/linux-arm-kernel/20220119134027.2931945-7-l.stach@pengutronix.de/raw)
It can remain as a separate driver until we figure out what is the
overlap and how can we make it use the generic part.

This patchset doesn't rely on the above-mentioned patch and does not
impact it in any way.

Abel Vesa (3):
  soc: imx: make i.MX8MM BLK CTRL a separate driver
  soc: imx: make i.MX8MN BLK CTRL a separate driver
  soc: imx: Rename generic BLK CTRL driver to suggest future usability

 drivers/soc/imx/Kconfig           |  14 +
 drivers/soc/imx/Makefile          |   4 +-
 drivers/soc/imx/imx-blk-ctrl.c    | 322 ++++++++++++++++
 drivers/soc/imx/imx-blk-ctrl.h    |  72 ++++
 drivers/soc/imx/imx8m-blk-ctrl.c  | 617 ------------------------------
 drivers/soc/imx/imx8mm-blk-ctrl.c | 173 +++++++++
 drivers/soc/imx/imx8mn-blk-ctrl.c | 101 +++++
 7 files changed, 685 insertions(+), 618 deletions(-)
 create mode 100644 drivers/soc/imx/imx-blk-ctrl.c
 create mode 100644 drivers/soc/imx/imx-blk-ctrl.h
 delete mode 100644 drivers/soc/imx/imx8m-blk-ctrl.c
 create mode 100644 drivers/soc/imx/imx8mm-blk-ctrl.c
 create mode 100644 drivers/soc/imx/imx8mn-blk-ctrl.c

-- 
2.31.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ