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]
Date:	Thu,  7 Jul 2016 12:17:47 -0500
From:	Franklin S Cooper Jr <fcooper@...com>
To:	tony@...mide.com, robh+dt@...nel.org, broonie@...nel.org,
	linux-omap@...r.kernel.org, devicetree@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	linux-spi@...r.kernel.org, andy.shevchenko@...il.com,
	robert.jarzmik@...e.fr, nsekhar@...com
Cc:	Franklin S Cooper Jr <fcooper@...com>
Subject: [RFC] [PATCH v3 0/4] spi: omap2-mcspi: Use the SPI framework to handle DMA mapping

This patchset switches omap2-mcspi from handling DMA mapping internally to
using the mechanism built into the SPI framework.

However, this is slightly complex since some OMAP SoCs have a quirk that
needs to be handled. In the driver on certain OMAP SOCs if certain
conditions are met the DMA should transfer one or two less elements
when reading from the SPI. The remaining bytes are read in CPU mode.
Sg_split is used to implement this quirk without altering the original
sgl.

Note: The first patch looks to already have been accepted.

V2 changes:
Save page_link value if page_link doesn't point to chained sg_list

v3 changes:
Switch from using custom sg_table clone function to sg_split that already
exist within the kernel.

Franklin S Cooper Jr (4):
  spi: omap2-mcspi: Add comments for RX only DMA buffer workaround
  spi: spi-omap2-mcspi: Select SPI_SPLIT
  spi: omap2-mcspi: Use the SPI framework to handle DMA mapping
  ARM: dts: am335x-icev2: Add SPI based NOR

 arch/arm/boot/dts/am335x-icev2.dts |  39 ++++++++++
 drivers/spi/Kconfig                |   1 +
 drivers/spi/spi-omap2-mcspi.c      | 145 ++++++++++++++++++-------------------
 3 files changed, 109 insertions(+), 76 deletions(-)

-- 
2.7.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