On Fri, Jun 27, 2025 at 08:23:41AM +0200, Dmitry Vyukov wrote:
On Thu, 26 Jun 2025 at 18:23, Sasha Levin wrote:
On Thu, Jun 26, 2025 at 10:37:33AM +0200, Dmitry Vyukov wrote:
>On Thu, 26 Jun 2025 at 10:32, Dmitry Vyukov wrote:
>>
>> On Wed, 25 Jun 2025 at 17:55, Sas
On Thu, Jun 26, 2025 at 10:37:33AM +0200, Dmitry Vyukov wrote:
On Thu, 26 Jun 2025 at 10:32, Dmitry Vyukov wrote:
On Wed, 25 Jun 2025 at 17:55, Sasha Levin wrote:
>
> On Wed, Jun 25, 2025 at 10:52:46AM +0200, Dmitry Vyukov wrote:
> >On Tue, 24 Jun 2025 at 22:04, Sasha
On Wed, Jun 25, 2025 at 10:56:04AM +0200, Dmitry Vyukov wrote:
On Tue, 24 Jun 2025 at 22:04, Sasha Levin wrote:
>9. I see that syscalls and ioctls say:
>KAPI_CONTEXT(KAPI_CTX_PROCESS | KAPI_CTX_SLEEPABLE)
>Can't we make this implicit? Are there any other options?
Maybe? I wasn
On Wed, Jun 25, 2025 at 10:52:46AM +0200, Dmitry Vyukov wrote:
On Tue, 24 Jun 2025 at 22:04, Sasha Levin wrote:
>6. What's the goal of validation of the input arguments?
>Kernel code must do this validation anyway, right.
>Any non-trivial validation is hard, e.g. even for open
On Mon, Jun 23, 2025 at 03:28:03PM +0200, Dmitry Vyukov wrote:
Nice!
A bag of assorted comments:
1. I share the same concern of duplicating info.
If there are lots of duplication it may lead to failure of the whole effort
since folks won't update these and/or they will get out of sync.
If a sys
On Wed, Jun 18, 2025 at 02:29:37PM -0700, Kees Cook wrote:
On Sat, Jun 14, 2025 at 09:48:39AM -0400, Sasha Levin wrote:
This patch series introduces a framework for formally specifying kernel
APIs, addressing the long-standing challenge of maintaining stable
interfaces between the kernel and
On Tue, Jun 17, 2025 at 09:13:44AM +0200, Florian Weimer wrote:
* Sasha Levin:
On Mon, Jun 16, 2025 at 11:39:31PM +0200, Florian Weimer wrote:
* Sasha Levin:
+ KAPI_RETURN("long", "Does not return on success; returns -1 on error")
+ .
On Mon, Jun 16, 2025 at 11:39:31PM +0200, Florian Weimer wrote:
* Sasha Levin:
+ KAPI_RETURN("long", "Does not return on success; returns -1 on error")
+ .type = KAPI_TYPE_INT,
+ .check_type = KAPI_RETURN_ERROR_CHECK,
+ KAPI_RETURN_
The kapi tool extracts and displays kernel API specifications.
Signed-off-by: Sasha Levin
---
Documentation/admin-guide/kernel-api-spec.rst | 198 ++-
tools/kapi/.gitignore | 4 +
tools/kapi/Cargo.toml | 19 +
tools/kapi/src/extractor
Add kernel API specifications to the binder driver using the IOCTL
specification framework. This provides detailed documentation and
enables runtime validation of all binder IOCTL interfaces.
Signed-off-by: Sasha Levin
---
drivers/android/binder.c | 758
validation framework checks:
- Parameter constraints (ranges, enums, masks)
- User pointer validity
- Buffer size constraints
- Return value correctness against specification
Signed-off-by: Sasha Levin
---
include/linux/ioctl_api_spec.h | 540
include/linux
Add kernel API specifications to the fwctl driver using the IOCTL
specification framework. This provides detailed documentation and
enables runtime validation of the fwctl IOCTL interface.
Signed-off-by: Sasha Levin
---
drivers/fwctl/main.c | 295 ++-
1
conditions
- Locking requirements and constraints
- Signal handling specifications
- Examples, notes, and deprecation status
This enables runtime introspection of kernel APIs for documentation
tools, static analyzers, and debugging purposes.
Signed-off-by: Sasha Levin
---
kernel/api/Kconfig
Add kernel API specification for the munlockall() system call.
Signed-off-by: Sasha Levin
---
mm/mlock.c | 120 +
1 file changed, 120 insertions(+)
diff --git a/mm/mlock.c b/mm/mlock.c
index ef691adc78ad7..80f51e932aa95 100644
--- a/mm
Add kernel API specification for the munlock() system call.
Signed-off-by: Sasha Levin
---
mm/mlock.c | 129 +
1 file changed, 129 insertions(+)
diff --git a/mm/mlock.c b/mm/mlock.c
index 95ee707c5922f..ef691adc78ad7 100644
--- a/mm/mlock.c
Add kernel API specification for the mlockall() system call.
Signed-off-by: Sasha Levin
---
mm/mlock.c | 144 +
1 file changed, 144 insertions(+)
diff --git a/mm/mlock.c b/mm/mlock.c
index af2ab78acc226..95ee707c5922f 100644
--- a/mm/mlock.c
Add kernel API specification for the mlock2() system call.
Signed-off-by: Sasha Levin
---
mm/mlock.c | 148 +
1 file changed, 148 insertions(+)
diff --git a/mm/mlock.c b/mm/mlock.c
index a37102df54b01..af2ab78acc226 100644
--- a/mm/mlock.c
Add kernel API specification for the mlock() system call.
Signed-off-by: Sasha Levin
---
mm/mlock.c | 105 +
1 file changed, 105 insertions(+)
diff --git a/mm/mlock.c b/mm/mlock.c
index 3cb72b579ffd3..a37102df54b01 100644
--- a/mm/mlock.c
Add comprehensive kernel API specification for the execveat() system
call.
Signed-off-by: Sasha Levin
---
fs/exec.c | 245 ++
1 file changed, 245 insertions(+)
diff --git a/fs/exec.c b/fs/exec.c
index 3d006105ab23d..49d8647c053ef 100644
--- a
Add comprehensive kernel API specification for the execve() system call.
Signed-off-by: Sasha Levin
---
fs/exec.c | 218 ++
1 file changed, 218 insertions(+)
diff --git a/fs/exec.c b/fs/exec.c
index 1f5fdd2e096e3..3d006105ab23d 100644
--- a
Add kernel API specification for the epoll_pwait2() system call.
Signed-off-by: Sasha Levin
---
fs/eventpoll.c | 244 +
1 file changed, 244 insertions(+)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 8bd25f9230fc8..0e90d66467010 100644
--- a
Add kernel API specification for the epoll_pwait() system call.
Signed-off-by: Sasha Levin
---
fs/eventpoll.c | 230 +
1 file changed, 230 insertions(+)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 254b50d687d37..8bd25f9230fc8 100644
--- a
Add kernel API specification for the epoll_wait() system call.
Signed-off-by: Sasha Levin
---
fs/eventpoll.c | 182 +
1 file changed, 182 insertions(+)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 409a0c440f112..254b50d687d37 100644
--- a
Add kernel API specification for the epoll_ctl() system call.
Signed-off-by: Sasha Levin
---
fs/eventpoll.c | 203 +
1 file changed, 203 insertions(+)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 50adea7ba43d1..409a0c440f112 100644
--- a/fs
Add kernel API specification for the epoll_create() system call.
Signed-off-by: Sasha Levin
---
fs/eventpoll.c | 111 +
1 file changed, 111 insertions(+)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 8f8a64ebbaef6..50adea7ba43d1 100644
--- a
Add kernel API specification for the epoll_create1() system call.
Signed-off-by: Sasha Levin
---
fs/eventpoll.c | 86 ++
1 file changed, 86 insertions(+)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index d4dbffdedd08e..8f8a64ebbaef6 100644
--- a
ntegration with documentation systems and automated testing workflows.
This tool enables developers to easily inspect API specifications,
verify changes across kernel versions, and generate documentation
without requiring kernel rebuilds.
Sasha Levin (19):
kernel/api: introduce kernel API spe
- Runtime querying of API documentation
- Machine-readable export formats
- Integration with existing SYSCALL_DEFINE macros
This commit introduces the core infrastructure without modifying any
existing APIs. Subsequent patches will add specifications to individual
subsystems.
Signed-off-by: Sasha Levin
d globally.
Avoid the issue by marking the functions static.
Signed-off-by: Thomas Weißschuh
Reviewed-by: Muhammad Usama Anjum
Acked-by: Shuah Khan
Link:
https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-4-ee4dd5257...@linutronix.de
Signed-off-by: Thomas Weißschuh
Signed-off-by: S
d globally.
Avoid the issue by marking the functions static.
Signed-off-by: Thomas Weißschuh
Reviewed-by: Muhammad Usama Anjum
Acked-by: Shuah Khan
Link:
https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-4-ee4dd5257...@linutronix.de
Signed-off-by: Thomas Weißschuh
Signed-off-by: S
d globally.
Avoid the issue by marking the functions static.
Signed-off-by: Thomas Weißschuh
Reviewed-by: Muhammad Usama Anjum
Acked-by: Shuah Khan
Link:
https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-4-ee4dd5257...@linutronix.de
Signed-off-by: Thomas Weißschuh
Signed-off-by: S
: Paul E. McKenney
Reviewed-by: Frederic Weisbecker
Reviewed-by: Sebastian Andrzej Siewior
Signed-off-by: Ankur Arora
Signed-off-by: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
include/linux/rcutree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
: Paul E. McKenney
Reviewed-by: Frederic Weisbecker
Reviewed-by: Sebastian Andrzej Siewior
Signed-off-by: Ankur Arora
Signed-off-by: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
include/linux/rcutree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
: Paul E. McKenney
Reviewed-by: Frederic Weisbecker
Reviewed-by: Sebastian Andrzej Siewior
Signed-off-by: Ankur Arora
Signed-off-by: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
include/linux/rcutree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
rcu_read_unlock_strict(), adjusting the
preempt-count check appropriately.
Suggested-by: Frederic Weisbecker
Signed-off-by: Ankur Arora
Reviewed-by: Frederic Weisbecker
Signed-off-by: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
include/linux/rcupdate.h | 2 +-
kernel/rcu
e.com
Signed-off-by: Brendan Jackman
Reviewed-by: David Gow
Signed-off-by: Shuah Khan
Signed-off-by: Sasha Levin
---
tools/testing/kunit/qemu_configs/x86_64.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/testing/kunit/qemu_configs/x86_64.py
b/tools/testing/
u Rezki (Sony)
Link:
https://lore.kernel.org/rcu/d90bd6d9-d15c-4b9b-8a69-95336e74e8f4@paulmck-laptop/
[1]
Link: https://lore.kernel.org/rcu/20250303001507.GA3994772@joelnvbox/ [2]
Link: https://lore.kernel.org/rcu/Z8bcUsZ9IpRi1QoP@pc636/ [3]
Reviewed-by: Joel Fernandes
Signed-off-by: Boqun Feng
Signed-
ble,
especially considering that mlx5_vdpa_dev_add() insists on this flag to
always be set anyway.
Signed-off-by: Konstantin Shkolnyy
Message-Id: <20250204173127.166673-1-k...@linux.ibm.com>
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Dragos Tatulea
Acked-by: Jason Wang
Signed-off-by: Sa
d.link/20250320112223.608320-1-rrich...@amd.com
Signed-off-by: Ira Weiny
Signed-off-by: Sasha Levin
---
drivers/nvdimm/label.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/nvdimm/label.c b/drivers/nvdimm/label.c
index 9251441fd8a35..5251058adc4d1 100644
--- a/d
loads/2018/11/CA-8210_datasheet_0418.pdf
[1]
Reviewed-by: Miquel Raynal
Reviewed-by: Linus Walleij
Signed-off-by: Andy Shevchenko
Link:
https://lore.kernel.org/20250305105656.2133487-2-andriy.shevche...@linux.intel.com
Signed-off-by: Stefan Schmidt
Signed-off-by: Sasha Levin
---
driver
: Paul E. McKenney
Reviewed-by: Frederic Weisbecker
Reviewed-by: Sebastian Andrzej Siewior
Signed-off-by: Ankur Arora
Signed-off-by: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
include/linux/rcutree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Reviewed-by: Willem de Bruijn
Link: https://patch.msgid.link/20250226192725.621969-2-kraka...@google.com
Signed-off-by: Jakub Kicinski
Signed-off-by: Sasha Levin
---
tools/testing/selftests/net/gro.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests
gned-off-by: Sasha Levin
---
drivers/remoteproc/qcom_wcnss.c | 33 ++---
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/drivers/remoteproc/qcom_wcnss.c b/drivers/remoteproc/qcom_wcnss.c
index 97a0c0dc4c77a..3e07f5621d0f2 100644
--- a/drivers/remote
d.link/20250320112223.608320-1-rrich...@amd.com
Signed-off-by: Ira Weiny
Signed-off-by: Sasha Levin
---
drivers/nvdimm/label.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/nvdimm/label.c b/drivers/nvdimm/label.c
index 7f473f9db300d..e1b511d09295f 100644
--- a/d
: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
kernel/rcu/tree_plugin.h | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 044026abfdd7f..4f45562be7b54 100644
--- a/kernel/rcu
: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
kernel/rcu/tree_plugin.h | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 41021080ad258..dccfc46496393 100644
--- a/kernel/rcu
Reviewed-by: Willem de Bruijn
Link: https://patch.msgid.link/20250226192725.621969-2-kraka...@google.com
Signed-off-by: Jakub Kicinski
Signed-off-by: Sasha Levin
---
tools/testing/selftests/net/gro.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests
193-6-bige...@linutronix.de
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Sasha Levin
---
arch/x86/kernel/cpu/resctrl/rdtgroup.c| 65 +
fs/kernfs/dir.c | 96 ---
fs/kernfs/kernfs-internal.h | 32 ++-
fs/kern
: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
kernel/rcu/tree_plugin.h | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 1c7cbd145d5e3..75ba4d5788c0f 100644
--- a/kernel/rcu
: Paul E. McKenney
Reviewed-by: Frederic Weisbecker
Reviewed-by: Sebastian Andrzej Siewior
Signed-off-by: Ankur Arora
Signed-off-by: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
include/linux/rcutree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
rcu_read_unlock_strict(), adjusting the
preempt-count check appropriately.
Suggested-by: Frederic Weisbecker
Signed-off-by: Ankur Arora
Reviewed-by: Frederic Weisbecker
Signed-off-by: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
include/linux/rcupdate.h | 2 +-
kernel/rcu
e.com
Signed-off-by: Brendan Jackman
Reviewed-by: David Gow
Signed-off-by: Shuah Khan
Signed-off-by: Sasha Levin
---
tools/testing/kunit/qemu_configs/x86_64.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/testing/kunit/qemu_configs/x86_64.py
b/tools/testing/
Reviewed-by: Willem de Bruijn
Link: https://patch.msgid.link/20250226192725.621969-2-kraka...@google.com
Signed-off-by: Jakub Kicinski
Signed-off-by: Sasha Levin
---
tools/testing/selftests/net/gro.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests
>
Signed-off-by: Michael S. Tsirkin
Acked-by: Stefan Hajnoczi
Signed-off-by: Sasha Levin
---
drivers/vhost/scsi.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
index 35a03306d1345..f9a106bbe8ee1 100644
--- a/dr
: Paul E. McKenney
Reviewed-by: Frederic Weisbecker
Reviewed-by: Sebastian Andrzej Siewior
Signed-off-by: Ankur Arora
Signed-off-by: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
include/linux/rcutree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
: Paul E. McKenney
Reviewed-by: Frederic Weisbecker
Reviewed-by: Sebastian Andrzej Siewior
Signed-off-by: Ankur Arora
Signed-off-by: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
include/linux/rcutree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
loads/2018/11/CA-8210_datasheet_0418.pdf
[1]
Reviewed-by: Miquel Raynal
Reviewed-by: Linus Walleij
Signed-off-by: Andy Shevchenko
Link:
https://lore.kernel.org/20250305105656.2133487-2-andriy.shevche...@linux.intel.com
Signed-off-by: Stefan Schmidt
Signed-off-by: Sasha Levin
---
driver
e.com
Signed-off-by: Brendan Jackman
Reviewed-by: David Gow
Signed-off-by: Shuah Khan
Signed-off-by: Sasha Levin
---
tools/testing/kunit/qemu_configs/x86_64.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/testing/kunit/qemu_configs/x86_64.py
b/tools/testing/
-badc00d01...@intel.com/
Link: https://patch.msgid.link/r/20250226104012.82079-1-yi.l@intel.com
Suggested-by: Lu Baolu
Signed-off-by: Yi Liu
Reviewed-by: Kevin Tian
Reviewed-by: Lu Baolu
Signed-off-by: Jason Gunthorpe
Signed-off-by: Sasha Levin
---
drivers/iommu/iommufd/hw_pagetable.c
loads/2018/11/CA-8210_datasheet_0418.pdf
[1]
Reviewed-by: Miquel Raynal
Reviewed-by: Linus Walleij
Signed-off-by: Andy Shevchenko
Link:
https://lore.kernel.org/20250305105656.2133487-2-andriy.shevche...@linux.intel.com
Signed-off-by: Stefan Schmidt
Signed-off-by: Sasha Levin
---
driver
gned-off-by: Sasha Levin
---
drivers/remoteproc/qcom_wcnss.c | 33 ++---
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/drivers/remoteproc/qcom_wcnss.c b/drivers/remoteproc/qcom_wcnss.c
index 90de22c81da97..153260b4e2eb4 100644
--- a/drivers/remote
: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
kernel/rcu/tree_plugin.h | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 2c127d438fe0a..1d9f2831b54ea 100644
--- a/kernel/rcu
loads/2018/11/CA-8210_datasheet_0418.pdf
[1]
Reviewed-by: Miquel Raynal
Reviewed-by: Linus Walleij
Signed-off-by: Andy Shevchenko
Link:
https://lore.kernel.org/20250305105656.2133487-2-andriy.shevche...@linux.intel.com
Signed-off-by: Stefan Schmidt
Signed-off-by: Sasha Levin
---
driver
: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
kernel/rcu/tree_plugin.h | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index f5ba0740f9b50..c07a841971739 100644
--- a/kernel/rcu
d.link/20250320112223.608320-1-rrich...@amd.com
Signed-off-by: Ira Weiny
Signed-off-by: Sasha Levin
---
drivers/nvdimm/label.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/nvdimm/label.c b/drivers/nvdimm/label.c
index 9251441fd8a35..5251058adc4d1 100644
--- a/d
: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
kernel/rcu/tree_plugin.h | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index b48b42d76474e..9e84d603e882e 100644
--- a/kernel/rcu
rcu_read_unlock_strict(), adjusting the
preempt-count check appropriately.
Suggested-by: Frederic Weisbecker
Signed-off-by: Ankur Arora
Reviewed-by: Frederic Weisbecker
Signed-off-by: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
include/linux/rcupdate.h | 2 +-
kernel/rcu
gned-off-by: Sasha Levin
---
drivers/remoteproc/qcom_wcnss.c | 33 ++---
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/drivers/remoteproc/qcom_wcnss.c b/drivers/remoteproc/qcom_wcnss.c
index 68f37296b1516..ce61e0e7cbeb8 100644
--- a/drivers/remote
loads/2018/11/CA-8210_datasheet_0418.pdf
[1]
Reviewed-by: Miquel Raynal
Reviewed-by: Linus Walleij
Signed-off-by: Andy Shevchenko
Link:
https://lore.kernel.org/20250305105656.2133487-2-andriy.shevche...@linux.intel.com
Signed-off-by: Stefan Schmidt
Signed-off-by: Sasha Levin
---
driver
Reviewed-by: Willem de Bruijn
Link: https://patch.msgid.link/20250226192725.621969-2-kraka...@google.com
Signed-off-by: Jakub Kicinski
Signed-off-by: Sasha Levin
---
tools/testing/selftests/net/gro.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests
d.link/20250320112223.608320-1-rrich...@amd.com
Signed-off-by: Ira Weiny
Signed-off-by: Sasha Levin
---
drivers/nvdimm/label.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/nvdimm/label.c b/drivers/nvdimm/label.c
index 082253a3a9560..04f4a049599a1 100644
--- a/d
>
Signed-off-by: Michael S. Tsirkin
Acked-by: Stefan Hajnoczi
Signed-off-by: Sasha Levin
---
drivers/vhost/scsi.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
index 8d8a22504d71f..9a62372bdac32 100644
--- a/dr
ble,
especially considering that mlx5_vdpa_dev_add() insists on this flag to
always be set anyway.
Signed-off-by: Konstantin Shkolnyy
Message-Id: <20250204173127.166673-1-k...@linux.ibm.com>
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Dragos Tatulea
Acked-by: Jason Wang
Signed-off-by: Sa
d.link/20250320112223.608320-1-rrich...@amd.com
Signed-off-by: Ira Weiny
Signed-off-by: Sasha Levin
---
drivers/nvdimm/label.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/nvdimm/label.c b/drivers/nvdimm/label.c
index 082253a3a9560..04f4a049599a1 100644
--- a/d
loads/2018/11/CA-8210_datasheet_0418.pdf
[1]
Reviewed-by: Miquel Raynal
Reviewed-by: Linus Walleij
Signed-off-by: Andy Shevchenko
Link:
https://lore.kernel.org/20250305105656.2133487-2-andriy.shevche...@linux.intel.com
Signed-off-by: Stefan Schmidt
Signed-off-by: Sasha Levin
---
driver
gned-off-by: Sasha Levin
---
drivers/remoteproc/qcom_wcnss.c | 33 ++---
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/drivers/remoteproc/qcom_wcnss.c b/drivers/remoteproc/qcom_wcnss.c
index a7bb9da27029d..735d373a9f636 100644
--- a/drivers/remote
d.link/20250320112223.608320-1-rrich...@amd.com
Signed-off-by: Ira Weiny
Signed-off-by: Sasha Levin
---
drivers/nvdimm/label.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/nvdimm/label.c b/drivers/nvdimm/label.c
index 082253a3a9560..04f4a049599a1 100644
--- a/d
193-6-bige...@linutronix.de
Signed-off-by: Greg Kroah-Hartman
Stable-dep-of: 6ef5b6fae304 ("kernfs: Drop kernfs_rwsem while invoking
lookup_positive_unlocked().")
Signed-off-by: Sasha Levin
---
arch/x86/kernel/cpu/resctrl/rdtgroup.c| 65 +
fs/kernfs/dir.c
: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
kernel/rcu/tree_plugin.h | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 3600152b858e8..4328ff3252a35 100644
--- a/kernel/rcu
rcu_read_unlock_strict(), adjusting the
preempt-count check appropriately.
Suggested-by: Frederic Weisbecker
Signed-off-by: Ankur Arora
Reviewed-by: Frederic Weisbecker
Signed-off-by: Paul E. McKenney
Signed-off-by: Boqun Feng
Signed-off-by: Sasha Levin
---
include/linux/rcupdate.h | 2 +-
kernel/rcu
asry
Link: https://patch.msgid.link/20250206225638.1387810-5-k...@kernel.org
Signed-off-by: Jakub Kicinski
Signed-off-by: Sasha Levin
---
drivers/net/netdevsim/netdev.c | 10 --
tools/testing/selftests/net/nl_netdev.py | 18 +-
2 files changed, 21 insertions(+), 7
e.com
Signed-off-by: Brendan Jackman
Reviewed-by: David Gow
Signed-off-by: Shuah Khan
Signed-off-by: Sasha Levin
---
tools/testing/kunit/qemu_configs/x86_64.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/testing/kunit/qemu_configs/x86_64.py
b/tools/testing/
Kelley
Link: https://lore.kernel.org/r/20250213161423.449435-2-r...@surriel.com
Signed-off-by: Sasha Levin
---
arch/x86/Kconfig | 2 +-
arch/x86/kernel/paravirt.c | 17 +
arch/x86/mm/pgtable.c | 27 ---
3 files changed, 6 insertions(+), 40
tting them.
Reported-by: Eric Auger
Reported-by: Hongyu Ning
Message-ID:
Tested-by: Eric Auger
Acked-by: Jason Wang
Signed-off-by: Michael S. Tsirkin
Signed-off-by: Sasha Levin
---
drivers/virtio/virtio.c | 29 +
1 file changed, 29 insertions(+)
diff --g
ble,
especially considering that mlx5_vdpa_dev_add() insists on this flag to
always be set anyway.
Signed-off-by: Konstantin Shkolnyy
Message-Id: <20250204173127.166673-1-k...@linux.ibm.com>
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Dragos Tatulea
Acked-by: Jason Wang
Signed-off-by: Sa
>
Signed-off-by: Michael S. Tsirkin
Acked-by: Stefan Hajnoczi
Signed-off-by: Sasha Levin
---
drivers/vhost/scsi.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
index 35a03306d1345..f9a106bbe8ee1 100644
--- a/dr
Reviewed-by: Willem de Bruijn
Link: https://patch.msgid.link/20250226192725.621969-2-kraka...@google.com
Signed-off-by: Jakub Kicinski
Signed-off-by: Sasha Levin
---
tools/testing/selftests/net/gro.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests
-badc00d01...@intel.com/
Link: https://patch.msgid.link/r/20250226104012.82079-1-yi.l@intel.com
Suggested-by: Lu Baolu
Signed-off-by: Yi Liu
Reviewed-by: Kevin Tian
Reviewed-by: Lu Baolu
Signed-off-by: Jason Gunthorpe
Signed-off-by: Sasha Levin
---
drivers/iommu/iommufd/hw_pagetable.c
u Rezki (Sony)
Link:
https://lore.kernel.org/rcu/d90bd6d9-d15c-4b9b-8a69-95336e74e8f4@paulmck-laptop/
[1]
Link: https://lore.kernel.org/rcu/20250303001507.GA3994772@joelnvbox/ [2]
Link: https://lore.kernel.org/rcu/Z8bcUsZ9IpRi1QoP@pc636/ [3]
Reviewed-by: Joel Fernandes
Signed-off-by: Boqun Feng
Signed-
gned-off-by: Sasha Levin
---
drivers/remoteproc/qcom_wcnss.c | 33 ++---
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/drivers/remoteproc/qcom_wcnss.c b/drivers/remoteproc/qcom_wcnss.c
index 5b5664603eed2..775b056d795a8 100644
--- a/drivers/remote
loads/2018/11/CA-8210_datasheet_0418.pdf
[1]
Reviewed-by: Miquel Raynal
Reviewed-by: Linus Walleij
Signed-off-by: Andy Shevchenko
Link:
https://lore.kernel.org/20250305105656.2133487-2-andriy.shevche...@linux.intel.com
Signed-off-by: Stefan Schmidt
Signed-off-by: Sasha Levin
---
driver
-off-by: Niklas Cassel
Reviewed-by: Manivannan Sadhasivam
Link: https://lore.kernel.org/r/20250123120147.3603409-4-cas...@kernel.org
Signed-off-by: Manivannan Sadhasivam
Signed-off-by: Krzysztof Wilczyński
Signed-off-by: Sasha Levin
---
tools/testing/selftests/pci_endpoint/pci_endpoint_test.c
bug by parsing test plan line to avoid the infinite loop.
Link: https://lore.kernel.org/r/20250313192714.1380005-1-rm...@google.com
Signed-off-by: Rae Moar
Reviewed-by: David Gow
Signed-off-by: Shuah Khan
Signed-off-by: Sasha Levin
---
tools/testing/kunit/kunit_parser.py | 9 -
1 file
d.link/20250320112223.608320-1-rrich...@amd.com
Signed-off-by: Ira Weiny
Signed-off-by: Sasha Levin
---
drivers/nvdimm/label.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/nvdimm/label.c b/drivers/nvdimm/label.c
index 082253a3a9560..04f4a049599a1 100644
--- a/d
.2438524-1-ihor.solod...@linux.dev
Signed-off-by: Alexei Starovoitov
Signed-off-by: Sasha Levin
---
tools/testing/selftests/bpf/prog_tests/sockmap_ktls.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/prog_tests/sockmap_ktls.c
b/tools/testing/selftests/bpf/
tps://lore.kernel.org/all/67c7761a.050a0220.15b4b9.0018@google.com/
Signed-off-by: Zhongqiu Han
Message-Id: <20250312130412.3516307-1-quic_zhon...@quicinc.com>
Signed-off-by: Michael S. Tsirkin
Acked-by: Jason Wang
Signed-off-by: Sasha Levin
---
drivers/virtio/virtio_ring.c | 2 +-
1 file c
tps://lore.kernel.org/all/67c7761a.050a0220.15b4b9.0018@google.com/
Signed-off-by: Zhongqiu Han
Message-Id: <20250312130412.3516307-1-quic_zhon...@quicinc.com>
Signed-off-by: Michael S. Tsirkin
Acked-by: Jason Wang
Signed-off-by: Sasha Levin
---
drivers/virtio/virtio_ring.c | 2 +-
1 file c
.2438524-1-ihor.solod...@linux.dev
Signed-off-by: Alexei Starovoitov
Signed-off-by: Sasha Levin
---
tools/testing/selftests/bpf/prog_tests/sockmap_ktls.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/prog_tests/sockmap_ktls.c
b/tools/testing/selftests/bpf/
can be
reclaimed via gfree(). As a result, this causes invalid memory writes to
QEMU userspace.
The control queue path has the same issue.
Signed-off-by: Dongli Zhang
Acked-by: Jason Wang
Reviewed-by: Mike Christie
Message-Id: <20250403063028.16045-2-dongli.zh...@oracle.com>
Signed-o
ion: on an error, vhost_task_create()
returns an ERR_PTR() and no longer NULL.
Signed-off-by: Stefano Garzarella
Message-Id: <20250327124435.142831-1-sgarz...@redhat.com>
Signed-off-by: Michael S. Tsirkin
Signed-off-by: Sasha Levin
---
kernel/vhost_task.c | 2 +-
1 file changed, 1 insertio
1 - 100 of 12799 matches
Mail list logo