Am 8. November 2018 16:15:04 MEZ schrieb Jarkko Sakkinen
:
>On Thu, Nov 08, 2018 at 03:16:03PM +0100, Roberto Sassu wrote:
>> On 11/8/2018 3:04 PM, Jarkko Sakkinen wrote:
>> > On Tue, Nov 06, 2018 at 04:01:57PM +0100, Roberto Sassu wrote:
>> > > Currently the TPM driver allows other kernel
Am 8. November 2018 16:15:04 MEZ schrieb Jarkko Sakkinen
:
>On Thu, Nov 08, 2018 at 03:16:03PM +0100, Roberto Sassu wrote:
>> On 11/8/2018 3:04 PM, Jarkko Sakkinen wrote:
>> > On Tue, Nov 06, 2018 at 04:01:57PM +0100, Roberto Sassu wrote:
>> > > Currently the TPM driver allows other kernel
,
as there is no eventlog present.
By turning it from 'select' to 'imply' it still gets selected per
default, but enables users who want to save some kb of ram by turning
SECURITYFS off.
Signed-off-by: Peter Huewe
---
drivers/char/tpm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
,
as there is no eventlog present.
By turning it from 'select' to 'imply' it still gets selected per
default, but enables users who want to save some kb of ram by turning
SECURITYFS off.
Signed-off-by: Peter Huewe
---
drivers/char/tpm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Hi,
Am Freitag, 29. September 2017 22:23:13 CEST schrieb Jarkko Sakkinen:
On Fri, Sep 29, 2017 at 08:29:09AM +, peter.hu...@infineon.com wrote:
...
Spinics is archiving us at
https://www.spinics.net/lists/linux-integrity/
It would be good to add this to the vger page + documented on
the
Hi,
Am Freitag, 29. September 2017 22:23:13 CEST schrieb Jarkko Sakkinen:
On Fri, Sep 29, 2017 at 08:29:09AM +, peter.hu...@infineon.com wrote:
...
Spinics is archiving us at
https://www.spinics.net/lists/linux-integrity/
It would be good to add this to the vger page + documented on
the
Am 25. Oktober 2017 20:53:49 MESZ schrieb Jarkko Sakkinen
:
>On Wed, Oct 25, 2017 at 07:17:17AM -0700, Matthew Garrett wrote:
>> On Wed, Oct 25, 2017 at 6:44 AM, Jarkko Sakkinen
>> wrote:
>> > I'm implementing a fix for
Am 25. Oktober 2017 20:53:49 MESZ schrieb Jarkko Sakkinen
:
>On Wed, Oct 25, 2017 at 07:17:17AM -0700, Matthew Garrett wrote:
>> On Wed, Oct 25, 2017 at 6:44 AM, Jarkko Sakkinen
>> wrote:
>> > I'm implementing a fix for CVE-2017-15361 that simply blacklists
>> > vulnerable FW versions. I think
Am 24. Oktober 2017 20:15:12 MESZ schrieb Jarkko Sakkinen
:
>On Tue, Oct 24, 2017 at 10:02:00AM -0700, Dmitry Torokhov wrote:
>> On Tue, Oct 24, 2017 at 9:11 AM, Jason Gunthorpe
>> wrote:
>> > On Tue, Oct 24, 2017 at 09:37:33PM
Am 24. Oktober 2017 20:15:12 MESZ schrieb Jarkko Sakkinen
:
>On Tue, Oct 24, 2017 at 10:02:00AM -0700, Dmitry Torokhov wrote:
>> On Tue, Oct 24, 2017 at 9:11 AM, Jason Gunthorpe
>> wrote:
>> > On Tue, Oct 24, 2017 at 09:37:33PM +0530, PrasannaKumar
>Muralidharan wrote:
>> >> Hi Jason,
>> >>
>>
Will do.
Peter
Am 4. Oktober 2017 09:27:08 MESZ schrieb Jarkko Sakkinen
<jarkko.sakki...@linux.intel.com>:
>On Fri, Sep 29, 2017 at 08:31:30PM +0200, Peter Huewe wrote:
>>
>>
>>
>>
>> Gesendet: Freitag, 29. September 2017 um 18:59 Uhr
Will do.
Peter
Am 4. Oktober 2017 09:27:08 MESZ schrieb Jarkko Sakkinen
:
>On Fri, Sep 29, 2017 at 08:31:30PM +0200, Peter Huewe wrote:
>>
>>
>>
>>
>> Gesendet: Freitag, 29. September 2017 um 18:59 Uhr
>> Von: "Jarkko Sakkinen"
>> A
Gesendet: Freitag, 29. September 2017 um 18:59 Uhr
Von: "Jarkko Sakkinen"
An: "Mimi Zohar" , peterhu...@gmx.de
Cc: linux-kernel@vger.kernel.org, linux-integr...@vger.kernel.org
Betreff: Re: [PATCH] MAINTAINERS: update TPM driver
Gesendet: Freitag, 29. September 2017 um 18:59 Uhr
Von: "Jarkko Sakkinen"
An: "Mimi Zohar" , peterhu...@gmx.de
Cc: linux-kernel@vger.kernel.org, linux-integr...@vger.kernel.org
Betreff: Re: [PATCH] MAINTAINERS: update TPM driver infrastructure changes
On Tue, Sep 26, 2017 at 12:16:20PM
Am 15. September 2017 13:07:58 GMT-07:00 schrieb Ken Goldman
:
>Newbie question: Do I have to subscribe, or are email addresses being
>migrated
You have to subscribe yourself.
Due to the new privacy regulations I do not have access to any member
information anymore
Am 15. September 2017 13:07:58 GMT-07:00 schrieb Ken Goldman
:
>Newbie question: Do I have to subscribe, or are email addresses being
>migrated
You have to subscribe yourself.
Due to the new privacy regulations I do not have access to any member
information anymore on the old list.
Just
Am 15. September 2017 10:40:14 GMT-07:00 schrieb Joe Perches :
>On Fri, 2017-09-15 at 10:36 -0700, Jarkko Sakkinen wrote:
>> On Fri, Sep 15, 2017 at 10:25:36AM -0700, Joe Perches wrote:
>> > On Fri, 2017-09-15 at 10:18 -0700, Jarkko Sakkinen wrote:
>[]
>> > > We decided to
Am 15. September 2017 10:40:14 GMT-07:00 schrieb Joe Perches :
>On Fri, 2017-09-15 at 10:36 -0700, Jarkko Sakkinen wrote:
>> On Fri, Sep 15, 2017 at 10:25:36AM -0700, Joe Perches wrote:
>> > On Fri, 2017-09-15 at 10:18 -0700, Jarkko Sakkinen wrote:
>[]
>> > > We decided to create a new mailing
Am 15. September 2017 10:18:25 GMT-07:00 schrieb Jarkko Sakkinen
:
>Hi
>
>Many people were kicked out from the SourceForge mailing list in the
>July because SF required a resubscription, including non-human users,
>such as patchwork.
>
>We decided to create a
Am 15. September 2017 10:18:25 GMT-07:00 schrieb Jarkko Sakkinen
:
>Hi
>
>Many people were kicked out from the SourceForge mailing list in the
>July because SF required a resubscription, including non-human users,
>such as patchwork.
>
>We decided to create a new mailing list
Am 13. September 2017 11:52:12 GMT-07:00 schrieb Ken Goldman
:
>On 9/6/2017 12:12 PM, Jason Gunthorpe wrote:
>>
>> The problem with this approach is that the TPM could totally block
>> the CPU for very long periods of time.
>>
>> It seems very risky to enable..
>>
>
Am 13. September 2017 11:52:12 GMT-07:00 schrieb Ken Goldman
:
>On 9/6/2017 12:12 PM, Jason Gunthorpe wrote:
>>
>> The problem with this approach is that the TPM could totally block
>> the CPU for very long periods of time.
>>
>> It seems very risky to enable..
>>
>
>How would you
Am 12. September 2017 17:45:08 GMT-07:00 schrieb Jarkko Sakkinen
:
>On Wed, Sep 06, 2017 at 08:56:36AM -0400, Nayna Jain wrote:
>> The TPM burstcount status indicates the number of bytes that can
>> be sent to the TPM without causing bus wait states.
Am 12. September 2017 17:45:08 GMT-07:00 schrieb Jarkko Sakkinen
:
>On Wed, Sep 06, 2017 at 08:56:36AM -0400, Nayna Jain wrote:
>> The TPM burstcount status indicates the number of bytes that can
>> be sent to the TPM without causing bus wait states. Effectively,
>> it is the number of empty
Hi Ken,
(again speaking only on my behalf, not my employer)
> Does anyone know of platforms where this occurs?
> I suspect (but not sure) that the days of SuperIO connecting floppy
> drives, printer ports, and PS/2 mouse ports on the LPC bus are over, and
> such legacy systems will not have a
Hi Ken,
(again speaking only on my behalf, not my employer)
> Does anyone know of platforms where this occurs?
> I suspect (but not sure) that the days of SuperIO connecting floppy
> drives, printer ports, and PS/2 mouse ports on the LPC bus are over, and
> such legacy systems will not have a
Hi Ken,
(speaking on behalf of myself here, not my employer :) )
> On Mon, Aug 07, 2017 at 01:52:34PM +0200, Peter Huewe wrote:
>> Imho: NACK from my side.
> After these viewpoints definitive NACK from my side too...
> I responded to the thread comments separately. However
Hi Ken,
(speaking on behalf of myself here, not my employer :) )
> On Mon, Aug 07, 2017 at 01:52:34PM +0200, Peter Huewe wrote:
>> Imho: NACK from my side.
> After these viewpoints definitive NACK from my side too...
> I responded to the thread comments separately. However
Am 7. August 2017 13:46:32 MESZ schrieb Nayna Jain :
>The TPM burstcount status indicates the number of bytes that can
>be sent to the TPM without causing bus wait states. Effectively,
>it is the number of empty bytes in the command FIFO. Further,
>some TPMs have a
Am 7. August 2017 13:46:32 MESZ schrieb Nayna Jain :
>The TPM burstcount status indicates the number of bytes that can
>be sent to the TPM without causing bus wait states. Effectively,
>it is the number of empty bytes in the command FIFO. Further,
>some TPMs have a static burstcount, when the
sparse complains that tpmrm_write can be made static, and since it is
right we make it static.
Signed-off-by: Peter Huewe <peterhu...@gmx.de>
---
drivers/char/tpm/tpmrm-dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/tpm/tpmrm-dev.c b/drivers/char/tpm
sparse complains that tpmrm_write can be made static, and since it is
right we make it static.
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpmrm-dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/tpm/tpmrm-dev.c b/drivers/char/tpm/tpmrm-dev.c
index
> Removed struct tpm_pcrextend_in as it is not used for anything anymore.
>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com>
LGTM.
Reviewed-by: Peter Huewe <peterhu...@gmx.de>
> ---
> drivers/char/tpm/tpm.h | 6 --
> 1 file changed, 6 deletio
> Removed struct tpm_pcrextend_in as it is not used for anything anymore.
>
> Signed-off-by: Jarkko Sakkinen
LGTM.
Reviewed-by: Peter Huewe
> ---
> drivers/char/tpm/tpm.h | 6 --
> 1 file changed, 6 deletions(-)
>
> diff --git a/drivers/char/tpm/tpm.h b/driver
> The memory copy from rodata to stack is useless.
>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com>
After review, yes that should work.
Reviewed-by: Peter Huewe <peterhu...@gmx.de>
> ---
> drivers/char/tpm/tpm_infineon.c | 8
> 1 fi
> The memory copy from rodata to stack is useless.
>
> Signed-off-by: Jarkko Sakkinen
After review, yes that should work.
Reviewed-by: Peter Huewe
> ---
> drivers/char/tpm/tpm_infineon.c | 8
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff
Am 17. Mai 2017 21:35:52 MESZ schrieb Alexander Sverdlin
<alexander.sverd...@gmail.com>:
>Hello Peter!
>
>On 23/03/17 14:03, Peter Huewe wrote:
>> This patch replaces the old, deprecated call to hwmon_device_register
>> with the new hwmon_device_register_with_
Am 17. Mai 2017 21:35:52 MESZ schrieb Alexander Sverdlin
:
>Hello Peter!
>
>On 23/03/17 14:03, Peter Huewe wrote:
>> This patch replaces the old, deprecated call to hwmon_device_register
>> with the new hwmon_device_register_with_info and converts the whole
>> driver
all back to a sane minimum
>> when the maximum fails.
>>
>> Changes since v2:
>> - Do not remove faster transfers when chip is SLB9645 (Peter Huewe)
>> - Remember the adapterlimit length once it fails to not generate
>extra
>>i2c core me
ed-off-by: Enric Balletbo i Serra
>> ---
>> This is a reworked version of the original patch based on the
>> suggestion made by Wolfram Sang to simply fall back to a sane minimum
>> when the maximum fails.
>>
>> Changes since v2:
>> - Do not remove
Am 23. März 2017 19:43:39 MEZ schrieb Guenter Roeck <li...@roeck-us.net>:
>On Thu, Mar 23, 2017 at 02:03:04PM +0100, Peter Huewe wrote:
>> This patch replaces the old, deprecated call to hwmon_device_register
>> with the new hwmon_device_register_with_info and convert
Am 23. März 2017 19:43:39 MEZ schrieb Guenter Roeck :
>On Thu, Mar 23, 2017 at 02:03:04PM +0100, Peter Huewe wrote:
>> This patch replaces the old, deprecated call to hwmon_device_register
>> with the new hwmon_device_register_with_info and converts the whole
>> dr
As indicated by checkpatch it makes sense to not use the FSFE Template
about GPLv2+
Signed-off-by: Peter Huewe <peterhu...@gmx.de>
---
drivers/hwmon/w83627ehf.c | 15 ++-
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/drivers/hwmon/w83627ehf.c b/drivers
As indicated by checkpatch it makes sense to not use the FSFE Template
about GPLv2+
Signed-off-by: Peter Huewe
---
drivers/hwmon/w83627ehf.c | 15 ++-
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c
index
As indicated by checkpatch, use the octal representation for the access
rights.
S_IWUSR | S_IRUGO => 0644
S_IRUGO => 0444
Signed-off-by: Peter Huewe <peterhu...@gmx.de>
---
drivers/hwmon/w83627ehf.c | 52 ---
1 file changed, 22 inser
As indicated by checkpatch, use the octal representation for the access
rights.
S_IWUSR | S_IRUGO => 0644
S_IRUGO => 0444
Signed-off-by: Peter Huewe
---
drivers/hwmon/w83627ehf.c | 52 ---
1 file changed, 22 insertions(+), 30 deletions(-)
diff
nymore)
- NUM_REG_TEMP changed to ARRAY_SIZE(W83627EHF_REG_TEMP)
(different number of max temp sensors)
- removal of intrusion1_alarm (nct6776 specific)
v2: Updated Kconfig, Documentation and removed unused temp_sensors (5-9)
Tested on NCT6776F (not probed anymore)
Signed-off-by: Peter Huewe <peterhu.
nymore)
- NUM_REG_TEMP changed to ARRAY_SIZE(W83627EHF_REG_TEMP)
(different number of max temp sensors)
- removal of intrusion1_alarm (nct6776 specific)
v2: Updated Kconfig, Documentation and removed unused temp_sensors (5-9)
Tested on NCT6776F (not probed anymore)
Signed-off-by: Peter Huewe
---
Documen
just some cosmetics for better readability, proposed by
Lindent/checkpatch
Signed-off-by: Peter Huewe <peterhu...@gmx.de>
---
drivers/hwmon/w83627ehf.c | 39 +++
1 file changed, 15 insertions(+), 24 deletions(-)
diff --git a/drivers/hwmon/w83627e
just some cosmetics for better readability, proposed by
Lindent/checkpatch
Signed-off-by: Peter Huewe
---
drivers/hwmon/w83627ehf.c | 39 +++
1 file changed, 15 insertions(+), 24 deletions(-)
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c
6776F chip.
v2:
- converted to proper is_visible methods
- applied minor feedback of v1
Signed-off-by: Peter Huewe <peterhu...@gmx.de>
---
drivers/hwmon/w83627ehf.c | 1536 +++--
1 file changed, 778 insertions(+), 758 deletions(-)
diff --git a/drivers/h
6776F chip.
v2:
- converted to proper is_visible methods
- applied minor feedback of v1
Signed-off-by: Peter Huewe
---
drivers/hwmon/w83627ehf.c | 1536 +++--
1 file changed, 778 insertions(+), 758 deletions(-)
diff --git a/drivers/hwmon/w83627ehf.c b/dri
nymore)
- NUM_REG_TEMP changed to ARRAY_SIZE(W83627EHF_REG_TEMP)
(different number of max temp sensors)
- removal of intrusion1_alarm (nct6776 specific)
Tested with NCT6776F that it does not get probed anymore.
Signed-off-by: Peter Huewe <peterhu...@gmx.de>
---
Please apply after my conversion
nymore)
- NUM_REG_TEMP changed to ARRAY_SIZE(W83627EHF_REG_TEMP)
(different number of max temp sensors)
- removal of intrusion1_alarm (nct6776 specific)
Tested with NCT6776F that it does not get probed anymore.
Signed-off-by: Peter Huewe
---
Please apply after my conversion patch series.
drivers
quot; than it used to be, but
still not completely.
The conversion saves about 20k in the resulting .ko
Tested with a NCT6776F chip.
Signed-off-by: Peter Huewe <peterhu...@gmx.de>
---
Target-Branch: groeck/hwmon
Please cherry-pick
46dc4a97 hwmon: Constify str parameter of hwmon_ops->
quot; than it used to be, but
still not completely.
The conversion saves about 20k in the resulting .ko
Tested with a NCT6776F chip.
Signed-off-by: Peter Huewe
---
Target-Branch: groeck/hwmon
Please cherry-pick
46dc4a97 hwmon: Constify str parameter of hwmon_ops->read_string
before this
As indicated by checkpatch, use the octal representation for the access
rights.
S_IWUSR | S_IRUGO => 0644
S_IRUGO => 0444
Signed-off-by: Peter Huewe <peterhu...@gmx.de>
---
drivers/hwmon/w83627ehf.c | 52 ---
1 file changed, 22 inser
As indicated by checkpatch, use the octal representation for the access
rights.
S_IWUSR | S_IRUGO => 0644
S_IRUGO => 0444
Signed-off-by: Peter Huewe
---
drivers/hwmon/w83627ehf.c | 52 ---
1 file changed, 22 insertions(+), 30 deletions(-)
diff
just some cosmetics for better readability, proposed by Lindent/checkpatch
Signed-off-by: Peter Huewe <peterhu...@gmx.de>
---
drivers/hwmon/w83627ehf.c | 41 +++--
1 file changed, 15 insertions(+), 26 deletions(-)
diff --git a/drivers/hwmon/w83627e
just some cosmetics for better readability, proposed by Lindent/checkpatch
Signed-off-by: Peter Huewe
---
drivers/hwmon/w83627ehf.c | 41 +++--
1 file changed, 15 insertions(+), 26 deletions(-)
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon
As indicated by checkpatch it makes sense to not use the FSFE Template
about GPLv2+
Signed-off-by: Peter Huewe <peterhu...@gmx.de>
---
drivers/hwmon/w83627ehf.c | 15 ++-
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/drivers/hwmon/w83627ehf.c b/drivers
As indicated by checkpatch it makes sense to not use the FSFE Template
about GPLv2+
Signed-off-by: Peter Huewe
---
drivers/hwmon/w83627ehf.c | 15 ++-
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c
index
Unfortunately the HWMON_T_ALARM define was missing,
although the associated entry was present in hwmon_temp_attributes.
This is needed to convert drivers to the new interface which use channel
based alarms.
Signed-off-by: Peter Huewe <peterhu...@gmx.de>
---
include/linux/hwmon.h | 1 +
Unfortunately the HWMON_T_ALARM define was missing,
although the associated entry was present in hwmon_temp_attributes.
This is needed to convert drivers to the new interface which use channel
based alarms.
Signed-off-by: Peter Huewe
---
include/linux/hwmon.h | 1 +
1 file changed, 1 insertion
Am 14. März 2017 19:18:15 MEZ schrieb Ken Goldman <kg...@linux.vnet.ibm.com>:
>On 3/13/2017 3:10 AM, Peter Huewe wrote:
>
>> And yes you are right there is currently no way, except for trial and
>> error, for the userspace to determine this. So an interface to get
>>
Am 14. März 2017 19:18:15 MEZ schrieb Ken Goldman :
>On 3/13/2017 3:10 AM, Peter Huewe wrote:
>
>> And yes you are right there is currently no way, except for trial and
>> error, for the userspace to determine this. So an interface to get
>> this information makes sense
Hi,
Thanks for your patch.
Am 13. März 2017 06:21:57 MEZ schrieb meng...@windriver.com:
>From: Limeng
>
>So far, there is not a sysfs interface for user space code to
>check the TPM hardware version(TPM1.x or TPM2). So, add a
>file named description in /sys/class/tpm/tpmX/
Hi,
Thanks for your patch.
Am 13. März 2017 06:21:57 MEZ schrieb meng...@windriver.com:
>From: Limeng
>
>So far, there is not a sysfs interface for user space code to
>check the TPM hardware version(TPM1.x or TPM2). So, add a
>file named description in /sys/class/tpm/tpmX/ to show it.
It's not
that case, what about the following change?
>
>Subject: hwmon: Constify str parameter of hwmon_ops->read_string
>
>The read_string callback is supposed to retrieve a pointer to a
>constant string.
I would think that clarifies the situation and also gets rid warnings about
drop
what about the following change?
>
>Subject: hwmon: Constify str parameter of hwmon_ops->read_string
>
>The read_string callback is supposed to retrieve a pointer to a
>constant string.
I would think that clarifies the situation and also gets rid warnings about
dropping const qu
<alexander.stef...@infineon.com>
Signed-off-by: Peter Huewe <peter.hu...@infineon.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com>
Tested-by: Benoit Houyere <benoit.houy...@st.com>
---
drivers/char/tpm/tpm_tis_spi.c | 36 ++
Wait states are signaled in the last byte received from the TPM in
response to the header, not the first byte. Check rx_buf[3] instead of
rx_buf[0].
Cc:
Fixes: 0edbfea537d1 ("tpm/tpm_tis_spi: Add support for spi phy")
Signed-off-by: Alexander Steffen
Signed-off-by: Peter Huewe
for the length.
Cc: <sta...@vger.kernel.org>
Fixes: 0edbfea537d1 ("tpm/tpm_tis_spi: Add support for spi phy")
Signed-off-by: Alexander Steffen <alexander.stef...@infineon.com>
Signed-off-by: Peter Huewe <peter.hu...@infineon.com>
Reviewed-by: Jarkko Sakkinen <jarkko.s
for the length.
Cc:
Fixes: 0edbfea537d1 ("tpm/tpm_tis_spi: Add support for spi phy")
Signed-off-by: Alexander Steffen
Signed-off-by: Peter Huewe
Reviewed-by: Jarkko Sakkinen
Tested-by: Benoit Houyere
---
drivers/char/tpm/tpm_tis_spi.c | 87
Am 2. März 2017 13:55:43 MEZ schrieb Jarkko Sakkinen
:
>On Wed, Mar 01, 2017 at 04:36:17PM +0100, Enric Balletbo i Serra wrote:
>> From: Bryan Freed
>>
>> When the I2C Infineon part is attached to an I2C adapter that imposes
>> a size
Am 2. März 2017 13:55:43 MEZ schrieb Jarkko Sakkinen
:
>On Wed, Mar 01, 2017 at 04:36:17PM +0100, Enric Balletbo i Serra wrote:
>> From: Bryan Freed
>>
>> When the I2C Infineon part is attached to an I2C adapter that imposes
>> a size limitation, large requests will fail with -EOPNOTSUPP.
Add support for spi phy")
Signed-off-by: Alexander Steffen <alexander.stef...@infineon.com>
Signed-off-by: Peter Huewe <peter.hu...@infineon.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com>
Tested-by: Benoit Houyere <benoit.houy...@st.com>
-
Signed-off-by: Alexander Steffen
Signed-off-by: Peter Huewe
Reviewed-by: Jarkko Sakkinen
Tested-by: Benoit Houyere
---
drivers/char/tpm/tpm_tis_spi.c | 107 ++---
1 file changed, 58 insertions(+), 49 deletions(-)
diff --git a/drivers/char/tpm/tpm_tis_spi.c b/dr
hy")
Signed-off-by: Alexander Steffen <alexander.stef...@infineon.com>
Signed-off-by: Peter Huewe <peter.hu...@infineon.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com>
Tested-by: Benoit Houyere <benoit.houy...@st.com>
---
drivers/char/tpm/tp
Alexander Steffen
Signed-off-by: Peter Huewe
Reviewed-by: Jarkko Sakkinen
Tested-by: Benoit Houyere
---
drivers/char/tpm/tpm_tis_spi.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/char/tpm/tpm_tis_spi.c b/drivers/char/tpm/tpm_tis_spi.c
index 062799e04f04..639614f2d415 100644
---
Am 27. Februar 2017 20:12:45 MEZ schrieb Wolfram Sang :
>Hi,
>
>> >> > Rather than trying small and smaller transfers, would it not be
>better
>> >> > to get the i2c core to expose the quirk info about transfer
>limits?
>> >> >
>> >>
>> >> Sounds a good idea to me, I guess
Am 27. Februar 2017 20:12:45 MEZ schrieb Wolfram Sang :
>Hi,
>
>> >> > Rather than trying small and smaller transfers, would it not be
>better
>> >> > to get the i2c core to expose the quirk info about transfer
>limits?
>> >> >
>> >>
>> >> Sounds a good idea to me, I guess the quirk info can be
for a negligible performance penalty.
Cc: <sta...@vger.kernel.org>
Fixes: 0edbfea537d1 ("tpm/tpm_tis_spi: Add support for spi phy")
Signed-off-by: Alexander Steffen <alexander.stef...@infineon.com>
Signed-off-by: Peter Huewe <peter.hu...@infineon.com>
Reviewed-by: J
for a negligible performance penalty.
Cc:
Fixes: 0edbfea537d1 ("tpm/tpm_tis_spi: Add support for spi phy")
Signed-off-by: Alexander Steffen
Signed-off-by: Peter Huewe
Reviewed-by: Jarkko Sakkinen
Tested-by: Benoit Houyere
---
drivers/char/tpm/tpm_tis_spi.c | 1 +
1 file changed, 1 insertio
Am 1. März 2017 12:51:16 MEZ schrieb Enric Balletbo i Serra
:
>From: Sonny Rao
>
>The suspend/resume behavior of the TPM can be controlled
>by setting "powered-while-suspended" in the DTS.
>
>Signed-off-by: Sonny Rao
Am 1. März 2017 12:51:16 MEZ schrieb Enric Balletbo i Serra
:
>From: Sonny Rao
>
>The suspend/resume behavior of the TPM can be controlled
>by setting "powered-while-suspended" in the DTS.
>
>Signed-off-by: Sonny Rao
>Signed-off-by: Enric Balletbo i Serra
>---
(CRYPTO)
>
>This adds another select to avoid the warning, consistent with other
>users
>of the crypto code.
>
>Fixes: c1f92b4b04ad ("tpm: enhance TPM 2.0 PCR extend to support
>multiple banks")
>Signed-off-by: Arnd Bergmann <a...@arndb.de>
Lgtm
Reviewed-by: P
>This adds another select to avoid the warning, consistent with other
>users
>of the crypto code.
>
>Fixes: c1f92b4b04ad ("tpm: enhance TPM 2.0 PCR extend to support
>multiple banks")
>Signed-off-by: Arnd Bergmann
Lgtm
Reviewed-by: Peter Huewe
>---
> drivers/char/tpm
Am 22. Februar 2017 22:19:24 MEZ schrieb Jarkko Sakkinen
<jarkko.sakki...@linux.intel.com>:
>On Thu, Feb 16, 2017 at 04:08:21PM +0000, Peter Huewe wrote:
>> During our testing it showed that unfortunately the whole native spi
>tpm driver
>> was more or less non-functi
Am 22. Februar 2017 22:19:24 MEZ schrieb Jarkko Sakkinen
:
>On Thu, Feb 16, 2017 at 04:08:21PM +0000, Peter Huewe wrote:
>> During our testing it showed that unfortunately the whole native spi
>tpm driver
>> was more or less non-functional since it was merged, e.
Am 21. Februar 2017 17:29:48 MEZ schrieb Andrew Lunn :
>On Tue, Feb 21, 2017 at 03:44:59PM +0100, Enric Balletbo i Serra wrote:
>> From: Bryan Freed
>>
>> When the I2C Infineon part is attached to an I2C adapter that imposes
>> a size limitation, large
Am 21. Februar 2017 17:29:48 MEZ schrieb Andrew Lunn :
>On Tue, Feb 21, 2017 at 03:44:59PM +0100, Enric Balletbo i Serra wrote:
>> From: Bryan Freed
>>
>> When the I2C Infineon part is attached to an I2C adapter that imposes
>> a size limitation, large requests will fail -EINVAL.
>> Retry them
nd then file a bug/fix it.
For now however the priority is to make the tpm_tis_spi driver work reliably
also on the rpi, and this is what this workaround does.
We can simply remove it once the rpi spi master is fixed.
Peter
>
>
>On 16/02/2017 08:09, Peter Huewe wrote:
>> Testing th
now however the priority is to make the tpm_tis_spi driver work reliably
also on the rpi, and this is what this workaround does.
We can simply remove it once the rpi spi master is fixed.
Peter
>
>
>On 16/02/2017 08:09, Peter Huewe wrote:
>> Testing the implementation with a Raspberry P
behind me now :-)
>
>
>On 16/02/2017 08:08, Peter Huewe wrote:
>> Limiting transfers to MAX_SPI_FRAMESIZE was not expected by the upper
>> layers, as tpm_tis has no such limitation. Add a loop to hide that
>> limitation.
>>
>> Cc: <sta...@vger.kernel.org>
nce the splitting loop went missing during the merge.
At least with our tpms that's the case.
(I think we are signalling a higher burstcount value than 64, which is allowed)
>Or is this because of TIS vs PTP differences ?
>
>To be honest, this is a little behind me now :-)
>
>
&g
ally it makes
sense to squash #1 and #3 - but reviewing it merged with #1 is quite hard since
it "obfuscates" the problem - since too much stuff moves around.
That's why I decided to split it - for easier review.
Peter
>
>
>On 16/02/2017 08:08, Peter Huewe wrote:
>>
- but reviewing it merged with #1 is quite hard since
it "obfuscates" the problem - since too much stuff moves around.
That's why I decided to split it - for easier review.
Peter
>
>
>On 16/02/2017 08:08, Peter Huewe wrote:
>> Wait states are signaled in the l
for a negligible performance penalty.
Cc: <sta...@vger.kernel.org>
Fixes: 0edbfea537d1 ("tpm/tpm_tis_spi: Add support for spi phy")
Signed-off-by: Alexander Steffen <alexander.stef...@infineon.com>
Signed-off-by: Peter Huewe <peter.hu...@infineon.com>
---
drivers/char/tpm
for a negligible performance penalty.
Cc:
Fixes: 0edbfea537d1 ("tpm/tpm_tis_spi: Add support for spi phy")
Signed-off-by: Alexander Steffen
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm_tis_spi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/tpm/tpm_tis_spi.c b/driver
1 - 100 of 702 matches
Mail list logo