From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH 0/9] y2038: clock_{g,s}ettime64, clock_nanosleep64 References: <20210601094334.774394-1-florian.bezdeka@siemens.com> From: Jan Kiszka Message-ID: <2db8894a-6b69-46d8-c4e0-00397e11bcaa@siemens.com> Date: Fri, 4 Jun 2021 14:07:23 +0200 MIME-Version: 1.0 In-Reply-To: <20210601094334.774394-1-florian.bezdeka@siemens.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Florian Bezdeka , xenomai@xenomai.org Cc: chensong@tj.kylinos.cn On 01.06.21 11:43, Florian Bezdeka wrote: > Hi! > > This is the next set of changes needed for solving the y2038 problem. > Most patches were provided by Song. I reviewed them and fixed some error > handling problems as well as test failures on some architectures. Some > of the tests were rebased on top of the current next branch. > > With this series applied the wip/dovetail and florian/y2038 [1] branches > are merge-able without conflicts. > > Best regards, > Florian > > [1] https://gitlab.com/Xenomai/xenomai-hacker-space/-/tree/florian/y2038 > > Florian Bezdeka (1): > y2038: libcobalt: Centralize sc_cobalt_clock_gettime syscall > > chensong (8): > y2038: cobalt/posix/clock: Adding clock_gettime64 > y2038: cobalt/posix/clock: Adding clock_settime64 > y2038: lib/cobalt/clock: dispatch clock_gettime > y2038: lib/cobalt/clock: dispatch clock_settime > y2038: testsuite/smokey/y2038: testcase for settime64 and gettime64 > y2038: cobalt/posix/clock: Adding clock_nanosleep64 > y2038: lib/cobalt/clock: dispatch clock_nanosleep > y2038: testsuite/smokey/y2038: Adding testcase for nanosleep64 > > include/cobalt/kernel/time.h | 11 ++ > include/cobalt/uapi/syscall.h | 3 + > kernel/cobalt/posix/clock.c | 70 +++++++++++- > kernel/cobalt/posix/clock.h | 22 ++++ > kernel/cobalt/posix/syscall32.c | 23 ++++ > kernel/cobalt/posix/syscall32.h | 14 +++ > kernel/cobalt/time.c | 11 ++ > lib/cobalt/clock.c | 22 +++- > testsuite/smokey/y2038/syscall-tests.c | 151 +++++++++++++++++++++++++ > 9 files changed, 324 insertions(+), 3 deletions(-) > Thanks, applied to next. A tiny cleanup patch for the error test will follow on top. As I just found out: clock_settime does not work with dovetail yet. So the testsuite will fail over wip/dovetail for the time being. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux