From nobody Wed Nov 16 05:28:16 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NBs610yqsz4dHD4 for ; Wed, 16 Nov 2022 05:28:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NBs602Rw1z3KWG for ; Wed, 16 Nov 2022 05:28:40 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 2AG5SGD4016774 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 16 Nov 2022 07:28:19 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 2AG5SGD4016774 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 2AG5SGDB016773; Wed, 16 Nov 2022 07:28:16 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 16 Nov 2022 07:28:16 +0200 From: Konstantin Belousov To: "Chen, Alvin W" Cc: Amar Takhar , "freebsd-current@freebsd.org" Subject: Re: Status of Intel Hybrid CPU support (Alder Lake/Raptor Lake) support Message-ID: References: <20221114174812.GA20495@darkbeer.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on tom.home X-Rspamd-Queue-Id: 4NBs602Rw1z3KWG X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N 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 > 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.