History log of /rk3399_ARM-atf/drivers/scmi-msg/base.c (Results 1 – 9 of 9)
Revision Date Author Comments
# 92f51a4e 10-Nov-2025 Mark Dykes <mark.dykes@arm.com>

Merge "fix(scmi): fix coverity issue INTEGER_OVERFLOW" into integration


# 6ec871d2 31-Oct-2025 Govindraj Raja <govindraj.raja@arm.com>

fix(scmi): fix coverity issue INTEGER_OVERFLOW

Use round_up_overflow to avoid any integer overflow from
protocol count.

Thsi fixes below coverity issue -

CID 457880: (#1 of 1): Overflowed constant

fix(scmi): fix coverity issue INTEGER_OVERFLOW

Use round_up_overflow to avoid any integer overflow from
protocol count.

Thsi fixes below coverity issue -

CID 457880: (#1 of 1): Overflowed constant (INTEGER_OVERFLOW)
4. overflow_const: Expression count - 1U, where count is known
to be equal to 0, underflows the type of count - 1U, which is
type unsigned int.

Change-Id: Ib55599fcb2a522e57271a6a07fb9bfd07e6953b9
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>

show more ...


# 529bc3df 06-Apr-2023 Joanna Farley <joanna.farley@arm.com>

Merge "fix(scmi): fix compilation error in scmi base" into integration


# 7c389342 21-Mar-2023 Michal Simek <michal.simek@amd.com>

fix(scmi): fix compilation error in scmi base

Fix compilation error when scmi base in enabled.
The following compilation error is visible:
drivers/scmi-msg/base.c: In function 'discover_list_protoco

fix(scmi): fix compilation error in scmi base

Fix compilation error when scmi base in enabled.
The following compilation error is visible:
drivers/scmi-msg/base.c: In function 'discover_list_protocols':
include/lib/utils_def.h:70:20: error: comparison of distinct
pointer types lacks a cast [-Werror]
70 | (void)(&_x == &_y); \
| ^~
drivers/scmi-msg/base.c:154:25: note: in expansion of macro 'MIN'
154 | count = MIN(count - a2p->skip,
msg->out_size - sizeof(p2a));

Change-Id: I79e60d4bc9c4f6e78a76099a36ebf4fe5212a7d1
Signed-off-by: Michal Simek <michal.simek@amd.com>

show more ...


# 67656351 02-Jun-2022 Madhukar Pappireddy <madhukar.pappireddy@arm.com>

Merge changes Idafbe02d,Ib01eb5ce into integration

* changes:
fix(scmi-msg): base: fix protocol list querying
fix(scmi-msg): base: fix protocol list response size


# cad90b56 12-May-2022 Etienne Carriere <etienne.carriere@linaro.org>

fix(scmi-msg): base: fix protocol list querying

Corrects the function reporting the SCMI protocols supported by the
platform to not assume 8 protocol IDs at most can be returned. Indeed
the number o

fix(scmi-msg): base: fix protocol list querying

Corrects the function reporting the SCMI protocols supported by the
platform to not assume 8 protocol IDs at most can be returned. Indeed
the number of protocol IDs returned depends on the SCMI output buffer
size.

Change-Id: Idafbe02d2b25b3bcacaf25977c560c0ac5bb8d62
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>

show more ...


# d323f0cf 12-May-2022 Etienne Carriere <etienne.carriere@linaro.org>

fix(scmi-msg): base: fix protocol list response size

Corrects the size of the SCMI response payload when querying the list
of the supported protocol. This response payload size depends on the
number

fix(scmi-msg): base: fix protocol list response size

Corrects the size of the SCMI response payload when querying the list
of the supported protocol. This response payload size depends on the
number of protocols enumerated by the response.

Change-Id: Ib01eb5cec6c6656dfd7d88ccdd5a720c1deee7a3
Reported-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>

show more ...


# 26dccba6 27-Jan-2021 Madhukar Pappireddy <madhukar.pappireddy@arm.com>

Merge changes from topic "scmi-msg" into integration

* changes:
doc: maintainers: add scmi server
drivers: move scmi-msg out of st


# b4734308 20-Jan-2021 Peng Fan <peng.fan@nxp.com>

drivers: move scmi-msg out of st

Make the scmi-msg driver reused by others.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Change-Id: I5bc35fd4dab70f45c09b8aab65af4209cf23b124