Re: INTRNG

2018-02-25 Thread peter . blok
While on the subject INTRNG - does anybody know the status of handling GPIO 
interrupts with queue/kevent?

There were some patches before INTRNG, but they require some work.

Peter

> On 23 Feb 2018, at 07:25, Jon Brawn <j...@brawn.org> wrote:
> 
> Wotcha Gang!
> 
> In my travels through the arm64 GENERIC config file I came across the option 
> ‘INTRNG’, and wondered what it was:
> 
> INTeRrupt Next Generation?
> INTeger Random Number Generator?
> IN TRaiNinG?
> INTerrupt Random Number Generator?
> INdependent TRaiNinG?
> 
> So, please put me out of my misery, what does INTRNG stand for, and what are 
> its implications when selected vs not selected?
> 
> Cheers!
> 
> Jon.

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: INTRNG

2018-02-23 Thread Oleksandr Tymoshenko
Jon Brawn (j...@brawn.org) wrote:
> Wotcha Gang!
> 
> In my travels through the arm64 GENERIC config file I came across the option 
> ‘INTRNG’, and wondered what it was:
> 
> INTeRrupt Next Generation?
> INTeger Random Number Generator?
> IN TRaiNinG?
> INTerrupt Random Number Generator?
> INdependent TRaiNinG?
> 
> So, please put me out of my misery, what does INTRNG stand for, and what are 
> its implications when selected vs not selected?

"INTeRrupt Next Generation". It's a framework to manage complex interrupt
routing cases. I think it's required for all recent ARM platforms,
you can't disable it for ARM64. It can be disabled for older
ARM/MIPS platforms that use old-style interrupt cascading.

-- 
gonzo
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: INTRNG

2018-02-23 Thread Guido Falsi
On 02/23/18 07:25, Jon Brawn wrote:
> Wotcha Gang!
> 
> In my travels through the arm64 GENERIC config file I came across the option 
> ‘INTRNG’, and wondered what it was:
> 
> INTeRrupt Next Generation?
> INTeger Random Number Generator?
> IN TRaiNinG?
> INTerrupt Random Number Generator?
> INdependent TRaiNinG?
> 
> So, please put me out of my misery, what does INTRNG stand for, and what are 
> its implications when selected vs not selected?
> 

A quick grep in src/sys gave me this:

MALLOC_DEFINE(M_INTRNG, "intr", "intr interrupt handling");

Also:

arm/arm/machdep.c:#if __ARM_ARCH >= 6 && !defined(INTRNG)
arm/arm/machdep.c:#error armv6 requires INTRNG

So it's about interrupts and mandatory for arm processors, I suspect
it's and arm (and mips too, since I found grep hits there too) specific
interrupts handling method.

this looks like the original RFC for this code:

https://lists.freebsd.org/pipermail/freebsd-arm/2014-April/007915.html

-- 
Guido Falsi <m...@madpilot.net>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


INTRNG

2018-02-22 Thread Jon Brawn
Wotcha Gang!

In my travels through the arm64 GENERIC config file I came across the option 
‘INTRNG’, and wondered what it was:

INTeRrupt Next Generation?
INTeger Random Number Generator?
IN TRaiNinG?
INTerrupt Random Number Generator?
INdependent TRaiNinG?

So, please put me out of my misery, what does INTRNG stand for, and what are 
its implications when selected vs not selected?

Cheers!

Jon. 

smime.p7s
Description: S/MIME cryptographic signature