diff options
| author | Mark Brown <broonie@kernel.org> | 2026-05-11 03:55:56 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-05-11 03:55:56 +0300 |
| commit | ca15b1d15bf66e93c4caf5a3a950e26053bb24d4 (patch) | |
| tree | 6c8b3649949041a2c68ce150a0fa5c1bdb3fd106 /include/uapi/linux | |
| parent | 54725e3049e1684bc77e0cf892ab1d194c515121 (diff) | |
| parent | be552efa43eec9972b490fce9a3dd9cb0da92a3c (diff) | |
| download | linux-ca15b1d15bf66e93c4caf5a3a950e26053bb24d4.tar.xz | |
spi: switch to managed controller allocation (part 2/3)
Johan Hovold <johan@kernel.org> says:
In preparation for fixing the SPI controller API so that it no longer
drops a reference when deregistering (non-managed) controllers (cf.
[1]), this series converts drivers using non-managed registration to use
managed allocation.
Included is also a related cleanup of a ti-qspi error path.
This second set will be followed by a third set of 12 patches for
drivers using managed registration.
That leaves us with 18 drivers using non-managed allocation, which is
few enough to be able to fix the API in tree-wide change.
Johan
[1] https://lore.kernel.org/lkml/20260325145319.1132072-1-johan@kernel.org/
Link: https://patch.msgid.link/20260505072909.618363-1-johan@kernel.org
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/rseq.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/linux/rseq.h b/include/uapi/linux/rseq.h index f69344fe6c08..ca6fe1f9d05e 100644 --- a/include/uapi/linux/rseq.h +++ b/include/uapi/linux/rseq.h @@ -28,7 +28,7 @@ enum rseq_cs_flags_bit { RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT_BIT = 0, RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL_BIT = 1, RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE_BIT = 2, - /* (3) Intentional gap to put new bits into a separate byte */ + /* (3) Intentional gap to keep new bits separate */ /* User read only feature flags */ RSEQ_CS_FLAG_SLICE_EXT_AVAILABLE_BIT = 4, @@ -161,6 +161,9 @@ struct rseq { * - RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT * - RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL * - RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE + * + * It is now used for feature status advertisement by the kernel. + * See: enum rseq_cs_flags_bit for further information. */ __u32 flags; |
