From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 D74C61DF252 for ; Mon, 27 Oct 2025 08:10:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761552619; cv=none; b=m+XjrtqEYAEnomK8Tb22aujNj4j7hOyp8TRJlyEtz1T1q9YXkXpiuoq8xT7kyTgFd/jfMOfY5CagOAMrreS5x8BTUTYYeXUyqlsnNxRjxJzV0sJU3cFo/RdzUJin5QGoK5ShuU1lRvpSFSsCj4aixIseeIN0e2o+rh+GD2FQxPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761552619; c=relaxed/simple; bh=VoRUY3ins21uu8jjVMczNJwbivQ26l6F68stddKtneg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=geKY9v27RvmXgr0Y+3keIOrhEkGq+KCal6NFtl79+ID7zE6f4IvSmUm8atkj+of5oILjZrUD1J+Apov+fmSGe7G82y+7i3vbT+XuE8oITy9t+e97iyOTIxTg8nalrLGE9irC8h92d/6qQLSqT/Jd8Y72V6Pdc9eAYhi1b4N6HjA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IQIwRJB7; arc=none smtp.client-ip=209.85.210.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IQIwRJB7" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-78118e163e5so4552560b3a.0 for ; Mon, 27 Oct 2025 01:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761552615; x=1762157415; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=T6n3f7H9R5Wq242yxZtuIsFjuAPFB3rb7ibQPNdRdRM=; b=IQIwRJB7rJnAcNxe4gr9gE7yNFSLcnYfNcnkQI0otJzvUJTLgXb2Zm4X9o3jebmdVe e3ppbd6cKFZFNGbsNoWt0xX7YnDnyiZ3puEg+jAo1HCVb6qeQ8JTda8fq/tl6ivIHZeL Y3NexpP3631424VR+/6pMhud/JurwOmC6rMCxQQHJzmZjRYCK8BK7veUEm3ZqzuzZCh3 MVtoe9PIGMnagrDKpoFuv23Pvy5Mmqb2vKpBPInnMul9AQkh0viREW4CIjfjkj0cOE/R cfDiKufZbGOKKJFt2NmWog5Ycpvap5zHEcDIVkE1K8CXOjfQ9D2HIhac/soD1NXj5+q0 mV8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761552615; x=1762157415; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=T6n3f7H9R5Wq242yxZtuIsFjuAPFB3rb7ibQPNdRdRM=; b=UMa2RurdUk0opzq6Fp/kl65ALkv70eWyfJQ4IUgvFpu0Gv6hbM3145ZU4yhwPXpfMC q0L1yLjeC36I6qWKsCXfx50wKqZDRGhIUbi9oNKF/LKbD6fcqAH2A/ZT2Ko1VuiLluDU oMIGLbQ8qUFNpdBlOwwpJ/xsbatFT4Nt+063N5SVdCBJ2a7tNs7sjKsdjLR7nmR2XbZW kL2ujPtoMLYZMIYD7rwFA5YNHlXEEeok+t6VN0GKM8+j9AtZ4SP4a5yuNymg+IqbEhDw XNmnZEzcJ/fRglPLKolInOGbiGNZCFEelBNwpTP7f8uJ8Mo0d1WPlhyz4ZOvujg9o9Sq Dg1g== X-Forwarded-Encrypted: i=1; AJvYcCXhB1BkTzjBZXl07JWvVYCgqKA9l9KRh6SlJymNXMQdJSWOILGt4ESuRMzBBE7/1qLHCmSqcKk5fuAyBRs=@vger.kernel.org X-Gm-Message-State: AOJu0Yz2pR5xC8cxjGjcIvmmYxC5Hjco3DDb2JvduMztq2x7M7HR6wYR DDPlLhker72I0wGhGDQIO87DO3kvrVKktOjiQ5q+2kSWmHOItXDkN1Bh X-Gm-Gg: ASbGnctIw4ImOyuuTrv/Mm5iV98e8WUrMB3/EjfjWBkvIBXAaXnrHLhsUC45IsKzovX XRrr8HVjVZzn8fEzvFZ73Lb046kMbD81eRv6j3hhpiKQgIF67wVISH+hf1TLhehhG/PI7DQgv3T HSX6y/O5vu98B+hrEr4G0IivR0RjC/KFymTKKAc1Af/vA33WFx2pS7H6PWfZkyGaJTryrmwA1Nf 5/FexSZGkUI75BBpUrKs+BOjFNdB5sOn4DBl0IpF98CffLJqVQb6bPRceA1vofNeDMwM+hM+6ZE j1eNgKVXqNFlS86cMZPe6GNawL6EiIjtdoPIjWl3usH67iDYi+HEWz5BGTS79AK1i/H4FGNvCqy xMgseF2emuwTJnCaTHAbkdbITeIqrBX/d05+pLr2drfd183xrmD6bYwulriEaynWOf3ihRzdQR7 IgKqFGpf/1U8CqzGW8hoc0D7QkyLAqK1Q= X-Google-Smtp-Source: AGHT+IHSSd9fMAjmKfXljkXTyT2XUXCuCGrceY39YLK9TJKqTw964TmCldXcS6Vik91n8EMyB4Xofw== X-Received: by 2002:a17:902:f712:b0:294:880e:7ab6 with SMTP id d9443c01a7336-29489db6cfemr114974275ad.1.1761552614877; Mon, 27 Oct 2025 01:10:14 -0700 (PDT) Received: from [10.0.2.15] ([14.98.178.155]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498d274aasm71715025ad.56.2025.10.27.01.10.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Oct 2025 01:10:14 -0700 (PDT) Message-ID: <81fd91f2-638c-466d-9b27-705a44632713@gmail.com> Date: Mon, 27 Oct 2025 13:40:10 +0530 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 1/2] PCI: Setup bridge resources earlier To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= Cc: Bjorn Helgaas , bhelgaas@google.com, kw@linux.com, LKML , linux-pci@vger.kernel.org, lucas.demarchi@intel.com, rafael.j.wysocki@intel.com, Manivannan Sadhasivam , bhanuseshukumar@gmail.com References: <20251017185246.GA1040948@bhelgaas> <702c4ad7-508b-42de-9dc3-40e4a0fe7bd7@gmail.com> Content-Language: en-US From: Bhanu Seshu Kumar Valluri In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 21/10/25 00:16, Ilpo Järvinen wrote: > On Sat, 18 Oct 2025, Bhanu Seshu Kumar Valluri wrote: > >> On 18/10/25 00:22, Bjorn Helgaas wrote: >>> On Fri, Oct 17, 2025 at 11:52:58PM +0530, Bhanu Seshu Kumar Valluri wrote: >>>> >>>> I want to report that this PATCH also break PCI RC port on TI-AM64-EVM. >>>> >>>> I did git bisect and it pointed to the a43ac325c7cb ("PCI: Set up bridge resources earlier") >>>> >>>> Happy to help if any testing or logs are required. >>> >>> Thanks for the report! Can you test this patch? >>> >>> https://patch.msgid.link/20251014163602.17138-1-ilpo.jarvinen@linux.intel.com >>> >>> That patch is queued up as >>> https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/commit/?id=469276c06aff >>> and should appear in v6.18-rc2 on Sunday if all goes well. >>> >>> If that doesn't work, let us know and we'll debug this further. >> >> I applied above patch on top of commit f406055cb18c ("Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux") >> >> Did pci rescan and run kselftest (pci_endpoint_test). It is working. >> >> Thanks for the patch. > > Thanks for testing the revert. > >> Happy to help if any testing or logs are required. > > I'd be interested to understand what goes wrong with the change I was > trying to make as I want to attempt the same change later, but with all > known issues solved by supporting changes, obviously :-). > > The log snippets you provided are unfortunately too short to contain all > the necessary information (missing e.g. root bus resources and possibly > other helpful details). > > So if you could provide dmesg and /proc/iomem contents from broken and > working (with the revert) cases to let me easily compare them, that would > help. Please take the dmesg with dyndbg="file drivers/pci/*.c +p" on > kernel's cmdline. > > No further actions needed beyond that until later if I need to test some > of those supporting changes before retrying all this in the mainline. It > may take some time, even more than one kernel cycle as there have been > quite many regressions. > > Hi I captured logs with dyndbg="file drivers/pci/*.c +p. See the links below. Working kernel logs https://github.com/bhanuseshukumar/kernel_logs/blob/main/working_log Non Working kernel logs https://github.com/bhanuseshukumar/kernel_logs/blob/main/not_working_log Happy to help if any testing or logs are required. Regards, Bhanu Seshu Kumvar Valluri