This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via b50cf14202528e986ae9a41721fae1e746078646 (commit)
from 3a8ba69bff8052cbe35dcca71ebda9b669dbf807 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b50cf14202528e986ae9a41721fae1e746078646
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Thu May 11 01:14:29 2017 +0300
codecov: enable threshold for patches
thresholds for individual patches and for project
set in different places. Also drop status for not
visible diff changes. Test only patch and project.
https://github.com/codecov/support/wiki/Codecov-Yaml
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
diff --git a/.codecov.yml b/.codecov.yml
index 36270d61..327f6549 100644
--- a/.codecov.yml
+++ b/.codecov.yml
@@ -8,10 +8,16 @@ coverage:
range: "50...75"
status:
project:
- target: 70%
- threshold: 5%
- patch: yes
- changes: yes
+ default:
+ enabled: yes
+ target: 70%
+ threshold: 5%
+ patch:
+ default:
+ enabled: yes
+ target: 70%
+ threshold: 5%
+ changes: no
parsers:
gcov:
-----------------------------------------------------------------------
Summary of changes:
.codecov.yml | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, api-next has been updated
via f4c213cccc49b4b28557506ad19fba49b872d24f (commit)
via 3a8ba69bff8052cbe35dcca71ebda9b669dbf807 (commit)
via 160f71a48b5891b49a84cc849f08c1ff99d26b3f (commit)
via 8b9783b7f5667b3a37f039222e06448af2eec070 (commit)
via 036f1d33b5d186a68748a5465713370b1c602545 (commit)
via 91f92891554b9c335e9f51f8ef574b74a37a11fb (commit)
via 86e5b478325a0f5422fc6edff9db168d44852d2e (commit)
via c1e962548f5082554bb52137765a258b3a29283c (commit)
via bd583923b29e5dddc4d1b9c6d0e0a513edb69496 (commit)
from 900dd9e2d3d2ae751ab2bc4e11dbd48ea7ed7030 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
.checkpatch.conf | 2 ++
configure.ac | 6 ++++--
helper/hashtable.c | 3 +--
helper/lineartable.c | 3 +--
platform/linux-generic/odp_crypto.c | 3 +++
platform/linux-generic/odp_rwlock.c | 9 +++++++--
platform/linux-generic/odp_schedule.c | 3 ++-
platform/linux-generic/odp_schedule_iquery.c | 2 +-
platform/linux-generic/odp_traffic_mngr.c | 4 ++--
test/common_plat/validation/api/lock/lock.c | 21 +++++++++++++++++++--
10 files changed, 42 insertions(+), 14 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, cloud-dev has been created
at f4c213cccc49b4b28557506ad19fba49b872d24f (commit)
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 3a8ba69bff8052cbe35dcca71ebda9b669dbf807 (commit)
from 160f71a48b5891b49a84cc849f08c1ff99d26b3f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3a8ba69bff8052cbe35dcca71ebda9b669dbf807
Author: Yi He <yi.he(a)linaro.org>
Date: Tue May 16 06:00:06 2017 +0300
checkpatch.conf: ignore PREFER_PRINTF, PREFER_SCANF
This is not the kernel, ignore these preferences
Signed-off-by: Yi He <yi.he(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/.checkpatch.conf b/.checkpatch.conf
index 1e7d6638..043551a4 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -6,5 +6,7 @@
--ignore=DEPRECATED_VARIABLE
--ignore=COMPARISON_TO_NULL
--ignore=BIT_MACRO
+--ignore=PREFER_PRINTF
+--ignore=PREFER_SCANF
--codespell
--codespellfile=/usr/share/codespell/dictionary.txt
-----------------------------------------------------------------------
Summary of changes:
.checkpatch.conf | 2 ++
1 file changed, 2 insertions(+)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 160f71a48b5891b49a84cc849f08c1ff99d26b3f (commit)
from 8b9783b7f5667b3a37f039222e06448af2eec070 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 160f71a48b5891b49a84cc849f08c1ff99d26b3f
Author: Dmitriy Krot <globaxbiz(a)gmail.com>
Date: Fri May 12 03:00:13 2017 +0300
linux-gen: tm: fix wrr/wfq bug when weight=1
Usage of 0x10000 in the inverted weight calculation causes overflow of
uint16_t if weight=1. As a result of this bug, frame len used for virtual
finish time calculation is always zero, despite of packet size, so packets
from input with weight=1 always pass first.
Signed-off-by: Dmitriy Krot <globaxbiz(a)gmail.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/platform/linux-generic/odp_traffic_mngr.c b/platform/linux-generic/odp_traffic_mngr.c
index 4e9358b9..a93b3ba9 100644
--- a/platform/linux-generic/odp_traffic_mngr.c
+++ b/platform/linux-generic/odp_traffic_mngr.c
@@ -3238,7 +3238,7 @@ static void tm_sched_params_cvt_to(odp_tm_sched_params_t *odp_sched_params,
if (weight == 0)
inv_weight = 0;
else
- inv_weight = 0x10000 / weight;
+ inv_weight = 0xFFFF / weight;
tm_sched_params->sched_modes[priority] = sched_mode;
tm_sched_params->inverted_weights[priority] = inv_weight;
@@ -3254,7 +3254,7 @@ static void tm_sched_params_cvt_from(tm_sched_params_t *tm_sched_params,
for (priority = 0; priority < ODP_TM_MAX_PRIORITIES; priority++) {
sched_mode = tm_sched_params->sched_modes[priority];
inv_weight = tm_sched_params->inverted_weights[priority];
- weight = 0x10000 / inv_weight;
+ weight = 0xFFFF / inv_weight;
odp_sched_params->sched_modes[priority] = sched_mode;
odp_sched_params->sched_weights[priority] = weight;
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/odp_traffic_mngr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 8b9783b7f5667b3a37f039222e06448af2eec070 (commit)
from 036f1d33b5d186a68748a5465713370b1c602545 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8b9783b7f5667b3a37f039222e06448af2eec070
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Wed May 10 02:47:11 2017 +0300
linux-generic: crypto: don't leak sessions if creation fails
We should free allocated session in odp_crypto_session_create() error
paths, so that the session is not leaked.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c
index b432f84a..c5473d95 100644
--- a/platform/linux-generic/odp_crypto.c
+++ b/platform/linux-generic/odp_crypto.c
@@ -678,6 +678,7 @@ odp_crypto_session_create(odp_crypto_session_param_t *param,
if (session->p.iv.data) {
if (session->p.iv.length > MAX_IV_LEN) {
ODP_DBG("Maximum IV length exceeded\n");
+ free_session(session);
return -1;
}
@@ -724,6 +725,7 @@ odp_crypto_session_create(odp_crypto_session_param_t *param,
/* Check result */
if (rc) {
*status = ODP_CRYPTO_SES_CREATE_ERR_INV_CIPHER;
+ free_session(session);
return -1;
}
@@ -763,6 +765,7 @@ odp_crypto_session_create(odp_crypto_session_param_t *param,
/* Check result */
if (rc) {
*status = ODP_CRYPTO_SES_CREATE_ERR_INV_AUTH;
+ free_session(session);
return -1;
}
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/odp_crypto.c | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 036f1d33b5d186a68748a5465713370b1c602545 (commit)
from 91f92891554b9c335e9f51f8ef574b74a37a11fb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 036f1d33b5d186a68748a5465713370b1c602545
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Fri May 12 03:00:05 2017 +0300
configure.ac: fix mcx16 vs clang check
Currently configure script outputs the following error on my sistem,
because the syntax is far from being standard. Use standard case/esac
instead.
./configure: line 23507: x86_64-pc-linux-gnu: command not found
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/configure.ac b/configure.ac
index d364b8dd..7569ebe0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -306,7 +306,8 @@ ODP_CFLAGS="$ODP_CFLAGS $ODP_CFLAGS_EXTRA"
##########################################################################
# Check if compiler supports cmpxchng16 on x86-based architectures
##########################################################################
-if "${host}" == i?86* -o "${host}" == x86*; then
+case "${host}" in
+ i?86? | x86*)
if test "${CC}" != "gcc" -o ${CC_VERSION_MAJOR} -ge 5; then
my_save_cflags="$CFLAGS"
@@ -319,7 +320,8 @@ if "${host}" == i?86* -o "${host}" == x86*; then
)
CFLAGS="$my_save_cflags"
fi
-fi
+ ;;
+esac
##########################################################################
# Default include setup
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via c1e962548f5082554bb52137765a258b3a29283c (commit)
from bd583923b29e5dddc4d1b9c6d0e0a513edb69496 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c1e962548f5082554bb52137765a258b3a29283c
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Thu May 11 14:48:38 2017 +0300
linux-gen: sched: fix one at a time low priority event scheduling
If CONFIG_BURST_SIZE was set to one low priority events were never
scheduled.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/platform/linux-generic/odp_schedule.c b/platform/linux-generic/odp_schedule.c
index f366e7ed..f680ac47 100644
--- a/platform/linux-generic/odp_schedule.c
+++ b/platform/linux-generic/odp_schedule.c
@@ -799,7 +799,8 @@ static inline int do_schedule_grp(odp_queue_t *out_queue, odp_event_t out_ev[],
/* Low priorities have smaller batch size to limit
* head of line blocking latency. */
- if (odp_unlikely(prio > ODP_SCHED_PRIO_DEFAULT))
+ if (odp_unlikely(MAX_DEQ > 1 &&
+ prio > ODP_SCHED_PRIO_DEFAULT))
max_deq = MAX_DEQ / 2;
ordered = sched_cb_queue_is_ordered(qi);
diff --git a/platform/linux-generic/odp_schedule_iquery.c b/platform/linux-generic/odp_schedule_iquery.c
index b6924578..b8a40011 100644
--- a/platform/linux-generic/odp_schedule_iquery.c
+++ b/platform/linux-generic/odp_schedule_iquery.c
@@ -1457,7 +1457,7 @@ static inline int consume_queue(int prio, unsigned int queue_index)
/* Low priorities have smaller batch size to limit
* head of line blocking latency.
*/
- if (odp_unlikely(prio > ODP_SCHED_PRIO_DEFAULT))
+ if (odp_unlikely(MAX_DEQ > 1 && prio > ODP_SCHED_PRIO_DEFAULT))
max = MAX_DEQ / 2;
/* For ordered queues we want consecutive events to
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/odp_schedule.c | 3 ++-
platform/linux-generic/odp_schedule_iquery.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--