From: Adrian Hunter
When TSC is stable perf/sched clock is based on it.
However the conversion from cycles to nanoseconds
is not as accurate as it could be. Because
CYC2NS_SCALE_FACTOR is 10, the accuracy is +/- 1/2048
The change is to calculate the maximum shift that
From: Adrian Hunter
Commit:
b20112edeadf ("perf/x86: Improve accuracy of perf/sched clock")
allowed the time_shift value in perf_event_mmap_page to be as much
as 32. Unfortunately the documented algorithms for using time_shift
have it shifting an integer, whereas to
From: "Yong, Jonathan"
These 2 patches improve the perf tools reporting based on captured
TSC times.
These should apply to linux-yocto-4.1 standard/base.
Adrian Hunter (2):
perf/x86: Improve accuracy of perf/sched clock
perf/x86: Fix time_shift in
From: Jarkko Sakkinen
At the moment, no one has time to pay enough attention to this subsystem
so that patches get eventually merged into linux-next. Even critical bug
fixes can lie for weeks.
I'm happy to continue with the current maintainers if they are able
From: "Yong, Jonathan"
Oops, missed this commit, this should be part of the
TPM 2.0 series. For linux-yocto-4.1 standard/base.
Jarkko Sakkinen (1):
MAINTAINERS: add new maintainer for TPM DEVICE DRIVER
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
--
2.7.3
--
From: Jarkko Sakkinen
The 'migratable' flag was not added to the key payload. This patch
fixes the problem.
Fixes: 0fe5480303a1 ("keys, trusted: seal/unseal with TPM 2.0 chips")
Signed-off-by: Jarkko Sakkinen
Acked-by: Peter
From: Jarkko Sakkinen
Added tpm_trusted_seal() and tpm_trusted_unseal() API for sealing
trusted keys.
This patch implements basic sealing and unsealing functionality for
TPM 2.0:
* Seal with a parent key using a 20 byte auth value.
* Unseal with a parent key
From: Jarkko Sakkinen
Moved PPI attributes to the character device directory. This aligns with
the sysfs guidelines and makes them race free because they are created
atomically with the character device as part of device_register().The
character device and the
From: Jarkko Sakkinen
This patch introduces struct tpm_buf that provides a string buffer for
constructing TPM commands. This allows to construct variable sized TPM
commands. For the buffer a page is allocated and mapped, which limits
maximum size to PAGE_SIZE.
From: Jarkko Sakkinen
Moved struct trusted_key_options to trustes-type.h so that the fields
can be accessed from drivers/char/tpm.
Signed-off-by: Jarkko Sakkinen
Signed-off-by: Peter Huewe
(cherry picked from
From: Jarkko Sakkinen
Added a new function __compat_only_sysfs_link_group_to_kobj() that adds
a symlink from attribute or group to a kobject. This needed for
maintaining backwards compatibility with PPI attributes in the TPM
driver.
Signed-off-by: Jarkko
From: "Yong, Jonathan"
These patches introduces TPM 2.0 support, and are backported from Linus's tree.
Should apply cleanly for linux-yocto-4.1 stadard/base.
Jarkko Sakkinen (8):
tpm, tpm_crb: fix unaligned read of the command buffer address
tpm: move the PPI
From: "Christopher S. Hall"
ACKNOWLEDGMENT: cross timestamp code was developed by Thomas Gleixner
. It has changed considerably and any mistakes are
mine.
The precision with which events on multiple networked systems can be
synchronized using,
From: "Christopher S. Hall"
On modern Intel systems TSC is derived from the new Always Running Timer
(ART). ART can be captured simultaneous to the capture of
audio and network device clocks, allowing a correlation between timebases
to be constructed. Upon capture,
From: "Christopher S. Hall"
In the current timekeeping code there isn't any interface to
atomically capture the current relationship between the system counter
and system time. ktime_get_snapshot() returns this triple (counter,
monotonic raw, realtime) in the
From: "Christopher S. Hall"
The timekeeping code does not currently provide a way to translate
externally provided clocksource cycles to system time. The cycle count
is always provided by the result clocksource read() method internal to
the timekeeping code. The
From: Arnd Bergmann
There is exactly one caller of getnstime_raw_and_real in the kernel,
which is the pps_get_ts function. This changes the caller and
the implementation to work on timespec64 types rather than timespec,
to avoid the time_t overflow on 32-bit architectures.
For
From: "Yong, Jonathan"
This series introduces convert_art_to_tsc, to convert ART time
to TSC. The main advantage of ART is that ART can be captured
simultaneous to the capture of audio and network device clocks,
allowing a correlation between timebases to be constructed.
From: DengChao
In order to fix Y2038 issues in the ntp code we will need replace
get_seconds() with ktime_get_real_seconds() but as the ntp code uses
the timekeeping lock which is also used by ktime_get_real_seconds(),
we need a version without locking.
Add a new function
19 matches
Mail list logo