From owner-freebsd-arch@FreeBSD.ORG Thu Oct 1 09:15:38 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37D4F1065676 for ; Thu, 1 Oct 2009 09:15:38 +0000 (UTC) (envelope-from brampton@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id B94888FC08 for ; Thu, 1 Oct 2009 09:15:37 +0000 (UTC) Received: by ewy5 with SMTP id 5so1489496ewy.36 for ; Thu, 01 Oct 2009 02:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=NvN6buSMY7ZmXacJHFoT9T1p1SZ7d6RZ/4eBTZxxV58=; b=IfSA+6o2ZSxuXJ429bc8YwXTEvHKhKrsh3rwpNMsnzyiMG/oR0cbJFew9hkOE8ifGg uvZSFqG+pHLLF9IEeES4sTyZPOmyyVqJL10SRj5V19mFOVDZKoSTWTu7WbyETFz04BNL yUsgHOZh/YpcxyTxr4n24E5JsKMcFsDb53P4s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=NWNetrd8mBec3N6xGk5J8VDgCyfFRo86rzL3CTAZTDmEuYC2wFUVQosxsSrfRs6a9Z H0O2e1DWsmhVbkxs1XELTKLcaMGZHI8XR/AdlU4CGRygdM8lz6K+AhNL7VMZ10wnd2a5 eOBjx9tW56odctih3e/E6e0xrWbqXRKI5WXcg= MIME-Version: 1.0 Sender: brampton@gmail.com Received: by 10.216.26.213 with SMTP id c63mr200259wea.41.1254387274057; Thu, 01 Oct 2009 01:54:34 -0700 (PDT) In-Reply-To: <200909301732.20589.jhb@freebsd.org> References: <200909301732.20589.jhb@freebsd.org> Date: Thu, 1 Oct 2009 09:54:33 +0100 X-Google-Sender-Auth: 884ae60602bf9e21 Message-ID: From: Andrew Brampton To: John Baldwin Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: arch@freebsd.org Subject: Re: Interrupt Descriptions X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 09:15:38 -0000 2009/9/30 John Baldwin : > 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