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 24966CE7B12 for ; Fri, 14 Nov 2025 14:08:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 381A110EA77; Fri, 14 Nov 2025 14:08:09 +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-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by gabe.freedesktop.org (Postfix) with ESMTPS id 487D310EA4D for ; Fri, 14 Nov 2025 12:06:03 +0000 (UTC) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-42b31507ed8so1524120f8f.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=iS8KFBALKXdyj8sSfocfCCwOfRQ6vA+mxUUpoha3xwWd8NfQ+7+inFR31GSoPSmxO6 +c4/R2k+LOOTiSyDVQL+EksJS2kTExcgODTu52eAhvkzlg6h2KiZrhQ/JAwI/E1xpasL i7v8B4SeuQW6TclrApcRhukjCj1oNL5jnXCZlft2aN1gHuqQwUWb/bMD+oqjk1aVEkX7 akg9m9AFwFPx1CH43Y17V4gDEJTdhAA3zTZAXhCgLOEHdUg4VkIMrIcHXMIZCX5tJHKV lyuNHVKseSLjJ4vKRijTdxJDbU0FKLJECvrYA30mpdyRq2V8ln8knyelmsyum3NOELq0 YD5Q== X-Forwarded-Encrypted: i=1; AJvYcCXDIbq+pIW9NRNC1LIbK2yHOAK3derG+tS7cyooqwgu8eIa/Ke2AW0LWFUDGaSXXqnJasR7hdFv@lists.freedesktop.org X-Gm-Message-State: AOJu0YzVUbaQYdcqXRUwderqT0dL0SIplnPyJ0ND5MWTeEjwDVV4VFcG CnrBgf92Rv9YJ+JR2Toghy+K09WYUvLScn8JMgAVX7K1U+P6ep9ducvOClOQo12C2pA= X-Gm-Gg: ASbGncsNG8J1jxjjKLtCSySbASZYfLitiXBNv0OBoLN5CuMMLtR9VZsyZZ3svLqkU/Y yH8gorOhc2bSrWT5z3VvMzTM6Wde9vwmVUngLQJnESKo/e2+lr+o3OWmjKDTjgVCUErZfVa1/+6 FtHghKKz55sYlY+w0m3WhnxNzGjNLdPJyyjNG9GV4FRqc6mQi5FXuSgQNd78EBVWgASYjBnZkxA ulnPuRPtLfemgxumOiLFgYb6wQ3w2x/wwnn83bvvlHRhx47xGYluHrt49xpF7XPWSaTwEkTzFFB GWhZ77HgoCuxljbyxJzzCXIkraUpAZJPMBU3ZkcBjJw8QMbjuSmyO0wu79BzuPKFqaXS9yOscRj 39LmLjj/cVraud8pSHFgb12OVJhd2WsFRJfMIk1GaQNxE/fu4UP7qk2rjkPKTkJnamqBQGE5Q5c mi 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: Fri, 14 Nov 2025 14:08:08 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-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