Subject: [ANNOUNCE] v6.0.5-rt14

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/[email protected]

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


2022-10-28 10:24:30

by Pierre Gondois

[permalink] [raw]
Subject: Re: [ANNOUNCE] v6.0.5-rt14

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/[email protected]/

- [SPLAT 2/3] irqchip/gic-v3-its: Sleeping spinlocks down gic_reserve_range()
was fixed by:
https://lore.kernel.org/lkml/[email protected]/

- [SPLAT 3/3] gpio: dwapb: Sleeping spinlocks down IRQ mapping
was fixed by:
https://lore.kernel.org/all/[email protected]/

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/[email protected]
>
> 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

Subject: Re: [ANNOUNCE] v6.0.5-rt14

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/[email protected]/

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/[email protected]/

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/[email protected]/
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

2022-10-31 14:45:08

by Clark Williams

[permalink] [raw]
Subject: Re: [ANNOUNCE] v6.0.5-rt14

I can pick them up for v5.19-rt

On Mon, Oct 31, 2022 at 1:28 PM Sebastian Andrzej Siewior
<[email protected]> 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/[email protected]/
>
> 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/[email protected]/
>
> 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/[email protected]/
> 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
>


2022-12-13 14:21:20

by Pierre Gondois

[permalink] [raw]
Subject: Re: [ANNOUNCE] v6.0.5-rt14

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
> <[email protected]> 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/[email protected]/
>>
>> 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/[email protected]/
>>
>> 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/[email protected]/
>> 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
>>
>