Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2017 00:10:08 +0100
From:      Oliver Pinter <oliver.pinter@hardenedbsd.org>
To:        Eric van Gyzen <vangyzen@freebsd.org>
Cc:        Derrick McKee <derrick.mckee@gmail.com>,  "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: HWPMC on SkyLake
Message-ID:  <CAPQ4fftgDTXA_0N_8oB25s=ttAHm16=ffoQdscayhEHrdtbepw@mail.gmail.com>
In-Reply-To: <3a591925-7029-ed1d-6e25-9d11471d276c@FreeBSD.org>
References:  <CAJoBWHw8gouep7MEzPqmn0v==F924cGm%2B3=42HcQ-W7QX9q5%2Bg@mail.gmail.com> <3a591925-7029-ed1d-6e25-9d11471d276c@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, February 9, 2017, Eric van Gyzen <vangyzen@freebsd.org> 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<INT,USR,SYS,REA,WRI>
> >
>
> 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 <javascript:;> mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org
> <javascript:;>"
>



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