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 D0132CEBF97 for ; Mon, 17 Nov 2025 13:23:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5E98F10E3BB; Mon, 17 Nov 2025 13:23:39 +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-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4602610EA4A for ; Fri, 14 Nov 2025 12:06:03 +0000 (UTC) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-42b31507ed8so1524121f8f.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=Rw4U3amrS3FeJ/iugEtyQmuB+82wUfDKwoEfTw0BJHuPjwWPh+4lXyJmNTn2HPJybi Gpoq4KrWW2NoDNib2UuCiD26FJll3W9XwsFr7Rp4afKsdhz9fVf3YKgTh8MG2aH44cUN CAwLXlTf92iXo9cOd14UYKfpGLScSlg5aR7za7fB0OG0E4CdyXRyiuC4pxuR9rPBgypz ZXivqRVBgfmyDCGqrxuWFvF3JX3SXhZA0O2LizELl7LcslDafsqLNWQeUtcX2v3IcYBE kKiLwEY6hJo8M1pmbVY/cyINkdXLGgbNMW8DyF8UoPIdeFFTDmnLw5IZ0FGldjDK5jsh 8TQQ== X-Forwarded-Encrypted: i=1; AJvYcCV8ZIm+cNv/MGd7PuUU6Wp5p/75CMuDmC/hr4p1wVi3CdDlubz1hybt+IVUjw8hIFk89ZANg3pgBfM=@lists.freedesktop.org X-Gm-Message-State: AOJu0YzOK71I2wnsIkZ4DE0MaLyxGt8OdB01MluKljBr0yfq9ulTgD0Y oRnCfel/JVZWxbsQuYXbLCzhWIPHW8ILZ6Nkw8v9mmhdpmMR8sgVHIPPtC3LBlnH1v4= X-Gm-Gg: ASbGncuO4bBmp1qcdAqoVpFNNCI2f38J0/BQn9phO3YixPKBdtmXCjvbk2qb93MKrlI 9JGUQUT1LDwmsmKcknLzB57xIungRBflcfQlvKXP3vaGhOALygxzQz1IhvBVqz4jSyt3x0UldTY gIzqBrq9B5rzm2HNi8KXH9S4bfAhzm9Ib5g/ZokaY6hoSTHdM10TqFllEwGPUPPrFxkurVRrsvF 2eBf42sctz1HZobL4Xkl9j8+OGjq/dTMpKA6ZYiBCRWJyCk9A8W+bCYXD1CKdlCCf0+0nh3hdZU H5Vq+iba7vQ8DH+Juc20OmxVwQpOPfFyNXIggAthKiFfJPFWQqUGEVeZpxJxAYPzyj9QeuY5NMU AAFi7oZ0q4zmFuZhTrIfdvet2lCULAtGRv+37kl9REfs6QRgQtQt/J+s5Xwe2asflKySYU1fgpV Br 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:23:35 +0000 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" 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