Date: Thu, 27 Aug 2020 21:13:47 +0530 From: "Kamal R. Prasad" <kamalpr@gmail.com> To: Ian Lepore <ian@freebsd.org> Cc: freebsd-arm@freebsd.org Subject: Re: INTR_FAST Message-ID: <CAK=yUGL2vj5VVGx3LOAvs0Q1_YZ4daMy712JEh7-XpZ6G94JGw@mail.gmail.com> In-Reply-To: <7e463a00ef89d7df0455656f51fe14f72c088a70.camel@freebsd.org> References: <CAK=yUG%2B5p1VAsmLtdEsFuw%2BvbsAJz55E_EV8X-ePMVZVR3p05g@mail.gmail.com> <7e463a00ef89d7df0455656f51fe14f72c088a70.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
because i hsve 3 spi slave devices attached to the pl022 controller and the drain of rx queue after i initiare spi transfer is showing some inconsistency. On Thu, Aug 27, 2020 at 9:02 PM Ian Lepore <ian@freebsd.org> wrote: > On Thu, 2020-08-27 at 19:20 +0530, Kamal R. Prasad wrote: > > Hello, > > > > This page > > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/smp-desig= n.html > > > > says that > > "These interrupt handlers are currently misnamed =E2=80=9Cfast=E2=80=9D= 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 type= s > 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 no= t > > defined on freebsd stable11. Is INTR_EXCL related in any way to > INTR_FAST? > > if not, how do I setup a fast interrupt handler? > > > > thanks > > -kamal > > > > An important question here is: Why do you want to use a filter handler > (formerly called INTR_FAST) instead of a normal threaded handler? For > something as slow as a SPI bus, I can't imagine you're going to see any > noticible performance difference. > > -- Ian > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK=yUGL2vj5VVGx3LOAvs0Q1_YZ4daMy712JEh7-XpZ6G94JGw>