Home
last modified time | relevance | path

Searched +full:lock +full:- +full:pr (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/qemu/scsi/
H A Dpr-manager-helper.c2 * Persistent reservation manager that talks to qemu-pr-helper
15 #include "scsi/pr-manager.h"
18 #include "io/channel-socket.h"
19 #include "pr-helper.h"
20 #include "qapi/qapi-events-block.h"
28 #define TYPE_PR_MANAGER_HELPER "pr-manager-helper"
38 QemuMutex lock; member
47 qapi_event_send_pr_manager_status_changed(id, !!pr_mgr->ioc); in pr_manager_send_status_changed_event()
51 /* Called with lock held. */
55 ssize_t r = qio_channel_read_all(pr_mgr->ioc, buf, sz, errp); in pr_manager_helper_read()
[all …]
/openbmc/qemu/.github/workflows/
H A Dlockdown.yml1 # Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown
10 pull-requests: write
14 runs-on: ubuntu-latest
16 - uses: dessant/repo-lockdown@v2
18 pr-comment: |
21 This repository is a read-only mirror of the project's repostories hosted
22 on https://gitlab.com/qemu-project/qemu.git.
29 lock-pr: true
30 close-pr: true
/openbmc/openbmc/poky/scripts/
H A Dbitbake-prserv-tool5 # SPDX-License-Identifier: GPL-2.0-only
11 echo -e "Usage: $base command"
13 …echo -e "\texport <file.conf>: export and lock down the AUTOPR values from the PR service into a f…
14 …echo -e "\timport <file.conf>: import the AUTOPR values from the exported file into the PR service…
19 s=`bitbake -e | grep ^CACHE= | cut -f2 -d\"`
21 bitbake -m
24 rm -f ${s}/bb_cache*.dat.*
32 rm -f ${file}
35 bitbake -R conf/prexport.conf -p
36 s=`bitbake -R conf/prexport.conf -e | grep ^PRSERV_DUMPFILE= | cut -f2 -d\"`
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dprservice.py4 # SPDX-License-Identifier: GPL-2.0-only
17 … bb.fatal("Connecting to PR service %s:%s failed: %s" % (host_params[0], host_params[1], str(exc)))
23 bb.error("Not using network based PR service")
28 bb.error("Making connection failed to remote PR service")
42 bb.error("Not using network based PR service")
47 bb.error("Making connection failed to remote PR service")
81 with open(df, "a") as f, bb.utils.fileslocked(["%s.lock" % df]) as locks:
88 f.write("#----------\t --------\t --------\t --------\t ----\n")
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nspr/
H A Dnspr_4.36.bb3 LICENSE = "GPL-2.0-only | MPL-2.0 | LGPL-2.1-only"
8 SRC_URI = "http://ftp.mozilla.org/pub/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \
9 file://0001-remove-rpath-from-tests.patch \
10 file://0002-Fix-build-failure-on-x86_64.patch \
11 file://0003-Add-nios2-support.patch \
12 file://0004-md-Fix-build-with-musl.patch \
13 file://0005-Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch \
14 file://0006-config-nspr-config.in-don-t-pass-LDFLAGS.patch \
18 CACHED_CONFIGUREVARS:append:libc-musl = " CFLAGS='${CFLAGS} -D_PR_POLL_AVAILABLE \
19 -D_PR_HAVE_LARGE_OFF_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP \
[all …]
/openbmc/u-boot/drivers/spi/
H A Dich.h1 /* SPDX-License-Identifier: GPL-2.0+ */
33 uint32_t pr[5]; /* 0x74 */ member
176 bool lockdown; /* lock down controller settings? */
192 uint32_t *pr; /* only for ich9 */ member
H A Dich.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2011-12 The Chromium OS Authors.
30 u8 value = readb(priv->base + reg); in ich_readb()
39 u16 value = readw(priv->base + reg); in ich_readw()
48 u32 value = readl(priv->base + reg); in ich_readl()
57 writeb(value, priv->base + reg); in ich_writeb()
63 writew(value, priv->base + reg); in ich_writew()
69 writel(value, priv->base + reg); in ich_writel()
76 memcpy_toio(priv->base + dest_reg, value, size); in write_reg()
82 memcpy_fromio(value, priv->base + src_reg, size); in read_reg()
[all …]
/openbmc/openbmc/poky/meta/classes/
H A Dbuildhistory.bbclass6 # Copyright (C) 2011-2016 Intel Corporation
7 # Copyright (C) 2007-2011 Koen Kooi <koen@openembedded.org>
9 # SPDX-License-Identifier: MIT
12 IMAGE_CLASSES += "image-artifact-names"
19 # Setting this to non-empty will remove the old content of the buildhistory as part of
29 # the "version-going-backwards" check still works. When relying on that, be careful
43 BUILDHISTORY_SDK_FILES ?= "conf/local.conf conf/bblayers.conf conf/auto.conf conf/locked-sigs.inc c…
85 mkdir --parents ${BUILDHISTORY_DIR_PACKAGE}
87 class-native|class-cross|class-crosssdk)
118 self.pr = "r0"
[all …]
H A Dexternalsrc.bbclass6 # SPDX-License-Identifier: MIT
17 # EXTERNALSRC:pn-myrecipe = "/path/to/my/source/tree"
25 # EXTERNALSRC_BUILD:pn-myrecipe = "/path/to/my/source/tree"
29 EXTERNALSRC_SYMLINKS ?= "oe-workdir:${WORKDIR} oe-logs:${T}"
42 # re-parsed so that the file-checksums function for do_compile is run every
49 d.getVar('EXTERNALSRC:pn-%s-native' % bpn)) or
51 d.getVar('EXTERNALSRC:pn-nativesdk-%s' % bpn)) or
53 d.getVar('EXTERNALSRC:pn-%s-cross' % bpn))):
64 d.setVar('B', '${WORKDIR}/${BPN}-${PV}')
72 … if url_data.type in ['file', 'npmsw', 'crate'] or parm.get('type') in ['kmeta', 'git-dependency']:
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dcargo_common.bbclass4 # SPDX-License-Identifier: MIT
18 inherit rust-common
23 # The pkg-config-rs library used by cargo build scripts disables itself when
24 # cross compiling unless this is defined. We set up pkg-config appropriately
30 # Specifying two [source.crates-io] will not work.
33 # Used by libstd-rs to point to the vendor dir included in rustc src
43 # Path to Cargo.lock
44 CARGO_LOCK_PATH ??= "${@ os.path.join(os.path.dirname(d.getVar('CARGO_MANIFEST_PATH')), 'Cargo.lock
48 mkdir -p ${CARGO_HOME}/bitbake
50 cat <<- EOF > ${CARGO_HOME}/config.toml
[all …]
/openbmc/openbmc/poky/meta/recipes-core/util-linux/
H A Dutil-linux_2.41.bb1 require util-linux.inc
3 …utotools gettext manpages pkgconfig systemd update-alternatives python3-dir bash-completion ptest …
4 DEPENDS = "libcap-ng ncurses virtual/crypt zlib util-linux-libuuid"
6 PACKAGES =+ "${PN}-swaponoff"
7 PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'pylibmount', '${PN}-pylibmount', '', d)}"
22 file_regex=r'(.*)', output_pattern='${PN}-%s',
44 of = d.getVar('FILES:' + pn + '-' + pkg)
46 d.setVar('FILES:' + pn + '-' + pkg, links)
49 # we must execute before update-alternatives PACKAGE_PREPROCESS_FUNCS
52 # skip libuuid as it will be packaged by the util-linux-libuuid recipe
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dcache.py12 # Copyright (C) 2003 - 2005 Michael 'Mickey' Lauer
16 # SPDX-License-Identifier: GPL-2.0-only
63 return dict((task, cls.getvar("%s:task-%s" % (var, task), metadata))
116 self.pr = self.getvar('PR', metadata)
121 self.stamp_extrainfo = self.flaglist('stamp-extra-info', self.tasks, metadata)
122 self.file_checksums = self.flaglist('file-checksums', self.tasks, metadata, True)
176 cachedata.pkg_pepvpr[fn] = (self.pe, self.pv, self.pr)
217 # Collect files we may need for possible world-dep
267 # - bitbake's overall memory usage
268 # - the amount of data sent over IPC between parsing processes and the server
[all …]
H A Dutils.py7 # SPDX-License-Identifier: GPL-2.0-only
64 alpha_regexp = re.compile(r'^([a-zA-Z]+)(.*)$')
78 r.append((-1, s[0]))
85 """Split a version string into its constituent parts (PE, PV, PR).
89 - ``s``: version string. The format of the input string should be::
91 ${PE}:${PV}-${PR}
93 Returns a tuple ``(pe, pv, pr)``.
101 if s.count('-'):
102 r = s.rsplit("-", 1)[1]
103 s = s.rsplit("-", 1)[0]
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-mx25/
H A Dimx-regs.h1 /* SPDX-License-Identifier: GPL-2.0+ */
6 * Based on arch-mx31/imx-regs.h
9 * and arch-mx27/imx-regs.h
73 u32 cmp[3]; /* output compare 1-3 */
74 u32 capt[2]; /* input capture 1-2 */
125 /* Multi-Layer AHB Crossbar Switch (MAX) registers */
158 /* AHB <-> IP-Bus Interface (AIPS) */
227 /* Multi-Master Memory Interface */
245 u32 mlwe0; /* Master Lock WEIM CS0 Register */
246 u32 mlwe1; /* Master Lock WEIM CS1 Register */
[all …]
/openbmc/openbmc/poky/meta/classes-global/
H A Dpackage_rpm.bbclass4 # SPDX-License-Identifier: MIT
15 PKGWRITEDIRRPM = "${WORKDIR}/deploy-rpms"
35 if var and srcname.startswith("nativesdk-"):
77 # OE-core dependencies a.k.a. RPM requires
87 # OE-core / RPM Provides
132 # In RPM, dependencies are of the format: pkg <>= Epoch:Version-Release
134 # characters that can be in a field. In the Version field, "-"
135 # characters are not allowed. "-" is allowed in the Release field.
137 # We translate the "-" in the version to a "+", by loading the PKGV
138 # from the dependent recipe, replacing the - with a +, and then using
[all …]
H A Dsstate.bbclass4 # SPDX-License-Identifier: MIT
11 SSTATE_MANIFESTS ?= "${TMPDIR}/sstate-control"
12 SSTATE_MANFILEPREFIX = "${SSTATE_MANIFESTS}/manifest-${SSTATE_MANMACH}-${PN}"
19 limit = 254 - 8
31 …ail = (limit - len(hash + "_" + taskname + extension) - len(components[0]) - len(components[1]) -
42 SSTATE_PKGSPEC = "sstate:${PN}:${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}:${PV}:${PR}:${SSTATE…
43 SSTATE_SWSPEC = "sstate:${PN}::${PV}:${PR}::${SSTATE_VERSION}:"
60 # sdk-provides-dummy-nativesdk and nativesdk-buildtools-perl-dummy overlap for different SDKMACHINE
61 …= "${DEPLOY_DIR_RPM}/sdk_provides_dummy_nativesdk/ ${DEPLOY_DIR_IPK}/sdk-provides-dummy-nativesdk/"
62 …ES += "${DEPLOY_DIR_RPM}/buildtools_dummy_nativesdk/ ${DEPLOY_DIR_IPK}/buildtools-dummy-nativesdk/"
[all …]
H A Dpackage_ipk.bbclass4 # SPDX-License-Identifier: MIT
12 IPKGCONF_SDK = "${WORKDIR}/opkg-sdk.conf"
13 IPKGCONF_SDK_TARGET = "${WORKDIR}/opkg-sdk-target.conf"
15 PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks"
18 OPKGBUILDCMD ??= 'opkg-build -Z zstd -a "${ZSTD_DEFAULTS}"'
20 OPKG_ARGS += "--force-postinstall --prefer-arch-to-version"
21 OPKG_ARGS += "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS") == "1"]}"
22 OPKG_ARGS += "${@['', '--add-exclude ' + ' --add-exclude '.join((d.getVar('PACKAGE_EXCLUDE') or "")…
74 lf = bb.utils.lockfile(root + ".lock")
95 # Keep -dbg, -dev, -doc, -staticdev, -locale and -locale-* packages
[all …]
H A Dpackage_deb.bbclass2 # Copyright 2006-2008 OpenedHand Ltd.
4 # SPDX-License-Identifier: MIT
11 DPKG_BUILDCMD ??= "dpkg-deb"
16 PKGWRITEDIRDEB = "${WORKDIR}/deploy-debs"
20 APT_ARGS = "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS") == "1"]}"
44 return arch + ["el", "hf"]["callconvention-hard" in tune_features]
81 lf = bb.utils.lockfile(root + ".lock")
103 …bb.note("Not creating empty archive for %s-%s-%s" % (pkg, localdata.getVar('PKGV'), localdata.getV…
110 ctrlfile = codecs.open(os.path.join(controldir, 'control'), 'w', 'utf-8')
115 fields.append(["Version: %s:%s-%s\n", ['PKGE', 'PKGV', 'PKGR']])
[all …]
/openbmc/qemu/target/sh4/
H A Dtranslate.c22 #include "tcg/tcg-op.h"
23 #include "exec/helper-proto.h"
24 #include "exec/helper-gen.h"
25 #include "exec/translation-block.h"
29 #include "qemu/qemu-print.h"
32 #include "exec/helper-info.c.inc"
40 uint32_t envflags; /* should stay in sync with env->flags using TCG ops */
54 #define UNALIGN(C) (ctx->tbflags & TB_FLAG_UNALIGN ? MO_UNALN : MO_ALIGN)
56 #define IS_USER(ctx) (!(ctx->tbflags & (1u << SR_MD)))
60 /* Target-specific values for ctx->base.is_jmp. */
[all …]
/openbmc/u-boot/drivers/video/tegra124/
H A Dsor.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2011-2013, NVIDIA Corporation.
15 #include <asm/arch-tegra/dc.h>
50 return readl((u32 *)sor->base + reg); in tegra_sor_readl()
56 writel(val, (u32 *)sor->base + reg); in tegra_sor_writel()
72 tegra_sor_write_field(sor, DP_PADCTL(sor->portnum), in tegra_dp_disable_tx_pu()
81 tegra_sor_write_field(sor, PR(sor->portnum), mask, pe_reg); in tegra_dp_set_pe_vs_pc()
82 tegra_sor_write_field(sor, DC(sor->portnum), mask, vs_reg); in tegra_dp_set_pe_vs_pc()
84 tegra_sor_write_field(sor, POSTCURSOR(sor->portnum), mask, in tegra_dp_set_pe_vs_pc()
107 return -ETIMEDOUT; in tegra_dc_sor_poll_register()
[all …]
/openbmc/qemu/target/ppc/
H A Dtcg-excp_helper.c4 * Copyright (c) 2003-2007 Jocelyn Mayer
20 #include "qemu/main-loop.h"
23 #include "accel/tcg/cpu-ldst.h"
24 #include "exec/helper-proto.h"
41 cs->exception_index = exception; in raise_exception_err_ra()
42 env->error_code = error_code; in raise_exception_err_ra()
107 for (int i = 3; i >= 0; i--) { in helper_SIMON_LIKE_32_64()
115 z = (z0 >> (63 - i)) & 1; in helper_SIMON_LIKE_32_64()
175 #include "qemu/guest-random.h"
182 if (env->msr & R_MSR_PR_MASK) { \
[all …]
H A Dtranslate.c4 * Copyright (c) 2003-2007 Jocelyn Mayer
25 #include "tcg/tcg-op.h"
26 #include "tcg/tcg-op-gvec.h"
27 #include "qemu/host-utils.h"
29 #include "exec/helper-proto.h"
30 #include "exec/helper-gen.h"
33 #include "exec/translation-block.h"
37 #include "power8-pmu.h"
39 #include "qemu/qemu-print.h"
43 #include "exec/helper-info.c.inc"
[all …]
/openbmc/openbmc/poky/documentation/migration-guides/
H A Drelease-notes-5.0.9.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
3 Release notes for Yocto-5.0.9 (Scarthgap)
4 -----------------------------------------
6 Security Fixes in Yocto-5.0.9
9 - binutils: Fix :cve_nist:`2024-57360`, :cve_nist:`2025-1176`, :cve_nist:`2025-1178` and
10 :cve_nist:`2025-1181`
11 - expat: Fix :cve_nist:`2024-8176`
12 - freetype: Fix :cve_nist:`2025-27363`
13 - ghostscript: Fix :cve_nist:`2025-27830`, :cve_nist:`2025-27831`, :cve_nist:`2025-27832`,
14 :cve_nist:`2025-27833`, :cve_nist:`2025-27833`, :cve_nist:`2025-27834`, :cve_nist:`2025-27835`
[all …]
/openbmc/openbmc/poky/bitbake/lib/hashserv/
H A Dserver.py3 # SPDX-License-Identifier: GPL-2.0-only
26 DB_ADMIN_PERM = "@db-admin"
27 USER_ADMIN_PERM = "@user-admin"
62 self.sample.add(time.perf_counter() - self.start_time)
117 self.m = last_m + (elapsed - last_m) / self.num
118 self.s = self.s + (elapsed - last_m) * (elapsed - self.m)
138 return math.sqrt(self.s / (self.num - 1))
147 token_refresh_semaphore = asyncio.Lock()
153 # refresh requests lock the same global semaphore and then sleep for a
162 return base64.b64encode(raw, b"._").decode("utf-8")
[all …]
/openbmc/qemu/target/alpha/
H A Dtranslate.c23 #include "qemu/host-utils.h"
24 #include "tcg/tcg-op.h"
25 #include "exec/helper-proto.h"
26 #include "exec/helper-gen.h"
28 #include "exec/translation-block.h"
33 #include "exec/helper-info.c.inc"
57 /* True if generating pc-relative code. */
66 /* Current flush-to-zero setting for this TB. */
78 #define UNALIGN(C) (C)->unalign
83 /* Target-specific return values from translate_one, indicating the
[all …]

12