All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Krzysztof Wilczyński" <kw@linux.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: "Bjorn Helgaas" <helgaas@kernel.org>,
	"Jens Axboe" <axboe@kernel.dk>,
	"Darren Stevens" <darren@stevens-zone.net>,
	"mad skateman" <madskateman@gmail.com>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"Damien Le Moal" <damien.lemoal@opensource.wdc.com>,
	"Olof Johansson" <olof@lixom.net>,
	"R.T.Dickinson" <rtd2@xtra.co.nz>,
	"Christian Zigotzky" <chzigotzky@xenosoft.de>,
	"bhelgaas@google.com >> Bjorn Helgaas" <bhelgaas@google.com>,
	"Matthew Leaman" <matthew@a-eon.biz>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	"Christian Zigotzky" <info@xenosoft.de>,
	"Robert Święcki" <robert@swiecki.net>
Subject: Re: [PASEMI] Nemo board doesn't recognize any ATA disks with the pci-v5.16 updates
Date: Wed, 10 Nov 2021 00:18:48 +0100	[thread overview]
Message-ID: <YYsB2DAtZjtNFVhZ@rocinante> (raw)
In-Reply-To: <CAK8P3a3fB7KmqWcaenn04WMps=jucV8wOZs=AZcNFHR+o+Bvyg@mail.gmail.com>

[+CC Adding Robert for visibility]

Hi Arnd,

Thank you looking at this!  Much appreciated.

