Date: Thu, 27 Aug 2020 15:53:11 +0200 From: Hans Petter Selasky <hps@selasky.org> To: kamalp@acm.org, freebsd-arm@freebsd.org Subject: Re: INTR_FAST Message-ID: <7ed79c1d-2d66-5011-286f-8dcac058f7d5@selasky.org> In-Reply-To: <CAK=yUG%2B5p1VAsmLtdEsFuw%2BvbsAJz55E_EV8X-ePMVZVR3p05g@mail.gmail.com> References: <CAK=yUG%2B5p1VAsmLtdEsFuw%2BvbsAJz55E_EV8X-ePMVZVR3p05g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-08-27 15:50, Kamal R. Prasad wrote: > "These interrupt handlers are currently misnamed “fast” interrupt handlers > since the INTR_FAST flag used in earlier versions of the kernel is used to > mark these handlers. The only interrupts which currently use these types of > interrupt handlers are clock interrupts and serial I/O device interrupts." > > I want to use INTR_FAST for my spi controller, but i find that it is not > defined on freebsd stable11. Is INTR_EXCL related in any way to INTR_FAST? > if not, how do I setup a fast interrupt handler? Hi, When you setup and interrupt, there are two function pointers. One is the so-called interrupt filter, which is running in the fast context, and the other is the regular interrupt handler which is running from a thread context. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7ed79c1d-2d66-5011-286f-8dcac058f7d5>