<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/char/tpm/eventlog/of.c, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-07-22T23:23:18Z</updated>
<entry>
<title>tpm: Use of_reserved_mem_region_to_resource() for "memory-region"</title>
<updated>2025-07-22T23:23:18Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2025-07-19T10:29:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63d1dbfef6ac5ae92c672a633e4b38998dfa03b2'/>
<id>urn:sha1:63d1dbfef6ac5ae92c672a633e4b38998dfa03b2</id>
<content type='text'>
Use the newly added of_reserved_mem_region_to_resource() function to
handle "memory-region" properties.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Jarkko Sakkinen &lt;jarkko@kernel.org&gt;
</content>
</entry>
<entry>
<title>tpm: Add reserved memory event log</title>
<updated>2023-02-13T08:11:20Z</updated>
<author>
<name>Eddie James</name>
</author>
<published>2023-01-26T21:08:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e2714bb83fc783d58701967391bea242c65eaff'/>
<id>urn:sha1:1e2714bb83fc783d58701967391bea242c65eaff</id>
<content type='text'>
Some platforms may desire to pass the event log up to Linux in the
form of a reserved memory region. In particular, this is desirable
for embedded systems or baseboard management controllers (BMCs)
booting with U-Boot. IBM OpenBMC BMCs will be the first user.
Add support for the reserved memory in the TPM core to find the
region and map it.

Signed-off-by: Eddie James &lt;eajames@linux.ibm.com&gt;
[jarkko: removed spurious dev_info()'s from tpm_read_log_memory_region()]
Reviewed-by: Jarkko Sakkinen &lt;jarkko@kernel.org&gt;
[yang: return -ENOMEM when devm_memremap() fails]
Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Signed-off-by: Jarkko Sakkinen &lt;jarkko@kernel.org&gt;
</content>
</entry>
<entry>
<title>tpm: Use managed allocation for bios event log</title>
<updated>2023-02-13T08:11:20Z</updated>
<author>
<name>Eddie James</name>
</author>
<published>2023-01-26T21:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=441b7152729f4a2bdb100135a58625fa0aeb69e4'/>
<id>urn:sha1:441b7152729f4a2bdb100135a58625fa0aeb69e4</id>
<content type='text'>
Since the bios event log is freed in the device release function,
let devres handle the deallocation. This will allow other memory
allocation/mapping functions to be used for the bios event log.

Signed-off-by: Eddie James &lt;eajames@linux.ibm.com&gt;
Tested-by: Jarkko Sakkinen &lt;jarkko@kernel.org&gt;
Reviewed-by: Jarkko Sakkinen &lt;jarkko@kernel.org&gt;
Signed-off-by: Jarkko Sakkinen &lt;jarkko@kernel.org&gt;
</content>
</entry>
<entry>
<title>tpm: of: Handle IBM,vtpm20 case when getting log parameters</title>
<updated>2020-03-13T15:31:26Z</updated>
<author>
<name>Stefan Berger</name>
</author>
<published>2020-03-12T15:53:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5cb2ace90deb6df9c90172f904fb4a12ee4d443a'/>
<id>urn:sha1:5cb2ace90deb6df9c90172f904fb4a12ee4d443a</id>
<content type='text'>
A vTPM 2.0 is identified by 'IBM,vtpm20' in the 'compatible' node in
the device tree. Handle it in the same way as 'IBM,vtpm'.

The vTPM 2.0's log is written in little endian format so that for this
aspect we can rely on existing code.

Signed-off-by: Stefan Berger &lt;stefanb@linux.ibm.com&gt;
Acked-by: Nayna Jain &lt;nayna@linux.ibm.com&gt;
Tested-by: Nayna Jain &lt;nayna@linux.ibm.com&gt;
Reviewed-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
Signed-off-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152</title>
<updated>2019-05-30T18:26:32Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-05-27T06:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2874c5fd284268364ece81a7bd936f3c8168e567'/>
<id>urn:sha1:2874c5fd284268364ece81a7bd936f3c8168e567</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 3029 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tpm: replace kmalloc() + memcpy() with kmemdup()</title>
<updated>2018-05-14T10:59:43Z</updated>
<author>
<name>Ji-Hun Kim</name>
</author>
<published>2018-05-09T00:12:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=697989164ef699a01012490fa2dd1970b17828e6'/>
<id>urn:sha1:697989164ef699a01012490fa2dd1970b17828e6</id>
<content type='text'>
Use kmemdup rather than duplicating its implementation.

Signed-off-by: Ji-Hun Kim &lt;ji_hun.kim@samsung.com&gt;
Reviewed-by: James Morris &lt;james.morris@microsoft.com&gt;
Reviewed-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
Signed-off-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>tpm: Move eventlog declarations to its own header</title>
<updated>2018-05-09T11:45:46Z</updated>
<author>
<name>Thiebaud Weksteen</name>
</author>
<published>2018-04-12T10:13:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75d647f5de69fab9908039991260cc32a7074edc'/>
<id>urn:sha1:75d647f5de69fab9908039991260cc32a7074edc</id>
<content type='text'>
Reduce the size of tpm.h by moving eventlog declarations to a separate
header.

Signed-off-by: Thiebaud Weksteen &lt;tweek@google.com&gt;
Suggested-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
Reviewed-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
Tested-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
Signed-off-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>tpm: Move eventlog files to a subdirectory</title>
<updated>2018-05-09T11:45:46Z</updated>
<author>
<name>Thiebaud Weksteen</name>
</author>
<published>2018-04-12T10:13:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0bfb23746052168620c5b52f49d8a47c3bb022fa'/>
<id>urn:sha1:0bfb23746052168620c5b52f49d8a47c3bb022fa</id>
<content type='text'>
Signed-off-by: Thiebaud Weksteen &lt;tweek@google.com&gt;
Suggested-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
Reviewed-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
Tested-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
Signed-off-by: Jarkko Sakkinen &lt;jarkko.sakkinen@linux.intel.com&gt;
</content>
</entry>
</feed>
