Re: [PATCH] kunit: Spelling s/slowm/slow/

2025-03-27 Thread David Gow
On Thu, 27 Mar 2025 at 23:33, Geert Uytterhoeven wrote: > > Fix a misspelling of "slow". > > Signed-off-by: Geert Uytterhoeven > --- Reviewed-by: David Gow Cheers, -- David > include/kunit/test.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/kunit/test.h b/

Re: [PATCH V3 0/8] Add new driver for WCSS secure PIL loading

2025-03-27 Thread Vignesh Viswanathan
On 1/24/2025 11:30 PM, Jeff Johnson wrote: > On 1/7/25 02:16, Gokul Sriram Palanisamy wrote: >> This series depends on Sricharan's tmel-qmp mailbox driver series v2 [1]. >> >> - Secure PIL is signed, split firmware images which only TrustZone (TZ) >> can authenticate and load. Linux kernel will s

Re: [PATCH v7 0/8] vhost: Add support of kthread API

2025-03-27 Thread Cindy Lu
On Sat, Mar 22, 2025 at 3:37 AM Michael S. Tsirkin wrote: > > On Sun, Mar 02, 2025 at 10:32:02PM +0800, Cindy Lu wrote: > > In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"), > > the vhost now uses vhost_task and operates as a child of the > > owner thread. This aligns with cont

Re: [PATCH v7 8/8] vhost: Add a KConfig knob to enable IOCTL VHOST_FORK_FROM_OWNER

