Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2009 09:54:33 +0100
From:      Andrew Brampton <brampton+freebsd@gmail.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        arch@freebsd.org
Subject:   Re: Interrupt Descriptions
Message-ID:  <d41814900910010154ra539aedha06b6b992dbaceb3@mail.gmail.com>
In-Reply-To: <200909301732.20589.jhb@freebsd.org>
References:  <200909301732.20589.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/9/30 John Baldwin <jhb@freebsd.org>:
> A few folks have asked recently for the ability to add descriptive string=
s to
> registered interrupt handlers. =C2=A0This is especially true since the ad=
vent of
> MSI with multiple interrupts per device. =C2=A0I hacked up a prototype to=
day that
> adds a new 'bus_describe_intr()' that takes the IRQ resource, the void *
> cookie returned by bus_setup_intr() and var args description and appends =
that
> to the interrupt name in the thread and vmstat -i info. =C2=A0The current=
 patch
> only has the MI bits and the MD bits for amd64 as well as a sample change=
 to
> the igb(4) driver.
>
> The patch is at http://www.FreeBSD.org/~jhb/patches/intr_describe.patch.
>

Very cool feature, which I had been hoping for on FreeBSD.

Well done.
Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d41814900910010154ra539aedha06b6b992dbaceb3>