/openbmc/openbmc/meta-arm/meta-arm/recipes-security/packagegroups/ |
H A D | packagegroup-ts-tests.bb | 7 COMPATIBLE_HOST = "aarch64.*-linux" 9 COMPATIBLE_MACHINE:qemuarm64-secureboot = "qemuarm64-secureboot" 11 PACKAGES = "${PN} ${PN}-psa" 14 ts-demo \ 15 ts-service-test \ 16 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-env-test', 'ts-remote-test', '' , d)} \ 17 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-smm-gateway', 'ts-uefi-test', '' , d)} \ 20 SUMMARY:${PN}-psa = "PSA certification tests (psa-arch-test) for TS SPs" 21 RDEPENDS:${PN}-psa = "\ 22 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-crypto', 'ts-psa-crypto-api-test', '' , d)} \ [all …]
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/ |
H A D | optee-os-ts.inc | 6 # TS SPs UUIDs definitions 7 require recipes-security/trusted-services/ts-uuid.inc 15 # ITS SP 16 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', \ 17 ' ts-sp-its', '' , d)}" 18 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', \ 22 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-storage', \ 23 ' ts-sp-storage', '' , d)}" 24 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-storage', \ 28 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-crypto', \ [all …]
|
/openbmc/linux/arch/um/os-Linux/ |
H A D | time.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015 Anton Ivanov (aivanov@{brocade.com,kot-begemot.co.uk}) 5 * Copyright (C) 2012-2014 Cisco Systems 6 * Copyright (C) 2000 - 2007 Jeff Dike (jdike{addtoit,linux.intel}.com) 21 static inline long long timespec_to_ns(const struct timespec *ts) in timespec_to_ns() argument 23 return ((long long) ts->tv_sec * UM_NSEC_PER_SEC) + ts->tv_nsec; in timespec_to_ns() 35 * os_timer_create() - create an new posix (interval) timer 41 if (timer_create(CLOCK_MONOTONIC, NULL, t) == -1) in os_timer_create() 42 return -1; in os_timer_create() 49 struct itimerspec its; in os_timer_set_interval() local [all …]
|
/openbmc/openbmc/meta-arm/meta-arm/lib/oeqa/runtime/cases/ |
H A D | trusted_services.py | 18 @OEHasPackage(['ts-demo']) 21 self.run_test_tool('ts-demo') 23 @OEHasPackage(['ts-uefi-test']) 26 self.run_test_tool('uefi-test') 28 @OEHasPackage(['ts-psa-crypto-api-test']) 31 self.run_test_tool('psa-crypto-api-test') 33 @OEHasPackage(['ts-psa-its-api-test']) 36 self.run_test_tool('psa-its-api-test') 38 @OEHasPackage(['ts-psa-ps-api-test']) 41 self.run_test_tool('psa-ps-api-test') [all …]
|
/openbmc/linux/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_psi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * This file contains the logic to work with MPEG Program-Specific Information. 4 * These are defined both in ISO/IEC 13818-1 (systems) and ETSI EN 300 468. 19 * see ISO/IEC 13818-1 : 2000 and ETSI EN 300 468 V 1.10.1 for 35 REGISTRATION_DESCRIPTOR = 0x05, /* See ISO/IEC 13818-1 section 2.6.8 */ 43 STREAM_PRIVATE_DATA = 0x06, /* see ISO/IEC 13818-1 2000 p. 48 */ 47 * struct vidtv_psi_desc - A generic PSI descriptor type. 48 * The descriptor length is an 8-bit field specifying the total number of bytes of the data portion 59 * struct vidtv_psi_desc_service - Service descriptor. 75 * struct vidtv_psi_desc_registration - A registration descriptor. [all …]
|
H A D | vidtv_channel.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 * The PMT section for a channel will be assigned its streams. 15 * Every stream will have its corresponding encoder polled to produce TS packets 32 * struct vidtv_channel - A 'channel' abstraction 38 * The PMT section for a channel will be assigned its streams. 39 * Every stream will have its corresponding encoder polled to produce TS packets 43 * @transport_stream_id: a number to identify the TS, chosen at will. 66 * vidtv_channel_si_init - Init the PSI tables from the channels in the mux 73 * vidtv_channels_init - Init hardcoded, fake 'channels'.
|
/openbmc/linux/fs/ntfs/ |
H A D | time.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * time.h - NTFS time conversion functions. Part of the Linux-NTFS project. 5 * Copyright (c) 2001-2005 Anton Altaparmakov 19 * utc2ntfs - convert Linux UTC time to NTFS time 20 * @ts: Linux UTC time to convert to NTFS time 22 * Convert the Linux UTC time @ts to its corresponding NTFS time and return 26 * and a long tv_nsec where tv_sec is the number of 1-second intervals since 27 * 1st January 1970, 00:00:00 UTC and tv_nsec is the number of 1-nano-second 31 * measured as the number of 100-nano-second intervals since 1st January 1601, 34 static inline sle64 utc2ntfs(const struct timespec64 ts) in utc2ntfs() argument [all …]
|
/openbmc/qemu/block/ |
H A D | throttle-groups.c | 26 #include "sysemu/block-backend.h" 27 #include "block/throttle-groups.h" 28 #include "qemu/throttle-options.h" 29 #include "qemu/main-loop.h" 34 #include "qapi/qapi-visit-block-core.h" 42 /* The ThrottleGroup structure (with its ThrottleState) is shared 45 * its own locking. 51 * outside users, that only use it through its ThrottleState. 74 ThrottleState ts; member 98 if (!g_strcmp0(name, iter->name)) { in throttle_group_by_name() [all …]
|
/openbmc/linux/Documentation/driver-api/media/drivers/ |
H A D | vidtv.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 ---------- 18 - A fake tuner driver, which will report a bad signal quality if the chosen 22 - A fake demod driver, which will constantly poll the fake signal quality 26 - A fake bridge driver, which is the module responsible for modprobing the 31 - Code responsible for encoding a valid MPEG Transport Stream, which is then 33 For now, we have a single, audio-only channel containing a single MPEG 34 Elementary Stream, which in turn contains a SMPTE 302m encoded sine-wave. 39 -------------- 45 - Enable **DVB_TEST_DRIVERS**, then [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-fs-ext4 | 3 Contact: "Theodore Ts'o" <tytso@mit.edu> 12 Contact: "Theodore Ts'o" <tytso@mit.edu> 20 Contact: "Theodore Ts'o" <tytso@mit.edu> 27 Contact: "Theodore Ts'o" <tytso@mit.edu> 34 Contact: "Theodore Ts'o" <tytso@mit.edu> 42 Contact: "Theodore Ts'o" <tytso@mit.edu> 48 will have its blocks allocated out of its own unique 53 Contact: "Theodore Ts'o" <tytso@mit.edu> 57 algorithm will pre-read into the buffer cache 61 Contact: "Theodore Ts'o" <tytso@mit.edu> [all …]
|
/openbmc/openbmc/meta-arm/ci/ |
H A D | qemuarm64-secureboot-ts.yml | 1 # yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas… 6 - ci/meta-openembedded.yml 11 …# Include TS Crypto, TS Protected Storage, and TS Internal Trusted Storage and SPs into optee-os i… 12 # FIXME - remove TS SMM Gateway due to QEMU v9.0.0 test failures 13 MACHINE_FEATURES:append = " arm-ffa ts-crypto ts-storage ts-its" 14 # Include TS demo/test tools into image 15 IMAGE_INSTALL:append = " packagegroup-ts-tests" 16 # Include TS PSA Arch tests into image 17 IMAGE_INSTALL:append = " packagegroup-ts-tests-psa"
|
H A D | fvp-base-ts.yml | 1 # yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas… 6 - ci/fvp-base.yml 7 - ci/meta-openembedded.yml 8 - ci/testimage.yml 15 MACHINE_FEATURES:append = " arm-ffa ts-crypto ts-storage ts-its" 16 MACHINE_FEATURES:append = " ts-attestation ts-smm-gateway optee-spmc-test" 17 MACHINE_FEATURES:append = " ts-block-storage ts-fwu" 18 # Include TS demo/test tools into image 19 IMAGE_INSTALL:append = " packagegroup-ts-tests" 20 # Include TS PSA Arch tests into image [all …]
|
/openbmc/qemu/tcg/ |
H A D | tcg.c | 30 #include "qemu/error-report.h" 32 #include "qemu/host-utils.h" 33 #include "qemu/qemu-print.h" 37 #include "exec/translation-block.h" 38 #include "exec/tlb-common.h" 40 #include "tcg/tcg-op-common.h" 55 #include "tcg/tcg-ldst.h" 56 #include "tcg/tcg-temp-internal.h" 57 #include "tcg-internal.h" 60 #include "user/guest-base.h" [all …]
|
/openbmc/linux/kernel/time/ |
H A D | time.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * 1993-09-02 Philip Gladstone 12 * 1993-10-08 Torsten Duwe 14 * 1995-08-13 Torsten Duwe 15 * kernel PLL updated to 1994-12-13 specs (rfc-1589) 16 * 1999-01-16 Ulrich Windl 22 * 2004-07-14 Christoph Lameter 57 * sys_time() can be implemented in user-level using 68 return -EFAULT; in SYSCALL_DEFINE1() 75 * sys_stime() can be implemented in user-level using [all …]
|
H A D | tick-sched.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de> 4 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 5 * Copyright(C) 2006-2007 Timesys Corp., Thomas Gleixner 26 #include <linux/posix-timers.h> 32 #include "tick-internal.h" 37 * Per-CPU nohz control structure 173 tick_next_period += TICK_NSEC - rem; in tick_init_jiffy_update() 185 static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) in tick_sched_do_timer() argument 216 if (ts->last_tick_jiffies != jiffies) { in tick_sched_do_timer() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | timer.h | 6 #include "qemu/host-utils.h" 187 * in nanoseconds, or -1 if no timer is set to expire. 189 * Returns: time until expiry in nanoseconds or -1 312 * expires. Return -1 if there are no timers. 315 * timer expires -1 if none 386 * Returns: the deadline in nanoseconds or -1 if no 397 * @ts: the timer to be initialised 413 void timer_init_full(QEMUTimer *ts, 420 * @ts: the timer to be initialised 430 static inline void timer_init(QEMUTimer *ts, QEMUClockType type, int scale, in timer_init() argument [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | tpm-tis-swtpm-test.c | 5 * with parts borrowed from migration-test.c that is: 6 * Copyright (c) 2016-2018 Red Hat, Inc. and/or its affiliates 12 * See the COPYING file in the top-level directory. 19 #include "tpm-tests.h" 20 #include "tpm-tis-util.h" 33 const TestState *ts = data; in tpm_tis_swtpm_test() local 35 tpm_test_swtpm_test(ts->src_tpm_path, tpm_tis_transfer, in tpm_tis_swtpm_test() 36 "tpm-tis", NULL); in tpm_tis_swtpm_test() 41 const TestState *ts = data; in tpm_tis_swtpm_migration_test() local 43 tpm_test_swtpm_migration_test(ts->src_tpm_path, ts->dst_tpm_path, ts->uri, in tpm_tis_swtpm_migration_test() [all …]
|
H A D | tpm-crb-swtpm-test.c | 5 * with parts borrowed from migration-test.c that is: 6 * Copyright (c) 2016-2018 Red Hat, Inc. and/or its affiliates 12 * See the COPYING file in the top-level directory. 19 #include "tpm-tests.h" 30 const TestState *ts = data; in tpm_crb_swtpm_test() local 32 tpm_test_swtpm_test(ts->src_tpm_path, tpm_util_crb_transfer, in tpm_crb_swtpm_test() 33 "tpm-crb", NULL); in tpm_crb_swtpm_test() 38 const TestState *ts = data; in tpm_crb_swtpm_migration_test() local 40 tpm_test_swtpm_migration_test(ts->src_tpm_path, ts->dst_tpm_path, ts->uri, in tpm_crb_swtpm_migration_test() 41 tpm_util_crb_transfer, "tpm-crb", NULL); in tpm_crb_swtpm_migration_test() [all …]
|
H A D | tpm-tis-device-swtpm-test.c | 6 * with parts borrowed from migration-test.c that is: 7 * Copyright (c) 2016-2018 Red Hat, Inc. and/or its affiliates 13 * See the COPYING file in the top-level directory. 20 #include "tpm-tests.h" 21 #include "tpm-tis-util.h" 25 #define MACHINE_OPTIONS "-machine virt,gic-version=max -accel tcg" 35 const TestState *ts = data; in tpm_tis_swtpm_test() local 37 tpm_test_swtpm_test(ts->src_tpm_path, tpm_tis_transfer, in tpm_tis_swtpm_test() 38 "tpm-tis-device", MACHINE_OPTIONS); in tpm_tis_swtpm_test() 43 const TestState *ts = data; in tpm_tis_swtpm_migration_test() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/ptpd/ptpd/ |
H A D | Fixed-100-CPU-using-issue-by-adding-minimum-POSIX-ti.patch | 11 Upstream-Status: Backport [From commit 1f0baae98a7b23e85f2bfd8f5de64795421c270e: 12 - critical: added minimum POSIX timer interval to prevent from 16 Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com> 17 --- 18 src/dep/eventtimer.h | 3 ++- 19 src/dep/eventtimer_itimer.c | 2 +- 21 3 files changed, 7 insertions(+), 2 deletions(-) 23 diff --git a/src/dep/eventtimer.h b/src/dep/eventtimer.h 25 --- a/src/dep/eventtimer.h 27 @@ -30,7 +30,8 @@ [all …]
|
/openbmc/openbmc/meta-arm/documentation/ |
H A D | trusted-services.md | 1 # The Trusted Services: framework for developing root-of-trust services 3 meta-arm layer includes recipes for [Trusted Services][^1] Secure Partitions and Normal World appli… 4 in `meta-arm/recipes-security/trusted-services` 8 We define dedicated recipes for all supported Trusted Services (TS) Secure Partitions. 10 These files are automatically included into optee-os image accordingly to defined MACHINE_FEATURES. 12 ### How to include TS SPs 14 To include TS SPs into optee-os image you need to add into MACHINE_FEATURES 18 | ----------------- | --------------- | 19 | Attestation | ts-attesation | 20 | Crypto | ts-crypto | [all …]
|
/openbmc/linux/include/linux/ |
H A D | time64.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 #define TIME64_MIN (-TIME64_MAX - 1) 31 #define KTIME_MIN (-KTIME_MAX - 1) 44 #define TIME_SETTOD_SEC_MAX (KTIME_SEC_MAX - TIME_UPTIME_SEC_MAX) 49 return (a->tv_sec == b->tv_sec) && (a->tv_nsec == b->tv_nsec); in timespec64_equal() 59 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare() 60 return -1; in timespec64_compare() 61 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare() 63 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare() 66 extern void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec); [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_tai.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * field will be performed - whether it is a set, increment, decrement 16 * - PTP_PULSE_OUT (PTP_EVENT_REQ MPP) 22 * - PTP_CLK_OUT (PTP_TRIG_GEN MPP) 25 * initially, but if you specify a non-round second interval, it won't, 27 * - PTP_PCLK_OUT 30 * limited by the TOD step size. Its period is defined by the PCLK_CCC 31 * registers. Again, its alignment to the second is questionable. 90 static void mvpp22_tai_read_ts(struct timespec64 *ts, void __iomem *base) in mvpp22_tai_read_ts() argument 92 ts->tv_sec = (u64)mvpp2_tai_read(base + 0) << 32 | in mvpp22_tai_read_ts() [all …]
|
/openbmc/linux/Documentation/powerpc/ |
H A D | transactional_memory.rst | 6 its use by user programs. It is not currently used by the kernel itself. 49 transactional or non-transactional accesses within the system. In this 50 example, the transaction completes as though it were normal straight-line code 69 - Conflicts with cache lines used by other processors 70 - Signals 71 - Context switches 72 - See the ISA for full documentation of everything that will abort transactions. 108 delivered. For future compatibility the MSR.TS field should be checked to 109 determine the transactional state -- if so, the second ucontext in uc->uc_link 112 For 64-bit processes, uc->uc_mcontext.regs->msr is a full 64-bit MSR and its TS [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | cxd2820r.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 31 * struct cxd2820r_platform_data - Platform data for the cxd2820r driver 32 * @ts_mode: TS mode. 33 * @ts_clk_inv: TS clock inverted. 52 * struct cxd2820r_config - configuration for cxd2020r demod 54 * @i2c_address: Demodulator I2C address. Driver determines DVB-C slave I2C 57 * @ts_mode: TS output mode. Default: none, must set. Values: FIXME? 58 * @ts_clock_inv: TS clock inverted. Default: 0. Values: 0, 1. 64 * Driver determines DVB-C slave I2C address automatically from master 71 /* TS output mode. [all …]
|