From owner-svn-src-head@freebsd.org Thu Nov 24 19:42:38 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 780D3C54102; Thu, 24 Nov 2016 19:42:38 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 42486966; Thu, 24 Nov 2016 19:42:38 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io0-x242.google.com with SMTP id r94so6353074ioe.1; Thu, 24 Nov 2016 11:42:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=uwywtCnO39oBtCiqaIPCUhwqcwjHnLEE2FSiGHBYWSU=; b=kt3xFK/ZP1hOsZKw7+EEo1NXVZqW2Efoww8/BgoWPjXx6UKgvAWbZ/caDdt+OxB/2/ yYroXCifWM/cP3xAj115bwgr2sDWGDXhS4z0jr9PgURdLZHCXgL0LkIm7sBlCE2za3js VdvriwaNH5yUrseaFfHxEId8elVdBlngBBxnbB+QNrN/3v/QfXbsT+/d/lFnXqr19NsM b5zvg7sKTSXza87/NZa+DNVcP8YJw2Q+9Cd4+5wsL9ZTxfsnzUJ2X4x+o4YSOLQNvVGs O3/DwOur36vrpUGSzAVAbxCSbSUANkvDe1FzE4jT5fnreDhQbAihZiRNIZVZg99/z2KT c4eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=uwywtCnO39oBtCiqaIPCUhwqcwjHnLEE2FSiGHBYWSU=; b=AdpakncJI7eo4FeB9I/kNa96o0N1iL6ev20idTYBww9VPwlE6gbTot7DUKDNUp35w6 wdZtxQdlVygI++GXt7QGGWlAGB5fKZDFH5kANVDklddkBBLri7ihP0aXmH7j7WbXUuGP 0X7xJXN0vKgvQpALXrYFtEATmD4j+z3fWmdHTMVz1T44wh06n5r1+nBFaXjDAenoTrwU vudjHn7pAsbLZC/R6g00O3JtZveBvXNfSxUx+vYCTSyZ5do5KUPrhPuoxGvNRtINZ9Qp +8ibwvK9iZc66KWhz0qbMbweQiL37s9tEjYO9jQh9UnDEw3c/6fhIjW/C8AZslnPh19y UI6w== X-Gm-Message-State: AKaTC02BnlMBx9EWkXbQAKu/fxjLda0G6GnQYY3W/bh8+UhlK/sDPUsPb1SBJhWCoKr+Vlo8Lj7/FTNbrLpgBw== X-Received: by 10.36.33.151 with SMTP id e145mr3279737ita.14.1480016557552; Thu, 24 Nov 2016 11:42:37 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.27.212 with HTTP; Thu, 24 Nov 2016 11:42:16 -0800 (PST) In-Reply-To: <201610270946.u9R9kMc0010656@repo.freebsd.org> References: <201610270946.u9R9kMc0010656@repo.freebsd.org> From: Ed Maste Date: Thu, 24 Nov 2016 14:42:16 -0500 X-Google-Sender-Auth: pHRRiaNinDBFdE8Rc82O5FeBaMg Message-ID: Subject: Re: svn commit: r308000 - in head/sys: dev/netmap net To: Luigi Rizzo Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2016 19:42:38 -0000 On 27 October 2016 at 05:46, Luigi Rizzo wrote: > Author: luigi > Date: Thu Oct 27 09:46:22 2016 > New Revision: 308000 > URL: https://svnweb.freebsd.org/changeset/base/308000 > > Log: > Various fixes for ptnet/ptnetmap (passthrough of netmap ports). In detail: > - use PCI_VENDOR and PCI_DEVICE ids from a publicly allocated range > (thanks to RedHat) > - export memory pool information through PCI registers > - improve mechanism for configuring passthrough on different hypervisors > Code is from Vincenzo Maffione as a follow up to his GSOC work. ... > @@ -1099,7 +1090,7 @@ nm_kthread_worker(void *data) > continue; > } else if (nmk->run) { > /* wait on event with one second timeout */ > - msleep_spin(ctx->ioevent_file, &nmk->worker_lock, > + msleep_spin((void *)ctx->cfg.wchan, &nmk->worker_lock, > "nmk_ev", hz); > nmk->scheduled++; > } Hi Luigi, This breaks "make tinderbox" in powerpc LINT with: /scratch/tmp/emaste/freebsd/sys/dev/netmap/netmap_freebsd.c: In function 'nm_os_kthread_wakeup_worker': /scratch/tmp/emaste/freebsd/sys/dev/netmap/netmap_freebsd.c:1027: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /scratch/tmp/emaste/freebsd/sys/dev/netmap/netmap_freebsd.c: In function 'nm_kthread_worker': /scratch/tmp/emaste/freebsd/sys/dev/netmap/netmap_freebsd.c:1093: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *** [netmap_freebsd.o] Error code 1