> > > You could attach the kernel config there, too, since it didn't make it
> > > to the mailing list (vger may discard them -- see
> > > http://vger.kernel.org/majordomo-info.html).
> >
> > Bjorn and I looked at which commits that went with a recent Pull Request
> > from us might be causing this, but we are a little bit at loss, and were
> > hoping that you could give us a hand in troubleshooting this.
> 
> For reference, these are the patches in that branch that touch any
> interesting files,
> as most of the contents are for pci-controller drivers that are not used on
> powerpc at all:
> 
> $ git log --no-merges --oneline 512b7931ad05..dda4b381f05d
> arch/powerpc/ drivers/of/  drivers/pci/*.[ch]  include/linux/
> acd61ffb2f16 PCI: Add ACS quirk for Pericom PI7C9X2G switches
> 978fd0056e19 PCI: of: Allow matching of an interrupt-map local to a PCI device
> 041284181226 of/irq: Allow matching of an interrupt-map local to an
> interrupt controller
> 0ab8d0f6ae3f irqdomain: Make of_phandle_args_to_fwspec() generally available
> 5ec0a6fcb60e PCI: Do not enable AtomicOps on VFs
> 7a41ae80bdcb PCI: pci-bridge-emul: Fix emulation of W1C bits
> fd1ae23b495b PCI: Prefer 'unsigned int' over bare 'unsigned'
> ff5d3bb6e16d PCI: Remove redundant 'rc' initialization
> 3331325c6347 PCI/VPD: Use pci_read_vpd_any() in pci_vpd_size()
> e1b0d0bb2032 PCI: Re-enable Downstream Port LTR after reset or hotplug
> ac8e3cef588c PCI/sysfs: Explicitly show first MSI IRQ for 'irq'
> 88dee3b0efe4 PCI: Remove unused pci_pool wrappers
> b5f9c644eb1b PCI: Remove struct pci_dev->driver
> 2a4d9408c9e8 PCI: Use to_pci_driver() instead of pci_dev->driver
> 4141127c44a9 powerpc/eeh: Use to_pci_driver() instead of pci_dev->driver
> f9a6c8ad4922 PCI/ERR: Reduce compile time for CONFIG_PCIEAER=n
> 43e85554d4ed xen/pcifront: Use to_pci_driver() instead of pci_dev->driver
> 34ab316d7287 xen/pcifront: Drop pcifront_common_process() tests of pcidev, pdrv
> 9f37ab0412eb PCI/switchtec: Add check of event support
> 5a72431ec318 powerpc/eeh: Use dev_driver_string() instead of struct
> pci_dev->driver->name
> ae232f0970ea PCI: Drop pci_device_probe() test of !pci_dev->driver
> 097d9d414433 PCI: Drop pci_device_remove() test of pci_dev->driver
> 8e9028b3790d PCI: Return NULL for to_pci_driver(NULL)
> 357df2fc0066 PCI: Use unsigned to match sscanf("%x") in pci_dev_str_match_path()
> bf2928c7a284 PCI/VPD: Add pci_read/write_vpd_any()
> b2105b9f39b5 PCI: Correct misspelled and remove duplicated words
> 7c3855c423b1 PCI: Coalesce host bridge contiguous apertures
> e0f7b1922358 PCI: Use kstrtobool() directly, sans strtobool() wrapper
> 36f354ec7bf9 PCI/sysfs: Return -EINVAL consistently from "store" functions
> 95e83e219d68 PCI/sysfs: Check CAP_SYS_ADMIN before parsing user input
> af9d82626c8f PCI/ACPI: Remove OSC_PCI_SUPPORT_MASKS and OSC_PCI_CONTROL_MASKS
> 9a0a1417d3bb PCI: Tidy comments
> 06dc660e6eb8 PCI: Rename pcibios_add_device() to pcibios_device_add()
> e3f4bd3462f6 PCI: Mark Atheros QCA6174 to avoid bus reset
> 3a19407913e8 PCI/P2PDMA: Apply bus offset correctly in DMA address calculation
> 
> Out of these, I agree that most of them seem harmless, these would
> be the ones I'd try to look at more closely, or maybe revert for testing:
> 
> 978fd0056e19 PCI: of: Allow matching of an interrupt-map local to a PCI device
> 041284181226 of/irq: Allow matching of an interrupt-map local to an
> interrupt controller
> e1b0d0bb2032 PCI: Re-enable Downstream Port LTR after reset or hotplug
> 7c3855c423b1 PCI: Coalesce host bridge contiguous apertures
> 3a19407913e8 PCI/P2PDMA: Apply bus offset correctly in DMA address calculation

Robert would you be able build a kernel without the patches Arnd singled
out as potential curlprits?  Might be expidite some troubleshooting saving
a lot of time doing bisect.

I wonder if this will help you with the following problem:
  https://lore.kernel.org/linux-pci/CAP145pjO9zdGgutHP=of0H+L1=nSz097zf73i7ZYm2-NWuwHhQ@mail.gmail.com/

	Krzysztof

WARNING: multiple messages have this Message-ID (diff)
From: "Krzysztof Wilczyński" <kw@linux.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: "Jens Axboe" <axboe@kernel.dk>,
	"Darren Stevens" <darren@stevens-zone.net>,
	"R.T.Dickinson" <rtd2@xtra.co.nz>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"Damien Le Moal" <damien.lemoal@opensource.wdc.com>,
	"bhelgaas@google.com >> Bjorn Helgaas" <bhelgaas@google.com>,
	"Bjorn Helgaas" <helgaas@kernel.org>,
	"mad skateman" <madskateman@gmail.com>,
	"Christian Zigotzky" <chzigotzky@xenosoft.de>,
	"Olof Johansson" <olof@lixom.net>,
	"Matthew Leaman" <matthew@a-eon.biz>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	"Robert Święcki" <robert@swiecki.net>,
	"Christian Zigotzky" <info@xenosoft.de>
Subject: Re: [PASEMI] Nemo board doesn't recognize any ATA disks with the pci-v5.16 updates
Date: Wed, 10 Nov 2021 00:18:48 +0100	[thread overview]
Message-ID: <YYsB2DAtZjtNFVhZ@rocinante> (raw)
In-Reply-To: <CAK8P3a3fB7KmqWcaenn04WMps=jucV8wOZs=AZcNFHR+o+Bvyg@mail.gmail.com>

[+CC Adding Robert for visibility]

Hi Arnd,

Thank you looking at this!  Much appreciated.

> > > You could attach the kernel config there, too, since it didn't make it
> > > to the mailing list (vger may discard them -- see
> > > http://vger.kernel.org/majordomo-info.html).
> >
> > Bjorn and I looked at which commits that went with a recent Pull Request
> > from us might be causing this, but we are a little bit at loss, and were
> > hoping that you could give us a hand in troubleshooting this.
> 
> For reference, these are the patches in that branch that touch any
> interesting files,
> as most of the contents are for pci-controller drivers that are not used on
> powerpc at all:
> 
> $ git log --no-merges --oneline 512b7931ad05..dda4b381f05d
> arch/powerpc/ drivers/of/  drivers/pci/*.[ch]  include/linux/
> acd61ffb2f16 PCI: Add ACS quirk for Pericom PI7C9X2G switches
> 978fd0056e19 PCI: of: Allow matching of an interrupt-map local to a PCI device
> 041284181226 of/irq: Allow matching of an interrupt-map local to an
> interrupt controller
> 0ab8d0f6ae3f irqdomain: Make of_phandle_args_to_fwspec() generally available
> 5ec0a6fcb60e PCI: Do not enable AtomicOps on VFs
> 7a41ae80bdcb PCI: pci-bridge-emul: Fix emulation of W1C bits
> fd1ae23b495b PCI: Prefer 'unsigned int' over bare 'unsigned'
> ff5d3bb6e16d PCI: Remove redundant 'rc' initialization
> 3331325c6347 PCI/VPD: Use pci_read_vpd_any() in pci_vpd_size()
> e1b0d0bb2032 PCI: Re-enable Downstream Port LTR after reset or hotplug
> ac8e3cef588c PCI/sysfs: Explicitly show first MSI IRQ for 'irq'
> 88dee3b0efe4 PCI: Remove unused pci_pool wrappers
> b5f9c644eb1b PCI: Remove struct pci_dev->driver
> 2a4d9408c9e8 PCI: Use to_pci_driver() instead of pci_dev->driver
> 4141127c44a9 powerpc/eeh: Use to_pci_driver() instead of pci_dev->driver
> f9a6c8ad4922 PCI/ERR: Reduce compile time for CONFIG_PCIEAER=n
> 43e85554d4ed xen/pcifront: Use to_pci_driver() instead of pci_dev->driver
> 34ab316d7287 xen/pcifront: Drop pcifront_common_process() tests of pcidev, pdrv
> 9f37ab0412eb PCI/switchtec: Add check of event support
> 5a72431ec318 powerpc/eeh: Use dev_driver_string() instead of struct
> pci_dev->driver->name
> ae232f0970ea PCI: Drop pci_device_probe() test of !pci_dev->driver
> 097d9d414433 PCI: Drop pci_device_remove() test of pci_dev->driver
> 8e9028b3790d PCI: Return NULL for to_pci_driver(NULL)
> 357df2fc0066 PCI: Use unsigned to match sscanf("%x") in pci_dev_str_match_path()
> bf2928c7a284 PCI/VPD: Add pci_read/write_vpd_any()
> b2105b9f39b5 PCI: Correct misspelled and remove duplicated words
> 7c3855c423b1 PCI: Coalesce host bridge contiguous apertures
> e0f7b1922358 PCI: Use kstrtobool() directly, sans strtobool() wrapper
> 36f354ec7bf9 PCI/sysfs: Return -EINVAL consistently from "store" functions
> 95e83e219d68 PCI/sysfs: Check CAP_SYS_ADMIN before parsing user input
> af9d82626c8f PCI/ACPI: Remove OSC_PCI_SUPPORT_MASKS and OSC_PCI_CONTROL_MASKS
> 9a0a1417d3bb PCI: Tidy comments
> 06dc660e6eb8 PCI: Rename pcibios_add_device() to pcibios_device_add()
> e3f4bd3462f6 PCI: Mark Atheros QCA6174 to avoid bus reset
> 3a19407913e8 PCI/P2PDMA: Apply bus offset correctly in DMA address calculation
> 
> Out of these, I agree that most of them seem harmless, these would
> be the ones I'd try to look at more closely, or maybe revert for testing:
> 
> 978fd0056e19 PCI: of: Allow matching of an interrupt-map local to a PCI device
> 041284181226 of/irq: Allow matching of an interrupt-map local to an
> interrupt controller
> e1b0d0bb2032 PCI: Re-enable Downstream Port LTR after reset or hotplug
> 7c3855c423b1 PCI: Coalesce host bridge contiguous apertures
> 3a19407913e8 PCI/P2PDMA: Apply bus offset correctly in DMA address calculation

Robert would you be able build a kernel without the patches Arnd singled
out as potential curlprits?  Might be expidite some troubleshooting saving
a lot of time doing bisect.

I wonder if this will help you with the following problem:
  https://lore.kernel.org/linux-pci/CAP145pjO9zdGgutHP=of0H+L1=nSz097zf73i7ZYm2-NWuwHhQ@mail.gmail.com/

	Krzysztof

  reply	other threads:[~2021-11-09 23:18 UTC|newest]

Thread overview: 137+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-30 11:59 Radeon NI: GIT kernel with the nislands_smc commit doesn't boot on a Freescale P5040 board and P.A.Semi Nemo board Christian Zigotzky
2021-04-30 11:59 ` Christian Zigotzky
2021-04-30 15:26 ` Deucher, Alexander
2021-04-30 15:26   ` Deucher, Alexander
2021-04-30 15:26   ` Deucher, Alexander
2021-04-30 15:56   ` Gustavo A. R. Silva
2021-04-30 15:56     ` Gustavo A. R. Silva
2021-04-30 15:56     ` Gustavo A. R. Silva
2021-05-03 22:25 ` [FSL P50x0] Xorg always restarts again and again after the the PowerPC updates 5.13-1 Christian Zigotzky
2021-05-04  4:56   ` Christophe Leroy
2021-05-04  7:21     ` Christian Zigotzky
2021-05-04  7:47       ` Christophe Leroy
2021-05-04  8:29         ` Christian Zigotzky
2021-05-04  8:58           ` Christophe Leroy
2021-05-04  9:09             ` Christian Zigotzky
2021-05-04  9:11               ` Christophe Leroy
2021-05-04  9:46                 ` Christian Zigotzky
2021-05-04  9:49                   ` Christophe Leroy
2021-05-04 10:07                     ` Christian Zigotzky
2021-05-04 11:02                       ` Christian Zigotzky
2021-05-04 13:48                         ` Christian Zigotzky
2021-05-04 14:48                           ` Christophe Leroy
2021-05-04 14:52                             ` Christian Zigotzky
2021-05-04 14:41                         ` Christophe Leroy
2021-05-04 14:59                           ` Christian Zigotzky
2021-05-04 15:17                             ` Christophe Leroy
2021-05-05 12:43                               ` Christian Zigotzky
2021-05-06  6:12                                 ` Christophe Leroy
2021-05-06  7:56                                   ` Christian Zigotzky
2021-05-06  8:09                                     ` Christophe Leroy
2021-05-06 13:58                                       ` Christian Zigotzky
2021-05-08 16:39                                         ` Christian Zigotzky
2021-05-09 12:27                                           ` Christian Zigotzky
2021-05-09 17:43                                             ` Christophe Leroy
2021-05-09 21:46                                               ` Christian Zigotzky
2021-05-09 17:36                                           ` Christophe Leroy
2021-05-13  6:47                                             ` Christian Zigotzky
2021-05-13 10:01                                               ` Christophe Leroy
2021-05-13 15:19                                                 ` Christian Zigotzky
2021-05-13 15:51                                                   ` Christophe Leroy
2021-05-13 16:35                                                     ` Christian Zigotzky
2021-05-13 17:00                                                       ` Christophe Leroy
2021-05-13 20:20                                                         ` Christian Zigotzky
2021-05-13 22:58                                                           ` Nicholas Piggin
2021-05-14  0:19                                                             ` Christian Zigotzky
2021-05-04 14:44                   ` Christophe Leroy
2021-05-06 23:55 ` Radeon NI: GIT kernel with the nislands_smc commit doesn't boot on a Freescale P5040 board and P.A.Semi Nemo board Gustavo A. R. Silva
2021-05-06 23:55   ` Gustavo A. R. Silva
2021-05-07  6:43   ` Christian Zigotzky
2021-05-07  6:43     ` Christian Zigotzky
2021-05-08 11:33     ` Christian Zigotzky
2021-05-08 11:33       ` Christian Zigotzky
2021-05-09 23:04       ` Gustavo A. R. Silva
2021-05-09 23:04         ` Gustavo A. R. Silva
2023-11-02 14:45       ` Fbdev issue after the drm updates 'drm-next-2023-10-31-1' Christian Zigotzky
2023-11-07  8:36         ` Christian Zigotzky
2023-11-12 14:23           ` Christian Zigotzky
2023-11-13 12:48             ` Geert Uytterhoeven
2023-11-13 12:48               ` Geert Uytterhoeven
2023-11-13 13:12               ` Christian Zigotzky
2023-11-13 13:12                 ` Christian Zigotzky
2023-11-14  9:45               ` Christian Zigotzky
2023-11-14  9:45                 ` Christian Zigotzky
2023-11-15  8:33                 ` Geert Uytterhoeven
2023-11-15  8:33                   ` Geert Uytterhoeven
2023-11-15  8:33                   ` Geert Uytterhoeven
2023-11-15  9:22                   ` Gerd Hoffmann
2023-11-15  9:22                     ` Gerd Hoffmann
2023-11-15  9:22                     ` Gerd Hoffmann
2023-11-16 13:13                     ` Geert Uytterhoeven
2023-11-16 13:13                       ` Geert Uytterhoeven
2023-11-16 13:13                       ` Geert Uytterhoeven
2021-11-04 10:45 ` [VirtIO GPU] Xorg doesn't start with the DRM updates 'drm-next-2021-11-03' in a virtual e5500 QEMU KVM-HV machine on a Freescale P5040 board Christian Zigotzky
2021-11-04 21:42   ` [PATCH] drm/virtio: Fix NULL dereference error in virtio_gpu_poll Vivek Kasireddy
2021-11-05 18:05     ` Christian Zigotzky
2021-11-05 18:05       ` Christian Zigotzky
2021-11-08 12:56     ` Gerd Hoffmann
2021-11-08 14:48   ` [FSL P50x0] Cyrus+ board doesn't boot with the PowerPC updates 5.16-1 Christian Zigotzky
2021-11-09 14:45     ` [PASEMI] Nemo board doesn't recognize any ATA disks with the pci-v5.16 updates Christian Zigotzky
2021-11-09 15:10       ` Christian Zigotzky
2021-11-09 15:10         ` Christian Zigotzky
2021-11-09 16:58         ` Bjorn Helgaas
2021-11-09 16:58           ` Bjorn Helgaas
2021-11-09 22:40           ` Krzysztof Wilczyński
2021-11-09 22:40             ` Krzysztof Wilczyński
2021-11-09 23:05             ` Arnd Bergmann
2021-11-09 23:05               ` Arnd Bergmann
2021-11-09 23:18               ` Krzysztof Wilczyński [this message]
2021-11-09 23:18                 ` Krzysztof Wilczyński
2021-11-10 16:42                 ` Robert Święcki
2021-11-10 16:42                   ` Robert Święcki
2021-11-10  3:52             ` Damien Le Moal
2021-11-10  3:52               ` Damien Le Moal
2021-11-10 18:07       ` Christian Zigotzky
2021-11-10 18:07         ` Christian Zigotzky
2021-11-10 18:41         ` Bjorn Helgaas
2021-11-10 18:41           ` Bjorn Helgaas
2021-11-10 19:09           ` Marc Zyngier
2021-11-10 19:09             ` Marc Zyngier
2021-11-11  5:24             ` Christian Zigotzky
2021-11-11  5:24               ` Christian Zigotzky
2021-11-11  7:13               ` Marc Zyngier
2021-11-11  7:13                 ` Marc Zyngier
2021-11-11  7:47                 ` Christian Zigotzky
2021-11-11  7:47                   ` Christian Zigotzky
2021-11-11 10:20                   ` Marc Zyngier
2021-11-11 10:20                     ` Marc Zyngier
2021-11-11 10:44                     ` Christian Zigotzky
2021-11-11 10:44                       ` Christian Zigotzky
2021-11-11 11:24                       ` Marc Zyngier
2021-11-11 11:24                         ` Marc Zyngier
2021-11-11 11:54                         ` Christian Zigotzky
2021-11-11 11:54                           ` Christian Zigotzky
2021-11-11 22:21                     ` Olof Johansson
2021-11-11 22:21                       ` Olof Johansson
2021-11-12 11:49                       ` Segher Boessenkool
2021-11-12 11:49                         ` Segher Boessenkool
2021-11-11 17:39         ` Marc Zyngier
2021-11-11 17:39           ` Marc Zyngier
2021-11-12  9:40           ` Christian Zigotzky
2021-11-12  9:40             ` Christian Zigotzky
2021-11-12 10:11             ` Christian Zigotzky
2021-11-12 10:11               ` Christian Zigotzky
2021-11-12 11:00               ` Christian Zigotzky
2021-11-12 11:00                 ` Christian Zigotzky
2021-11-12 13:41             ` Marc Zyngier
2021-11-12 13:41               ` Marc Zyngier
2021-11-12 14:15               ` Christian Zigotzky
2021-11-12 14:15                 ` Christian Zigotzky
2021-11-12 14:46                 ` Marc Zyngier
2021-11-12 14:46                   ` Marc Zyngier
2021-11-12 15:01                   ` Christian Zigotzky
2021-11-12 15:01                     ` Christian Zigotzky
2021-11-12 15:05                     ` Christian Zigotzky
2021-11-12 15:05                       ` Christian Zigotzky
2021-11-12 16:14         ` [irqchip: irq/irqchip-fixes] of/irq: Don't ignore interrupt-controller when interrupt-map failed irqchip-bot for Marc Zyngier
2021-11-09 16:13     ` [FSL P50x0] Cyrus+ board doesn't boot with the PowerPC updates 5.16-1 Christophe Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YYsB2DAtZjtNFVhZ@rocinante \
    --to=kw@linux.com \
    --cc=arnd@arndb.de \
    --cc=axboe@kernel.dk \
    --cc=bhelgaas@google.com \
    --cc=chzigotzky@xenosoft.de \
    --cc=damien.lemoal@opensource.wdc.com \
    --cc=darren@stevens-zone.net \
    --cc=helgaas@kernel.org \
    --cc=info@xenosoft.de \
    --cc=linux-pci@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=madskateman@gmail.com \
    --cc=matthew@a-eon.biz \
    --cc=olof@lixom.net \
    --cc=robert@swiecki.net \
    --cc=rtd2@xtra.co.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.