2025-03-27 Thread Cindy Lu
On Mon, Mar 3, 2025 at 5:12 PM Stefano Garzarella wrote: > > On Mon, Mar 03, 2025 at 01:52:06PM +0800, Jason Wang wrote: > >On Sun, Mar 2, 2025 at 10:34 PM Cindy Lu wrote: > >> > >> Introduce a new config knob `CONFIG_VHOST_ENABLE_FORK_OWNER_IOCTL`, > >> to control the availability of the `VHOST_

Re: [PATCH v6 2/5] arm64: dts: imx8mp: Add mu2 root clock

2025-03-27 Thread Alexander Stein
Hi, Am Mittwoch, 19. März 2025, 10:46:18 CET schrieb Daniel Baluta: > Enable MU2 node and add mu2 root clock. > MU2 is used to communicate with DSP core. > > Reviewed-by: Iuliana Prodan > Reviewed-by: Peng Fan > Signed-off-by: Daniel Baluta > --- > arch/arm64/boot/dts/freescale/imx8mp-evk.dts

Re: [PATCH v7 6/8] vhost: uapi to control task mode (owner vs kthread)

2025-03-27 Thread Cindy Lu
On Mon, Mar 3, 2025 at 4:58 PM Stefano Garzarella wrote: > > On Sun, Mar 02, 2025 at 10:32:08PM +0800, Cindy Lu wrote: > >Add a new UAPI to configure the vhost device to use the kthread mode > >The userspace application can use IOCTL VHOST_FORK_FROM_OWNER > >to choose between owner and kthread mod

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-03-27 Thread Peng Fan
On Thu, Mar 27, 2025 at 11:46:33AM -0600, Mathieu Poirier wrote: >Hi, > >On Wed, Mar 26, 2025 at 10:02:14AM +0800, Peng Fan (OSS) wrote: >> From: Peng Fan >> >> There is case as below could trigger kernel dump: >> Use U-Boot to start remote processor(rproc) with resource table >> published to a f

Re: [GIT PULL] kunit next update for Linux 6.15-rc1

2025-03-27 Thread pr-tracker-bot
The pull request you sent on Wed, 26 Mar 2025 21:05:06 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux_kselftest-kunit-6.15-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a10c7949adf94356e56d5c8878f6fc3f25bd0c15 Thank you

Re: [PATCH 0/3] Avoid calling WARN_ON() on allocation failure in cfg802154_switch_netns()

2025-03-27 Thread Kuniyuki Iwashima
From: Ivan Abramov Date: Fri, 28 Mar 2025 04:04:24 +0300 > This series was inspired by Syzkaller report on warning in > cfg802154_switch_netns(). > > WARNING: CPU: 0 PID: 5837 at net/ieee802154/core.c:258 > cfg802154_switch_netns+0x3c7/0x3d0 net/ieee802154/core.c:258 > Modules linked in: > CPU:

Re: [PATCH 1/3] rcu: Replace magic number with meaningful constant in rcu_seq_done_exact()

2025-03-27 Thread Joel Fernandes
On 3/27/2025 1:09 PM, Paul E. McKenney wrote: >>> In contrast, making the guard band a bit longer than it needs to be >>> has little or no downside. >> Making it 3 GP instead of 2 should be ok with me as long as we document it >> but at least it will not be a magic number based on an equation.

Re: [PATCH 2/3] ieee802154: Avoid calling WARN_ON() on -ENOMEM in cfg802154_switch_netns()

2025-03-27 Thread Kuniyuki Iwashima
From: Ivan Abramov Date: Fri, 28 Mar 2025 04:04:26 +0300 > It's pointless to call WARN_ON() in case of an allocation failure in > dev_change_net_namespace() and device_rename(), since it only leads to > useless splats caused by deliberate fault injections, so avoid it. > > Found by Linux Verifica

Re: [GIT PULL] livepatching for 6.15

2025-03-27 Thread pr-tracker-bot
The pull request you sent on Thu, 27 Mar 2025 12:15:17 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching.git > tags/livepatching-for-6.15 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/dcf9f31c62b3d31c033ee5bce522855c3d7f56b1 Thank you!

Re: [GIT PULL] Kselftest next update for Linux 6.15-rc1

2025-03-27 Thread pr-tracker-bot
The pull request you sent on Wed, 26 Mar 2025 19:56:31 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux_kselftest-next-6.15-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8e324a5c9849e4a8225e38facdcc1a60faa4227a Thank you!

[PATCH v6 0/5] Configure imx8mp dsp node for rproc usage

2025-03-27 Thread Daniel Baluta
DSP found in i.MX8MP SOC can be used by multiple frameworks in order to enable various applications: - rproc/rpmsg framework, used to load for example Zephyr samples - Sound Open Firmware, used to enable various audio processing pipelines. Current dsp node was configured

[PATCH 3/3] ieee802154: Remove WARN_ON() in cfg802154_pernet_exit()

2025-03-27 Thread Ivan Abramov
There's no need to call WARN_ON() in cfg802154_pernet_exit(), since every point of failure in cfg802154_switch_netns() is covered with WARN_ON(), so remove it. Found by Linux Verification Center (linuxtesting.org) with Syzkaller. Fixes: 66e5c2672cd1 ("ieee802154: add netns support") Signed-off-by

[PATCH 2/3] ieee802154: Avoid calling WARN_ON() on -ENOMEM in cfg802154_switch_netns()

2025-03-27 Thread Ivan Abramov
It's pointless to call WARN_ON() in case of an allocation failure in dev_change_net_namespace() and device_rename(), since it only leads to useless splats caused by deliberate fault injections, so avoid it. Found by Linux Verification Center (linuxtesting.org) with Syzkaller. Fixes: 66e5c2672cd1

[PATCH 0/3] Avoid calling WARN_ON() on allocation failure in cfg802154_switch_netns()

2025-03-27 Thread Ivan Abramov
This series was inspired by Syzkaller report on warning in cfg802154_switch_netns(). WARNING: CPU: 0 PID: 5837 at net/ieee802154/core.c:258 cfg802154_switch_netns+0x3c7/0x3d0 net/ieee802154/core.c:258 Modules linked in: CPU: 0 UID: 0 PID: 5837 Comm: syz-executor125 Not tainted 6.13.0-rc6-syzkall

[PATCH v9 0/3] rust: extend `module!` macro with integer parameter support

2025-03-27 Thread Andreas Hindborg
Extend the `module!` macro with support module parameters. Also add some string to integer parsing functions and updates `BStr` with a method to strip a string prefix. Based on code by Adam Bratschi-Kaye lifted from the original `rust` branch [1]. Link: https://github.com/Rust-for-Linux/linux/tr

[PATCH] kbuild: Require pahole >v1.29 with GENDWARFKSYMS and BTF on X86

2025-03-27 Thread Sami Tolvanen
With CONFIG_GENDWARFKSYMS, __gendwarfksyms_ptr variables are added to the kernel in EXPORT_SYMBOL() to ensure DWARF type information is available for exported symbols in the TUs where they're actually exported. These symbols are dropped when linking vmlinux, but dangling references to them remain i

Re: [PATCH 1/4] x86/sgx: Add total number of EPC pages

2025-03-27 Thread Jarkko Sakkinen
oN Thu, Mar 27, 2025 at 03:29:53PM +, Reshetova, Elena wrote: > > > On Mon, Mar 24, 2025 at 12:12:41PM +, Reshetova, Elena wrote: > > > > On Fri, Mar 21, 2025 at 02:34:40PM +0200, Elena Reshetova wrote: > > > > > In order to successfully execute ENCLS[EUPDATESVN], EPC must be > > empty. >

Re: [PATCH 2/4] x86/sgx: Change counter sgx_nr_free_pages -> sgx_nr_used_pages

2025-03-27 Thread Jarkko Sakkinen
On Thu, Mar 27, 2025 at 03:31:31PM +, Reshetova, Elena wrote: > > On Mon, Mar 24, 2025 at 12:19:37PM +, Reshetova, Elena wrote: > > > > > > > On Fri, Mar 21, 2025 at 02:34:41PM +0200, Elena Reshetova wrote: > > > > > sgx_nr_free_pages is an atomic that is used to keep track of > > > > > fre

Re: [PATCH 4/4] x86/sgx: Implement ENCLS[EUPDATESVN] and opportunistically call it during first EPC page alloc

2025-03-27 Thread Jarkko Sakkinen
On Thu, Mar 27, 2025 at 03:42:30PM +, Reshetova, Elena wrote: > > > > > + case SGX_NO_UPDATE: > > > > > + pr_debug("EUPDATESVN was successful, but CPUSVN was not > > > > updated, " > > > > > + "because current SVN was not newer than > > > > CPUSVN.\n"); > > >

Re: [PATCH v2 06/10] vhost-scsi: cache log buffer in I/O queue vhost_scsi_cmd

2025-03-27 Thread Dongli Zhang
Hi Mike, On 3/26/25 4:37 PM, Mike Christie wrote: > On 3/17/25 7:04 PM, Dongli Zhang wrote: >> @@ -1390,6 +1424,24 @@ vhost_scsi_handle_vq(struct vhost_scsi *vs, struct >> vhost_virtqueue *vq) >> goto err; >> } >> >> +if (unlikely(vq_log && log_num))

[PATCH 3/3] arm64: dts: qcom: sm6350: Add video clock controller

2025-03-27 Thread Luca Weiss
Add a node for the videocc found on the SM6350 SoC. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 00ad1d09a19558d9e2bc61f1a

Re: [PATCH v4 08/16] rust: kunit: refactor to use `&raw [const|mut]`

2025-03-27 Thread David Gow
On Fri, 21 Mar 2025 at 07:16, Miguel Ojeda wrote: > > On Tue, Mar 18, 2025 at 9:02 AM David Gow wrote: > > > > In general, I think changes such as those in this series are going to > > get progressively more prone to conflicts as Rust is adopted by other > > subsystems, as the 'rust' tree won't b

Re: [PATCH net-next v2 0/7] selftests/net: Mixed select()+polling mode for TCP-AO tests

2025-03-27 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 19 Mar 2025 03:13:33 + you wrote: > Should fix flaky tcp-ao/connect-deny-ipv6 test. > Begging pardon for the delay since the report and for sending it this > late in the release cycle. > > To: David S. M

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-03-27 Thread Mathieu Poirier
Hi, On Wed, Mar 26, 2025 at 10:02:14AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > There is case as below could trigger kernel dump: > Use U-Boot to start remote processor(rproc) with resource table > published to a fixed address by rproc. After Kernel boots up, > stop the rproc, load a ne

Re: [PATCH v2 1/2] time/timekeeping: Fix possible inconsistencies in _COARSE clockids

2025-03-27 Thread Thomas Gleixner
On Thu, Mar 27 2025 at 16:42, Miroslav Lichvar wrote: > On Thu, Mar 27, 2025 at 10:22:31AM +0100, Thomas Gleixner wrote: >> The original implementation respected this base period, but John's >> approach of forwarding, which cures the coarse time getter issue, >> violates it. As a consequence the pr

Re: [PATCH 1/3] rcu: Replace magic number with meaningful constant in rcu_seq_done_exact()

2025-03-27 Thread Paul E. McKenney
On Wed, Mar 26, 2025 at 10:42:52PM +, Joel Fernandes wrote: > > > > On Mar 26, 2025, at 6:33 PM, Paul E. McKenney wrote: > > > > On Mon, Mar 24, 2025 at 01:01:53PM -0400, Joel Fernandes wrote: > >> The rcu_seq_done_exact() function checks if a grace period has completed by > >> comparing s

Re: [PATCH 5/9] rcutorture: Add tests for SRCU up/down reader primitives

2025-03-27 Thread Paul E. McKenney
On Thu, Mar 27, 2025 at 05:08:35PM +, Joel Fernandes wrote: > > > > On Mar 27, 2025, at 12:48 PM, Paul E. McKenney wrote: > > > > On Thu, Mar 27, 2025 at 12:22:12PM -0400, Joel Fernandes wrote: > >> Paul, > >> > If rtorsu_hrt timer is still in timer_queue, invoke hrtimer_cancel() wil

Re: [PATCH 5/9] rcutorture: Add tests for SRCU up/down reader primitives

2025-03-27 Thread Joel Fernandes
> On Mar 27, 2025, at 12:48 PM, Paul E. McKenney wrote: > > On Thu, Mar 27, 2025 at 12:22:12PM -0400, Joel Fernandes wrote: >> Paul, >> If rtorsu_hrt timer is still in timer_queue, invoke hrtimer_cancel() will remove it from timerqueue and directly return, so the rcu_torture_u

Re: [PATCH 5/9] rcutorture: Add tests for SRCU up/down reader primitives

2025-03-27 Thread Paul E. McKenney
On Thu, Mar 27, 2025 at 12:22:12PM -0400, Joel Fernandes wrote: > Paul, > > >> If rtorsu_hrt timer is still in timer_queue, invoke hrtimer_cancel() will > >> remove it from timerqueue and directly return, so the > >> rcu_torture_updown_hrt() > >> will not be executed and the rtorsup->rtorsu_inuse

Re: [PATCH v2 1/2] dt-bindings: remoteproc: stm32-rproc: Add firmware-name property

2025-03-27 Thread Conor Dooley
On Thu, Mar 27, 2025 at 09:27:20AM +0100, Arnaud Pouliquen wrote: > Add the 'firmware-name' property to the remote processor binding > to allow specifying the default firmware name in the device tree. > > Signed-off-by: Arnaud Pouliquen Acked-by: Conor Dooley signature.asc Description: PGP si

Re: [PATCH 5/9] rcutorture: Add tests for SRCU up/down reader primitives

2025-03-27 Thread Joel Fernandes
Paul, >> If rtorsu_hrt timer is still in timer_queue, invoke hrtimer_cancel() will >> remove it from timerqueue and directly return, so the >> rcu_torture_updown_hrt() >> will not be executed and the rtorsup->rtorsu_inuse cannot be set false. >> >> How about modifying it as follows: >> >> diff --

[PATCH/RFC] kunit/rtc: Add real support for very slow tests

2025-03-27 Thread Geert Uytterhoeven
When running rtc_lib_test ("lib_test" before my "[PATCH] rtc: Rename lib_test to rtc_lib_test") on m68k/ARAnyM: KTAP version 1 1..1 KTAP version 1 # Subtest: rtc_lib_test_cases # module: rtc_lib_test 1..2 # rtc_time64_to_tm_test_date_range_1000: Test

[PATCH] rtc: Rename lib_test to rtc_lib_test

2025-03-27 Thread Geert Uytterhoeven
When compiling the RTC library functions test as a module, the module has the non-descriptive name "lib_test.ko". Fix this by adding the subsystem's name as a prefix. Signed-off-by: Geert Uytterhoeven --- drivers/rtc/Makefile | 2 +- drivers/rtc/{lib_test.c => rtc_lib_test

Re: [PATCH v2 1/2] time/timekeeping: Fix possible inconsistencies in _COARSE clockids

2025-03-27 Thread Miroslav Lichvar
On Thu, Mar 27, 2025 at 10:22:31AM +0100, Thomas Gleixner wrote: > On Tue, Mar 25 2025 at 12:32, Miroslav Lichvar wrote: > > Resetting the NTP error causes a small time step. An NTP/PTP client > > can be setting the frequency very frequently, e.g. up to 128 times per > > second and the interval bet

RE: [PATCH 4/4] x86/sgx: Implement ENCLS[EUPDATESVN] and opportunistically call it during first EPC page alloc

2025-03-27 Thread Reshetova, Elena
> On Mon, Mar 24, 2025 at 12:26:38PM +, Reshetova, Elena wrote: > > > > > On Fri, Mar 21, 2025 at 02:34:43PM +0200, Elena Reshetova wrote: > > > > SGX architecture introduced a new instruction called EUPDATESVN [1] > > > > to Ice Lake. It allows updating security SVN version, given that EPC

RE: [PATCH 3/4] x86/sgx: Define error codes for ENCLS[EUPDATESVN]

2025-03-27 Thread Reshetova, Elena
> On Mon, Mar 24, 2025 at 12:21:14PM +, Reshetova, Elena wrote: > > > > > > > On Fri, Mar 21, 2025 at 02:34:42PM +0200, Elena Reshetova wrote: > > > > Add error codes for ENCLS[EUPDATESVN], then SGX CPUSVN update > > > > process can know the execution state of EUPDATESVN. > > > > > > > > > >

[PATCH] kunit: Spelling s/slowm/slow/

2025-03-27 Thread Geert Uytterhoeven
Fix a misspelling of "slow". Signed-off-by: Geert Uytterhoeven --- include/kunit/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/kunit/test.h b/include/kunit/test.h index 58dbab60f8530588..9b773406e01f3c43 100644 --- a/include/kunit/test.h +++ b/include/kunit/t

RE: [PATCH 2/4] x86/sgx: Change counter sgx_nr_free_pages -> sgx_nr_used_pages

2025-03-27 Thread Reshetova, Elena
> On Mon, Mar 24, 2025 at 12:19:37PM +, Reshetova, Elena wrote: > > > > > On Fri, Mar 21, 2025 at 02:34:41PM +0200, Elena Reshetova wrote: > > > > sgx_nr_free_pages is an atomic that is used to keep track of > > > > free EPC pages and detect whenever page reclaiming should start. > > > > Since

RE: [PATCH 1/4] x86/sgx: Add total number of EPC pages

2025-03-27 Thread Reshetova, Elena
> On Mon, Mar 24, 2025 at 12:12:41PM +, Reshetova, Elena wrote: > > > On Fri, Mar 21, 2025 at 02:34:40PM +0200, Elena Reshetova wrote: > > > > In order to successfully execute ENCLS[EUPDATESVN], EPC must be > empty. > > > > SGX already has a variable sgx_nr_free_pages that tracks free > > > >

Re: [PATCH 5/9] rcutorture: Add tests for SRCU up/down reader primitives

2025-03-27 Thread Paul E. McKenney
On Thu, Mar 27, 2025 at 11:26:01AM +0800, Z qiang wrote: > > > > This commit adds a new rcutorture.n_up_down kernel boot parameter > > that specifies the number of outstanding SRCU up/down readers, which > > begin in kthread context and end in an hrtimer handler. There is a new > > kthread ("rcu_t

Re: [PATCH v3 0/2] arm64: livepatch: Enable livepatch without sframe

2025-03-27 Thread Petr Mladek
On Thu 2025-03-20 10:15:57, Song Liu wrote: > There are recent efforts to enable livepatch for arm64, with sframe [1] or > without sframe [2]. This set tries to enable livepatch without sframe. Some > of the code, however, are from [1]. > > Although the sframe implementation is more promising in l

Re: Symbol too long for allsyms warnings on KSYM_NAME_LEN

2025-03-27 Thread Peter Zijlstra
On Thu, Mar 27, 2025 at 09:38:46AM +0100, Arnd Bergmann wrote: > My randconfig builds sometimes (around one in every 700 configs) run > into this warning on x86: > > Symbol > __pfx_sg1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1

Re: [PATCHv4 RESEND net-next 2/2] selftests: wireguard: update to using nft for qemu test

2025-03-27 Thread Phil Sutter
On Fri, Mar 21, 2025 at 12:45:17PM +, Hangbin Liu wrote: > On Fri, Mar 21, 2025 at 12:42:42PM +0100, Phil Sutter wrote: > > Hi Hangbin, > > > > On Fri, Mar 21, 2025 at 10:40:25AM +, Hangbin Liu wrote: > > > Hi Jason, Phil, > > > On Wed, Mar 19, 2025 at 05:15:41PM +0100, Jason A. Donenfeld

[PATCH] clk: test: Forward-declare struct of_phandle_args in kunit/clk.h

2025-03-27 Thread Richard Fitzgerald
Add a forward-declare of struct of_phandle_args to prevent the compiler warning: ../include/kunit/clk.h:29:63: warning: ‘struct of_phandle_args’ declared inside parameter list will not be visible outside of this definition or declaration struct clk_hw *(*get)(struct of_phandle_args *clkspec, vo

[PATCH] vhost_task: fix vhost_task_create() documentation

2025-03-27 Thread Stefano Garzarella
From: Stefano Garzarella Commit cb380909ae3b ("vhost: return task creation error instead of NULL") changed the return value of vhost_task_create(), but did not update the documentation. Reflect the change in the documentation: on an error, vhost_task_create() returns an ERR_PTR() and no longer N

[PATCH] selftest/mm: va_high_addr_switch: add ppc64 support check

2025-03-27 Thread Li Wang
This patch adds PPC64 Radix MMU support to the va_high_addr_switch.sh by introducing check_supported_ppc64(). The function verifies: - 5-level paging (PGTABLE_LEVELS >= 5) enable in kernel config - Radix MMU (required for PPC64 5-level translation) - HugePages availability (needed for some t

Re: [syzbot] [kvm?] [net?] [virt?] INFO: task hung in __vhost_worker_flush

2025-03-27 Thread Stefano Garzarella
On Mon, Aug 19, 2024 at 10:19:44AM -0500, Mike Christie wrote: On 8/16/24 1:17 PM, Michael S. Tsirkin wrote: On Fri, Aug 16, 2024 at 11:10:32AM -0700, Sean Christopherson wrote: On Fri, Aug 16, 2024, syzbot wrote: On Wed, May 29, 2024, syzbot wrote: Hello, syzbot found the following issue on

[GIT PULL] livepatching for 6.15

2025-03-27 Thread Petr Mladek
Hi Linus, please pull the latest changes for the kernel livepatching from git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching.git tags/livepatching-for-6.15 == - Add a selftest for tracing of a livepatched function. - Skip a selftes

Re: [PATCH] virtio: console: Make resize control event handling compliant with spec

2025-03-27 Thread Amit Shah
On Thu, 2025-03-20 at 18:26 +0100, Maximilian Immanuel Brandtner wrote: > According to section 5.3.6.2 of the virtio spec a control buffer with > the event VIRITO_CONSOLE_RESIZE is followed by a > virtio_console_resize > struct containing 2 little endian 16bit integerts cols,rows. The > kernel > im

Re: [RFC PATCH v3 5/8] KVM: arm64: Introduce module param to partition the PMU

2025-03-27 Thread James Clark
On 26/03/2025 8:40 pm, Oliver Upton wrote: On Wed, Mar 26, 2025 at 05:38:34PM +, James Clark wrote: On 25/03/2025 6:32 pm, Colton Lewis wrote: I don't know if this is a stupid idea, but instead of having a fixed number for the partition, wouldn't it be nice if we could trap and increment

Re: [PATCH v2 1/2] time/timekeeping: Fix possible inconsistencies in _COARSE clockids

2025-03-27 Thread Thomas Gleixner
On Tue, Mar 25 2025 at 12:32, Miroslav Lichvar wrote: > On Thu, Mar 20, 2025 at 01:03:00PM -0700, John Stultz wrote: >> +static u64 timekeeping_accumulate(struct timekeeper *tk, u64 offset, >> + enum timekeeping_adv_mode mode, >> + unsigned

Symbol too long for allsyms warnings on KSYM_NAME_LEN

2025-03-27 Thread Arnd Bergmann
My randconfig builds sometimes (around one in every 700 configs) run into this warning on x86: Symbol __pfx_sg1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7g1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l

[PATCH v2 2/2] drivers: remoteproc: stm32_rproc: Allow to specify firmware default name

2025-03-27 Thread Arnaud Pouliquen
Enhance the stm32_rproc driver to allow enabling the configuration of the firmware name based on the 'firmware-name' property in the device tree, offering flexibility compared to using the remote proc device node name. Signed-off-by: Arnaud Pouliquen --- drivers/remoteproc/stm32_rproc.c | 8

[PATCH v2 0/2] stm32-rproc: Add firmware-name DT property support

2025-03-27 Thread Arnaud Pouliquen
Add flexibility by supporting the optional "firmware-name" property. This allows specifying in the device tree the firmware that needs to be loaded on boot, if the "st,auto-boot" DT property is set. Arnaud Pouliquen (2): dt-bindings: remoteproc: stm32-rproc: Add firmware-name property drivers

[PATCH v2 1/2] dt-bindings: remoteproc: stm32-rproc: Add firmware-name property

2025-03-27 Thread Arnaud Pouliquen
Add the 'firmware-name' property to the remote processor binding to allow specifying the default firmware name in the device tree. Signed-off-by: Arnaud Pouliquen --- .../devicetree/bindings/remoteproc/st,stm32-rproc.yaml| 4 1 file changed, 4 insertions(+) diff --git a/Documentati

Re: [PATCH v8 0/7] rust: extend `module!` macro with integer parameter support

2025-03-27 Thread Miguel Ojeda
On Thu, Feb 27, 2025 at 3:39 PM Andreas Hindborg wrote: > > Extend the `module!` macro with support module parameters. Also add some > string > to integer parsing functions and updates `BStr` with a method to strip a > string > prefix. > > Based on code by Adam Bratschi-Kaye lifted from the orig