From nobody Tue Mar 21 14:20:12 2023 X-Original-To: dev-commits-src-all@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 4Pgtzh2vQhz40MxJ; Tue, 21 Mar 2023 14:20:16 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pgtzh2F2fz3HTv; Tue, 21 Mar 2023 14:20:16 +0000 (UTC) (envelope-from corvink@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679408416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=F6SheedRSnRdbhBxj09q68F1g4xeJX4+4okWkfmk47Y=; b=fKMzUr3NnFWb83dt+Agc34VBDfOhg0jjbCmz5L/pByxZFe6YPw1tWgWWkH6bl/WI0RbeoP df+SxNMNqw60D5uIjOMwTU/RPVNB/IHJJK3f4Q6vTJh7mTFrNLPXUrHdvVyYrtqXE+L0sW Hed15PvM5gX7P2CaKZPEQTJg9YSXqz3nVj2FwKJLpRO2oYgE3vBNuMonKj4HheLxIBZn26 sZeh6m04/D8xSsBMwSKwsPns4ewGPU+C6cDXHRe6DbIwZlZyE/TpqXK2ELJaAZc4TcEHQY d1iryEPcWuRDAK/j78wg16nVe8Q+G4RIl9Sh6RNG9Tt/DDINnuxj9//RyFZ4rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679408416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=F6SheedRSnRdbhBxj09q68F1g4xeJX4+4okWkfmk47Y=; b=jlxUanegsdlr71JmUYm1TpqvFeXa83Hcnq69HBAsBI4G8Sa4yVUpqbj8sIHMMkNGQmg9dY 1YM1s30sN2z7TaNqtF2BxtwbcNM5NNiuzpEi6uqkO/OViIKjs70CB5JxSbBFMrizqtRDvf GPQUSgTCiEins4CWcxk3LeKa5CIEjjZ0vraQr/Xzg6tcNMbX99qkdP2VTHQ/6VAVF4OgpM NlvTLqr6O13+A/LBO+6eCf3F8gUEvhlID4fxAsh10+V82GZSpqeHbRYZGLK+TyV5f0IjBc xtTdA7bT2a8hUSBejXpCDsDAvKqVfoUHI0NIQH2UluJHr2A5FKloP3CC1w44kQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679408416; a=rsa-sha256; cv=none; b=Vxgd3vboA6yiwCxcNnrWPjSohv0ixTIeIYCSLJuCNfNGSytNxriIajF5r+KzrTr5ZSTXoO JsZGOXubBnktHOoIN70lhDWwQ9nxsgqT3eyfirGcD+uLd8HGWxXcniSQ7lKjCnNRosJpcH aX0kiwAABtB8q4TuA+FMoepLcyl96rwuCeItdvLdgS8IWWeFOVb15ZHZqzZIpBznoWX28O 2r31n/wjBdG95rlAmXSTt+iE9y7NiIRSjjDyxIRDpeF7AGtZXPvjouabL9ut0KRQxZpAYn m3kGXR1a+417s532kzdzJAbadq/4f/yAS3GCmv1YZGZqD+9V1w7Drv0M43ltSQ== Received: from [192.168.9.16] (p578013d9.dip0.t-ipconnect.de [87.128.19.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: corvink) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Pgtzg2QyWzcM1; Tue, 21 Mar 2023 14:20:15 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Message-ID: <5d5698b1fdd6699d27a158c87cab868d0ea8046a.camel@FreeBSD.org> Subject: Re: git: d780c6a6abb5 - main - x86/pci_early_quirks: Support Intel 11th+ gen From: Corvin =?ISO-8859-1?Q?K=F6hne?= To: Konstantin Belousov , =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Date: Tue, 21 Mar 2023 15:20:12 +0100 In-Reply-To: References: <202303202047.32KKlrbx083372@gitrepo.freebsd.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-S6/V0E4mTSdKG9YaCwN8" User-Agent: Evolution 3.46.4 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N --=-S6/V0E4mTSdKG9YaCwN8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2023-03-21 at 16:02 +0200, Konstantin Belousov wrote: > On Mon, Mar 20, 2023 at 08:47:53PM +0000, Jean-S=C3=A9bastien P=C3=A9dron > wrote: > > The branch main has been updated by dumbbell: > >=20 > > URL: > > https://cgit.FreeBSD.org/src/commit/?id=3Dd780c6a6abb5275c8c7219539553d= 51ac94a023e > >=20 > > commit d780c6a6abb5275c8c7219539553d51ac94a023e > > Author:=C2=A0=C2=A0=C2=A0=C2=A0 Jean-S=C3=A9bastien P=C3=A9dron > > AuthorDate: 2023-03-13 14:28:22 +0000 > > Commit:=C2=A0=C2=A0=C2=A0=C2=A0 Jean-S=C3=A9bastien P=C3=A9dron > > CommitDate: 2023-03-20 20:47:36 +0000 > >=20 > > =C2=A0=C2=A0=C2=A0 x86/pci_early_quirks: Support Intel 11th+ gen > > =C2=A0=C2=A0=C2=A0=20 > > =C2=A0=C2=A0=C2=A0 Newer Intel CPUs/iGPUs use a new method to determine= the base > > address of > > =C2=A0=C2=A0=C2=A0 the stolen memory. This code was ported from Linux. > > =C2=A0=C2=A0=C2=A0=20 > > =C2=A0=C2=A0=C2=A0 Reviewed by:=C2=A0=C2=A0=C2=A0 manu > > =C2=A0=C2=A0=C2=A0 Approved by:=C2=A0=C2=A0=C2=A0 manu > > =C2=A0=C2=A0=C2=A0 Differential Revision:=C2=A0 https://reviews.freebsd= .org/D39057 > > --- > > =C2=A0sys/x86/pci/pci_early_quirks.c | 26 ++++++++++++ > > =C2=A0sys/x86/pci/pci_early_quirks.h | 95 > > ++++++++++++++++++++++++++++++++++++++++++ > > =C2=A02 files changed, 121 insertions(+) > Is this stuff still needed or useful?=C2=A0 When it was added, the claim > was that > it would be soon used to reserve regions of physical memory that > buggy BIOSes > did not.=C2=A0 That never happen. >=20 > If the only current consumer of the stolen memory calculations are in > drm > kmods, wouldn't it be better to move the code there? I'm going to make use of intel_graphics_stolen_base and intel_graphics_stolen_size for GPU passthrough of bhyve vms. See https://reviews.freebsd.org/D26209 --=20 Kind regards, Corvin --=-S6/V0E4mTSdKG9YaCwN8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgvRSla3m2t/H2U9G2FTaVjFeAmoFAmQZvRwACgkQ2FTaVjFe AmqGzw/5ARYA6wcjtrUxY4uFmz49wYYS5X3N7zXqab4fUBzi7dO75E4AA6pEjPt1 JlZ/aF4Qu9pblLAgBt+qkoPlJv1OTi6Ui2Qtjdj6jvQRzH6EmGl1g7PfW/gHppUN ethJtuZslaiWK8pAxpclHgsPmzWHVe0f5qxUwS6ZT3Pu0CyB5jNSLy5/zBipzg+c 74Oc+JJX+zomXrVI/iV9XtqVBkiV+ZKBEFtLv3SsBlu7Af9kk4peKVBfA/O/sHL7 GCIWSN39oOlRHruwOkc/WZ4H/404cgBS8nYiIPByQX/Bhmeaotn0jpExtTL/y23t /q+C/x7FCnlLBxoYjohI0sNufA23Mu1Aws3vcyb1qTtlsWm5bfiF1MJ2mk1FxXpN ZqPGoeCn/rMh61pOisCljoKUGgvGmCiE3Xw2GvnJcdkPGdaqXnDURxmMvG1q0BQf HOe8QyjEuhgdY37WpWmLqfX0fWVwQsH2h6bWdsAppPMRqwAasNmo1HAyyXSleXwx KBZSZ7rXK0CRtQpGZF2fwKhwyfzzSrgMTdUDC7xwFVHhseIhQsEo6xSKxw9Q3aGe FcSb4f36MTaohmeK1FBHX5xov8LLOfFo3SkMJp4k6WLXELtD9Y3FIWeyei2uyznx Du0MLPgmGDY0cdbuBrpkwYNBzieaMvQs4ycyw3e3zSPb+HhYxLQ= =jkaB -----END PGP SIGNATURE----- --=-S6/V0E4mTSdKG9YaCwN8--