From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 88F0ECEBF91 for ; Mon, 17 Nov 2025 13:22:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 26EF010E38E; Mon, 17 Nov 2025 13:22:56 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="GRWwBapB"; dkim-atps=neutral Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 50F8D10EA4E for ; Fri, 14 Nov 2025 12:06:03 +0000 (UTC) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-42b31507ed8so1524123f8f.1 for ; Fri, 14 Nov 2025 04:06:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1763121962; x=1763726762; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=K95f3YlNhCQTt8GtlNX0mi3FKRnBks4BFfnVQ8YE34o=; b=GRWwBapBrsxyfWgLaEjXF8spVlM9bDDnz3HdGDFO3FHhgE1LDolctkWZq1IxKS/stu tuZR4kLKlHC0QUzpidKgCHTnvo33QBacxT2y1r5gW/N2+ESeLqncQz9VzowdW+SL9kg5 UkpCAzy9QZk55YJ58XvouEZbyRgEE8jIvP/vK0ipV3DzpPAKwNEGkZ+yNDV5vaLioP2l DpQd7DNsoNT35RuLFcumfFsHyOhOZ8gqBsATGdKDOzjs2alKdyh1ShiGryvFKFrgszG+ fI257YBRnEwlpOF5kulu4b7ctr8okk5Fw58EIDkiCncGJMwjxHNM99r/socuJXcIoldT A1YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763121962; x=1763726762; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=K95f3YlNhCQTt8GtlNX0mi3FKRnBks4BFfnVQ8YE34o=; b=Vdl8rmR5IgkDnQKuReqrL54S+J3vqnNegA7twuLLsHeWH010ATmdnrC7eTRq4kfNOk hV55QI1VaSRyOojFicJ54v8OjIKcOoZp+7XT4jR8vOxlPIWS1Fdqq4eEYZVmXj/e1dbi m1GAFIvmHXdywYMjB2FHsI7CzJ2oOFfI83nCKbfFqf1+b/M9nfjsemXyz77GxkQJByAa t4dvjcoz2WThVWpjnyQ4KJXhqYtwSWWOKNEiqBUKLHUap7YWn92uXDRNsB/5r30Cdz5d fZ3KGCb0I+CUiwSzHGfW14kA8ncqa3VGn+aSrauXzvbdywgBqSZ6s5iW0jC2fvoujQls O3OQ== X-Forwarded-Encrypted: i=1; AJvYcCWX9RO6OAQNTtE/V6lPqit2c3nTBU5c39JmSA4en9jN9UezAGThlj/s8lgGn5U+n5zzKtyJ6wC5jw==@lists.freedesktop.org X-Gm-Message-State: AOJu0YyfkSSw6f0s0bLcb0DSA8iOLwvQctnBFuKXPIjAzy/WMc+zHK3A 1X3md+YNUt1+OlonPwKUjjyW8YK4Vqw9LJlumHeeKMUvaRjhLbb9MYMZPoZMZIFL1vM= X-Gm-Gg: ASbGncu2mnOPwfDEYtYJzMUdrONT9LKJwJkUZg6KHM7+4TK9yiKLWbkV21Vi8qKVTT1 +eUELCLsn/Db6VLlIhgoGE+7fLOGxryyqIqB+cJeqZR42JDbQovBMkkiOkQP40VrtYpMnQE68Ij YKNrDMuQaRf0ML6DAuFrw0kIlNmV3vy37MsJ/+0LNde/pRe4gIv/TWxnL4xZN1FQAfgSYWjBlKt wbQgwU/88aVpfYiKhKvAOIq82TLd/eiBTWKDl+JMUdqrjx9E/s1IUORztw6Ded0PDvm2msmJtl/ ITBCyYn8/qVsgC//0vwWS22IjHujIsvj4d+1hYqaYjcJIxO0vPk2qjhKOJY653Vm8PlvJRVIhRi eflsRhTGTyApO0evOzMX7cAgfOMSKQjMo+/CcHYMbYD4GHSfYIx8XUtGf4MeTebUxS7h5fB3eNe po X-Google-Smtp-Source: AGHT+IHE8wmfBLRimraz6qGrkqAB1kcfDLmC9Ei9799tyFpwTbyC2bx5mJA0Z5MS/+tIuTgQ7sZknA== X-Received: by 2002:a05:6000:25c8:b0:429:c851:69bc with SMTP id ffacd0b85a97d-42b59342f3fmr1891458f8f.8.1763121961723; Fri, 14 Nov 2025 04:06:01 -0800 (PST) Received: from draig.lan ([185.126.160.19]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53f206e2sm9569035f8f.41.2025.11.14.04.06.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Nov 2025 04:06:00 -0800 (PST) Received: from draig (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 1D11A5F820; Fri, 14 Nov 2025 12:06:00 +0000 (GMT) From: =?utf-8?Q?Alex_Benn=C3=A9e?= To: Ilpo =?utf-8?Q?J=C3=A4rvinen?= Cc: Simon Richter , Lucas De Marchi , Alex Deucher , amd-gfx@lists.freedesktop.org, Bjorn Helgaas , David Airlie , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, Jani Nikula , Joonas Lahtinen , linux-pci@vger.kernel.org, Rodrigo Vivi , Simona Vetter , Tvrtko Ursulin , Christian =?utf-8?Q?K=C3=B6nig?= , Thomas =?utf-8?Q?Hellstr=C3=B6m?= , =?utf-8?Q?Micha=C5=82?= Winiarski Subject: Re: [PATCH v2 00/11] PCI: BAR resizing fix/rework In-Reply-To: <20251113162628.5946-1-ilpo.jarvinen@linux.intel.com> ("Ilpo =?utf-8?Q?J=C3=A4rvinen=22's?= message of "Thu, 13 Nov 2025 18:26:17 +0200") References: <20251113162628.5946-1-ilpo.jarvinen@linux.intel.com> User-Agent: mu4e 1.12.14-dev2; emacs 30.1 Date: Fri, 14 Nov 2025 12:06:00 +0000 Message-ID: <87jyzsq0nr.fsf@draig.linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 17 Nov 2025 13:22:47 +0000 X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" Ilpo J=C3=A4rvinen writes: > Hi all, > > Thanks to issue reports from Simon Richter and Alex Benn=C3=A9e, I > discovered BAR resize rollback can corrupt the resource tree. As fixing > corruption requires avoiding overlapping resource assignments, the > correct fix can unfortunately results in worse user experience, what > appeared to be "working" previously might no longer do so. Thus, I had > to do a larger rework to pci_resize_resource() in order to properly > restore resource states as it was prior to BAR resize. > > base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787 Ahh I have applied to 6.18-rc5 with minor conflicts and can verify that on my AVA the AMD GPU shows up again and I can run inference jobs against it. So for that case: Tested-by: Alex Benn=C3=A9e --=20 Alex Benn=C3=A9e Virtualisation Tech Lead @ Linaro