History log of /openbmc/openpower-occ-control/meson.build (Results 1 – 25 of 27)
Revision Date Author Comments
# 601cea4c 01-Feb-2025 Patrick Williams <patrick@stwcx.xyz>

meson: reformat with meson formatter

Apply the `meson format` results.

Change-Id: I32738d2651952ca65b95ddb98d18acf6f11f4c2e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>


# eb88805d 30-Jan-2025 Patrick Williams <patrick@stwcx.xyz>

build: use allowed over enabled or not-disabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`)

build: use allowed over enabled or not-disabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and
auto.

Switch all uses of `enabled` to `allowed`.
Switch all uses of `not disabled` to `allowed`.

Change-Id: I53f6f684a474e85379503819a2246b888b6a85f8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 720a3841 09-Jan-2025 Chris Cain <cjcain@us.ibm.com>

Set default package to build for POWER10

Set default package to build for p10 (since that is latest code)
Add PLDM as requirement for building p10
Default build will not enable PHAL support by defau

Set default package to build for POWER10

Set default package to build for p10 (since that is latest code)
Add PLDM as requirement for building p10
Default build will not enable PHAL support by default because of current
build limitations of the PHAL code.

The pldm Interface class will no longer be created in the Manager object
constructor to prevent issues with unit test.

Tested on Rainier

Change-Id: I8060e70b5656bd0d762d52bf9fdff62f8720a5c6
Signed-off-by: Chris Cain <cjcain@us.ibm.com>

show more ...


# 88811adc 27-Aug-2024 Eddie James <eajames@linux.ibm.com>

Fix missing PLDM transport configuration

The PLDM transport option wasn't actually used. In addition,
throttle the PLDM open failure trace.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change

Fix missing PLDM transport configuration

The PLDM transport option wasn't actually used. In addition,
throttle the PLDM open failure trace.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: I6c5f9151b3230171a1f050d54bbb143334577ab2

show more ...


# 52328cb4 14-Feb-2023 Rashmica Gupta <rashmica@linux.ibm.com>

Move to libpldm pldm_transport APIs

- Replaced the deprecated pldm transport APIs with the new libpldm
pldm_transport APIs.

This change migrates the application off of the deprecated "requester"

Move to libpldm pldm_transport APIs

- Replaced the deprecated pldm transport APIs with the new libpldm
pldm_transport APIs.

This change migrates the application off of the deprecated "requester"
APIs in libpldm.

We don't currently have the infrastructure in place to get the correct
TIDs, so to keep everything working as before use the EID as the TID in
the EID-to-TID mapping.

Change-Id: Iedbfe936a710d37f75e737c3d307295ff55cf07b
Signed-off-by: Rashmica Gupta <rashmica@linux.ibm.com>
Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>

show more ...


# 1173b2b1 01-Jun-2024 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Option to override dump request D-Bus path

Added option for overriding the object path for requesting OpenPOWER
dumps. On recent systems the object path is changed so adding option
to override the p

Option to override dump request D-Bus path

Added option for overriding the object path for requesting OpenPOWER
dumps. On recent systems the object path is changed so adding option
to override the path in the recipe.

Change-Id: I1b1691c713be094c7286324e6653836aced11f45
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

show more ...


# 6506e0d3 28-Feb-2024 Patrick Williams <patrick@stwcx.xyz>

meson: fix libpldm move to its own repository

The libpldm moved into its own repository separate from pldm proper.
Update the wrap file and meson.build accordingly.

Signed-off-by: Patrick Williams

meson: fix libpldm move to its own repository

The libpldm moved into its own repository separate from pldm proper.
Update the wrap file and meson.build accordingly.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9559f361de3fb66a73ab6d18611ec34753377585

show more ...


# 447c1833 28-Feb-2024 Patrick Williams <patrick@stwcx.xyz>

meson: simplify dependencies

The preferred way for identifying dependency fallback variables is
for the subproject wrap files to express them. Move from the
meson.build to the corresponding wrap fi

meson: simplify dependencies

The preferred way for identifying dependency fallback variables is
for the subproject wrap files to express them. Move from the
meson.build to the corresponding wrap files.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I83284ee1c6892503ff436c8280c1c5aeaf4149c0

show more ...


# f6992a4d 28-Feb-2024 Patrick Williams <patrick@stwcx.xyz>

meson: add missing cereal dependency

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie9d814f17a1089ccbbbd9888efe1ca272a62297d


# a937491b 07-Dec-2023 Patrick Williams <patrick@stwcx.xyz>

meson: adjust nlohmann-json dependency

Simplify nlohmann-json dependency in meson.build and align wrap file
with other repositories.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I

meson: adjust nlohmann-json dependency

Simplify nlohmann-json dependency in meson.build and align wrap file
with other repositories.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ieb23001ee8c105c012664ec1d347d4785261e955

show more ...


# a8ebb1db 29-Nov-2023 Patrick Williams <patrick@stwcx.xyz>

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer retur

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and auto.

Switch all uses of `enabled` to `allowed`.

Change-Id: I1f8f77d3cd06d82c4d5390a910593f5e88c5581f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 9bec8af0 07-Sep-2023 Patrick Williams <patrick@stwcx.xyz>

meson: remove install-error-yaml option

We are no longer containing local error-yaml, so there is no
need to install it. Remove the meson option.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz

meson: remove install-error-yaml option

We are no longer containing local error-yaml, so there is no
need to install it. Remove the meson option.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If2b4c8ae7aa81653e9c30568e1f078b52ba1f8fc

show more ...


# 50cfb702 12-Jul-2023 Patrick Williams <patrick@stwcx.xyz>

build: upgrade to C++23

Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.

Change-Id: Id61ae8b39b3c40f9baf72

build: upgrade to C++23

Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.

Change-Id: Id61ae8b39b3c40f9baf72eec538da9a9aa9a82bb
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# d8aab2a9 21-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

elog-errors: remove generated file

Moved the YAML to phosphor-dbus-interfaces directly and removed
the generated files here.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I76cf0fb8

elog-errors: remove generated file

Moved the YAML to phosphor-dbus-interfaces directly and removed
the generated files here.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I76cf0fb8d72e91b52ba4b1647ea6b712509a9abd

show more ...


# 47831f5f 12-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

meson: remove deprecated get_pkgconfig_variable

Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In
meson 0.58 the `get_variable` was enhanced to no longer require the
`pkgconfig

meson: remove deprecated get_pkgconfig_variable

Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In
meson 0.58 the `get_variable` was enhanced to no longer require the
`pkgconfig` keyword argument. Ensure meson 0.58 is required and update
the usage of all `get_pkgconfig_variable` and `get_variable` to be the
modern variant.

Change-Id: I1c870674caf5e31890732c0aec7c4d69751bb604
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# d86651f9 08-Feb-2023 Patrick Williams <patrick@stwcx.xyz>

meson: add dependency for nlohmann-json

The code uses nlohmann-json but didn't have a dependency. Add one
so that the project builds in subproject builds.

Signed-off-by: Patrick Williams <patrick@

meson: add dependency for nlohmann-json

The code uses nlohmann-json but didn't have a dependency. Add one
so that the project builds in subproject builds.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic28b50ee888f909a07833eb57f9be13f4b7bf6d5

show more ...


# 18dcfb49 08-Feb-2023 Patrick Williams <patrick@stwcx.xyz>

meson: change dependency order for subproject build

Both this repository and phosphor-logging need
phosphor-dbus-interfaces. Meson seems to be unable to find the
wrapfile-based definition of PDI if

meson: change dependency order for subproject build

Both this repository and phosphor-logging need
phosphor-dbus-interfaces. Meson seems to be unable to find the
wrapfile-based definition of PDI if phosphor-logging is specified
first. Swap the ordering so that subproject builds work.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4f60d3aed14b5d7f9d7fa0f204ac4f0e12016c2d

show more ...


# 7bd6d148 11-Jan-2023 Chris Cain <cjcain@us.ibm.com>

Move the service files to the occ-control repo

To align with the OpenBMC direction, the OCC service files are being
moved into the owning repo, instead of in the meta-openpower directories
in openbm

Move the service files to the occ-control repo

To align with the OpenBMC direction, the OCC service files are being
moved into the owning repo, instead of in the meta-openpower directories
in openbmc.

Change-Id: Icef03a173249dd559f7ae41a8026b11656004d53
Signed-off-by: Chris Cain <cjcain@us.ibm.com>

show more ...


# e2a58518 13-Sep-2022 Patrick Williams <patrick@stwcx.xyz>

yaml: move to subdirectory

A pending sdbusplus change (I38b69bc67b6a3d80cda1b508a76e106a50d8ab93)
is going to require YAML to be in a specific subdirectory and not in
the root. Move here in prep fo

