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:   Tue,  3 Sep 2019 19:35:03 -0700
From:   Andrey Smirnov <andrew.smirnov@...il.com>
To:     linux-crypto@...r.kernel.org
Cc:     Andrey Smirnov <andrew.smirnov@...il.com>,
        Chris Healy <cphealy@...il.com>,
        Lucas Stach <l.stach@...gutronix.de>,
        Horia Geantă <horia.geanta@....com>,
        Herbert Xu <herbert@...dor.apana.org.au>,
        Iuliana Prodan <iuliana.prodan@....com>,
        linux-kernel@...r.kernel.org
Subject: [PATCH 00/12] CAAM bugfixes, small improvements

Everyone:

This series bugfixes and small improvement I made while doing more
testing of CAAM code:

 - "crypto: caam - make sure clocks are enabled first"

   fixes a recent regression (and, conincidentally a leak cause by one
   of my i.MX8MQ patches)

 - "crypto: caam - use devres to unmap JR's registers"
   "crypto: caam - check irq_of_parse_and_map for errors"

   are small improvements

 - "crypto: caam - dispose of IRQ mapping only after IRQ is freed"

   fixes a bug introduced by my i.MX8MQ series

 - "crypto: caam - use devres to unmap memory"
   "crypto: caam - use devres to remove debugfs"
   "crypto: caam - use devres to de-initialize the RNG"
   "crypto: caam - use devres to de-initialize QI"
   "crypto: caam - user devres to populate platform devices"
   "crypto: caam - populate platform devices last"

   are devres conversions/small improvments

 - "crypto: caam - convert caamrng to platform device"
   "crypto: caam - change JR device ownership scheme"

   are more of an RFC than proper fixes. I don't have a very high
   confidence in those fixes, but I think they are a good conversation
   stater about the best approach to fix those issues

Thanks,
Andrey Smirnov

Andrey Smirnov (12):
  crypto: caam - make sure clocks are enabled first
  crypto: caam - use devres to unmap JR's registers
  crypto: caam - check irq_of_parse_and_map for errors
  crypto: caam - dispose of IRQ mapping only after IRQ is freed
  crypto: caam - use devres to unmap memory
  crypto: caam - use devres to remove debugfs
  crypto: caam - use devres to de-initialize the RNG
  crypto: caam - use devres to de-initialize QI
  crypto: caam - user devres to populate platform devices
  crypto: caam - populate platform devices last
  crypto: caam - convert caamrng to platform device
  crypto: caam - change JR device ownership scheme

 drivers/crypto/caam/caamrng.c | 102 +++++-------
 drivers/crypto/caam/ctrl.c    | 294 ++++++++++++++++++----------------
 drivers/crypto/caam/intern.h  |   4 -
 drivers/crypto/caam/jr.c      |  90 ++++++++---
 drivers/crypto/caam/qi.c      |   8 +-
 drivers/crypto/caam/qi.h      |   1 -
 6 files changed, 267 insertions(+), 232 deletions(-)

-- 
2.21.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