* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() @ 2022-12-25 12:11 Zeno Davatz 2022-12-25 13:16 ` Baolu Lu 2022-12-26 13:29 ` [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot Thorsten Leemhuis 0 siblings, 2 replies; 13+ messages in thread From: Zeno Davatz @ 2022-12-25 12:11 UTC (permalink / raw) To: wangxiongfeng2 Cc: baolu.lu, dwmw2, iommu, joro, jroedel, robin.murphy, will, yangyingliang [-- Attachment #1: Type: text/plain, Size: 184 bytes --] Hi I am getting this hang with kernel 6.1. See attachment. Is this related to your patch? Kernel 6.1 does not boot for me. Kernel 6.0 was fine. Thank you for your reply. Best Zeno [-- Attachment #2: image0.jpeg --] [-- Type: image/jpeg, Size: 1538042 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() 2022-12-25 12:11 [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() Zeno Davatz @ 2022-12-25 13:16 ` Baolu Lu 2022-12-25 13:37 ` Zeno Davatz 2022-12-25 13:40 ` Zeno Davatz 2022-12-26 13:29 ` [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot Thorsten Leemhuis 1 sibling, 2 replies; 13+ messages in thread From: Baolu Lu @ 2022-12-25 13:16 UTC (permalink / raw) To: Zeno Davatz, wangxiongfeng2 Cc: baolu.lu, dwmw2, iommu, joro, jroedel, robin.murphy, will, yangyingliang On 2022/12/25 20:11, Zeno Davatz wrote: > Hi > > I am getting this hang with kernel 6.1. See attachment. > > Is this related to your patch? > > Kernel 6.1 does not boot for me. Kernel 6.0 was fine. It seems unlikely. Have you located the patch through the bisect tool? Or does it boot well if you revert this patch? -- Best regards, baolu ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() 2022-12-25 13:16 ` Baolu Lu @ 2022-12-25 13:37 ` Zeno Davatz 2022-12-25 13:52 ` Baolu Lu 2022-12-25 13:40 ` Zeno Davatz 1 sibling, 1 reply; 13+ messages in thread From: Zeno Davatz @ 2022-12-25 13:37 UTC (permalink / raw) To: Baolu Lu Cc: wangxiongfeng2, dwmw2, iommu, joro, jroedel, robin.murphy, will, yangyingliang Dear Baolu On Sun, Dec 25, 2022 at 2:16 PM Baolu Lu <baolu.lu@linux.intel.com> wrote: > > On 2022/12/25 20:11, Zeno Davatz wrote: > > Hi > > > > I am getting this hang with kernel 6.1. See attachment. > > > > Is this related to your patch? > > > > Kernel 6.1 does not boot for me. Kernel 6.0 was fine. > > It seems unlikely. > > Have you located the patch through the bisect tool? Or does it boot well > if you revert this patch? I did not bisect the patch. All I currently know is that version 5.5 and version 6.0 of the Kernel booted fine for me. I test every Kernel release and normally the boot process goes flawless. The patch I am referring to is also mentioned by Linus in the Kernel log, AFAICT tell the only PCI patch. https://lkml.org/lkml/2022/12/11/206 Best Zeno ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() 2022-12-25 13:37 ` Zeno Davatz @ 2022-12-25 13:52 ` Baolu Lu 2022-12-25 14:03 ` Zeno Davatz ` (2 more replies) 0 siblings, 3 replies; 13+ messages in thread From: Baolu Lu @ 2022-12-25 13:52 UTC (permalink / raw) To: Zeno Davatz Cc: baolu.lu, wangxiongfeng2, dwmw2, iommu, joro, jroedel, robin.murphy, will, yangyingliang On 2022/12/25 21:37, Zeno Davatz wrote: > On Sun, Dec 25, 2022 at 2:16 PM Baolu Lu<baolu.lu@linux.intel.com> wrote: >> On 2022/12/25 20:11, Zeno Davatz wrote: >>> Hi >>> >>> I am getting this hang with kernel 6.1. See attachment. >>> >>> Is this related to your patch? >>> >>> Kernel 6.1 does not boot for me. Kernel 6.0 was fine. >> It seems unlikely. >> >> Have you located the patch through the bisect tool? Or does it boot well >> if you revert this patch? > I did not bisect the patch. All I currently know is that version 5.5 > and version 6.0 of the Kernel booted fine for me. > > I test every Kernel release and normally the boot process goes flawless. > > The patch I am referring to is also mentioned by Linus in the Kernel > log, AFAICT tell the only PCI patch. > > https://lkml.org/lkml/2022/12/11/206 I didn't find any reference to this patch in above thread. Can you please elaborate a bit more? By the way, from the video you shared, the hang happens in the PCI enumeration process. This patch touched the code that only executes after that. Can you please simply revert this patch and check the boot again? -- Best regards, baolu ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() 2022-12-25 13:52 ` Baolu Lu @ 2022-12-25 14:03 ` Zeno Davatz 2022-12-25 14:26 ` Zeno Davatz 2022-12-25 18:56 ` Zeno Davatz 2 siblings, 0 replies; 13+ messages in thread From: Zeno Davatz @ 2022-12-25 14:03 UTC (permalink / raw) To: Baolu Lu Cc: wangxiongfeng2, dwmw2, iommu, joro, jroedel, robin.murphy, will, yangyingliang Dear Baolu On Sun, Dec 25, 2022 at 2:52 PM Baolu Lu <baolu.lu@linux.intel.com> wrote: > > On 2022/12/25 21:37, Zeno Davatz wrote: > > On Sun, Dec 25, 2022 at 2:16 PM Baolu Lu<baolu.lu@linux.intel.com> wrote: > >> On 2022/12/25 20:11, Zeno Davatz wrote: > >>> Hi > >>> > >>> I am getting this hang with kernel 6.1. See attachment. > >>> > >>> Is this related to your patch? > >>> > >>> Kernel 6.1 does not boot for me. Kernel 6.0 was fine. > >> It seems unlikely. > >> > >> Have you located the patch through the bisect tool? Or does it boot well > >> if you revert this patch? > > I did not bisect the patch. All I currently know is that version 5.5 > > and version 6.0 of the Kernel booted fine for me. > > > > I test every Kernel release and normally the boot process goes flawless. > > > > The patch I am referring to is also mentioned by Linus in the Kernel > > log, AFAICT tell the only PCI patch. > > > > https://lkml.org/lkml/2022/12/11/206 > > I didn't find any reference to this patch in above thread. Can you > please elaborate a bit more? > > By the way, from the video you shared, the hang happens in the PCI > enumeration process. This patch touched the code that only executes > after that. > > Can you please simply revert this patch and check the boot again? Yes, I can try that. What is the git checkout hash, where I have to checkout at? This hang is very strange. Did something change in the Kernel enumeration process? Best Zeno ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() 2022-12-25 13:52 ` Baolu Lu 2022-12-25 14:03 ` Zeno Davatz @ 2022-12-25 14:26 ` Zeno Davatz 2022-12-25 18:56 ` Zeno Davatz 2 siblings, 0 replies; 13+ messages in thread From: Zeno Davatz @ 2022-12-25 14:26 UTC (permalink / raw) To: Baolu Lu Cc: wangxiongfeng2, dwmw2, iommu, joro, jroedel, robin.murphy, will, yangyingliang Dear Baolu On Sun, Dec 25, 2022 at 2:52 PM Baolu Lu <baolu.lu@linux.intel.com> wrote: > > On 2022/12/25 21:37, Zeno Davatz wrote: > > On Sun, Dec 25, 2022 at 2:16 PM Baolu Lu<baolu.lu@linux.intel.com> wrote: > >> On 2022/12/25 20:11, Zeno Davatz wrote: > >>> Hi > >>> > >>> I am getting this hang with kernel 6.1. See attachment. > >>> > >>> Is this related to your patch? > >>> > >>> Kernel 6.1 does not boot for me. Kernel 6.0 was fine. > >> It seems unlikely. > >> > >> Have you located the patch through the bisect tool? Or does it boot well > >> if you revert this patch? > > I did not bisect the patch. All I currently know is that version 5.5 > > and version 6.0 of the Kernel booted fine for me. > > > > I test every Kernel release and normally the boot process goes flawless. > > > > The patch I am referring to is also mentioned by Linus in the Kernel > > log, AFAICT tell the only PCI patch. > > > > https://lkml.org/lkml/2022/12/11/206 > > I didn't find any reference to this patch in above thread. Can you > please elaborate a bit more? > > By the way, from the video you shared, the hang happens in the PCI > enumeration process. This patch touched the code that only executes > after that. > > Can you please simply revert this patch and check the boot again? I am also seeing some "refcount" mentions here: https://lore.kernel.org/lkml/CAHk-=wgyXu4D44b8wQU9dpTYUft6WhZ0wr3nV1fziy6k0GwCCw@mail.gmail.com/ Best Zeno ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() 2022-12-25 13:52 ` Baolu Lu 2022-12-25 14:03 ` Zeno Davatz 2022-12-25 14:26 ` Zeno Davatz @ 2022-12-25 18:56 ` Zeno Davatz 2 siblings, 0 replies; 13+ messages in thread From: Zeno Davatz @ 2022-12-25 18:56 UTC (permalink / raw) To: Baolu Lu Cc: wangxiongfeng2, dwmw2, iommu, joro, jroedel, robin.murphy, will, yangyingliang Dear Baolu On Sun, Dec 25, 2022 at 2:52 PM Baolu Lu <baolu.lu@linux.intel.com> wrote: > > On 2022/12/25 21:37, Zeno Davatz wrote: > > On Sun, Dec 25, 2022 at 2:16 PM Baolu Lu<baolu.lu@linux.intel.com> wrote: > >> On 2022/12/25 20:11, Zeno Davatz wrote: > >>> Hi > >>> > >>> I am getting this hang with kernel 6.1. See attachment. > >>> > >>> Is this related to your patch? > >>> > >>> Kernel 6.1 does not boot for me. Kernel 6.0 was fine. > >> It seems unlikely. > >> > >> Have you located the patch through the bisect tool? Or does it boot well > >> if you revert this patch? > > I did not bisect the patch. All I currently know is that version 5.5 > > and version 6.0 of the Kernel booted fine for me. > > > > I test every Kernel release and normally the boot process goes flawless. > > > > The patch I am referring to is also mentioned by Linus in the Kernel > > log, AFAICT tell the only PCI patch. > > > > https://lkml.org/lkml/2022/12/11/206 > > I didn't find any reference to this patch in above thread. Can you > please elaborate a bit more? > > By the way, from the video you shared, the hang happens in the PCI > enumeration process. This patch touched the code that only executes > after that. > > Can you please simply revert this patch and check the boot again? The problem happens somewhere between Kernel Version 6.0 and 6.1-rc1. So my Boot is fine with Kernel 6.0 but stops working with Kernel version 6.1-rc1. Best Zeno ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() 2022-12-25 13:16 ` Baolu Lu 2022-12-25 13:37 ` Zeno Davatz @ 2022-12-25 13:40 ` Zeno Davatz 1 sibling, 0 replies; 13+ messages in thread From: Zeno Davatz @ 2022-12-25 13:40 UTC (permalink / raw) To: Baolu Lu Cc: wangxiongfeng2, dwmw2, iommu, joro, jroedel, robin.murphy, will, yangyingliang [-- Attachment #1: Type: text/plain, Size: 477 bytes --] Hi > Am 25.12.2022 um 14:16 schrieb Baolu Lu <baolu.lu@linux.intel.com>: > > On 2022/12/25 20:11, Zeno Davatz wrote: >> Hi >> I am getting this hang with kernel 6.1. See attachment. >> Is this related to your patch? >> Kernel 6.1 does not boot for me. Kernel 6.0 was fine. > > It seems unlikely. > > Have you located the patch through the bisect tool? Or does it boot well > if you revert this patch? This is the video of the boot process that hangs: [-- Attachment #2: Video.mov --] [-- Type: video/quicktime, Size: 2911691 bytes --] [-- Attachment #3: Type: text/plain, Size: 11 bytes --] Best Zeno ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot 2022-12-25 12:11 [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() Zeno Davatz 2022-12-25 13:16 ` Baolu Lu @ 2022-12-26 13:29 ` Thorsten Leemhuis 2022-12-27 7:20 ` Baolu Lu 2023-02-01 23:24 ` [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot Bjorn Helgaas 1 sibling, 2 replies; 13+ messages in thread From: Thorsten Leemhuis @ 2022-12-26 13:29 UTC (permalink / raw) To: regressions@lists.linux.dev; +Cc: iommu [Note: this mail contains only information for Linux kernel regression tracking. Mails like these contain '#forregzbot' in the subject to make then easy to spot and filter out. The author also tried to remove most or all individuals from the list of recipients to spare them the hassle.] On 25.12.22 13:11, Zeno Davatz wrote: > Hi > > I am getting this hang with kernel 6.1. See attachment. > > Is this related to your patch? > > Kernel 6.1 does not boot for me. Kernel 6.0 was fine. > > Thank you for your reply. Thanks for the report. To be sure below issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, my Linux kernel regression tracking bot: #regzbot ^introduced v6.0..v6.1-rc1 #regzbot title pci(?)/iommu(?): hang with kernel 6.1 #regzbot ignore-activity Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot 2022-12-26 13:29 ` [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot Thorsten Leemhuis @ 2022-12-27 7:20 ` Baolu Lu 2022-12-27 7:37 ` [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() Thorsten Leemhuis 2023-02-01 23:24 ` [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot Bjorn Helgaas 1 sibling, 1 reply; 13+ messages in thread From: Baolu Lu @ 2022-12-27 7:20 UTC (permalink / raw) To: Thorsten Leemhuis, regressions@lists.linux.dev; +Cc: baolu.lu, iommu On 2022/12/26 21:29, Thorsten Leemhuis wrote: > [Note: this mail contains only information for Linux kernel regression > tracking. Mails like these contain '#forregzbot' in the subject to make > then easy to spot and filter out. The author also tried to remove most > or all individuals from the list of recipients to spare them the hassle.] > > On 25.12.22 13:11, Zeno Davatz wrote: >> Hi >> >> I am getting this hang with kernel 6.1. See attachment. >> >> Is this related to your patch? >> >> Kernel 6.1 does not boot for me. Kernel 6.0 was fine. >> >> Thank you for your reply. > > Thanks for the report. To be sure below issue doesn't fall through the > cracks unnoticed, I'm adding it to regzbot, my Linux kernel regression > tracking bot: > > #regzbot ^introduced v6.0..v6.1-rc1 > #regzbot title pci(?)/iommu(?): hang with kernel 6.1 > #regzbot ignore-activity > > Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) > > P.S.: As the Linux kernel's regression tracker I deal with a lot of > reports and sometimes miss something important when writing mails like > this. If that's the case here, don't hesitate to tell me in a public > reply, it's in everyone's interest to set the public record straight. > The reporter said that "The problem happens somewhere between Kernel Version 6.0 and 6.1-rc1." This patch only shows up since v6.1-rc8. This patch cannot generate any kernel regression on v6.1-rc1. -- Best regards, baolu ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() 2022-12-27 7:20 ` Baolu Lu @ 2022-12-27 7:37 ` Thorsten Leemhuis 0 siblings, 0 replies; 13+ messages in thread From: Thorsten Leemhuis @ 2022-12-27 7:37 UTC (permalink / raw) To: Baolu Lu, regressions@lists.linux.dev; +Cc: iommu On 27.12.22 08:20, Baolu Lu wrote: > On 2022/12/26 21:29, Thorsten Leemhuis wrote: >> [Note: this mail contains only information for Linux kernel regression >> tracking. Mails like these contain '#forregzbot' in the subject to make >> then easy to spot and filter out. The author also tried to remove most >> or all individuals from the list of recipients to spare them the hassle.] >> >> On 25.12.22 13:11, Zeno Davatz wrote: >>> Hi >>> >>> I am getting this hang with kernel 6.1. See attachment. >>> >>> Is this related to your patch? >>> >>> Kernel 6.1 does not boot for me. Kernel 6.0 was fine. >>> >>> Thank you for your reply. >> >> Thanks for the report. To be sure below issue doesn't fall through the >> cracks unnoticed, I'm adding it to regzbot, my Linux kernel regression >> tracking bot: >> >> #regzbot ^introduced v6.0..v6.1-rc1 >> #regzbot title pci(?)/iommu(?): hang with kernel 6.1 >> #regzbot ignore-activity >> >> Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) >> >> P.S.: As the Linux kernel's regression tracker I deal with a lot of >> reports and sometimes miss something important when writing mails like >> this. If that's the case here, don't hesitate to tell me in a public >> reply, it's in everyone's interest to set the public record straight. >> > > The reporter said that "The problem happens somewhere between Kernel > Version 6.0 and 6.1-rc1." Don't worry, I know, that's why I used "#regzbot ^introduced v6.0..v6.1-rc1" above. > This patch only shows up since v6.1-rc8. This > patch cannot generate any kernel regression on v6.1-rc1. I'm not blaming the patch mentioned in the subject, but this is the report about an regression that shouldn't be forgotten about, hence I track it, even if the discussion uses a misleading subject (hopefully someone will change that). Or am I missing something here? Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot 2022-12-26 13:29 ` [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot Thorsten Leemhuis 2022-12-27 7:20 ` Baolu Lu @ 2023-02-01 23:24 ` Bjorn Helgaas 2023-02-13 20:43 ` Bjorn Helgaas 1 sibling, 1 reply; 13+ messages in thread From: Bjorn Helgaas @ 2023-02-01 23:24 UTC (permalink / raw) To: Thorsten Leemhuis; +Cc: regressions@lists.linux.dev, iommu On Mon, Dec 26, 2022 at 02:29:39PM +0100, Thorsten Leemhuis wrote: > [Note: this mail contains only information for Linux kernel regression > tracking. Mails like these contain '#forregzbot' in the subject to make > then easy to spot and filter out. The author also tried to remove most > or all individuals from the list of recipients to spare them the hassle.] > #regzbot ^introduced v6.0..v6.1-rc1 > #regzbot title pci(?)/iommu(?): hang with kernel 6.1 > #regzbot ignore-activity #regzbot dup-of: https://bugzilla.kernel.org/show_bug.cgi?id=216859 #regzbot introduced: 145eed48de27 ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot 2023-02-01 23:24 ` [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot Bjorn Helgaas @ 2023-02-13 20:43 ` Bjorn Helgaas 0 siblings, 0 replies; 13+ messages in thread From: Bjorn Helgaas @ 2023-02-13 20:43 UTC (permalink / raw) To: Thorsten Leemhuis; +Cc: regressions@lists.linux.dev, iommu On Wed, Feb 01, 2023 at 05:24:21PM -0600, Bjorn Helgaas wrote: > On Mon, Dec 26, 2022 at 02:29:39PM +0100, Thorsten Leemhuis wrote: > > [Note: this mail contains only information for Linux kernel regression > > tracking. Mails like these contain '#forregzbot' in the subject to make > > then easy to spot and filter out. The author also tried to remove most > > or all individuals from the list of recipients to spare them the hassle.] > > > #regzbot ^introduced v6.0..v6.1-rc1 > > #regzbot title pci(?)/iommu(?): hang with kernel 6.1 > > #regzbot ignore-activity > > #regzbot dup-of: https://bugzilla.kernel.org/show_bug.cgi?id=216859 > #regzbot introduced: 145eed48de27 #regzbot fix: 04119ab1a49f ("nvidiafb: detect the hardware support before removing console.") ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2023-02-13 20:43 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-12-25 12:11 [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() Zeno Davatz 2022-12-25 13:16 ` Baolu Lu 2022-12-25 13:37 ` Zeno Davatz 2022-12-25 13:52 ` Baolu Lu 2022-12-25 14:03 ` Zeno Davatz 2022-12-25 14:26 ` Zeno Davatz 2022-12-25 18:56 ` Zeno Davatz 2022-12-25 13:40 ` Zeno Davatz 2022-12-26 13:29 ` [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot Thorsten Leemhuis 2022-12-27 7:20 ` Baolu Lu 2022-12-27 7:37 ` [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() Thorsten Leemhuis 2023-02-01 23:24 ` [PATCH 1/2] iommu/vt-d: Fix PCI device reference count leak in has_external pci() #forregzbot Bjorn Helgaas 2023-02-13 20:43 ` Bjorn Helgaas
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.