History log of /openbmc/hiomapd/ (Results 1 – 25 of 418)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
3c9f14d429-Dec-2025 Jayanth Othayoth <ojayanth@gmail.com>

clang-tidy: Initial commit

Added initial .clang-tidy configuration file with recommended C++ checks
aligned with the OpenBMC-approved checklist. This setup enforces modern
C++ best practices and hel

clang-tidy: Initial commit

Added initial .clang-tidy configuration file with recommended C++ checks
aligned with the OpenBMC-approved checklist. This setup enforces modern
C++ best practices and helps catch common issues early in development.

Change-Id: I7275ade54eec4681a67684e3cd775b36c6b8deb9
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>

show more ...

e3b51fb925-Jun-2025 Patrick Williams <patrick@stwcx.xyz>

prettier: re-format

The latest prettier (3.6.1) seems to have slightly different
formatting for lists. Re-run prettier and check in the results.

Change-Id: I91abfa191c493b775a1e9024e3516c034528473

prettier: re-format

The latest prettier (3.6.1) seems to have slightly different
formatting for lists. Re-run prettier and check in the results.

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

show more ...

f38ace9512-Jun-2025 Patrick Williams <patrick@stwcx.xyz>

markdownlint: fixes

The protocol spec has some custom HTML to create tables-in-tables,
which do not have an equivalent markdown syntax. Copy the reference
markdownlint config from openbmc-build-scr

markdownlint: fixes

The protocol spec has some custom HTML to create tables-in-tables,
which do not have an equivalent markdown syntax. Copy the reference
markdownlint config from openbmc-build-scripts and tweak to allow those
additional references.

Do minor changes elsewhere to fix any outstanding markdownlint warnings.

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

show more ...

2be4563d20-Nov-2024 Ninad Palsule <ninad@linux.ibm.com>

vpnor: Fix SEGV fault in vpnor

Table object may throw error hence initialize table pointer to null so
that vpnor_free() doesn't free the junk pointer.
In vpnor_free() do not free table pointer if it

vpnor: Fix SEGV fault in vpnor

Table object may throw error hence initialize table pointer to null so
that vpnor_free() doesn't free the junk pointer.
In vpnor_free() do not free table pointer if its null.

Added testcase to make sure the issue is fixed.
```
PASS: vpnor/test/toc_missing_file_reset
```

Change-Id: Ic6f4a7d163cf786d71b810190ab6ede0cd3a0717
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>

show more ...

0bfd90de02-Dec-2024 Ninad Palsule <ninad@linux.ibm.com>

Fix formatting issue

Change-Id: Ib026da1cacc78b2b72fae72e87238dca3426c519
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>

12b304a121-Nov-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

OWNERS: Remove Andrew from maintainers

I can't maintain this software going forward as I do not have access to
any platforms that require it.

Change-Id: I9d57edafebb292da944625171d6f3e5dcefb6eee
Si

OWNERS: Remove Andrew from maintainers

I can't maintain this software going forward as I do not have access to
any platforms that require it.

Change-Id: I9d57edafebb292da944625171d6f3e5dcefb6eee
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...

b8d89b7723-Oct-2024 Ninad Palsule <ninad@linux.ibm.com>

vpnor: Improve error logging

We are seeing lot of crashes in the mboxd so hardening error logging to
figure out failure cases.
- Add missing error logs.
- Differentiate similar errors.

Change-Id: I

vpnor: Improve error logging

We are seeing lot of crashes in the mboxd so hardening error logging to
figure out failure cases.
- Add missing error logs.
- Differentiate similar errors.

Change-Id: If56f77aed1d1d07cca1d108bc943bddc7216e579
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>

show more ...

7841c82525-Oct-2024 Ninad Palsule <ninad@linux.ibm.com>

common: Log errors to stderr

As per syslog.h, all error values are less than LOG_WARNING hence we
should be writing those to stderr instead of stdout.

Change-Id: I294dc8ccc9a3cd1c675b0ce733243c6821

common: Log errors to stderr

