From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
This patch series contains several fixes in preparation for SMMU
support on NXP LS1043A and LS1046A chips. Once these get picked up,
I'll submit the actual SMMU enablement patches consisting in the
required device tree changes.
This patch series contains only part of the previously submitted one,
(including also the device tree changes) available here:
https://patchwork.kernel.org/cover/10634443/
There are a couple of changes/fixes since then:
- for consistency, renamed mmu node to smmu
- new patch page aligning the sizes of the qbman reserved memory
- rebased on 5.1.0-rc2
Depends on this pull request:
http://lists.infradead.org/pipermail/linux-arm-kernel/2019-May/653554.html
Changes in v3:
- cache iommu domain in driver's private data
- rebased on v5.2.0-rc2
- rework to get rid of #ifdef spaghetti (David)
Changes in v2:
- dropped patches dealing with mapping reserved memory in iommu
- changed logic for qman portal probe status (Leo)
- moved "#ifdef CONFIG_PAMU" in header file (Leo)
- rebased on v5.1.0-rc5
Laurentiu Tudor (6):
fsl/fman: don't touch liodn base regs reserved on non-PAMU SoCs
fsl/fman: add API to get the device behind a fman port
dpaa_eth: defer probing after qbman
dpaa_eth: base dma mappings on the fman rx port
dpaa_eth: fix iova handling for contiguous frames
dpaa_eth: fix iova handling for sg frames
.../net/ethernet/freescale/dpaa/dpaa_eth.c | 131 ++++++++++++------
.../net/ethernet/freescale/dpaa/dpaa_eth.h | 2 +
drivers/net/ethernet/freescale/fman/fman.c | 6 +-
.../net/ethernet/freescale/fman/fman_port.c | 14 ++
.../net/ethernet/freescale/fman/fman_port.h | 2 +
5 files changed, 108 insertions(+), 47 deletions(-)
--
2.17.1
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
The dma transactions initiator is the rx fman port so that's the device
that the dma mappings should be done. Previously the mappings were done
through the MAC device which makes no sense because it's neither dma-able
nor connected in any way to smmu.
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
---
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
@@ -2805,8 +2805,15 @@ static int dpaa_eth_probe(struct platform_device *pdev)return-ENODEV;}+mac_dev=dpaa_mac_dev_get(pdev);+if(IS_ERR(mac_dev)){+dev_err(&pdev->dev,"dpaa_mac_dev_get() failed\n");+err=PTR_ERR(mac_dev);+gotoprobe_err;+}+/* device used for DMA mapping */-dev=pdev->dev.parent;+dev=fman_port_get_device(mac_dev->port[RX]);err=dma_coerce_mask_and_coherent(dev,DMA_BIT_MASK(40));if(err){dev_err(dev,"dma_coerce_mask_and_coherent() failed\n");
@@ -2831,13 +2838,6 @@ static int dpaa_eth_probe(struct platform_device *pdev)priv->msg_enable=netif_msg_init(debug,DPAA_MSG_DEFAULT);-mac_dev=dpaa_mac_dev_get(pdev);-if(IS_ERR(mac_dev)){-dev_err(dev,"dpaa_mac_dev_get() failed\n");-err=PTR_ERR(mac_dev);-gotofree_netdev;-}-/* If fsl_fm_max_frm is set to a higher value than the all-common 1500,*wechooseconservativelyandlettheuserexplicitlysetahigher*MTUviaifconfig.Otherwise,theusermayendupwithdifferentMTUs
@@ -2973,9 +2973,9 @@ static int dpaa_eth_probe(struct platform_device *pdev)qman_release_cgrid(priv->cgr_data.cgr.cgrid);free_dpaa_bps:dpaa_bps_free(priv);-free_netdev:dev_set_drvdata(dev,NULL);free_netdev(net_dev);+probe_err:returnerr;}
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
The driver relies on the no longer valid assumption that dma addresses
(iovas) are identical to physical addressees and uses phys_to_virt() to
make iova -> vaddr conversions. Fix this by adding a function that does
proper iova -> phys conversions using the iommu api and update the code
to use it.
Also, a dma_unmap_single() call had to be moved further down the code
because iova -> vaddr conversions were required before the unmap.
For now only the contiguous frame case is handled and the SG case is
split in a following patch.
While at it, clean-up a redundant dpaa_bpid2pool() and pass the bp
as parameter.
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
---
.../net/ethernet/freescale/dpaa/dpaa_eth.c | 42 ++++++++++---------
.../net/ethernet/freescale/dpaa/dpaa_eth.h | 2 +
2 files changed, 24 insertions(+), 20 deletions(-)
@@ -1595,6 +1596,12 @@ static int dpaa_eth_refill_bpools(struct dpaa_priv *priv)return0;}+staticphys_addr_tdpaa_iova_to_phys(conststructdpaa_priv*priv,+dma_addr_taddr)+{+returnpriv->domain?iommu_iova_to_phys(priv->domain,addr):addr;+}+/* Cleanup function for outgoing frame descriptors that were built on Tx path,*eithercontiguousframesorscatter/gatherones.*Skbfreeingisnothandledhere.
@@ -1713,10 +1716,6 @@ static struct sk_buff *contig_fd_to_skb(const struct dpaa_priv *priv,skb->ip_summed=rx_csum_offload(priv,fd);returnskb;--free_buffer:-skb_free_frag(vaddr);-returnNULL;}/* Build an skb with the data of the first S/G entry in the linear portion and
@@ -2309,12 +2308,12 @@ static enum qman_cb_dqrr_result rx_default_dqrr(struct qman_portal *portal,if(!dpaa_bp)returnqman_cb_dqrr_consume;-dma_unmap_single(dpaa_bp->dev,addr,dpaa_bp->size,DMA_FROM_DEVICE);-/* prefetch the first 64 bytes of the frame or the SGT start */-vaddr=phys_to_virt(addr);+vaddr=phys_to_virt(dpaa_iova_to_phys(priv,addr));prefetch(vaddr+qm_fd_get_offset(fd));+dma_unmap_single(dpaa_bp->dev,addr,dpaa_bp->size,DMA_FROM_DEVICE);+/* The only FD types that we may receive are contig and S/G */WARN_ON((fd_format!=qm_fd_contig)&&(fd_format!=qm_fd_sg));
@@ -2836,6 +2835,9 @@ static int dpaa_eth_probe(struct platform_device *pdev)priv=netdev_priv(net_dev);priv->net_dev=net_dev;+/* cache iommu domain */+priv->domain=iommu_get_domain_for_dev(dev);+priv->msg_enable=netif_msg_init(debug,DPAA_MSG_DEFAULT);/* If fsl_fm_max_frm is set to a higher value than the all-common 1500,
-----Original Message-----
From: Christoph Hellwig <hch@infradead.org>
Sent: Friday, May 31, 2019 7:32 PM
On Thu, May 30, 2019 at 05:19:50PM +0300, laurentiu.tudor@nxp.com wrote:
From: Christoph Hellwig <hch@infradead.org> Date: 2019-05-31 16:55:32
On Fri, May 31, 2019 at 04:53:16PM +0000, Laurentiu Tudor wrote:
Unfortunately due to our hardware particularities we do not have alternatives. This is also the case for our next generation of ethernet drivers [1]. I'll let my colleagues that work on the ethernet drivers to comment more on this.
Then you need to enhance the DMA API to support your use case instead
of using an API only supported for two specific IOMMU implementations.
Remember in Linux you can should improve core code and not hack around
it in crappy ways making lots of assumptions in your drivers.
-----Original Message-----
From: Christoph Hellwig <hch@infradead.org>
Sent: Friday, May 31, 2019 7:56 PM
On Fri, May 31, 2019 at 04:53:16PM +0000, Laurentiu Tudor wrote:
quoted
Unfortunately due to our hardware particularities we do not have
alternatives. This is also the case for our next generation of ethernet
drivers [1]. I'll let my colleagues that work on the ethernet drivers to
comment more on this.
Then you need to enhance the DMA API to support your use case instead
of using an API only supported for two specific IOMMU implementations.
Remember in Linux you can should improve core code and not hack around
it in crappy ways making lots of assumptions in your drivers.
Alright, I'm ok with that. I'll try to come up with something, will keep you in the loop.
---
Best Regards, Laurentiu
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
The driver relies on the no longer valid assumption that dma addresses
(iovas) are identical to physical addressees and uses phys_to_virt() to
make iova -> vaddr conversions. Fix this also for scatter-gather frames
using the iova -> phys conversion function added in the previous patch.
While at it, clean-up a redundant dpaa_bpid2pool() and pass the bp
as parameter.
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
---
.../net/ethernet/freescale/dpaa/dpaa_eth.c | 40 +++++++++++--------
1 file changed, 23 insertions(+), 17 deletions(-)
@@ -1641,14 +1641,17 @@ static struct sk_buff *dpaa_cleanup_tx_fd(const struct dpaa_priv *priv,if(unlikely(qm_fd_get_format(fd)==qm_fd_sg)){nr_frags=skb_shinfo(skb)->nr_frags;-dma_unmap_single(dev,addr,-qm_fd_get_offset(fd)+DPAA_SGT_SIZE,-dma_dir);/* The sgt buffer has been allocated with netdev_alloc_frag(),*it'sfromlowmem.*/-sgt=phys_to_virt(addr+qm_fd_get_offset(fd));+sgt=phys_to_virt(dpaa_iova_to_phys(priv,+addr++qm_fd_get_offset(fd)));++dma_unmap_single(dev,addr,+qm_fd_get_offset(fd)+DPAA_SGT_SIZE,+dma_dir);/* sgt[0] is from lowmem, was dma_map_single()-ed */dma_unmap_single(dev,qm_sg_addr(&sgt[0]),
@@ -1663,7 +1666,7 @@ static struct sk_buff *dpaa_cleanup_tx_fd(const struct dpaa_priv *priv,}/* Free the page frag that we allocated on Tx */-skb_free_frag(phys_to_virt(addr));+skb_free_frag(skbh);}else{dma_unmap_single(dev,addr,skb_tail_pointer(skb)-(u8*)skbh,dma_dir);
@@ -1740,7 +1743,6 @@ static struct sk_buff *sg_fd_to_skb(const struct dpaa_priv *priv,int*count_ptr;inti;-vaddr=phys_to_virt(addr);WARN_ON(!IS_ALIGNED((unsignedlong)vaddr,SMP_CACHE_BYTES));/* Iterate through the SGT entries and add data buffers to the skb */
@@ -1751,14 +1753,17 @@ static struct sk_buff *sg_fd_to_skb(const struct dpaa_priv *priv,WARN_ON(qm_sg_entry_is_ext(&sgt[i]));sg_addr=qm_sg_addr(&sgt[i]);-sg_vaddr=phys_to_virt(sg_addr);-WARN_ON(!IS_ALIGNED((unsignedlong)sg_vaddr,-SMP_CACHE_BYTES));/* We may use multiple Rx pools */dpaa_bp=dpaa_bpid2pool(sgt[i].bpid);-if(!dpaa_bp)+if(!dpaa_bp){+pr_info("%s: fail to get dpaa_bp for sg bpid %d\n",+__func__,sgt[i].bpid);gotofree_buffers;+}+sg_vaddr=phys_to_virt(dpaa_iova_to_phys(priv,sg_addr));+WARN_ON(!IS_ALIGNED((unsignedlong)sg_vaddr,+SMP_CACHE_BYTES));count_ptr=this_cpu_ptr(dpaa_bp->percpu_count);dma_unmap_single(dpaa_bp->dev,sg_addr,dpaa_bp->size,
@@ -1830,10 +1835,11 @@ static struct sk_buff *sg_fd_to_skb(const struct dpaa_priv *priv,/* free all the SG entries */for(i=0;i<DPAA_SGT_MAX_ENTRIES;i++){sg_addr=qm_sg_addr(&sgt[i]);-sg_vaddr=phys_to_virt(sg_addr);-skb_free_frag(sg_vaddr);dpaa_bp=dpaa_bpid2pool(sgt[i].bpid);if(dpaa_bp){+sg_addr=dpaa_iova_to_phys(priv,sg_addr);+sg_vaddr=phys_to_virt(sg_addr);+skb_free_frag(sg_vaddr);count_ptr=this_cpu_ptr(dpaa_bp->percpu_count);(*count_ptr)--;}
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
liodn base registers are specific to PAMU based NXP systems and on SMMU
based ones are reserved. Don't access them if PAMU is compiled in.
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
---
drivers/net/ethernet/freescale/fman/fman.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
@@ -634,6 +634,9 @@ static void set_port_liodn(struct fman *fman, u8 port_id,{u32tmp;+iowrite32be(liodn_ofst,&fman->bmi_regs->fmbm_spliodn[port_id-1]);+if(!IS_ENABLED(CONFIG_FSL_PAMU))+return;/* set LIODN base for this port */tmp=ioread32be(&fman->dma_regs->fmdmplr[port_id/2]);if(port_id%2){
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Enabling SMMU altered the order of device probing causing the dpaa1
ethernet driver to get probed before qbman and causing a boot crash.
Add predictability in the probing order by deferring the ethernet
driver probe after qbman and portals by using the recently introduced
qbman APIs.
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
---
.../net/ethernet/freescale/dpaa/dpaa_eth.c | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
@@ -2774,6 +2774,37 @@ static int dpaa_eth_probe(struct platform_device *pdev)interr=0,i,channel;structdevice*dev;+err=bman_is_probed();+if(!err)+return-EPROBE_DEFER;+if(err<0){+dev_err(&pdev->dev,"failing probe due to bman probe error\n");+return-ENODEV;+}+err=qman_is_probed();+if(!err)+return-EPROBE_DEFER;+if(err<0){+dev_err(&pdev->dev,"failing probe due to qman probe error\n");+return-ENODEV;+}+err=bman_portals_probed();+if(!err)+return-EPROBE_DEFER;+if(err<0){+dev_err(&pdev->dev,+"failing probe due to bman portals probe error\n");+return-ENODEV;+}+err=qman_portals_probed();+if(!err)+return-EPROBE_DEFER;+if(err<0){+dev_err(&pdev->dev,+"failing probe due to qman portals probe error\n");+return-ENODEV;+}+/* device used for DMA mapping */dev=pdev->dev.parent;err=dma_coerce_mask_and_coherent(dev,DMA_BIT_MASK(40));
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Add an API that retrieves the 'struct device' that the specified fman
port probed against. The new API will be used in a subsequent iommu
enablement related patch.
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
---
drivers/net/ethernet/freescale/fman/fman_port.c | 14 ++++++++++++++
drivers/net/ethernet/freescale/fman/fman_port.h | 2 ++
2 files changed, 16 insertions(+)
One suggestion from the arm-soc maintainers is that after this pull
request is merged by arm-soc tree. You can also merge this pull
request and then apply the patches.
Regards,
Leo
-----Original Message-----
From: David Miller <davem@davemloft.net>
Sent: Friday, May 31, 2019 1:09 AM
From: laurentiu.tudor@nxp.com
Date: Thu, 30 May 2019 17:19:45 +0300
The thing needs to be completely redone as it abuses parts of the
iommu API in a completely unacceptable way.
`git grep iommu_iova_to_phys drivers/{crypto,gpu,net}`
:(
I guess one alternative is for the offending drivers to maintain their
own lookup tables of mapped DMA addresses - I think at least some of
these things allow storing some kind of token in a descriptor, which
even if it's not big enough for a virtual address might be sufficient
for an index.
Robin.
From: Christoph Hellwig <hch@infradead.org> Date: 2019-05-31 17:08:08
On Fri, May 31, 2019 at 06:03:30PM +0100, Robin Murphy wrote:
quoted
The thing needs to be completely redone as it abuses parts of the
iommu API in a completely unacceptable way.
`git grep iommu_iova_to_phys drivers/{crypto,gpu,net}`
:(
I guess one alternative is for the offending drivers to maintain their own
lookup tables of mapped DMA addresses - I think at least some of these
things allow storing some kind of token in a descriptor, which even if it's
not big enough for a virtual address might be sufficient for an index.
Well, we'll at least need DMA API wrappers that work on the dma addr
only and hide this madness underneath. And then tell if an given device
supports this and fail the probe otherwise.
From: Robin Murphy <robin.murphy@arm.com> Date: 2019-05-31 17:45:06
On 31/05/2019 18:08, Christoph Hellwig wrote:
On Fri, May 31, 2019 at 06:03:30PM +0100, Robin Murphy wrote:
quoted
quoted
The thing needs to be completely redone as it abuses parts of the
iommu API in a completely unacceptable way.
`git grep iommu_iova_to_phys drivers/{crypto,gpu,net}`
:(
I guess one alternative is for the offending drivers to maintain their own
lookup tables of mapped DMA addresses - I think at least some of these
things allow storing some kind of token in a descriptor, which even if it's
not big enough for a virtual address might be sufficient for an index.
Well, we'll at least need DMA API wrappers that work on the dma addr
only and hide this madness underneath. And then tell if an given device
supports this and fail the probe otherwise.
Bleh, I'm certainly not keen on formalising any kind of
dma_to_phys()/dma_to_virt() interface for this. Or are you just
proposing something like dma_unmap_sorry_sir_the_dog_ate_my_homework()
for drivers which have 'lost' the original VA they mapped?
Robin.
From: Christoph Hellwig <hch@infradead.org> Date: 2019-05-31 17:46:34
On Fri, May 31, 2019 at 06:45:00PM +0100, Robin Murphy wrote:
Bleh, I'm certainly not keen on formalising any kind of
dma_to_phys()/dma_to_virt() interface for this. Or are you just proposing
something like dma_unmap_sorry_sir_the_dog_ate_my_homework() for drivers
which have 'lost' the original VA they mapped?
Yes, I guess we need that in some form. I've heard a report the IBM
emca ethernet driver has the same issue, and any SOC with it this
totally blows up dma-debug as they just never properly unmap.
From: Andreas Färber <afaerber@suse.de> Date: 2019-05-31 16:15:27
Hi Laurentiu,
Am 30.05.19 um 16:19 schrieb laurentiu.tudor@nxp.com:
This patch series contains several fixes in preparation for SMMU
support on NXP LS1043A and LS1046A chips. Once these get picked up,
I'll submit the actual SMMU enablement patches consisting in the
required device tree changes.
Have you thought through what will happen if this patch ordering is not
preserved? In particular, a user installing a future U-Boot update with
the DTB bits but booting a stable kernel without this patch series -
wouldn't that regress dpaa then for our customers?
Regards,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)
-----Original Message-----
From: Andreas Färber <afaerber@suse.de>
Sent: Friday, May 31, 2019 7:15 PM
Hi Laurentiu,
Am 30.05.19 um 16:19 schrieb laurentiu.tudor@nxp.com:
quoted
This patch series contains several fixes in preparation for SMMU
support on NXP LS1043A and LS1046A chips. Once these get picked up,
I'll submit the actual SMMU enablement patches consisting in the
required device tree changes.
Have you thought through what will happen if this patch ordering is not
preserved? In particular, a user installing a future U-Boot update with
the DTB bits but booting a stable kernel without this patch series -
wouldn't that regress dpaa then for our customers?
These are fixes for issues that popped out after enabling SMMU.
I do not expect them to break anything.
---
Best Regards, Laurentiu
From: Andreas Färber <afaerber@suse.de> Date: 2019-05-31 17:03:52
Hello Laurentiu,
Am 31.05.19 um 18:46 schrieb Laurentiu Tudor:
quoted
-----Original Message-----
From: Andreas Färber <afaerber@suse.de>
Sent: Friday, May 31, 2019 7:15 PM
Hi Laurentiu,
Am 30.05.19 um 16:19 schrieb laurentiu.tudor@nxp.com:
quoted
This patch series contains several fixes in preparation for SMMU
support on NXP LS1043A and LS1046A chips. Once these get picked up,
I'll submit the actual SMMU enablement patches consisting in the
required device tree changes.
Have you thought through what will happen if this patch ordering is not
preserved? In particular, a user installing a future U-Boot update with
the DTB bits but booting a stable kernel without this patch series -
wouldn't that regress dpaa then for our customers?
These are fixes for issues that popped out after enabling SMMU.
I do not expect them to break anything.
That was not my question! You're missing my point: All your patches are
lacking a Fixes header in their commit message, for backporting them, to
avoid _your DT patches_ breaking the driver on stable branches!
Regards,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)
-----Original Message-----
From: Andreas Färber <afaerber@suse.de>
Sent: Friday, May 31, 2019 8:04 PM
Hello Laurentiu,
Am 31.05.19 um 18:46 schrieb Laurentiu Tudor:
quoted
quoted
-----Original Message-----
From: Andreas Färber <afaerber@suse.de>
Sent: Friday, May 31, 2019 7:15 PM
Hi Laurentiu,
Am 30.05.19 um 16:19 schrieb laurentiu.tudor@nxp.com:
quoted
This patch series contains several fixes in preparation for SMMU
support on NXP LS1043A and LS1046A chips. Once these get picked up,
I'll submit the actual SMMU enablement patches consisting in the
required device tree changes.
Have you thought through what will happen if this patch ordering is not
preserved? In particular, a user installing a future U-Boot update with
the DTB bits but booting a stable kernel without this patch series -
wouldn't that regress dpaa then for our customers?
These are fixes for issues that popped out after enabling SMMU.
I do not expect them to break anything.
That was not my question! You're missing my point: All your patches are
lacking a Fixes header in their commit message, for backporting them, to
avoid _your DT patches_ breaking the driver on stable branches!
It does appear that I'm missing your point. For sure, the DT updates solely will
break the kernel without these fixes but I'm not sure I understand how this
could happen. My plan was to share the kernel dts patches sometime after this series
makes it through.
---
Best Regards, Laurentiu
From: Andreas Färber <afaerber@suse.de> Date: 2019-06-03 16:42:17
Am 31.05.19 um 19:32 schrieb Laurentiu Tudor:
quoted
-----Original Message-----
From: Andreas Färber <afaerber@suse.de>
Sent: Friday, May 31, 2019 8:04 PM
Hello Laurentiu,
Am 31.05.19 um 18:46 schrieb Laurentiu Tudor:
quoted
quoted
-----Original Message-----
From: Andreas Färber <afaerber@suse.de>
Sent: Friday, May 31, 2019 7:15 PM
Hi Laurentiu,
Am 30.05.19 um 16:19 schrieb laurentiu.tudor@nxp.com:
quoted
This patch series contains several fixes in preparation for SMMU
support on NXP LS1043A and LS1046A chips. Once these get picked up,
I'll submit the actual SMMU enablement patches consisting in the
required device tree changes.
Have you thought through what will happen if this patch ordering is not
preserved? In particular, a user installing a future U-Boot update with
the DTB bits but booting a stable kernel without this patch series -
wouldn't that regress dpaa then for our customers?
These are fixes for issues that popped out after enabling SMMU.
I do not expect them to break anything.
That was not my question! You're missing my point: All your patches are
lacking a Fixes header in their commit message, for backporting them, to
avoid _your DT patches_ breaking the driver on stable branches!
It does appear that I'm missing your point. For sure, the DT updates solely will
break the kernel without these fixes but I'm not sure I understand how this
could happen.
My plan was to share the kernel dts patches sometime after this series
makes it through.
That's fine. What I'm warning you is that seemingly your DT patches,
once in one of your LSDK U-Boot releases, will cause a regression for
distros like our SLES 15 SP1 unless these prereq kernel patches get
applied on the respective stable branches. Which will not happen
automatically unless you as patch author take the appropriate action
before they get merged.
Thanks,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)