[ANNOUNCE] v6.0.5-rt14

Message ID Y1o8hqwQKDpOTkNr@linutronix.de
State New
Headers
Series [ANNOUNCE] v6.0.5-rt14 |

Commit Message

Sebastian Andrzej Siewior Oct. 27, 2022, 8:08 a.m. UTC
  Dear RT folks!

I'm pleased to announce the v6.0.5-rt14 patch set. 

Changes since v6.0.5-rt13:

  - Replace deprecated API in the Xilinx AXI Ethernet driver so that it
    compiles again. Reported by David Runge.

Known issues
     - Valentin Schneider reported a few splats on ARM64, see
          https://lkml.kernel.org/r/20210810134127.1394269-1-valentin.schneider@arm.com

The delta patch against v6.0.5-rt13 is appended below and can be found here:
 
     https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.0/incr/patch-6.0.5-rt13-rt14.patch.xz

You can get this release via the git tree at:

    git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v6.0.5-rt14

The RT patch against v6.0.5 can be found here:

    https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.0/older/patch-6.0.5-rt14.patch.xz

The split quilt queue is available at:

    https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.0/older/patches-6.0.5-rt14.tar.xz

Sebastian
  

Comments

Pierre Gondois Oct. 28, 2022, 9:47 a.m. UTC | #1
Hello Sebastian,
About the issues Valentin reported:

- [SPLAT 1/3] arm_pmu: Sleeping spinlocks down armpmu_alloc_atomic()
will be fixed by:
https://lore.kernel.org/all/20220930111844.1522365-1-mark.rutland@arm.com/

- [SPLAT 2/3] irqchip/gic-v3-its: Sleeping spinlocks down gic_reserve_range()
was fixed by:
https://lore.kernel.org/lkml/20211027151506.2085066-3-valentin.schneider@arm.com/

- [SPLAT 3/3] gpio: dwapb: Sleeping spinlocks down IRQ mapping
was fixed by:
https://lore.kernel.org/all/20220419012810.88417-1-schspa@gmail.com/

Regards,
Pierre

