t;> counter).
>>
>> Signed-off-by: Vincent Chen
>> Signed-off-by: Greentime Hu
>
> Acked-by: Arnd Bergmann
Dear Arnd Bergmann:
We find a small bug here which make LTP 20170929 clock_getres01
fail. The bug is in __vdso_clock_getres() function. When argument res
is NU
ll recover it.
We verify all modifications by LTP 2017 related cases and glibc
2.26 testsuite. We plan to add it in the next version patch and
hope you can give us some comments as before.
Thanks
Vincent
2018-01-24 19:13 GMT+08:00 Arnd Bergmann :
> On Wed, Jan 24, 2018 at 1:56 AM, Vincent C
2018-01-24 19:10 GMT+08:00 Arnd Bergmann :
> On Wed, Jan 24, 2018 at 12:09 PM, Arnd Bergmann wrote:
>> On Wed, Jan 24, 2018 at 11:53 AM, Vincent Chen wrote:
>>> 2018-01-18 18:14 GMT+08:00 Arnd Bergmann :
>
>> Ok. I still wonder about the kernel part of this though: is
2018-01-18 18:14 GMT+08:00 Arnd Bergmann :
> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>> From: Greentime Hu
>>
>> This patch includes the exception/interrupt entries, pt_reg structure and
>> related accessors.
>>
>> Signed-off-by: Vince
2018-01-18 18:30 GMT+08:00 Arnd Bergmann :
> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>> From: Greentime Hu
>>
>> This patch adds support for signal handling.
>>
>> Signed-off-by: Vincent Chen
>> Signed-off-by: Greentime Hu
>
> I n
2018-01-18 18:37 GMT+08:00 Arnd Bergmann :
> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>> From: Greentime Hu
>>
>> This patch adds ptrace support.
>>
>> Signed-off-by: Vincent Chen
>> Signed-off-by: Greentime Hu
>
> I must have missed th
er by summation of __get_timerpage() and
counter register offset where __get_timerpage() is used to derive the
virtual address of memory-mapped clock.
2018-01-20 19:11 GMT+08:00 Vincent Chen :
> 2018-01-18 19:08 GMT+08:00 Arnd Bergmann :
>> On Mon, Jan 15, 2018 at 6:57 AM, Greentime Hu w
DSO needs atcpit100 offering real-time cycle count
>> to derive the correct time.
>>
>> Signed-off-by: Vincent Chen
>> Signed-off-by: Rick Chen
>> Signed-off-by: Greentime Hu
>
> I'm a bit puzzled by this patch, can you explain how the vdso actually
>
2017-12-18 19:19 GMT+08:00 Arnd Bergmann :
> On Mon, Dec 18, 2017 at 7:46 AM, Greentime Hu wrote:
>
>
>> new file mode 100644
>> index 000..90da745
>> --- /dev/null
>> +++ b/arch/nds32/include/uapi/asm/unistd.h
>> @@ -0,0 +1,12 @@
>> +// SPDX-License-Identifier: GPL-2.0
>> +// Copyright (C) 20
2017-12-08 20:14 GMT+08:00 Mark Rutland :
> On Fri, Dec 08, 2017 at 07:54:42PM +0800, Greentime Hu wrote:
>> 2017-12-08 18:21 GMT+08:00 Mark Rutland :
>> > On Fri, Dec 08, 2017 at 05:12:00PM +0800, Greentime Hu wrote:
>> >> +static int grab_timer_node_info(void)
>> >> +{
>> >> + struct device_n
2017-11-27 21:57 GMT+08:00 Mark Rutland :
> Hi,
>
> On Mon, Nov 27, 2017 at 08:27:57PM +0800, Greentime Hu wrote:
>> +static inline void arch_spin_unlock(arch_spinlock_t * lock)
>> +{
>> + asm volatile(
>> + "xor$r15, $r15, $r15\n"
>> + "swi$r15, [%0]\n"
>> +
2017-11-27 22:34 GMT+08:00 Arnd Bergmann :
> On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu wrote:
>> +struct user_pt_regs {
>> + long uregs[26];
>> + long fp;
>> + long gp;
>> + long lp;
>> + long sp;
>> + long ipc;
>> +#if defined(CONFIG_HWZOL)
>> + long
2017-11-27 22:37 GMT+08:00 Arnd Bergmann :
> On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu wrote:
>
>> +#ifndef _ASMNDS32_SIGNAL_H
>> +#define _ASMNDS32_SIGNAL_H
>> +
>> +#define SA_RESTORER0x0400
>> +
>> +#include
>> +#endif
>
> As documented in asm-generic/signal.h, new architectures sh
2017-11-27 22:46 GMT+08:00 Arnd Bergmann :
> On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu wrote:
>
>> diff --git a/arch/nds32/include/asm/syscalls.h
>> b/arch/nds32/include/asm/syscalls.h
>> new file mode 100644
>> index 000..741ccdc
>> --- /dev/null
>> +++ b/arch/nds32/include/asm/syscalls.
2017-11-09 18:42 GMT+08:00 Vincent Chen :
>>>On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote:
>>> +
>>> +static inline void __delay(unsigned long loops) {
>>> + __asm__ __volatile__(".align 2\n"
>>> +&quo
2017-11-13 19:42 GMT+08:00 Arnd Bergmann :
> On Mon, Nov 13, 2017 at 3:51 AM, Vincent Chen wrote:
>>>>On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote:
>>>> From: Greentime Hu
>
>>
>>>> +#define __ARCH_WANT_SYS_CLONE
>>>
>>>Th
2017-11-20 22:29 GMT+08:00 Will Deacon :
> Hi Greentime,
>
> On Wed, Nov 08, 2017 at 01:54:59PM +0800, Greentime Hu wrote:
>> From: Greentime Hu
>>
>> Signed-off-by: Vincent Chen
>> Signed-off-by: Greentime Hu
>> ---
>> arch/nds32/include/asm/futex.
>>On Wed, Nov 08, 2017 at 01:55:06PM +0800, Greentime Hu wrote:
>
>> +#define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs()
>> +-size))
>> +
>> +#define access_ok(type, addr, size) \
>> + __range_ok((unsigned long)addr, (unsigned long)size)
>
>> +#define __get_us
>> From: Greentime Hu
>>
>> Signed-off-by: Vincent Chen
>> Signed-off-by: Greentime Hu
>> arch/nds32/mm/alignment.c | 564
>> +++
>
>> diff --git a/arch/nds32/mm/alignment.c b/arch/nds32/mm/alignment.c n
>>On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote:
>> From: Greentime Hu
>
>> +#endif /* __ASM_NDS32_SYSCALLS_H */
>> diff --git a/arch/nds32/include/asm/unistd.h
>> b/arch/nds32/include/asm/unistd.h new file mode 100644 index
>> 000..b30adca
>> --- /dev/null
>> +++ b/arch/nds32/include/as
>> +static int restore_sigframe(struct pt_regs *regs,
>> + struct rt_sigframe __user * sf) {
>
>[snip]
>
>> + err |= !valid_user_regs(regs);
>
>IDGI... Where do you modify ->ipsw at all and how can valid_user_regs() come
>to be false here?
>
Thanks.
This code is trivia
>>On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote:
>> +
>> +static inline void __delay(unsigned long loops) {
>> + __asm__ __volatile__(".align 2\n"
>> +"1:\n"
>> +"\taddi\t%0, %0, -1\n"
>> +"\tbgtz\t%0, 1
22 matches
Mail list logo