As per syslog.h, all error values are less than LOG_WARNING hence we
should be writing those to stderr instead of stdout.

Change-Id: I294dc8ccc9a3cd1c675b0ce733243c68215a654d
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>

show more ...

2409171204-Nov-2024 Adriana Kobylak <anoo@us.ibm.com>

OWNERS: Add Adriana as owner, Ninad as reviewer

The hiomapd repo is used by IBM, and includes openpower-power specific
logic such as the virtual pnor implementation. The
openpower-pnor-code-mgmt rep

OWNERS: Add Adriana as owner, Ninad as reviewer

The hiomapd repo is used by IBM, and includes openpower-power specific
logic such as the virtual pnor implementation. The
openpower-pnor-code-mgmt repo that Adriana maintains relies on this
virtual pnor implementation.

Promote Adriana to owner to continue the maintenance of the hiomapd repo
especially the virtual pnor piece, who she was one of the developers and
main reviewers of the code.

Add Ninad as reviewer as he'll be implementing some of the upcoming
changes to the code.

Change-Id: I65612f5a6cb831ef7133019c717a5a1fc8ebedfc
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

81365bf825-Oct-2024 Ninad Palsule <ninad@linux.ibm.com>

Fixed format errors in the build

Change-Id: I5c274fa52abef0634fc80037d192b269959a757a
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>

77692f5021-Dec-2023 Andrew Jeffery <andrew@aj.id.au>

OWNERS: Update Andrew's preferred email

We're having some grief with non-preferred emails in Gerrit[1]. I now
prefer project-related content goes to my work email address, so use my
non-preferred em

OWNERS: Update Andrew's preferred email

We're having some grief with non-preferred emails in Gerrit[1]. I now
prefer project-related content goes to my work email address, so use my
non-preferred email to implement the switch.

[1]: https://issues.gerritcodereview.com/issues/317345953

Change-Id: Ie6d17763b57360e939d1a42cbf2c9bfd238e90cb
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...

8207751128-Nov-2023 Adriana Kobylak <anoo@us.ibm.com>

vpnor: Look for files in rw directory first