On 10/27/22 10:08, Sebastian Andrzej Siewior wrote:
> Dear RT folks!
> 
> I'm pleased to announce the v6.0.5-rt14 patch set.
> 
> Changes since v6.0.5-rt13:
> 
>    - Replace deprecated API in the Xilinx AXI Ethernet driver so that it
>      compiles again. Reported by David Runge.
> 
> Known issues
>       - Valentin Schneider reported a few splats on ARM64, see
>            https://lkml.kernel.org/r/20210810134127.1394269-1-valentin.schneider@arm.com
> 
> The delta patch against v6.0.5-rt13 is appended below and can be found here:
>   
>       https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.0/incr/patch-6.0.5-rt13-rt14.patch.xz
> 
> You can get this release via the git tree at:
> 
>      git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v6.0.5-rt14
> 
> The RT patch against v6.0.5 can be found here:
> 
>      https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.0/older/patch-6.0.5-rt14.patch.xz
> 
> The split quilt queue is available at:
> 
>      https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.0/older/patches-6.0.5-rt14.tar.xz
> 
> Sebastian
> 
> diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
> index 9262988d26a32..2c233b59e7d93 100644
> --- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
> +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
> @@ -1305,16 +1305,16 @@ axienet_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats)
>   	netdev_stats_to_stats64(stats, &dev->stats);
>   
>   	do {
> -		start = u64_stats_fetch_begin_irq(&lp->rx_stat_sync);
> +		start = u64_stats_fetch_begin(&lp->rx_stat_sync);
>   		stats->rx_packets = u64_stats_read(&lp->rx_packets);
>   		stats->rx_bytes = u64_stats_read(&lp->rx_bytes);
> -	} while (u64_stats_fetch_retry_irq(&lp->rx_stat_sync, start));
> +	} while (u64_stats_fetch_retry(&lp->rx_stat_sync, start));
>   
>   	do {
> -		start = u64_stats_fetch_begin_irq(&lp->tx_stat_sync);
> +		start = u64_stats_fetch_begin(&lp->tx_stat_sync);
>   		stats->tx_packets = u64_stats_read(&lp->tx_packets);
>   		stats->tx_bytes = u64_stats_read(&lp->tx_bytes);
> -	} while (u64_stats_fetch_retry_irq(&lp->tx_stat_sync, start));
> +	} while (u64_stats_fetch_retry(&lp->tx_stat_sync, start));
>   }
>   
>   static const struct net_device_ops axienet_netdev_ops = {
> diff --git a/localversion-rt b/localversion-rt
> index 9f7d0bdbffb18..08b3e75841adc 100644
> --- a/localversion-rt
> +++ b/localversion-rt
> @@ -1 +1 @@
> --rt13
> +-rt14
  
Sebastian Andrzej Siewior Oct. 31, 2022, 1:26 p.m. UTC | #2
On 2022-10-28 11:47:28 [+0200], Pierre Gondois wrote:
> Hello Sebastian,

Hi Pierre,

> About the issues Valentin reported:
> 
> - [SPLAT 1/3] arm_pmu: Sleeping spinlocks down armpmu_alloc_atomic()
> will be fixed by:
> https://lore.kernel.org/all/20220930111844.1522365-1-mark.rutland@arm.com/

This is still pending and I don't see it in next. Could someone give me
a ping once this is merged, please?

> - [SPLAT 2/3] irqchip/gic-v3-its: Sleeping spinlocks down gic_reserve_range()
> was fixed by:
> https://lore.kernel.org/lkml/20211027151506.2085066-3-valentin.schneider@arm.com/

That is
   d23bc2bc1d634 ("irqchip/gic-v3-its: Postpone LPI pending table freeing and memreserve")
   v5.17-rc1

> - [SPLAT 3/3] gpio: dwapb: Sleeping spinlocks down IRQ mapping
> was fixed by:
> https://lore.kernel.org/all/20220419012810.88417-1-schspa@gmail.com/
  3c938cc5cebcb ("gpio: use raw spinlock for gpio chip shadowed data")
  v5.19-rc1

Is someone picking the two up or RT-stable?

> Regards,
> Pierre

Sebastian
  
Clark Williams Oct. 31, 2022, 2:06 p.m. UTC | #3
I can pick them up for v5.19-rt

On Mon, Oct 31, 2022 at 1:28 PM Sebastian Andrzej Siewior
<bigeasy@linutronix.de> wrote:
>
> On 2022-10-28 11:47:28 [+0200], Pierre Gondois wrote:
> > Hello Sebastian,
>
> Hi Pierre,
>
> > About the issues Valentin reported:
> >
> > - [SPLAT 1/3] arm_pmu: Sleeping spinlocks down armpmu_alloc_atomic()
> > will be fixed by:
> > https://lore.kernel.org/all/20220930111844.1522365-1-mark.rutland@arm.com/
>
> This is still pending and I don't see it in next. Could someone give me
> a ping once this is merged, please?
>
> > - [SPLAT 2/3] irqchip/gic-v3-its: Sleeping spinlocks down gic_reserve_range()
> > was fixed by:
> > https://lore.kernel.org/lkml/20211027151506.2085066-3-valentin.schneider@arm.com/
>
> That is
>    d23bc2bc1d634 ("irqchip/gic-v3-its: Postpone LPI pending table freeing and memreserve")
>    v5.17-rc1
>
> > - [SPLAT 3/3] gpio: dwapb: Sleeping spinlocks down IRQ mapping
> > was fixed by:
> > https://lore.kernel.org/all/20220419012810.88417-1-schspa@gmail.com/
>   3c938cc5cebcb ("gpio: use raw spinlock for gpio chip shadowed data")
>   v5.19-rc1
>
> Is someone picking the two up or RT-stable?
>
> > Regards,
> > Pierre
>
> Sebastian
>
  
Pierre Gondois Dec. 13, 2022, 1:56 p.m. UTC | #4
Hello Sebastian, Clark,

On 10/31/22 15:06, Clark Williams wrote:
> I can pick them up for v5.19-rt
> 
> On Mon, Oct 31, 2022 at 1:28 PM Sebastian Andrzej Siewior
> <bigeasy@linutronix.de> wrote:
>>
>> On 2022-10-28 11:47:28 [+0200], Pierre Gondois wrote:
>>> Hello Sebastian,
>>
>> Hi Pierre,
>>
>>> About the issues Valentin reported:
>>>
>>> - [SPLAT 1/3] arm_pmu: Sleeping spinlocks down armpmu_alloc_atomic()
>>> will be fixed by:
>>> https://lore.kernel.org/all/20220930111844.1522365-1-mark.rutland@arm.com/
>>
>> This is still pending and I don't see it in next. Could someone give me
>> a ping once this is merged, please?

This is now merged at:
commit fe40ffdb7656 ("arm_pmu: rework ACPI probing")
commit 6349a2470d07 ("arm_pmu: factor out PMU matching")
commit ad51b5043bb3 ("arm_pmu: acpi: factor out PMU<->CPU association")

If you also judge it is necessary to take:
commit f55a9b59e8f0 ("irqchip/gic-v3-its: Remove cpumask_var_t allocation")

Regards,
Pierre

>>
>>> - [SPLAT 2/3] irqchip/gic-v3-its: Sleeping spinlocks down gic_reserve_range()
>>> was fixed by:
>>> https://lore.kernel.org/lkml/20211027151506.2085066-3-valentin.schneider@arm.com/
>>
>> That is
>>     d23bc2bc1d634 ("irqchip/gic-v3-its: Postpone LPI pending table freeing and memreserve")
>>     v5.17-rc1
>>
>>> - [SPLAT 3/3] gpio: dwapb: Sleeping spinlocks down IRQ mapping
>>> was fixed by:
>>> https://lore.kernel.org/all/20220419012810.88417-1-schspa@gmail.com/
>>    3c938cc5cebcb ("gpio: use raw spinlock for gpio chip shadowed data")
>>    v5.19-rc1
>>
>> Is someone picking the two up or RT-stable?
>>
>>> Regards,
>>> Pierre
>>
>> Sebastian
>>
>
  

Patch

diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
index 9262988d26a32..2c233b59e7d93 100644
--- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
+++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
@@ -1305,16 +1305,16 @@  axienet_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats)
 	netdev_stats_to_stats64(stats, &dev->stats);
 
 	do {
-		start = u64_stats_fetch_begin_irq(&lp->rx_stat_sync);
+		start = u64_stats_fetch_begin(&lp->rx_stat_sync);
 		stats->rx_packets = u64_stats_read(&lp->rx_packets);
 		stats->rx_bytes = u64_stats_read(&lp->rx_bytes);
-	} while (u64_stats_fetch_retry_irq(&lp->rx_stat_sync, start));
+	} while (u64_stats_fetch_retry(&lp->rx_stat_sync, start));
 
 	do {
-		start = u64_stats_fetch_begin_irq(&lp->tx_stat_sync);
+		start = u64_stats_fetch_begin(&lp->tx_stat_sync);
 		stats->tx_packets = u64_stats_read(&lp->tx_packets);
 		stats->tx_bytes = u64_stats_read(&lp->tx_bytes);
-	} while (u64_stats_fetch_retry_irq(&lp->tx_stat_sync, start));
+	} while (u64_stats_fetch_retry(&lp->tx_stat_sync, start));
 }
 
 static const struct net_device_ops axienet_netdev_ops = {
diff --git a/localversion-rt b/localversion-rt
index 9f7d0bdbffb18..08b3e75841adc 100644
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@ 
--rt13
+-rt14