From owner-freebsd-stable@freebsd.org Thu Feb 9 23:10:10 2017 Return-Path: Delivered-To: freebsd-stable@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 DBABDCD88E9 for ; Thu, 9 Feb 2017 23:10:10 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com [IPv6:2607:f8b0:400c:c08::234]) (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 94F741D2A for ; Thu, 9 Feb 2017 23:10:10 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-ua0-x234.google.com with SMTP id 96so15353351uaq.3 for ; Thu, 09 Feb 2017 15:10:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=R0p+JoFy8tiNx0+rkjm3TcxPWWzpebunkjc2VYRq4S8=; b=xj/dn0+s+Jcu+4itJ8kQowV6IVgmKJfjIpHcoxFwRDBvv1DtQzOM/EHdU4v8iAEhZp DuO/7TVRWjQnE9tlosym5G4VKhoAqQYP0Gi4pV80V8Mo9kQr2CHbxwJw7V55RDI2GglA E4419yBxkn1xQ4BvRuh7SXav9KabS/C0tSvxHiXN2N+LHYvqVaNcI3t/qn7uCy1Ai6W+ VN4/BXRaUK8TaUt21RyDz7UnOt6hX9BZk0N5RLSA0WCruHn6IHd2FH1DmrWzUxSS3eB8 gh/waxETrj2+nADtpXbIHxgwcruBJhp5xYK7+wy/AhWXZvdOEdKxzqnJmQBIgkmVKktk 6rrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=R0p+JoFy8tiNx0+rkjm3TcxPWWzpebunkjc2VYRq4S8=; b=KByIj0pWRCbuPobFOBDbw77mmA5wwX4I/lzBLyP90P6AtxIQh0DdlUGfjlJeMteOM8 JORIiXb53xUjiK8X6XuIlr+9Zytd6gs2eLmPxXmGyo4OA+YRi19/YZ/ksScxAZD5goDE k7KboNZprzz4zAeOs2VnR74NQrDZa2JUiO0gaGxh8Fy6xBZ6WNkm71tsC1rH3q4usVpe 6GIVe/Psep+EwTPE1cWPgg+MCkMW39Mj0E2qZMqtLHugh+7cSao1qNF8Vhm3/PYBQ0oq BlmmQAx8QuXtHkj840GOJ+hyKjScjdBRXLtw38JyeEGMH22TfCRrFkEhOTvIcxH8Jqur WvDA== X-Gm-Message-State: AMke39kGsiIishFmbv1pcGqeCjLHCgTmEmdyvB2i9H7TaQfQsu2nWhlwtirvrcYU9jmyRql9zsZuCFlC5OTZzAC8 X-Received: by 10.159.39.72 with SMTP id a66mr3013216uaa.150.1486681809607; Thu, 09 Feb 2017 15:10:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.45.2 with HTTP; Thu, 9 Feb 2017 15:10:08 -0800 (PST) In-Reply-To: <3a591925-7029-ed1d-6e25-9d11471d276c@FreeBSD.org> References: <3a591925-7029-ed1d-6e25-9d11471d276c@FreeBSD.org> From: Oliver Pinter Date: Fri, 10 Feb 2017 00:10:08 +0100 Message-ID: Subject: Re: HWPMC on SkyLake To: Eric van Gyzen Cc: Derrick McKee , "freebsd-stable@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 23:10:11 -0000 On Thursday, February 9, 2017, Eric van Gyzen wrote: > On 02/09/2017 14:53, Derrick McKee wrote: > > I would like to use hwpmc on my desktop with a SkyLake processor. > However, > > I get an 'hwpc_core: unknown PMC architecture: 4' error whenever I run > > kldload hwpmc command. There was a small thread about this error on the > > current mailing list last year[1], but I can't find any resolution about > > this. Is there any new information? > > > > [1] > > https://lists.freebsd.org/pipermail/freebsd-current/ > 2016-June/061863.html > > > > Version: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz > > > > > > 1. hwpc_core: unknown PMC architecture: 4 > > 2. hwpmc: SOFT/16/64/0x67 > > > > This appears to be fixed by r311224 just last month: > > https://svnweb.freebsd.org/base?view=revision&revision=311224 > > https://reviews.freebsd.org/D9036 > > It was merged to stable/11 by r311960. I don't see a merge to stable/10. Take a look at HardenedBSD's 10-STABLE, I merged back all of the x86-64 related hwpmc fixes and enhancements to our version. > > Cheers, > > Eric > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > " >