linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: Olof Johansson <olof@lixom.net>
Cc: Jens Axboe <axboe@kernel.dk>, Rob Herring <robh@kernel.org>,
	Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
	mad skateman <madskateman@gmail.com>,
	Arnd Bergmann <arnd@arndb.de>,
	kw@linux.com, Marc Zyngier <maz@kernel.org>,
	damien.lemoal@opensource.wdc.com,
	Christian Zigotzky <chzigotzky@xenosoft.de>,
	Darren Stevens <darren@stevens-zone.net>,
	Bjorn Helgaas <helgaas@kernel.org>,
	Alyssa Rosenzweig <alyssa@rosenzweig.io>,
	"R.T.Dickinson" <rtd2@xtra.co.nz>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"bhelgaas@google.com >> Bjorn Helgaas" <bhelgaas@google.com>,
	Matthew Leaman <matthew@a-eon.biz>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	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: Fri, 12 Nov 2021 05:49:41 -0600	[thread overview]
Message-ID: <20211112114941.GK614@gate.crashing.org> (raw)
In-Reply-To: <CAOesGMgHfsFKWOXNOMghO3Xqj2y8M5XA8GjVV5ciOT0A4b+wdg@mail.gmail.com>

On Thu, Nov 11, 2021 at 02:21:46PM -0800, Olof Johansson wrote:
> On Thu, Nov 11, 2021 at 2:20 AM Marc Zyngier <maz@kernel.org> wrote:
> > Am I right in understanding that the upstream kernel does not support
> > the machine out of the box, and that you actually have to apply out of
> > tree patches to make it work? That these patches have to do with the
> > IRQ routing?
> 
> To my knowledge that has never been needed -- that the base platform
> support is all there.
> 
> This is an old platform, and just like with the power macs, the
> devicetree is indeed supplied from firmware, and as such not easily
> patchable like with ARM platforms.
> 
> Last time this was an issue (to my memory) was when they enabled
> automatic little endian switching in the boot path, that caused some
> issues with a (bad) phandle pointer that had gone undiscovered for 10+
> years.
> 
> > If so, I wonder why upstream should revert a patch to work on a system
> > that isn't supported upstream the first place. I will still try and
> > come up with a solution for you. But asking for the revert of a patch
> > on these grounds is not, IMHO, acceptable. Also, please provide these
> > patches on the list so that I can help you to some extend (and I mean
> > *on the list*, not on a random forum that collects my information).
> 
> Early fixups of DT is the way to go here, if needed -- we do it on
> some other platforms. That can happen in-kernel, and keep the new
> functionality. For that we'd need to figure out what's actually wrong
> with the DT as such right now.

Yup.  The scheme we have now (copy all info from OF, and then take over
everything at once) is not ideal at all, but treating OF systems just
like "bare" systems has advantages as well, including making it easier
to fix up the device tree if it has problems.  This is much superior to
changing all consumers (drivers etc.) to deal with the broken device
trees, so we should do it much more often :-)


Segher

  reply	other threads:[~2021-11-12 11:54 UTC|newest]

Thread overview: 150+ 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 15:26 ` Deucher, Alexander
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-07  6:43   ` Christian Zigotzky
2021-05-08 11:33     ` Christian Zigotzky
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 13:12               ` Christian Zigotzky
2023-11-14  9:45               ` Christian Zigotzky
2023-11-15  8:33                 ` Geert Uytterhoeven
2023-11-15  9:22                   ` Gerd Hoffmann
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
     [not found]   ` <20211104214249.1802789-1-vivek.kasireddy@intel.com>
2021-11-05 18:05     ` [PATCH] drm/virtio: Fix NULL dereference error in virtio_gpu_poll Christian Zigotzky
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 16:58         ` Bjorn Helgaas
2021-11-09 22:40           ` Krzysztof Wilczyński
2021-11-09 23:05             ` Arnd Bergmann
2021-11-09 23:18               ` Krzysztof Wilczyński
2021-11-10 16:42                 ` Robert Święcki
2021-11-10  3:52             ` Damien Le Moal
2021-11-10 18:07       ` Christian Zigotzky
2021-11-10 18:41         ` Bjorn Helgaas
2021-11-10 19:09           ` Marc Zyngier
2021-11-11  5:24             ` Christian Zigotzky
2021-11-11  7:13               ` Marc Zyngier
2021-11-11  7:47                 ` Christian Zigotzky
2021-11-11 10:20                   ` Marc Zyngier
2021-11-11 10:44                     ` Christian Zigotzky
2021-11-11 11:24                       ` Marc Zyngier
2021-11-11 11:54                         ` Christian Zigotzky
2021-11-11 22:21                     ` Olof Johansson
2021-11-12 11:49                       ` Segher Boessenkool [this message]
2021-11-11 17:39         ` Marc Zyngier
2021-11-12  9:40           ` Christian Zigotzky
2021-11-12 10:11             ` Christian Zigotzky
2021-11-12 11:00               ` Christian Zigotzky
2021-11-12 13:41             ` Marc Zyngier
2021-11-12 14:15               ` Christian Zigotzky
2021-11-12 14:46                 ` Marc Zyngier
2021-11-12 15:01                   ` Christian Zigotzky
2021-11-12 15:05                     ` Christian Zigotzky
2025-10-08 16:35                       ` [PPC] Boot problems after the pci-v6.18-changes Christian Zigotzky
2025-10-08 16:40                         ` John Paul Adrian Glaubitz
2025-10-08 16:47                           ` Christian Zigotzky
2025-10-08 19:51                         ` Bjorn Helgaas
2025-10-09  4:54                           ` Christian Zigotzky
2025-10-09  5:37                             ` Lukas Wunner
2025-10-11  5:12                               ` Christian Zigotzky
2025-10-11  5:25                                 ` Lukas Wunner
2025-10-11 15:11                                   ` Manivannan Sadhasivam
2025-10-11 19:34                                     ` Christian Zigotzky
2025-10-12  7:47                                       ` Christian Zigotzky
2025-10-12  8:26                                         ` Christian Zigotzky
2025-10-13  4:46                                     ` Christian Zigotzky
2025-10-13  5:02                                       ` Christian Zigotzky
2025-10-13  5:23                                         ` Christian Zigotzky
2025-10-13 14:50                                           ` Christian Zigotzky
2025-10-13 15:02                                             ` Christian Zigotzky
2025-10-13 15:38                                               ` Christian Zigotzky
2025-10-13 15:58                                             ` Manivannan Sadhasivam
2025-10-14  4:48                                               ` Christian Zigotzky
2025-10-14  4:55                                                 ` Christian Zigotzky
2025-10-15  6:41                                                   ` Manivannan Sadhasivam
2025-10-13 16:01                                         ` Manivannan Sadhasivam
2025-10-15  8:13                                     ` Herve Codina
2025-10-15 11:30                                       ` Christian Zigotzky
2025-10-15 11:58                                         ` Herve Codina
2025-10-15 12:27                                           ` Christian Zigotzky
2025-10-15 12:59                                             ` Herve Codina
2025-10-15 13:14                                               ` Christian Zigotzky
2025-10-15 13:17                                                 ` Christian Zigotzky
2025-10-15 13:34                                                 ` Herve Codina
2025-10-15 16:54                                                   ` Christian Zigotzky
2025-10-15 17:15                                                     ` Christian Zigotzky
2025-10-16  3:28                                                   ` Christian Zigotzky
2025-10-16  7:36                                                     ` Christian Zigotzky
2025-10-16  7:53                                                       ` Manivannan Sadhasivam
2025-10-16 10:44                                                         ` Christian Zigotzky
2025-10-17  5:35                                                           ` Christian Zigotzky
2025-10-15 16:23                                               ` Manivannan Sadhasivam
2025-10-15 13:07                                             ` Christian Zigotzky
2025-10-15 12:50                                           ` Manivannan Sadhasivam
2025-10-23  7:38                                             ` Herve Codina
2025-10-23  8:49                                               ` Manivannan Sadhasivam
2025-10-23  9:19                                                 ` Herve Codina
2025-10-23 16:59                                                   ` Bjorn Helgaas
2025-10-15 23:40                                       ` Bjorn Helgaas
2025-10-13 21:06                         ` Bjorn Helgaas
2025-10-14 18:51                           ` Bjorn Helgaas
2025-10-30 22:11                           ` Bjorn Helgaas
2025-11-01  5:39                             ` Christian Zigotzky
2025-11-01  7:50                               ` Christian Zigotzky
2025-11-01  7:59                               ` Christian Zigotzky
2025-11-01 17:06                                 ` Manivannan Sadhasivam
2025-11-03 18:28                                   ` Christian Zigotzky
2025-11-05 22:09                                     ` Bjorn Helgaas
2025-11-06  8:48                                       ` Hongxing Zhu
2025-11-06 18:25                                         ` Bjorn Helgaas
2025-11-07  2:26                                           ` Hongxing Zhu
2025-11-07  5:06                                       ` Christian Zigotzky
2025-11-11  5:15                                         ` Christian Zigotzky
2025-11-11 12:20                                           ` Bjorn Helgaas
2025-11-12  3:40                                             ` Christian Zigotzky
2025-11-13  0:44                                               ` Bjorn Helgaas
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=20211112114941.GK614@gate.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=alyssa@rosenzweig.io \
    --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=kw@linux.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=madskateman@gmail.com \
    --cc=matthew@a-eon.biz \
    --cc=maz@kernel.org \
    --cc=olof@lixom.net \
    --cc=robert@swiecki.net \
    --cc=robh@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).