Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: Greg KH <gregkh@linuxfoundation.org>,
	Iulian Vaideanu <iulian.vaideanu@gmail.com>
Cc: Sasha Levin <sashal@kernel.org>,
	stable@vger.kernel.org, regressions@lists.linux.dev,
	Thorsten Leemhuis <regressions@leemhuis.info>
Subject: Re: Unable to compile 6.12 kernels on SPARC64 since 6.12.105
Date: Mon, 23 Nov 2026 19:11:53 -0500	[thread overview]
Message-ID: <2026-11-23-1-daily-reply-0007@kernel.org> (raw)
In-Reply-To: <841bc5e9-51f3-4eff-8c54-8dfac6762c17@leemhuis.info>

> Wondering if this is related to another sparc build problem in the same
> area for which a fix was recently queued for 6.12.y, but then dropped
> for now to prevent a deadlock situation:

Yes, that's the one. 6.12.105 took a backport of a94204f4d48e ("fsnotify:
opt-in for permission events at file open time"), which moved
FMODE_NONOTIFY to bit 25. On sparc that is the same bit as __O_TMPFILE,
so the BUILD_BUG_ON in fcntl_init() fires.

The upstream fix, ebe559609d78 ("fs: get rid of __FMODE_NONOTIFY kludge"),
can't simply be requeued: two overlayfs backports released in 6.12.119
still use __FMODE_NONOTIFY, which it removes. I'll send a 6.12-only patch
that moves FMODE_NONOTIFY back to bit 26 and FMODE_NONOTIFY_PERM to bit 25.

Iulian, until that lands, swapping those two values in include/linux/fs.h
works around it locally.

-- 
Thanks,
Sasha

      reply	other threads:[~2026-11-24  0:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 18:39 Unable to compile 6.12 kernels on SPARC64 since 6.12.105 Iulian Vaideanu
2026-11-23  5:03 ` Greg KH
2026-11-23  6:06   ` Thorsten Leemhuis
2026-11-24  0:11     ` Sasha Levin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026-11-23-1-daily-reply-0007@kernel.org \
    --to=sashal@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=iulian.vaideanu@gmail.com \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox