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-curr...@freebsd.org <owner-freebsd- > > curr...@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.