On Mon, Nov 19, 2012 at 01:26:26PM -0500, Bill Pemberton wrote:
> CONFIG_HOTPLUG is going away as an option so __devexit is no
> longer needed.
>
> Signed-off-by: Bill Pemberton
> Cc: David Airlie
> Cc: Olof Johansson
> Cc: Mattia Dongili
> Cc: Kent Yoder
&g
> > James did accept my pull request, so these are already in
> > security-next...
>
> For the driver itself, it's not a big issue (though I did found issue
> while reviewing it so it will need another round of updates). For the
> code that changes arch/powerpc, especially prom_init.c, that stuf
On Wed, Sep 05, 2012 at 01:40:07PM +1000, Benjamin Herrenschmidt wrote:
> On Wed, 2012-08-22 at 16:42 -0500, Kent Yoder wrote:
> > On Wed, Aug 22, 2012 at 04:17:43PM -0500, Ashley Lai wrote:
> > > This patch adds a new device driver to support IBM virtual TPM
> > > (vT
On Wed, Aug 22, 2012 at 04:17:43PM -0500, Ashley Lai wrote:
> This patch adds a new device driver to support IBM virtual TPM
> (vTPM) for PPC64. IBM vTPM is supported through the adjunct
> partition with firmware release 740 or higher. With vTPM
> support, each lpar is able to have its own vTPM w
sted on Power7+ system with firmware level ZM770_001.
>
> Applied to Kent Yoder tree at:
> https://github.com/shpedoikal/linux/tree/v3.6-rc1-tpmdd-staging
Thanks Ashley, I've added the patches to that tree.
Kent
>
> Ashley Lai (3):
> drivers/char/tpm: Add new device driver
Hi Ashley,
> diff --git a/drivers/char/tpm/Makefile b/drivers/char/tpm/Makefile
> index 547509d..b53da57 100644
> --- a/drivers/char/tpm/Makefile
> +++ b/drivers/char/tpm/Makefile
> @@ -2,9 +2,15 @@
> # Makefile for the kernel tpm device drivers.
> #
> obj-$(CONFIG_TCG_TPM) += tpm.o
> +obj-$(CO
On Wed, 2012-06-13 at 13:22 -0500, Seth Jennings wrote:
> Cc: Kent Yoder
> Signed-off-by: Seth Jennings
> ---
> drivers/crypto/Kconfig |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Kent Yoder
> diff --git a/drivers/crypto/Kconfig b/drivers/cryp
kefile where it
> belongs.
Acked-by: Kent Yoder
> Cc: Kent Yoder
> Signed-off-by: Seth Jennings
> ---
> arch/powerpc/Makefile |1 -
> drivers/crypto/Makefile |3 ++-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/powerpc/Makefi
These routines add support for SHA-512 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha512.c | 265 +
1 files changed, 265 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in GCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-gcm.c | 353
1 files changed, 353 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for SHA-256 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha256.c | 246 +
1 files changed, 246 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in ECB mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ecb.c | 139
1 files changed, 139 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in XCBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-xcbc.c | 236 +++
1 files changed, 236 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-cbc.c | 141
1 files changed, 141 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CTR mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ctr.c | 178
1 files changed, 178 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ccm.c | 468
1 files changed, 468 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add the base device driver code supporting the Power7+
in-Nest encryption accelerator (nx) device.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx.c| 716 +
drivers/crypto/nx/nx.h| 193 +++
drivers/crypto/nx
These routines add support for AES in CCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ccm.c | 465
1 files changed, 465 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
t upstream
Kent Yoder (12):
powerpc: crypto: nx driver code supporting nx encryption
powerpc: crypto: AES-CBC mode routines for nx encryption
powerpc: crypto: AES-CCM mode routines for nx encryption
powerpc: crypto: AES-CTR mode routines for nx encryption
powerpc: crypto: AES-ECB mode ro
This patch adds the cas bits to advertise support for the Platform
Facilities Option (PFO) based encryption accelerator device. The nx
device driver provides support for this hardware feature.
Signed-off-by: Kent Yoder
---
arch/powerpc/kernel/prom_init.c |3 ++-
1 files changed, 2
These routines add debugfs files supporting the Power7+ in-Nest encryption
accelerator driver.
Signed-off-by: Kent Yoder
---
Documentation/ABI/testing/debugfs-pfo-nx-crypto | 45 ++
drivers/crypto/nx/nx_debugfs.c | 103 +++
2 files changed, 148
These routines add support for SHA-512 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha512.c | 263 +
1 files changed, 263 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for SHA-256 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha256.c | 244 +
1 files changed, 244 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These files support configuring and building the nx device driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/Makefile |1 +
drivers/crypto/Kconfig | 17 +
drivers/crypto/nx/Makefile | 11 +++
3 files changed, 29 insertions(+), 0 deletions(-)
create
These routines add support for AES in XCBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-xcbc.c | 234 +++
1 files changed, 234 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in GCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-gcm.c | 353
1 files changed, 353 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-cbc.c | 140
1 files changed, 140 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in ECB mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ecb.c | 138
1 files changed, 138 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CTR mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ctr.c | 177
1 files changed, 177 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add the base device driver code supporting the Power7+
in-Nest encryption accelerator (nx) device.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx.c| 711 +
drivers/crypto/nx/nx.h| 192 +++
drivers/crypto/nx
This patch adds the cas bits to advertise support for the Platform
Facilities Option (PFO) based random number generator accerator.
The pseries-rng driver provides support for this hardware feature.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/kernel/prom_init.c
Adds support for the Platform Facilities Option (PFO)-based hardware
random number generator for POWER hardware.
Signed-off-by: Michael Neuling
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
drivers/char/hw_random/Kconfig | 13 +
drivers/char/hw_random/Makefile
igned-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/pSeries_reconfig.h | 12
arch/powerpc/platforms/pseries/reconfig.c |7 +++
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/include/asm/pSeries_reconfig.h
b
.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/vio.h | 46 +++
arch/powerpc/kernel/vio.c | 273 ++--
2 files changed, 280 insertions(+), 39 deletions(-)
diff --git a/arch/powerpc/include/asm/vio.h b/arch
The Platform Facilities Option (PFO) adds several new h_calls and
more return codes.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/hvcall.h | 25 +++--
1 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc
Hi Dave,
On Tue, 2012-04-10 at 14:41 -0400, David Miller wrote:
> From: Kent Yoder
> Date: Tue, 10 Apr 2012 10:10:57 -0500
>
> > These routines add the base device driver code supporting the Power7+
> > in-Nest encryption accelerator (nx) device.
> >
> > Sig
The Platform Facilities Option (PFO) adds several new h_calls and
more return codes.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/hvcall.h | 25 +++--
1 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc
.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/vio.h | 46 +++
arch/powerpc/kernel/vio.c | 273 ++--
2 files changed, 280 insertions(+), 39 deletions(-)
diff --git a/arch/powerpc/include/asm/vio.h b/arch
These routines add support for SHA-256 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha256.c | 244 +
1 files changed, 244 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These files support configuring and building the nx device driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/Makefile |1 +
drivers/crypto/Kconfig | 17 +
drivers/crypto/nx/Makefile | 11 +++
3 files changed, 29 insertions(+), 0 deletions(-)
create
These routines add support for SHA-512 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha512.c | 263 +
1 files changed, 263 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add debugfs files supporting the Power7+ in-Nest encryption
accelerator driver.
Signed-off-by: Kent Yoder
---
Documentation/ABI/testing/debugfs-pfo-nx-crypto | 45 ++
drivers/crypto/nx/nx_debugfs.c | 103 +++
2 files changed, 148
These routines add support for AES in ECB mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ecb.c | 138
1 files changed, 138 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
This patch adds the cas bits to advertise support for the Platform
Facilities Option (PFO) based encryption accelerator device. The nx
device driver provides support for this hardware feature.
Signed-off-by: Kent Yoder
---
arch/powerpc/kernel/prom_init.c |3 ++-
1 files changed, 2
These routines add support for AES in XCBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-xcbc.c | 234 +++
1 files changed, 234 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
This patch adds the cas bits to advertise support for the Platform
Facilities Option (PFO) based random number generator accerator.
The pseries-rng driver provides support for this hardware feature.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/kernel/prom_init.c
Adds support for the Platform Facilities Option (PFO)-based hardware
random number generator for POWER hardware.
Signed-off-by: Michael Neuling
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
drivers/char/hw_random/Kconfig | 13 +
drivers/char/hw_random/Makefile
These routines add the base device driver code supporting the Power7+
in-Nest encryption accelerator (nx) device.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx.c| 711 +
drivers/crypto/nx/nx.h| 192 +++
drivers/crypto/nx
These routines add support for AES in CTR mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ctr.c | 177
1 files changed, 177 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in GCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-gcm.c | 353
1 files changed, 353 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-cbc.c | 140
1 files changed, 140 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ccm.c | 465
1 files changed, 465 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
igned-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/pSeries_reconfig.h | 12
arch/powerpc/platforms/pseries/reconfig.c |7 +++
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/include/asm/pSeries_reconfig.h
b
(Rob Jennings)
- get rid of bitfields in nx_csbcpb.h (Rob Jennings)
- Compile against Ben Herrenschmidt's ppc device naming patch
- Rebase against latest upstream
Kent Yoder (12):
powerpc: crypto: AES-CBC mode routines for nx encryption
powerpc: crypto: AES-CCM mode routines for nx
>
> From what I can tell this isn't ISA level instructions and thus should NOT be
> in arch/powerpc. This should be moved into drivers/crypto
That makes sense. I'll move them over in my next submission.
Kent
> - k
___
Linuxppc-dev mailing list
Hi Kumar,
> Is there a reason this isn't in drivers/crypto/
Other arch-specific dirs have their crypto subdir as well such as
arch/s390. I was just matching that.
Kent
> - k
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://list
Hi Greg,
On Wed, 2012-03-21 at 15:11 -0700, Greg KH wrote:
> On Wed, Mar 21, 2012 at 04:41:20PM -0500, Kent Yoder wrote:
> > These routines add sysfs files supporting the Power7+ in-Nest encryption
> > accelerator driver.
> >
> > Signed-off-by: Kent Yoder
> > -
This patch adds the cas bits to advertise support for the Platform
Facilities Option (PFO) based encryption accelerator device. The nx
device driver provides support for this hardware feature.
Signed-off-by: Kent Yoder
---
arch/powerpc/kernel/prom_init.c |8 +++-
1 files changed, 7
These routines add sysfs files supporting the Power7+ in-Nest encryption
accelerator driver.
Signed-off-by: Kent Yoder
---
Documentation/powerpc/pfo-nx-crypto.txt | 52
arch/powerpc/crypto/nx/nx_sysfs.c | 194 +++
2 files changed, 246 insertions
These routines add the base device driver code supporting the Power7+
in-Nest encryption accelerator (nx) device.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx.c| 710
arch/powerpc/crypto/nx/nx.h| 190 ++
arch/powerpc
These files support configuring and building the nx device driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/Makefile |1 +
arch/powerpc/crypto/nx/Makefile | 11 +++
drivers/crypto/Kconfig | 18 ++
3 files changed, 30 insertions(+), 0
These routines add support for SHA-256 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-sha256.c | 240
1 files changed, 240 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add support for SHA-512 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-sha512.c | 259
1 files changed, 259 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add support for AES in ECB mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-ecb.c | 133 +++
1 files changed, 133 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add support for AES in XCBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-xcbc.c | 230 ++
1 files changed, 230 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add support for AES in GCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-gcm.c | 352 +++
1 files changed, 352 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add support for AES in CTR mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-ctr.c | 175 +++
1 files changed, 175 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add support for AES in CCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-ccm.c | 466 +++
1 files changed, 466 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add support for AES in CBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-cbc.c | 135 +++
1 files changed, 135 insertions(+), 0 deletions(-)
create mode 100644 arch/po
es to ofdt properties.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/pSeries_reconfig.h | 12
arch/powerpc/platforms/pseries/reconfig.c |7 +++
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/includ
From: Robert Jennings
This patch adds the cas bits to advertise support for the Platform
Facilities Option (PFO) based random number generator accerator.
The pseries-rng driver provides support for this hardware feature.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch
From: Michael Neuling
Adds support for the Platform Facilities Option (PFO)-based hardware
random number generator for POWER hardware.
Signed-off-by: Michael Neuling
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
drivers/char/hw_random/Kconfig | 13 +
drivers/char
From: Robert Jennings
The Platform Facilities Option (PFO) adds several new h_calls and
more return codes.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/hvcall.h | 25 +++--
1 files changed, 23 insertions(+), 2 deletions(-)
diff
synchronous hypervisor calls.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/vio.h | 46 +++
arch/powerpc/kernel/vio.c | 274 ++--
2 files changed, 280 insertions(+), 40 deletions(-)
diff --git a/arch/powerpc
random number generator and the cryptographic
accelerators.
Please cc me on replies.
Thanks,
Kent
Kent Yoder (12):
powerpc: crypto: AES-CBC mode routines for nx encryption
powerpc: crypto: AES-CCM mode routines for nx encryption
powerpc: crypto: AES-CTR mode routines for nx encryption
75 matches
Mail list logo