From: Mathias Leblanc
* STMicroelectronics version 1.2.0, Copyright (C) 2013
* STMicroelectronics comes with ABSOLUTELY NO WARRANTY.
* This is free software, and you are welcome to redistribute it
* under certain conditions.
This is the driver for TPM chip from ST Microelectronics.
If you
From: Mathias Leblanc mathias.lebl...@st.com
* STMicroelectronics version 1.2.0, Copyright (C) 2013
* STMicroelectronics comes with ABSOLUTELY NO WARRANTY.
* This is free software, and you are welcome to redistribute it
* under certain conditions.
This is the driver for TPM chip from ST
coding style problem in
a second time.
Thanks,
Mathias Leblanc
-Original Message-
From: Andy Shevchenko [mailto:andy.shevche...@gmail.com]
Sent: 19 May, 2013 12:36
To: Mathias LEBLANC
Cc: Kent Yoder; Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de...@lists.sourceforge.net; linux-kernel
coding style problem in
a second time.
Thanks,
Mathias Leblanc
-Original Message-
From: Andy Shevchenko [mailto:andy.shevche...@gmail.com]
Sent: 19 May, 2013 12:36
To: Mathias LEBLANC
Cc: Kent Yoder; Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de...@lists.sourceforge.net; linux-kernel
Hi Peter,
Thanks for this new function.
I had already changed the for loop but i would to be sure that it's the best
way and that you expected.
Don't hesitate if you have any other recommendation or any comments for this
driver.
Regards,
Mathias Leblanc
Hi Peter,
Thanks for this new function.
I had already changed the for loop but i would to be sure that it's the best
way and that you expected.
Don't hesitate if you have any other recommendation or any comments for this
driver.
Regards,
Mathias Leblanc
the patch file :s, apparently I
haven't correctly modified the number of lines
Finaly, These sparse warning are finaly fix ;).
Best regards,
Mathias Leblanc
From: Peter Hüwe [peterhu...@gmx.de]
Sent: 16 May 2013 00:29
To: tpmdd-de...@lists.sourceforge.net
Cc
the patch file :s, apparently I
haven't correctly modified the number of lines
Finaly, These sparse warning are finaly fix ;).
Best regards,
Mathias Leblanc
From: Peter Hüwe [peterhu...@gmx.de]
Sent: 16 May 2013 00:29
To: tpmdd-de...@lists.sourceforge.net
Cc
Hi Kent,
I have tried different compilation command and I haven't these errors.
What's the command you do to generate these warning?
However, these warning will be corrected in the next patch and the others too.
Regards,
Mathias Leblanc
-Original Message-
From: Kent Yoder
Hi Kent,
I have tried different compilation command and I haven't these errors.
What's the command you do to generate these warning?
However, these warning will be corrected in the next patch and the others too.
Regards,
Mathias Leblanc
-Original Message-
From: Kent Yoder
for the SPI bus and the
communication with the other devices.
Regards,
Mathias
-Original Message-
From: Kent Yoder [mailto:shpedoi...@gmail.com]
Sent: 22 April, 2013 20:31
To: Mathias LEBLANC
Cc: Kent Yoder; Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de...@lists.sourceforge.net
for the SPI bus and the
communication with the other devices.
Regards,
Mathias
-Original Message-
From: Kent Yoder [mailto:shpedoi...@gmail.com]
Sent: 22 April, 2013 20:31
To: Mathias LEBLANC
Cc: Kent Yoder; Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de...@lists.sourceforge.net
tion get the minus between the burstcount and the size of the
command response.
We don't need to recheck the burstcount number.
Regarding the -EBUSY flag, It's the error code of the SPI_WRITE_DATA and
SPI_READ_DATA.
In the recv_data function, the status variable is checked to know if the device
is BUSY.
ned-off-by: Mathias Leblanc
---
drivers/char/tpm/Kconfig| 10 +
drivers/char/tpm/Makefile |1 +
drivers/char/tpm/tpm_spi_stm_st33.c | 1027 +++
drivers/char/tpm/tpm_spi_stm_st33.h | 86 +++
4 files changed, 1124 insertions(+), 0 de
-by: Mathias Leblanc mathias.lebl...@st.com
---
drivers/char/tpm/Kconfig| 10 +
drivers/char/tpm/Makefile |1 +
drivers/char/tpm/tpm_spi_stm_st33.c | 1027 +++
drivers/char/tpm/tpm_spi_stm_st33.h | 86 +++
4 files changed, 1124 insertions
of the
command response.
We don't need to recheck the burstcount number.
Regarding the -EBUSY flag, It's the error code of the SPI_WRITE_DATA and
SPI_READ_DATA.
In the recv_data function, the status variable is checked to know if the device
is BUSY.
Regards,
Mathias Leblanc
-Original Message
turn 0 on success else a negative error code.
Thanks,
Mathias Leblanc
-Original Message-
From: Kent Yoder [mailto:shpedoi...@gmail.com]
Sent: 17 April, 2013 23:32
To: Mathias LEBLANC
Cc: Kent Yoder; Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de...@lists.sourceforge.net; Jean-Luc
on success else a negative error code.
Thanks,
Mathias Leblanc
-Original Message-
From: Kent Yoder [mailto:shpedoi...@gmail.com]
Sent: 17 April, 2013 23:32
To: Mathias LEBLANC
Cc: Kent Yoder; Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de...@lists.sourceforge.net; Jean-Luc BLANC
]
Sent: 10 April, 2013 22:32
To: tpmdd-de...@lists.sourceforge.net; Mathias LEBLANC; Kent Yoder; Jean-Luc
BLANC
Cc: linux-kernel@vger.kernel.org; Mathias leblanc
Subject: Re: [tpmdd-devel] [PATCH 1/1] TPM: STMicroelectronics st33 driver SPI
Hi Matthias,
Am Dienstag, 9. April 2013, 16:42:42 schrieb
]
Sent: 10 April, 2013 22:32
To: tpmdd-de...@lists.sourceforge.net; Mathias LEBLANC; Kent Yoder; Jean-Luc
BLANC
Cc: linux-kernel@vger.kernel.org; Mathias leblanc
Subject: Re: [tpmdd-devel] [PATCH 1/1] TPM: STMicroelectronics st33 driver SPI
Hi Matthias,
Am Dienstag, 9. April 2013, 16:42:42 schrieb
Signed-off-by: Mathias Leblanc
---
arch/arm/mach-omap2/board-omap3beagle.c | 40 ++
drivers/char/tpm/Kconfig| 10 +
drivers/char/tpm/Makefile |1 +
drivers/char/tpm/tpm_spi_stm_st33.c | 1116 +++
drivers/char/tpm/tpm_spi_stm
-off-by: Mathias Leblanc mathias.lebl...@st.com
---
arch/arm/mach-omap2/board-omap3beagle.c | 40 ++
drivers/char/tpm/Kconfig| 10 +
drivers/char/tpm/Makefile |1 +
drivers/char/tpm/tpm_spi_stm_st33.c | 1116 +++
drivers/char/tpm
Sorry for this mistake, admin01 the name of my platform development , git is
not configured on it.
-Original Message-
From: Kent Yoder [mailto:shpedoi...@gmail.com]
Sent: 25 March, 2013 17:44
To: Mathias LEBLANC
Cc: Kent Yoder; Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de
Sorry for this mistake, admin01 the name of my platform development , git is
not configured on it.
-Original Message-
From: Kent Yoder [mailto:shpedoi...@gmail.com]
Sent: 25 March, 2013 17:44
To: Mathias LEBLANC
Cc: Kent Yoder; Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de
Hi Peter,
Do you have the I2C configuration activated ?
I have this error when I add the driver in a kernel with no I2C activated
-Original Message-
From: Kent Yoder [mailto:k...@linux.vnet.ibm.com]
Sent: 08 January, 2013 18:21
To: Mathias LEBLANC
Cc: Peter Hüwe; Jean-Luc BLANC; sir
Hi Peter,
Do you have the I2C configuration activated ?
I have this error when I add the driver in a kernel with no I2C activated
-Original Message-
From: Kent Yoder [mailto:k...@linux.vnet.ibm.com]
Sent: 08 January, 2013 18:21
To: Mathias LEBLANC
Cc: Peter Hüwe; Jean-Luc BLANC; sir
From: admin01
* STMicroelectronics version 1.2.0, Copyright (C) 2010
* STMicroelectronics comes with ABSOLUTELY NO WARRANTY.
* This is free software, and you are welcome to redistribute it
* under certain conditions.
This is the driver for TPM chip from ST Microelectronics.
If you have a
From: admin01 admin01@admin01-desktop.(none)
* STMicroelectronics version 1.2.0, Copyright (C) 2010
* STMicroelectronics comes with ABSOLUTELY NO WARRANTY.
* This is free software, and you are welcome to redistribute it
* under certain conditions.
This is the driver for TPM chip from ST
yway , we use the tpm_* function in them.
Thanks,
Mathias Leblanc
-Original Message-
From: Kent Yoder [mailto:k...@linux.vnet.ibm.com]
Sent: 06 December, 2012 16:08
To: Peter Huewe
Cc: Mathias LEBLANC; Jean-Luc BLANC; sir...@jasper.es;
linux-kernel@vger.kernel.org; Rajiv Andrade; tpmdd-de...
in them.
Thanks,
Mathias Leblanc
-Original Message-
From: Kent Yoder [mailto:k...@linux.vnet.ibm.com]
Sent: 06 December, 2012 16:08
To: Peter Huewe
Cc: Mathias LEBLANC; Jean-Luc BLANC; sir...@jasper.es;
linux-kernel@vger.kernel.org; Rajiv Andrade; tpmdd-de...@lists.sourceforge.net;
Kent
Hi Peter,
Thanks for your contribution.
I have modified the driver files name and descriptions.
Regarding the warnings, it's strange.
@Kent, could you confirm that you have the same?
Regards,
Mathias Leblanc
-Original Message-
From: Peter Hüwe [mailto:peterhu...@gmx.de]
Sent: 29
Hi Peter,
Thanks for your contribution.
I have modified the driver files name and descriptions.
Regarding the warnings, it's strange.
@Kent, could you confirm that you have the same?
Regards,
Mathias Leblanc
-Original Message-
From: Peter Hüwe [mailto:peterhu...@gmx.de]
Sent: 29
From: Kent Yoder [shpedoi...@gmail.com]
Sent: 28 November 2012 16:31
To: Mathias LEBLANC
Cc: Kent Yoder; Jean-Luc BLANC; linux-kernel@vger.kernel.org; Rajiv Andrade;
tpmdd-de...@lists.sourceforge.net; Sirrix AG
Subject: Re: [tpmdd-devel] [PATCH 1/1] TPM: STMicroelectronics ST33
://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 for my tests.
Matthias Leblanc
From: Kent Yoder [shpedoi...@gmail.com]
Sent: 27 November 2012 15:48
To: Mathias LEBLANC
Cc: Kent Yoder; Jean-Luc BLANC; linux-kernel@vger.kernel.org; Rajiv Andrade
://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 for my tests.
Matthias Leblanc
From: Kent Yoder [shpedoi...@gmail.com]
Sent: 27 November 2012 15:48
To: Mathias LEBLANC
Cc: Kent Yoder; Jean-Luc BLANC; linux-kernel@vger.kernel.org; Rajiv Andrade
From: Kent Yoder [shpedoi...@gmail.com]
Sent: 28 November 2012 16:31
To: Mathias LEBLANC
Cc: Kent Yoder; Jean-Luc BLANC; linux-kernel@vger.kernel.org; Rajiv Andrade;
tpmdd-de...@lists.sourceforge.net; Sirrix AG
Subject: Re: [tpmdd-devel] [PATCH 1/1] TPM: STMicroelectronics ST33
) is called to have the tpm ready.
If the tpm_continue_selftest is not called by the driver, it will be use in the
applications.
Regards,
Matthias Leblanc
From: Kent Yoder [k...@linux.vnet.ibm.com]
Sent: 26 November 2012 18:46
To: Mathias LEBLANC
Cc: Rajiv Andrade
) is called to have the tpm ready.
If the tpm_continue_selftest is not called by the driver, it will be use in the
applications.
Regards,
Matthias Leblanc
From: Kent Yoder [k...@linux.vnet.ibm.com]
Sent: 26 November 2012 18:46
To: Mathias LEBLANC
Cc: Rajiv Andrade
Hi Kent,
Thanks a lot, if you see other changes to make in the driver, do not hesitate.
NB: I will not be available on Thursday and Friday in the coming weeks
-Original Message-
From: Kent Yoder [mailto:k...@linux.vnet.ibm.com]
Sent: 26 November, 2012 16:52
To: Mathias LEBLANC
Cc: Rajiv
Hi Kent,
Thanks a lot, if you see other changes to make in the driver, do not hesitate.
NB: I will not be available on Thursday and Friday in the coming weeks
-Original Message-
From: Kent Yoder [mailto:k...@linux.vnet.ibm.com]
Sent: 26 November, 2012 16:52
To: Mathias LEBLANC
Cc: Rajiv
Hello,
Does anyone can say me when the driver will be integrated on linux kernel and
where can we get it from the linux source code?
Thanks,
Mathias Leblanc
-Original Message-
From: Kent Yoder [mailto:k...@linux.vnet.ibm.com]
Sent: 14 November, 2012 23:07
To: Mathias LEBLANC
Cc
Hello,
Does anyone can say me when the driver will be integrated on linux kernel and
where can we get it from the linux source code?
Thanks,
Mathias Leblanc
-Original Message-
From: Kent Yoder [mailto:k...@linux.vnet.ibm.com]
Sent: 14 November, 2012 23:07
To: Mathias LEBLANC
Cc
MIUM OS
on kernel 2.6
Signed-off-by: Mathias Leblanc
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 904 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 81 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 47 ++
3 files changed, 1032 insertions(+)
create mode 100644 drive
MIUM OS
on kernel 3.x.x
Signed-off-by: Mathias Leblanc
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 903 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 81 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 47 ++
3 files changed, 1031 insertions(+)
create mode 100644 drive
Hi Kent,
Which is the version of your kernel?
The tpm_continue_selftest function (declare in tpm.c) seems to be different in
the kernel 3.x.x .
I will send a patch for the 2.6.x and 3.x.x
regards,
Mathias Leblanc
From: Kent Yoder [k
Hi Kent,
Which is the version of your kernel?
The tpm_continue_selftest function (declare in tpm.c) seems to be different in
the kernel 3.x.x .
I will send a patch for the 2.6.x and 3.x.x
regards,
Mathias Leblanc
From: Kent Yoder [k
on kernel 3.x.x
Signed-off-by: Mathias Leblanc mathias.lebl...@st.com
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 903 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 81 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 47 ++
3 files changed, 1031 insertions(+)
create mode
on kernel 2.6
Signed-off-by: Mathias Leblanc mathias.lebl...@st.com
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 904 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 81 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 47 ++
3 files changed, 1032 insertions(+)
create mode
MIUM OS
Signed-off-by: Mathias Leblanc
---
drivers/char/tpm/Kconfig | 10 ++
drivers/char/tpm/Makefile |1 +
2 files changed, 11 insertions(+)
diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig
index 915875e..765d1c7 100644
--- a/drivers/char/tpm/Kconfig
+++ b/drive
MIUM OS
Signed-off-by: Mathias Leblanc
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 903 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 81 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 47 ++
3 files changed, 1031 insertions(+)
create mode 100644 drivers/c
MIUM OS
Signed-off-by: Mathias Leblanc
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 903 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 81 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 47 ++
3 files changed, 1031 insertions(+)
create mode 100644 drivers/c
Signed-off-by: Mathias Leblanc mathias.lebl...@st.com
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 903 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 81 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 47 ++
3 files changed, 1031 insertions(+)
create mode 100644 drivers
Signed-off-by: Mathias Leblanc mathias.lebl...@st.com
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 903 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 81 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 47 ++
3 files changed, 1031 insertions(+)
create mode 100644 drivers
Signed-off-by: Mathias Leblanc mathias.lebl...@st.com
---
drivers/char/tpm/Kconfig | 10 ++
drivers/char/tpm/Makefile |1 +
2 files changed, 11 insertions(+)
diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig
index 915875e..765d1c7 100644
--- a/drivers/char/tpm/Kconfig
So, yes, it can be and it will be removed :)
From: Kent Yoder [k...@linux.vnet.ibm.com]
Sent: 07 November 2012 18:45
To: Mathias LEBLANC
Cc: Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org; Jean
Variable interrupts value must be 0 or 1. This restriction is defined by the
fact of using the bool parameter (true or false)
Regards,
Mathias Leblanc
From: Rusty Russell [ru...@ozlabs.org]
Sent: 08 November 2012 13:18
To: Mathias LEBLANC; Kent Yoder
Variable interrupts value must be 0 or 1. This restriction is defined by the
fact of using the bool parameter (true or false)
Regards,
Mathias Leblanc
From: Rusty Russell [ru...@ozlabs.org]
Sent: 08 November 2012 13:18
To: Mathias LEBLANC; Kent Yoder
So, yes, it can be and it will be removed :)
From: Kent Yoder [k...@linux.vnet.ibm.com]
Sent: 07 November 2012 18:45
To: Mathias LEBLANC
Cc: Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org; Jean
MIUM OS
Signed-off-by: Mathias Leblanc
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 906 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 82 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 48 ++
3 files changed, 1036 insertions(+)
create mode 100644 drivers/c
ow ...
Access to these localities in the driver * Linux * has been given only for the
purpose of validation.
From: Kent Yoder [k...@linux.vnet.ibm.com]
Sent: 07 November 2012 16:02
To: Mathias LEBLANC
Cc: Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de
MIUM OS
Signed-off-by: Mathias Leblanc
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 1087 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 91 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 48 ++
3 files changed, 1226 insertions(+)
create mode 100644 drivers/c
Signed-off-by: Mathias Leblanc mathias.lebl...@st.com
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 1087 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 91 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 48 ++
3 files changed, 1226 insertions(+)
create mode 100644 drivers
only for the
purpose of validation.
From: Kent Yoder [k...@linux.vnet.ibm.com]
Sent: 07 November 2012 16:02
To: Mathias LEBLANC
Cc: Rajiv Andrade; Marcel Selhorst; Sirrix AG;
tpmdd-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org; Jean-Luc BLANC
Signed-off-by: Mathias Leblanc mathias.lebl...@st.com
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 906 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 82 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 48 ++
3 files changed, 1036 insertions(+)
create mode 100644 drivers
ned-off-by: Mathias Leblanc
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 1106 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 72 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 48 ++
3 files changed, 1226 insertions(+)
create mode 100644 drivers/char/tpm/tpm_stm_st3
-by: Mathias Leblanc mathias.lebl...@st.com
---
drivers/char/tpm/tpm_stm_st33_i2c.c | 1106 ++
drivers/char/tpm/tpm_stm_st33_i2c.h | 72 +++
include/linux/i2c/tpm_stm_st33_i2c.h | 48 ++
3 files changed, 1226 insertions(+)
create mode 100644 drivers/char/tpm
66 matches
Mail list logo