yaml: move to subdirectory

A pending sdbusplus change (I38b69bc67b6a3d80cda1b508a76e106a50d8ab93)
is going to require YAML to be in a specific subdirectory and not in
the root. Move here in prep for that change.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I42cd6599f751b34284243080dd213be3254d147c

show more ...


# 36f9cded 22-Nov-2021 Chris Cain <cjcain@us.ibm.com>

Add support for OEM Power Modes

- Allow mode to be set via PassThrough interface
- Allow non-customer OEM power modes to be persisted
- Persist any OEM power mode settings
- moved mode related code

Add support for OEM Power Modes

- Allow mode to be set via PassThrough interface
- Allow non-customer OEM power modes to be persisted
- Persist any OEM power mode settings
- moved mode related code from Status to PowerMode object
- merged PowerIPS into PowerMode object

Tested on Everest and Rainier.
Setting mode through PassThrough/ce-login:
busctl call org.open_power.OCC.Control /org/open_power/control/occ0 org.open_power.OCC.PassThrough SetMode yq 11 3600
Trace (via PassThrough interface)
openpower-occ-control[4440]: PassThrough::setMode() Setting Power Mode 11 (data: 3600)
openpower-occ-control[4440]: PowerMode::sendModeChange: SET_MODE(11,3600) command to OCC0 (9 bytes)
Trace (setting mode via GUI/Redfish):
openpower-occ-control[4440]: Power Mode Change Requested: xyz.openbmc_project.Control.Power.Mode.PowerMode.MaximumPerformance
openpower-occ-control[4440]: PowerMode::sendModeChange: SET_MODE(12,0) command to OCC0 (9 bytes)
Verified when system in any OEM mode that Redfish also reports OEM
Verified all modes are persisted across PM Complex resets and reboots

Change-Id: Idd0be05cb6fd74dbd0776145f212c49addd1c365
Signed-off-by: Chris Cain <cjcain@us.ibm.com>

show more ...


# e98faec2 25-Dec-2021 George Liu <liuxiwei@inspur.com>

Remove redundant variables

CPU_SUBPATH is defined in meson.build but not used, remove it.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I3d009a650f2b70c6180733af4a4531c4d4e92f60


# cbad219e 07-Oct-2021 Eddie James <eajames@linux.ibm.com>

Add SBE timeout handling

Add an Error instance to detect SBE timeouts in the driver.
Refactor the PLDM code to handle another requeset type (the HRESET) and
another type of sensor event (success or

Add SBE timeout handling

Add an Error instance to detect SBE timeouts in the driver.
Refactor the PLDM code to handle another requeset type (the HRESET) and
another type of sensor event (success or failure of the HRESET).
Handle the timeout and the PLDM event state change in the Manager by
changing the SBE state and requesting an SBE dump if necessary.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: I30d8f9de1914d9808ddb7b547cc57085a5e5779e

show more ...


# 2f9f9bba 20-Sep-2021 Eddie James <eajames@linux.ibm.com>

Add FFDC collection

Add a class to watch for the presence of SBEFIFO FFDC reported up
through the OCC hwmon driver.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: Ia8bf6eddb037aec547

Add FFDC collection

Add a class to watch for the presence of SBEFIFO FFDC reported up
through the OCC hwmon driver.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: Ia8bf6eddb037aec547b72ecce39c1a977d9374bc

show more ...


# 6b234c15 20-Oct-2021 Eddie James <eajames@linux.ibm.com>

Change yamldir to refer to a directory

To maintain the behavior of the autotools build, the "yamldir"
configuration option should refer to the directory in which to find
the occ_sensor.yaml file. Dr

Change yamldir to refer to a directory

To maintain the behavior of the autotools build, the "yamldir"
configuration option should refer to the directory in which to find
the occ_sensor.yaml file. Drop the -f argument to the sensor
generation python script and change the default yamldir argument.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: I7a93a0c403c4ce473ea2d7350f3ee441bc55c4be

show more ...


# 3f710bd8 20-Oct-2021 Eddie James <eajames@linux.ibm.com>

Add power supply derating factor to meson options

Add the option to specify the power supply derating factor.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: Ibfbb52f64c5b9133fbbc8cbb

Add power supply derating factor to meson options

Add the option to specify the power supply derating factor.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: Ibfbb52f64c5b9133fbbc8cbb267aa9618c079cc6

show more ...


12