Re: PCIe hotplug

2012-07-24 Thread Gary Palmer
On Mon, Jul 23, 2012 at 12:45:14AM -0700, Julian Elischer wrote: On 7/22/12 9:11 PM, Warner Losh wrote: On Jul 22, 2012, at 9:12 PM, Alexander Kabaev wrote: On Sun, 22 Jul 2012 20:22:33 -0600 Scott Long sco...@samsco.org wrote: On Jul 20, 2012, at 8:04 PM, Julian Elischer wrote: Is

[head tinderbox] failure on i386/pc98

2012-07-24 Thread FreeBSD Tinderbox
TB --- 2012-07-24 18:30:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-07-24 18:30:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB ---

RFC: use EM_LEGACY_IRQ in if_lem.c ?

2012-07-24 Thread Luigi Rizzo
if_lem.c (lem, one of the e1000 drivers) has 2 possible interrupt modes: EM_LEGACY_IRQ uses the standard dispatch mechanism, whereas FAST_INTR has a custom handler that signals a taskqueue to do the job. I have no idea which actual hardware uses it (all of my Intel 1G cards use either em or igb),

Re: -current build failure

2012-07-24 Thread David Chisnall
On 23 Jul 2012, at 20:53, David Chisnall wrote: On 23 Jul 2012, at 20:18, Konstantin Belousov wrote: Longer description is that pc_curthread is offset 0 if %gs-based. The dereferenced pointer point to the struct thread, which contains td_proc pointer at offset 8. Instead, clang seems to

Re: RFC: use EM_LEGACY_IRQ in if_lem.c ?

2012-07-24 Thread Jack Vogel
Interesting, lem is all the non-pcie hardware, and if you see better performance out of the LEGACY path then I'm OK with changing the default. Jack On Tue, Jul 24, 2012 at 1:20 PM, Luigi Rizzo ri...@iet.unipi.it wrote: if_lem.c (lem, one of the e1000 drivers) has 2 possible interrupt modes:

Re: -current build failure

2012-07-24 Thread Konstantin Belousov
On Tue, Jul 24, 2012 at 10:08:13PM +0100, David Chisnall wrote: On 23 Jul 2012, at 20:53, David Chisnall wrote: On 23 Jul 2012, at 20:18, Konstantin Belousov wrote: Longer description is that pc_curthread is offset 0 if %gs-based. The dereferenced pointer point to the struct thread,