On 25.10.18 14:20, Philippe Gerum wrote:
We may call switch_to_bitmap() from the head stage when a co-kernel
switches to a new thread context, in which case IRQs are hard
disabled, although the root stage might be unstalled.
Make sure the preemption debug code in refresh_tss_limit() is aware of
On 25.10.18 16:31, Philippe Gerum wrote:
Fixed a locking imbalance in the commit dealing with extraneous UP/DOWN
interface requests.
The following changes since commit 04df93890befa4e5a642ecdef38eebed4660b217:
rtdm: expose user-side file descriptors to drivers (2018-10-17 13:20:06
On 26.10.18 13:50, Henning Schild wrote:
Hey,
looks like this one is for the #PF from the sigdebug smokey test. With
this patch applied i do not see the crash anymore, but the test gets
stuck.
Did it work for you, or did i get the context wrong?
Yes, this solved the issue for me, and I was
Changing the device flags now implies downing the interface prior to
switching it up anew with a different set of flags.
Return success upon useless calls (e.g. UP when iface is up, DOWN when
iface is down).
---
kernel/drivers/net/stack/rtdev.c | 39 ++--
1 file
We may want to force a rtnet interface up, and more likely down before
unloading a driver module.
Export the ioctl() code which handles the IOC_RT_IFUP/IFDOWN core
ioctl requests as standalone routines. The locking model remains
unchanged, with ioctl() requests and direct service calls
Allow to safely unload the IGB driver module still hosting an active
rtnet interface, by forcing this interface down on behalf on the PCI
device removal handler.
---
kernel/drivers/net/drivers/igb/igb_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git
We may have to call the regular MII layer from this routine.
---
kernel/drivers/net/drivers/igb/igb_main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/kernel/drivers/net/drivers/igb/igb_main.c
b/kernel/drivers/net/drivers/igb/igb_main.c
index 0a6cd4bd6..c1d1000ea 100644
---
We have no in-tree users for these anymore. Besides, __const may be
conflicting with different definitions from legacy libc headers.
---
include/boilerplate/compiler.h | 8
1 file changed, 8 deletions(-)
diff --git a/include/boilerplate/compiler.h b/include/boilerplate/compiler.h
index
namecpy() is meant to copying NUL terminated strings even if this
incurs potential truncation of the source argument if need be, prevent
GCC 8.x from detecting a false positive when -Wstringop-truncation is
in effect.
---
include/boilerplate/ancillaries.h | 2 +-
1 file changed, 1 insertion(+), 1
GCC 8.x introduced -Wstringop-truncation to help detecting likely
unwanted outcomes of strncpy(dst, src, n), such as omitting the NUL
character into the destination buffer whenever n < sizeof(src).
Fix unsafe strncpy() calls when we do expect a null-terminated
destination buffer.
---
knamecpy() is meant to copying NUL terminated strings even if this
incurs potential truncation of the source argument if need be, prevent
GCC 8.x from detecting a false positive when -Wstringop-truncation is
in effect.
---
include/cobalt/kernel/ancillaries.h | 2 +-
1 file changed, 1
GCC 8.x introduced -Wstringop-truncation to help detecting likely
unwanted outcomes of strncpy(dst, src, n), such as omitting the NUL
character into the destination buffer whenever n < sizeof(src).
Fix unsafe strncpy() calls when we do expect a null-terminated
destination buffer.
---
Hey,
looks like this one is for the #PF from the sigdebug smokey test. With
this patch applied i do not see the crash anymore, but the test gets
stuck.
Did it work for you, or did i get the context wrong?
Henning
Am Wed, 10 Oct 2018 13:05:28 +0200
schrieb Jan Kiszka :
> Also hook into the trap
On 23.10.18 16:16, Norbert Lange wrote:
Hello,
the following patches allow a variety of options additional
to the linker magic involved for hijacking the aplications main
function.
the original method will still continue to work, differences are
* the code dealing with retrieving the
On 10/26/18 3:28 PM, Jan Kiszka wrote:
> On 25.10.18 14:20, Philippe Gerum wrote:
>> We may call switch_to_bitmap() from the head stage when a co-kernel
>> switches to a new thread context, in which case IRQs are hard
>> disabled, although the root stage might be unstalled.
>>
>> Make sure the
Am Fr., 26. Okt. 2018 um 15:48 Uhr schrieb Jan Kiszka :
>
> On 23.10.18 16:16, Norbert Lange wrote:
> > Hello,
> >
> > the following patches allow a variety of options additional
> > to the linker magic involved for hijacking the aplications main
> > function.
> >
> > the original method will
16 matches
Mail list logo