Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2022 07:28:16 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        "Chen, Alvin W" <Weike.Chen@dell.com>
Cc:        Amar Takhar <verm@darkbeer.org>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Status of Intel Hybrid CPU support (Alder Lake/Raptor Lake) support
Message-ID:  <Y3R08CWLZT0uMQs5@kib.kiev.ua>
In-Reply-To: <PH0PR19MB49388444FDBEB729A0F286019E049@PH0PR19MB4938.namprd19.prod.outlook.com>
References:  <PH0PR19MB49386F16177AC787CFFAD05C9E339@PH0PR19MB4938.namprd19.prod.outlook.com> <CB6714BB-F070-436A-9324-1053648A7DE6@karels.net> <PH0PR19MB4938527239BDA1AA6FFE5C129E059@PH0PR19MB4938.namprd19.prod.outlook.com> <Y3HppLvsWTqqGNoO@kib.kiev.ua> <20221114174812.GA20495@darkbeer.org> <PH0PR19MB49388444FDBEB729A0F286019E049@PH0PR19MB4938.namprd19.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 15, 2022 at 07:49:55AM +0000, Chen, Alvin W wrote:
> Kongstantin,
> 
> I am not familiar with TLB part implementation for BSD. Based on your patch, it looks like disable PCID or force flush TLB for E core. Is that right?
> Would you mind explain a little more to help understand the code?

The patch does what its title said. On small cores it does not rely on
INVLPG to flush global TLB entries.  Instead, total flush of TLB with
INVPCID instruction is performed.

For large cores, no change in behavior is intended.
> 
> 
> Internal Use - Confidential
> 
> > -----Original Message-----
> > From: owner-freebsd-current@freebsd.org <owner-freebsd-
> > current@freebsd.org> On Behalf Of Amar Takhar
> > Sent: Tuesday, November 15, 2022 1:48 AM
> > To: freebsd-current@freebsd.org
> > Subject: Re: Status of Intel Hybrid CPU support (Alder Lake/Raptor Lake)
> > support
> > 
> > 
> > [EXTERNAL EMAIL]
> > 
> > On 2022-11-14 09:09 +0200, Konstantin Belousov wrote:
> > >
> > > You might use this patch meantime
> > > https://urldefense.com/v3/__https://kib.kiev.ua/git/gitweb.cgi?p=devia
> > >
> > nt3.git;a=commit;h=5d72240a8777b26d5e0a7d2d26bb919d05f60002__;!!LpKI
> > !g
> > > -6xRexMgrS7blkbBAEW-CU6xx2soVgqJcn34v5a-
> > vYybodWNslFhcgFr631abOyXATJf_r
> > > ACTtzog$ [kib[.]kiev[.]ua]
> > 
> > I know this is -CURRENT but will this work on 13.1 as well?  I use that as my
> > main workstation.
> > 
> > Also does vm.pmap.pcid_enabled need to be set to 0 still?
> > 
> > Hopefully this fixes the sound issues as well right now I have all my E-cores
> > disabled but sound issues persist.
> > 
> > Thanks!
> > 
> > 
> > Amar.



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