-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux 5.17 API updates #12989
Linux 5.17 API updates #12989
Conversation
1aea2e4
to
9059895
Compare
The buildd now also notes this:
And, indeed, there are no provisions for |
9059895
to
bd6fbc5
Compare
Have you seen this #12975 ? |
I haven't, but neither of these is touched by that PR ( Both of these commits landed in this merge, and the PR is from the 14th:
|
I would suspect you mean s/5.16/5.17/, since 5.16 builds without these for me, and the merge commit you cite is labeled "for 5.17"? |
Hm, the describes say v5.16-rc1-2-g5768d8906bc2 and v5.16-rc1-15-gcead18552660. |
bd6fbc5
to
d10cdb9
Compare
Sure, but 5.16 came out on 1/9, and those were pulled on 1/17.
…On Thu, Jan 20, 2022 at 7:02 AM наб ***@***.***> wrote:
Hm, the describes say v5.16-rc1-2-g5768d8906bc2 and
v5.16-rc1-15-gcead18552660.
—
Reply to this email directly, view it on GitHub
<#12989 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABUI7KTCWOCS4COPXRXJITUW72XHANCNFSM5MK6DAEA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
And the merge is v5.16-10543-g35ce8ae9ae2e, so fair cop. Relabeled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Nice and straight forward, thanks.
config/kernel-kthread.m4
Outdated
dnl # 5.17 API, | ||
dnl # cead18552660702a4a46f58e65188fe5f36e9dfe ("exit: Rename complete_and_exit to kthread_complete_and_exit") | ||
dnl # | ||
dnl # Also moves the definition from i/l/kernel.h to i/l/kthread.h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- dnl # Also moves the definition from i/l/kernel.h to i/l/kthread.h
+ dnl # Also moves the definition from include/linux/kernel.h to include/linux/kthread.h
We typically use "Linux x.y compat:" commit labeling for tracking kernel changes. Would you mind changing your commit messages to read:
|
d10cdb9
to
7044b8f
Compare
Rebased, both applied, messages reworded |
@nabijaczleweli this needs a rebase to resolve the minor conflict after merging the 5.16 changes. Then it should be good to go. |
Rebased |
7044b8f
to
243c265
Compare
243c265
to
d00e2ad
Compare
Done to both |
config/kernel-kthread.m4
Outdated
#include <linux/sched/signal.h> | ||
], [ | ||
struct task_struct *task = NULL; | ||
signet_t *mask = NULL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
signet_t *mask = NULL; | |
sigset_t *mask = NULL; |
I made a typo here. I should have mentioned that I hadn't actually compiled this to verify it works. After fixing the typo it correctly detects the kernel interface for me. I also checked the kthread_complete_and_exit()
test.
What I'd suggest is adding the other 5.17 fix to this PR when you update it. This should at least confirm via the CI that it compiles for the latest kernel.
d00e2ad
to
92bd508
Compare
Both done |
Aaand the built-in buildd passes this day. |
Skimming the kernel build-in build log I see we have a couple more warnings which I haven't seen before with the normal builds.
Seems like the
which are likely a consequence of the recent icp cleanup. |
I have this code running on my laptop now, seems to be working |
@behlendorf I'm to blame for the ld warnings and I've seen them way before @nabijaczleweli changes. They are due to the cfi instruction added to the assembler files and me failing to figure out how to add linker scripts to the build (or locate existing ones). I'd say they are harmless since the .eh_frame is the right place for them. |
aef6ae7
to
da94f00
Compare
Linux 5.17 sees a rename from complete_and_exit() to kthread complete_and_exit() Upstream commit cead18552660702a4a46f58e65188fe5f36e9dfe ("exit: Rename complete_and_exit to kthread_complete_and_exit") Ref: http://build.zfsonlinux.org/builders/Kernel.org%20Built-in%20x86_64%20%28BUILD%29/builds/43905/steps/shell_1/logs/make Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Linux 5.17's dequeue_signal() takes an additional enum pid_type * output argument Upstream commit 5768d8906bc23d512b1a736c1e198aa833a6daa4 ("signal: Requeue signals in the appropriate queue") Ref: http://build.zfsonlinux.org/builders/Kernel.org%20Built-in%20x86_64%20%28BUILD%29/builds/43905/steps/shell_1/logs/make Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Upstream commit 359745d78351c6f5442435f81549f0207ece28aa ("proc: remove PDE_DATA() completely") Link: https://lore.kernel.org/all/[email protected]/T/#u Closes: openzfs#13004 Signed-off-by: Ahelenia Ziemiańska <[email protected]>
da94f00
to
c76d51e
Compare
Yeah, dunno why, especially seeing as both |
@AttilaFueloep got it, thanks. I just hadn't noticed them until now. |
Linux 5.17's dequeue_signal() takes an additional enum pid_type * output argument Upstream commit 5768d8906bc23d512b1a736c1e198aa833a6daa4 ("signal: Requeue signals in the appropriate queue") Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12989
Upstream commit 359745d78351c6f5442435f81549f0207ece28aa ("proc: remove PDE_DATA() completely") Link: https://lore.kernel.org/all/[email protected]/T/#u Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13004 Closes #12989
Linux 5.17 sees a rename from complete_and_exit() to kthread complete_and_exit() Upstream commit cead18552660702a4a46f58e65188fe5f36e9dfe ("exit: Rename complete_and_exit to kthread_complete_and_exit") Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12989
Linux 5.17's dequeue_signal() takes an additional enum pid_type * output argument Upstream commit 5768d8906bc23d512b1a736c1e198aa833a6daa4 ("signal: Requeue signals in the appropriate queue") Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12989
Upstream commit 359745d78351c6f5442435f81549f0207ece28aa ("proc: remove PDE_DATA() completely") Link: https://lore.kernel.org/all/[email protected]/T/#u Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13004 Closes #12989
Linux 5.17 sees a rename from complete_and_exit() to kthread complete_and_exit() Upstream commit cead18552660702a4a46f58e65188fe5f36e9dfe ("exit: Rename complete_and_exit to kthread_complete_and_exit") Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12989
Linux 5.17's dequeue_signal() takes an additional enum pid_type * output argument Upstream commit 5768d8906bc23d512b1a736c1e198aa833a6daa4 ("signal: Requeue signals in the appropriate queue") Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12989
Upstream commit 359745d78351c6f5442435f81549f0207ece28aa ("proc: remove PDE_DATA() completely") Link: https://lore.kernel.org/all/[email protected]/T/#u Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#13004 Closes openzfs#12989
Linux 5.17 sees a rename from complete_and_exit() to kthread complete_and_exit() Upstream commit cead18552660702a4a46f58e65188fe5f36e9dfe ("exit: Rename complete_and_exit to kthread_complete_and_exit") Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12989
Linux 5.17's dequeue_signal() takes an additional enum pid_type * output argument Upstream commit 5768d8906bc23d512b1a736c1e198aa833a6daa4 ("signal: Requeue signals in the appropriate queue") Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12989
Upstream commit 359745d78351c6f5442435f81549f0207ece28aa ("proc: remove PDE_DATA() completely") Link: https://lore.kernel.org/all/[email protected]/T/#u Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#13004 Closes openzfs#12989
Motivation and Context
The buildd was failing.
Description
See individual commits.
How Has This Been Tested?
Pre-5.16 local builds, 5.17 on CI.
Types of changes
Checklist:
Signed-off-by
.