IBM systems running PLDM create lid files for the host content instead
of PNOR partition files:
```
https://github.com/openbmc/pldm/blob/master/oem/ibm/co

vpnor: Look for files in rw directory first

IBM systems running PLDM create lid files for the host content instead
of PNOR partition files:
```
https://github.com/openbmc/pldm/blob/master/oem/ibm/configurations/fileTable.json
```

In order to continue to support mboxd (hiomapd), symlinks with the PNOR
partition file names are created to point to the lid files:
https://gerrit.openbmc.org/c/openbmc/openpower-pnor-code-mgmt/+/45249

Since these symlinks are created at runtime, they can only be created in
the read-write directory.
Update the mboxd (hiomapd) code to look at the rw directory first, since
in general the code searches in patch directories first to allow
overrides. Then if the partition files are not found default to the
read-only directory.

The symlinks are created prior to mboxd starting via a Before dependency
in the openpower service file:
```
https://github.com/openbmc/openpower-pnor-code-mgmt/blob/master/mmc/openpower-update-bios-attr-table.service#L6
```

Tested: Verified mboxd started successfully in a p10bmc and witherspoon
system.

Change-Id: I281cd41591ab55cd1b3de474ad25c5992ea2d498
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

68a24c9e25-Jul-2023 Patrick Williams <patrick@stwcx.xyz>

resolve stricter warnings

In order to convert this repository to Meson, we need to make it
compile under `warning_level=3`. Fix a number of warning classes
across the repository or disable them.

S

resolve stricter warnings

In order to convert this repository to Meson, we need to make it
compile under `warning_level=3`. Fix a number of warning classes
across the repository or disable them.

Some fixes are:

* Add missing header files.
* Fully initialize structs as necessary.
* Add `__attribute__((unused))` on parameters as necessary.
* Fix comparisons between signed and unsigned.
* Fix printf specifiers as necessary.
* Avoid case-fallthrough.
* Remove if conditions which are always true.

Some warnings would require extensive code changes, due to their
pervasive use, and so are disabled at a per-file level:
* `-Wpointer-arith`
* `-Wunused-result`

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

show more ...

6a51e5f408-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

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

show more ...

ad5dd0f504-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

bootstrap: fix shellcheck warnings

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

a75dcde304-Aug-2022 Patrick Williams <patrick@stwcx.xyz>

MAINTAINERS: remove file

The MAINTAINERS file is deprecated in favor of OWNERS.

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


e75b64ce22-Jul-2022 Patrick Williams <patrick@stwcx.xyz>

OWNERS: switch 'matches' to 'matchers'

The original OWNERS template had a mistake which used 'matches' instead
of the field supported by the Gerrit plugin 'matchers'. Update the
OWNERS file to have

OWNERS: switch 'matches' to 'matchers'

The original OWNERS template had a mistake which used 'matches' instead
of the field supported by the Gerrit plugin 'matchers'. Update the
OWNERS file to have the correct field.

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

show more ...

bf48004f22-Jul-2022 Patrick Williams <patrick@stwcx.xyz>

format-code: update clang-format to 14

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

fb7ebc2e16-Jun-2022 Patrick Williams <patrick@stwcx.xyz>

MAINTAINERS: update Deepak's email

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

7539be8d16-Jun-2022 Patrick Williams <patrick@stwcx.xyz>

build: enable C++20

Elsewhere, all of our C++ repositories have updated to C++20. Enable
it here as well.

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

build: enable C++20

Elsewhere, all of our C++ repositories have updated to C++20. Enable
it here as well.

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

show more ...

150be91216-Jun-2022 Patrick Williams <patrick@stwcx.xyz>

switch experimental::fs to std::fs

std::filesystem was added to C++17 and is well supported now. Remove
the older std::experimental::filesystem usage.

Signed-off-by: Patrick Williams <patrick@stwc

switch experimental::fs to std::fs

std::filesystem was added to C++17 and is well supported now. Remove
the older std::experimental::filesystem usage.

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

show more ...

220674cd23-Oct-2021 Manojkiran Eda <manojkiran.eda@gmail.com>

Add OWNERS file

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I1d7125db233d854103e81f0509a8125882659a71

fab4020d03-Sep-2021 Ed Tanous <edtanous@google.com>

clang-format code with new clang

New clang, new formatting.

Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ib20e9ed59f6d6c22e65d54212a096f15071b77b3

5c9264da14-May-2021 Andrew Geissler <geissonator@yahoo.com>

vpnor: Fix const decltype() error reported by gcc-11

The latest yocto rebase has brought in a new compiler. It's flagging the
following error with this code:

| ../git/vpnor/table.cpp: In member fun

vpnor: Fix const decltype() error reported by gcc-11

The latest yocto rebase has brought in a new compiler. It's flagging the
following error with this code:

| ../git/vpnor/table.cpp: In member function 'const pnor_partition& openpower::virtual_pnor::partition::Table::partition(size_t) const':
| ../git/vpnor/table.cpp:159:49: error: 'decltype(auto)' cannot be cv-qualified
| 159 | const decltype(auto) table = getNativeTable();
| |

The function is already returning a const so the declaration of the
variable as a const is redundant (and no longer allowed by the compiler)

Change-Id: I105f7e0a90c87b2618439a49e387ee74b4f5dc79
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

0ad1721614-May-2021 Andrew Geissler <geissonator@yahoo.com>

vpnor: Fix style issues reported by clang tooling

The files in this commit need to be changed to fix a warning found in
the latest gcc version. The issue has to do with using the following
syntax:
`

vpnor: Fix style issues reported by clang tooling

The files in this commit need to be changed to fix a warning found in
the latest gcc version. The issue has to do with using the following
syntax:
`const decltype(auto)`

First update the files in question to match with the latest clang11
formatting.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: If728d370665b42f2ccafea84dbfd50a2ae80c77a

show more ...

12345678910>>...17