From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5DC718FDBE for ; Tue, 3 Jun 2025 10:48:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748947729; cv=none; b=G4w6RJ/ia2PPaqFfYccya04Tezwm7sMTWyQsgr4glJIJnczCJYEjoVeExYRj/UF0Di8r6IIsikx1PT7yQi48hldEepT3bzufyRDbXMKfrBh4Ihdeh0vv/aFEKG9uIyJ724/Vh/z73J6x6pBXNgeU8EU/rIC3yWxfdXTiHORCF+E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748947729; c=relaxed/simple; bh=0/t4VZHHaghPD92lE20B6G38trWGNzHFkAze729VO0U=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=UfPv4UR32YR/6sGLIXlmllFvxVWOOS4BCkWRhvfIxQSep7LW7swK4Cjrza5SACKl2QrZMWQG94pid/NMeO6V0ZNqwnZ8lBBCUXwp/9c6LmXl1o+83pFKPoYhFAVqOiFIrH4Wre2napEt5Z/6cO3ajhcZGTOCAWlh/IJeSDIegFw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=dNxMv2s+; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dNxMv2s+" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-442e9c00bf4so35604675e9.3 for ; Tue, 03 Jun 2025 03:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1748947726; x=1749552526; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=Cx6O8nTXD/s0DawuWtPSuDjWjpCAIEUB9q4GWgLMpfY=; b=dNxMv2s+UeY+HlzD8WCyBdFdM02S2388Eh9QBqgxSmkamwdt+uJ32e/3N+o806can0 OT7CNCyVehE3Kjqx0j6RosGEGY7QByoOkcrFO262wq8RMOObi/KmuOIkv1Z0TqWKWq+M Vjkt+1OXxg7MUHIDUPlX5FUheEE+2fRlVRagOunGNhNRsghsfeio/ZFyF8NtBfqU5b02 wDSxBh7daq6XdvedjPNal4FgV43gLNdImZViVUwJr22Th9h3KXLMgllzanqGhUFMjdDp Qh/oGyntnWjbDwOBPG7DD4aQoz6xbmO1J7zFZonbYjYcYvGH8eUmY0h2p7JqOiUunTSA /Xsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748947726; x=1749552526; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Cx6O8nTXD/s0DawuWtPSuDjWjpCAIEUB9q4GWgLMpfY=; b=oeU3QTsZDiRouJ+aC9U6Lb7I09dhrAfzZVmoAF8pouTNQNRTnqYPGPFMS2VYy3pwGb 7dCg+LsPA/m0xtWUCcjmgO5O3vnCk3soYfYU9BByEcz7kk/aId9o/a6MSH3UGl3OD2I0 M21whi/Ca3iaFH46B1wuoEN3y/nc1iJtWVOh5Jrvu6z2TDstd2gY1k5bZSfetu1KIz27 F6QA3wLY5P0NZn5MHTJNwe0TGOl/Mx/w3LkNJ+9Cjxxff356WFVyNh5SWUjeybXTY2t9 CwiYh5g1ySvL8s3yPwO3fPZciOgjIxdyjerbP+BO9FFM+Ae7G8i31ih7ph8y3d07FZuW e2lw== X-Forwarded-Encrypted: i=1; AJvYcCXxiOu5oZou8GMVbziEu1/16w9kPQQrv17iFigqF8rLN94BQ1OJ+KK/s5q7Ys5AGqqaXUmg9CfxlcwGXN0=@vger.kernel.org X-Gm-Message-State: AOJu0YzncNFwTbacDV07fbEJN746asVAyAAHtDx/b4uhtD5kYZcbo8eb CYEG62PUKioqUWvStwc5fYiD1WAx9ydyLORIBg1FyhhAfwkujjOaspaoDHaghuWPkA8= X-Gm-Gg: ASbGncuMMf9f/3gug8ADLpEJQe64VnQuyGXtINuP2XjDC18hztNMfpyMk9B38jfNX8m Hg5KX29TwwyLcQzLQ+sKpxtcVxx4CWHMnLy71W2ovcZ086VIIZ0fOWULZtyzmf7oNyZLKBdKxEq bQRI2egwZpCGXCYUK22rK2oYy0sKYwtURqXPOINboIUsWSeE36bApLLyyH6g+D4We+IFy0Q/lFy O/vXrm3QR84BXdwKUHXHY9niT2DHXHeCi4tabFjwSe5ayQa0HwHV6U2li89oKIXstn059frbo8D +pvwlvC5cD7rKuWLB+KUxoBJM/6VU3mn+nRxjrGbksyOsxvVCU84TGOKYDkAld9u8OL8UUs= X-Google-Smtp-Source: AGHT+IEwWHNi7IQsbUhRzTa5EaiN1kvuKqLSnlU0bMScHgsa6KhYkSTpXYrAZ3MhbyuWmkaFjc4G2g== X-Received: by 2002:a05:600c:a51:b0:450:cfcb:5c9b with SMTP id 5b1f17b1804b1-450d880ac83mr121438035e9.1.1748947726161; Tue, 03 Jun 2025 03:48:46 -0700 (PDT) Received: from [192.168.0.14] ([79.115.63.247]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-450d7fb05bbsm154084245e9.22.2025.06.03.03.48.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Jun 2025 03:48:45 -0700 (PDT) Message-ID: Date: Tue, 3 Jun 2025 11:48:44 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 24/25] PCI: Perform reset_resource() and build fail list in sync From: Tudor Ambarus To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, =?UTF-8?Q?Micha=C5=82_Winiarski?= , Igor Mammedov , LKML , Mika Westerberg , William McVicker References: <20241216175632.4175-1-ilpo.jarvinen@linux.intel.com> <20241216175632.4175-25-ilpo.jarvinen@linux.intel.com> <5f103643-5e1c-43c6-b8fe-9617d3b5447c@linaro.org> <8f281667-b4ef-9385-868f-93893b9d6611@linux.intel.com> <3a47fc82-dc21-46c3-873d-68e713304af3@linaro.org> <867e47dc-9454-c00f-6d80-9718e5705480@linux.intel.com> <7e882cfb-a35a-bab0-c333-76a4e79243b6@linux.intel.com> <19ccc09c-1d6b-930e-6ed6-398b34020ca1@linux.intel.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 6/3/25 11:36 AM, Tudor Ambarus wrote: > > > On 6/3/25 9:13 AM, Ilpo Järvinen wrote: >> So please test if this patch solves your problem: > > It fails in a different way, the bridge window resource never gets > assigned with the proposed patch. > > With the patch applied: https://termbin.com/h3w0 above is no revert and with the proposed fix. It also contains the prints https://termbin.com/g4zn It seems the prints in pbus_size_mem are not longer hit, likely because of the new condition added: ``!pdev_resources_assignable(dev) ||``, pci_dev_for_each_resource() finishes without doing anything. > With the blamed commit reverted: https://termbin.com/3rh6