Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all jira and changeid information from the kernel #69

Merged
merged 2 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ From: yanghuatao <yanghuatao@xiaomi.com>
Date: Thu, 23 Mar 2023 09:43:19 +0800
Subject: [PATCH 1/3] fix build error: remove unused file fenv.h

VELAPLATFO-6159

fenv.h is unused, remove it or will have conflict with quickjs.c`s fenv.h

(1)open menuconfig (2)close math.h:build setup->Customize Header Files->math.h (2) select libmcs:Library Rountines->Select math library->Math Library fram LibmCS (3)build

Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
Change-Id: I70496ce82ff2f9de9016f5c829daf9982fa32d45
---
libmcs/libmcs/libm/include/fenv.h | 41 -----------------------------------------
1 file changed, 41 deletions(-)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ From: yanghuatao <yanghuatao@xiaomi.com>
Date: Thu, 23 Mar 2023 09:47:17 +0800
Subject: [PATCH 2/3] fix build error: do not include config.h

VELAPLATFO-6159

config.h is generated by confugure, we do not need it

(1)open menuconfig (2)close math.h:build setup->Customize Header Files->math.h (2) select libmcs:Library Rountines->Select math library->Math Library fram LibmCS (3)build

Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
Change-Id: I2d6efed47a8addee7624cbb972fb2ca914c1684c
---
libmcs/libmcs/libm/include/complex.h | 1 -
libmcs/libmcs/libm/include/math.h | 1 -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ From: yanghuatao <yanghuatao@xiaomi.com>
Date: Thu, 23 Mar 2023 09:54:59 +0800
Subject: [PATCH 3/3] fix build error: INFINITY error in quickjs.c

VELAPLATFO-6159

quickjs/quickjs.c:40035:45: error: initializer element is not constant 40035 | JS_PROP_DOUBLE_DEF("POSITIVE_INFINITY", INFINITY, 0 )

(1)open menuconfig (2)close math.h:build setup->Customize Header Files->math.h (2) select libmcs:Library Rountines->Select math library->Math Library fram LibmCS (3)build

Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
Change-Id: I6d70b7152e047b893429f49abc3c6c0e191735a4
---
libmcs/libmcs/Makefile.in | 1 -
.../2000_misc_internal.rst | 1 -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ie8f405c14d6bae5a5d25caa82e7190c4bcb4504f
---
libm/common/tools.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ From: yanghuatao <yanghuatao@xiaomi.com>
Date: Mon, 4 Sep 2023 21:29:55 +0800
Subject: [PATCH 2/2] libm/libmcs: Fix clang build libmcs warning

VELAPLATFO-15795

Fix warnings:
libmcs/libmcs/libm/common/fenv.c libmcs/libmcs/libm/common/fenv.c:26:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int fegetround()

Change-Id: I91e956a46b0ea0bbf187c1790a1f236da8ee6b01
Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
---
libmcs/libmcs/libm/common/fenv.c | 2 +-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ From: yanghuatao <yanghuatao@xiaomi.com>
Date: Sun, 26 Mar 2023 01:16:23 +0800
Subject: [PATCH 1/2] newlib libm fix __RCSID build error

VELAPLATFO-6159

remove code __RCSID in newlib/libm

Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
Change-Id: I7eec03396b911ead48183fc80936475a9136f3ee
---
newlib/libm/complex/conjl.c | 3 ---
newlib/libm/complex/cprojl.c | 3 ---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ From: yanghuatao <yanghuatao@xiaomi.com>
Date: Sun, 26 Mar 2023 09:31:15 +0800
Subject: [PATCH 2/2] newlib libm remove include reent.h

VELAPLATFO-6159

remove include reent.h

Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
Change-Id: I8265baa3bfc9df9035fb45f02676047ea8adacbd
---
newlib/libm/math/w_gamma.c | 1 -
newlib/libm/math/w_lgamma.c | 1 -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ From: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
Date: Thu, 22 Feb 2024 15:05:36 +0100
Subject: [PATCH] newlib: fix compilation for x86

Change-Id: I5286ef72e358010ea7b4805e6087b06f67e42d44
Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
---
newlib/libc/machine/shared_x86/sys/fenv.h | 1 +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ From: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
Date: Fri, 24 May 2024 09:19:03 +0200
Subject: [PATCH] newlib: disable optmisation for sincos

Change-Id: Ie571e357485384655f67cdc9af2be1c60cacfeee
Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
---
newlib/libm/math/w_sincos.c | 9 +++++++++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

VELAPLATFO-6159

libcxx/cmath:335:9: error: ‘::float_t’ has not been declared

(1)open menuconfig (2)close math.h:build setup->Customize Header Files->math.h (2) select openlibm:Library Rountines->Select math library->Math Library fram openlibm (3)build

Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
Change-Id: Iec6dbcebbe4ef15a96bcebb038f0c64ab39c5af7
---
include/openlibm_math.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ From: yanghuatao <yanghuatao@xiaomi.com>
Date: Sat, 25 Mar 2023 11:05:58 +0800
Subject: [PATCH 2/2] add math.h and complex.h to openlibm

VELAPLATFO-6159

openlibm do not have math.h and complex.h, so we add them to openlibm

(1)open menuconfig (2)close math.h:build setup->Customize Header Files->math.h (2) select openlibm:Library Rountines->Select math library->Math Library fram openlibm (3)build

Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
Change-Id: I0bebef549c3ce7226a190d6a16a347f47014ad0b
---
include/complex.h | 6 ++++++
include/math.h | 6 ++++++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

VELAPLATFO-28707

CC: socket/net_timeo.c sensors/wtgahrs2_uorb.c: In function ‘wtgahrs2_gyro_data’:
sensors/wtgahrs2_uorb.c:229:58: error: ‘M_PI’ undeclared (first use in this function)
229 | gyro.x = (short)(buffer[1] << 8 | buffer[0]) * (2000 * M_PI / 180 / 32768);
Expand All @@ -17,7 +15,6 @@ make[1]: *** [Makefile:105: wtgahrs2_uorb.o] Error 1
make: *** [tools/LibTargets.mk:101: drivers/libdrivers.a] Error 2
make: *** Waiting for unfinished jobs....

Change-Id: I01072f562fa6306db864cf4fa7c260c09751e0d1
Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
---
include/openlibm_math.h | 4 ++++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

VELAPLATFO-32782

nuttx/libs/libxx/libcxxabi/src/cxa_personality.cpp: In function ‘void __cxxabiv1::__cxa_call_unexpected(void*)’:
nuttx/libs/libxx/libcxxabi/src/cxa_personality.cpp:1250:46: warning: ‘ttypeIndex’ may be used uninitialized [-Wmaybe-uninitialized]
1250 | if (!exception_spec_can_catch(ttypeIndex, classInfo, ttypeEncoding,
Expand All @@ -17,7 +15,6 @@ nuttx/libs/libxx/libcxxabi/src/cxa_personality.cpp:1250:46: warning: ‘ttypeInd
| ~~~~~~~~~~~~~~~~~~~~~~
1252 | unwind_exception, base))

Change-Id: Ic114508ecdad7cc84e7ad997a9379e50b2efd2a5
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
---
src/cxa_personality.cpp | 2 +-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Subject: [PATCH 1/2] uClibcxx:basic_definitions: fix GCC-specific definitions

gcc use __GNUC__ instead off __GCC__

Change-Id: I63aeb2118f45a981653553c8a3721a9d9c7ccaaa
---
include/basic_definitions | 4 ++--
include/cstddef | 2 +-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Subject: [PATCH] uclibxx: use overload constructor of filebuf & ostream
Instead of set valiable in Init, use overload constructor in
filebuf & stream class

Change-Id: I090432b5576eb568f92f3c147b39ad2efd8ba6b0
---
include/fstream | 15 +++++++--
include/ios | 21 +++---------
Expand Down
1 change: 0 additions & 1 deletion libs/libxx/0002-libcxxabi-fix-compilation-errors.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ error: invalid conversion from 'int' to '_Unwind_State' [-fpermissive]
| |
| int

Change-Id: I47827d58438f248e2171d20a44cc29ed8b259fc5
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
---
src/cxa_personality.cpp | 2 +-
Expand Down
1 change: 0 additions & 1 deletion openamp/0001-lib-errno.h-fix-compile-error.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Subject: [PATCH 1/5] lib/errno.h: fix compile error

lib/errno.h: delete defined(__arm__) for use GCC compile

Change-Id: I00f93740810c1cb8875fc2e27bac478aecaf28d5
Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
---
lib/errno.h | 2 +-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Subject: [PATCH 01/14] ns: acknowledge the received creation message
the two phase handsake make the client could initiate the transfer
immediately without the server side send any dummy message first.

Change-Id: I3289120a4e0d2291ba8b39de98d97de9e15880d0
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ If slave support VIRTIO_RPMSG_F_BUFSZ(0x04) feature, master
determine the buffer size from config space(first 8 bytes),
otherwise the default size(512 bytes) will be used.

Change-Id: Ief68ed298495296a9eff38448ce5661f188300c2
Signed-off-by: anchao <anchao@pinecone.net>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ toolchains have built-in properties to indicate whether support atomic64:
| #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
| #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1

Change-Id: Iab9f7df0a9d21e29c8b8d131006cb4817414ebdc
Signed-off-by: chao an <anchao@lixiang.com>
---
lib/io.h | 3 ++-
Expand Down
1 change: 0 additions & 1 deletion openamp/0003-atomic.h-fix-compiler-error.patch
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ In file included from /home/wyr/work/code/velasim/upgrade/nuttx/include/nuttx/ne
/home/wyr/work/code/velasim/upgrade/nuttx/include/metal/compiler/gcc/atomic.h:22:15: error: conflicting type qualifiers for 'atomic_short'
22 | typedef short atomic_short;

Change-Id: Ic4e920c27e0f8a263136eb9ecb5350edd157195d
Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
---
lib/atomic.h | 4 ++--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Date: Tue, 19 Oct 2021 19:45:14 +0800
Subject: [PATCH 03/14] rpmsg: notify the user when the remote address is
received

Change-Id: I1085e98aa0bd50746b624ec3fce1e3ca407c17e3
Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ error: unused parameter ‘len’ [-Werror=unused-parameter]
25 | static inline void __metal_cache_flush(void *addr, unsigned int len)
| ~~~~~~~~~~~~~^~~

Change-Id: Ic4515da151d90fd1f87d94d5523144967a7ca688
Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
---
lib/system/nuttx/cache.h | 5 +++++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Date: Tue, 2 Jul 2024 16:33:32 +0800
Subject: [PATCH 04/14] openamp/virtio.h: negotiate_features also can be call
when final_features is NULL

Change-Id: I41774d6c8b3c8b7487dc4b640fa60f4061ad3694
Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
---
lib/include/openamp/virtio.h | 6 ++++--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Date: Fri, 6 Sep 2024 10:56:49 +0800
Subject: [PATCH 5/5] libmetal(cmake):set HAVE_STDATOMIC_H default true in
NuttX platform

Change-Id: I84e6fdd03753a16a9c296e87ab121cb8c16f3c61
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
---
cmake/depends.cmake | 10 ++++++++--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ From: wangyongrong <wangyongrong@xiaomi.com>
Date: Wed, 3 Jul 2024 10:00:34 +0800
Subject: [PATCH 05/14] remoteproc/rpmsg_virtio: change sched_yeild to usleep

Change-Id: I4246185cb1d2f363df170e2aa03a1901b0a296a8
Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
---
lib/remoteproc/remoteproc_virtio.c | 3 ++-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Subject: [PATCH 6/6] lib/system/nuttx/io.c: include <stddef.h> in nuttx/io.c

Because nuttx/io.c use NULL and NULL is defined in <stddef.h>

Change-Id: I98af56739e6beb6f165ef165e700c3ed8305d1d1
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
---
lib/system/nuttx/io.c | 1 +
Expand Down
1 change: 0 additions & 1 deletion openamp/0006-rpmsg-wait-ept-ready-in-rpmsg_send.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Subject: [PATCH 06/14] rpmsg: wait ept ready in rpmsg_send

since the destination address need time to return from peer

Change-Id: I1a518c15cd375205b07861c7d39670de555eaaed
Signed-off-by: ligd <liguiding@pinecone.net>
Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ From: ligd <liguiding1@xiaomi.com>
Date: Thu, 23 Jun 2022 00:41:13 +0800
Subject: [PATCH 07/14] openamp: add VIRTIO_RING_F_MUST_NOTIFY event

Change-Id: I455c4a5427fbcc60c6f61707c4304c12aa13ee58
Signed-off-by: ligd <liguiding1@xiaomi.com>
---
lib/include/openamp/virtqueue.h | 3 +++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Date: Wed, 3 Jul 2024 10:28:31 +0800
Subject: [PATCH 08/14] rpmsg_virtio: don't need check status when
get_tx_payload

Change-Id: I6c0632a6924dafeb0c01ec0b16c9f53d2fbc6810
Signed-off-by: ligd <liguiding1@xiaomi.com>
---
lib/rpmsg/rpmsg_virtio.c | 6 ------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Date: Fri, 7 Apr 2023 12:42:09 +0800
Subject: [PATCH 09/14] openamp: swap get_rx_buffer & return_rx_buffer to
resolve remote low power.

Change-Id: I84e8b3a7a6796b5865da482db0408d5a08c55c2a
Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Subject: [PATCH 10/14] rpmsg_virtio.c: virtqueue_kick after all rx buffer
Only kick once when all the rx buffers has been returned to decrease
the interrupt times to improve the performance

Change-Id: I158e3a63063e8eff7b97a02660f2d7a6c812c493
Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Subject: [PATCH 11/14] virtio: change feature to 64 bit in all virtio_dispatch
The virtio device feature bit has exceeded 32 bits, so change feautre
to 64 bit like linux does to support more features

Change-Id: I42c016e3e9eaac5fdbfdf19549a906bc51eb6939
Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
---
lib/include/openamp/rpmsg_virtio.h | 2 +-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Subject: [PATCH 12/14] rpmsg_virtio.c: fix get_tx_payload_buffer error

Always sleep when notify wait return not RPMSG_SUCCESS

Change-Id: I2fa50e649de36114597fec09dfcf96c7d2d35546
Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
---
lib/rpmsg/rpmsg_virtio.c | 4 +---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Subject: [PATCH 13/14] openamp: add assert when get tx buffer failed

So we can found the error more eaily

Change-Id: Idade291ac8d8224b1ccbe0c0120bc07c036be17a
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
---
lib/rpmsg/rpmsg_virtio.c | 2 ++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Subject: [PATCH 14/14] virtio.h: add memory operation for virtio device
To make different virtio device/transport can use it's own memory
region.

Change-Id: I30adcc2c4215cefa8d0f7d81b6ebffd0f3ad74b5
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
---
lib/include/openamp/virtio.h | 42 ++++++++++++++++++++++++++++++++++++
Expand Down
Loading