Skip to contentSkip to conversation

Issue with RT patchset refresh on top of 4.9.175 as rebase for stretch due to 59c39840f5abf4a71e1810a8da71aaccd6c17d26

DISCUSSION Sebastian Andrzej Siewior 1 participant 1 message May 11, 2019 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 1 line · Salvatore Bonaccorso

Hi Sebastian,

Hi Salvatore,

Quoted 11 lines

I wonder if you can help me out on the following issue in case there will be no new RT patchsets for the 4.9 series soonish. I'm working on importing new 4.9 upstream version to be released in future stretch point releases.

https://salsa.debian.org/kernel-team/linux/merge_requests/141

is my current work in progress with an import of 4.9.175 for stretch. Though the backport of 59c39840f5ab ("genirq: Prevent use-after-free and work list corruption") ro 4.9.175 will cause issues for the RT patchset:

…

Quoted 3 lines

/home/build/linux-4.9.175/debian/build/source_rt/kernel/irq/manage.c: In function 'irq_set_affinity_notifier':
/home/build/linux-4.9.175/debian/build/source_rt/kernel/irq/manage.c:375:31: error: 'struct irq_affinity_notify' has no member named 'work'; did you mean 'swork'?
cancel_work_sync(&old_notify->work);

…

Quoted 3 lines

Now I could have mail the kernel development mailinglist or rt-users mailinglist, the reason I did contact you directly is that I have not found if the issue was already raised.

Nope, I'm not aware of it.

Quoted 4 lines

Will there be new RT patchsets soon as the various stable branches all contained that commit (v5.1.1~19, v5.0.15~23, v4.19.42~17, v4.14.118~13 and v4.9.175~10), or should I try to work on refreshing the patchsets on my own, ideally with your help here :)

Please find attached an archive with three patches. That are basically backports from the v5.0-RT tree. The kswork does not offer a "flush" which would be required. I feel more comfortable to switch to the kthread based infrastructure (which is used in the v5.0-RT tree) than adding the required flush bits (and testing and so on) to kwork.

Quoted 4 lines

Thanks for your time reading so far!

Regards,
Salvatore

Sebastian