Use IPL_MPFLOOR for 'f_mtx'

2018-05-30 Thread Mathieu -
Hello, Now that IPL_MPFLOOR is available on all platforms we can use it. The first user is the f_mtx mutex in kern_descrip. Rev 1.160 initialized it using IPL_VM, we can now use the more appropriate IPL_MPFLOOR value as already done in the MI mutex implementation for the exact same reason

Re: Adding IPL_MPFLOOR to sh/armv7

2018-05-30 Thread Martin Pieuchot
On 30/05/18(Wed) 10:54, Mathieu - wrote: > The following patch adds IPL_MPFLOOR to the two last archs missing it, > namely landisk and armv7. The goal is to be able to use the define in MI > code (note that it's already used but hidden behind a #ifdef > MULTIPROCESSOR). Committ

Adding IPL_MPFLOOR to sh/armv7

2018-05-30 Thread Mathieu -
Hi, The following patch adds IPL_MPFLOOR to the two last archs missing it, namely landisk and armv7. The goal is to be able to use the define in MI code (note that it's already used but hidden behind a #ifdef MULTIPROCESSOR). I define it to IPL_NONE because those two archs are

Re: IPL_MPFLOOR

2018-01-13 Thread Mark Kettenis
> Date: Sat, 13 Jan 2018 13:04:59 +0100 > From: Martin Pieuchot > > Diff below introduces IPL_MPFLOOR for all our archs. It will be used by > the MI mutex implementation to prevent deadlocks. All interrupt handlers > established with an ipl > IPL_MPFLOOR must not

IPL_MPFLOOR

2018-01-13 Thread Martin Pieuchot
Diff below introduces IPL_MPFLOOR for all our archs. It will be used by the MI mutex implementation to prevent deadlocks. All interrupt handlers established with an ipl > IPL_MPFLOOR must not grab the KERNEL_LOCK(). This value could also be using in interrupt handlers. ok? Index: al