Some common KVM test cases are supported on LoongArch now as following:
coalesced_io_test
demand_paging_test
dirty_log_perf_test
dirty_log_test
guest_print_test
hardware_disable_test
kvm_binary_stats_test
kvm_create_max_vcpus
kvm_page_table_test
memslot_modification_stress_test
Add ucall test support for LoongArch, ucall method on LoongArch uses
undefined mmio area. It will cause vCPU exiting to hypervisor so that
hypervisor can communicate with vCPU.
Signed-off-by: Bibo Mao
---
.../selftests/kvm/include/loongarch/ucall.h | 20 ++
.../selftests/kvm/lib/loonga
This patchset adds KVM selftests for LoongArch system, currently only
some common test cases are supported and pass to run. These test cases
are listed as following:
coalesced_io_test
demand_paging_test
dirty_log_perf_test
dirty_log_test
guest_print_test
hardware_disable_tes
Add core KVM selftests support for LoongArch, it includes exception
handler, mmu page table setup and vCPU startup entry support.
Signed-off-by: Bibo Mao
---
.../selftests/kvm/lib/loongarch/exception.S | 59 +++
.../selftests/kvm/lib/loongarch/processor.c | 342 ++
2 files c
Add KVM selftests header files for LoongArch, including processor.h
and kvm_util_arch.h. It mainly contains LoongArch CSR register
and page table entry definition.
Signed-off-by: Bibo Mao
---
.../testing/selftests/kvm/include/kvm_util.h | 5 +
.../kvm/include/loongarch/kvm_util_arch.h |
On LoongArch system, 16K page is used in general and GVA width is 47 bit
and GPA width is 47 bit also, here add new VM mode VM_MODE_P47V47_16K.
Signed-off-by: Bibo Mao
---
tools/testing/selftests/kvm/include/kvm_util.h | 1 +
tools/testing/selftests/kvm/lib/kvm_util.c | 3 +++
2 files change
On 2025/4/26 上午8:34, Sean Christopherson wrote:
On Mon, Apr 21, 2025, Bibo Mao wrote:
Add KVM selftests header files for LoongArch, including processor.h
and kvm_util_base.h.
Nit, kvm_util_arch.h, not kvm_util_base.h. I only noticed because I still have
nightmares about kvm_util_base.h. :-
On Sun, Apr 27, 2025 at 08:11:43AM +0800, xiaolei wang wrote:
>
>On 4/27/25 04:14, Mathieu Poirier wrote:
>> CAUTION: This email comes from a non Wind River email account!
>> Do not click links or open attachments unless you recognize the sender and
>> know the content is safe.
>>
>> On Sat, 26 A
On Sat, Apr 26, 2025 at 03:47:50PM -0600, Mathieu Poirier wrote:
>On Sat, 26 Apr 2025 at 06:41, Peng Fan wrote:
>>
>> On Wed, Apr 23, 2025 at 04:21:56PM -0300, Hiago De Franco wrote:
>> >Hi Mathieu,
>> >
>> >On Wed, Apr 23, 2025 at 11:14:17AM -0600, Mathieu Poirier wrote:
>> >> Good morning,
>> >>
On 4/27/25 04:14, Mathieu Poirier wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know
the content is safe.
On Sat, 26 Apr 2025 at 07:46, xiaolei wang wrote:
On 4/26/25 21:18, Peng Fan wrote:
On Sat, 26 Apr 2025 at 07:46, xiaolei wang wrote:
>
>
> On 4/26/25 21:18, Peng Fan wrote:
> > CAUTION: This email comes from a non Wind River email account!
> > Do not click links or open attachments unless you recognize the sender and
> > know the content is safe.
> >
> > On Sat, Apr 26, 2025 at
On Sat, 26 Apr 2025 at 06:41, Peng Fan wrote:
>
> On Wed, Apr 23, 2025 at 04:21:56PM -0300, Hiago De Franco wrote:
> >Hi Mathieu,
> >
> >On Wed, Apr 23, 2025 at 11:14:17AM -0600, Mathieu Poirier wrote:
> >> Good morning,
> >>
> >> On Wed, Apr 23, 2025 at 12:51:31PM -0300, Hiago De Franco wrote:
>
> On Apr 26, 2025, at 3:06 PM, Jon Kohler wrote:
>
>
>
>> On Apr 24, 2025, at 8:11 AM, Michael S. Tsirkin wrote:
>>
>> !---|
>> CAUTION: External Email
>>
>> |---
> On Apr 24, 2025, at 8:11 AM, Michael S. Tsirkin wrote:
>
> !---|
> CAUTION: External Email
>
> |---!
>
> On Thu, Apr 24, 2025 at 01:48:53PM +0200, Paolo Abeni wrot
The pull request you sent on Sat, 26 Apr 2025 07:30:45 +0100:
> https://github.com/openrisc/linux.git tags/for-linus
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ec0c2d5359e2f288d75d98465829d31c6d26da47
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.ke
Create modules.builtin.modinfo as a combination of modinfo from vmlinux
and the result of generating modalias by modpost.
Signed-off-by: Alexey Gladkov
---
scripts/Makefile.vmlinux | 30 +++---
1 file changed, 27 insertions(+), 3 deletions(-)
diff --git a/scripts/Makefil
In order to avoid symbol conflicts if they appear in the same binary, a
more unique alias identifier can be generated.
Signed-off-by: Alexey Gladkov
---
include/linux/module.h | 14 --
scripts/mod/file2alias.c | 18 ++
2 files changed, 26 insertions(+), 6 deletions(
The creation of modules.builtin.modinfo is going to depend on
.vmlinux.export.o so it is worth moving its creation closer to it.
Signed-off-by: Alexey Gladkov
---
scripts/Makefile.vmlinux | 26 ++
scripts/Makefile.vmlinux_o | 26 +-
2 files chang
For some modules, modalias is generated using the modpost utility and
the section is added to the module file.
When a module is added inside vmlinux, modpost does not generate
modalias for such modules and the information is lost.
As a result kmod (which uses modules.builtin.modinfo in userspace)
The __MODULE_INFO macros always use __MODULE_INFO_PREFIX. The only way
to use a different prefix is to override __MODULE_INFO_PREFIX, which is
not very useful.
The new macro will be used in file2alias.c to generate modalias for
builtin modules.
Signed-off-by: Alexey Gladkov
---
include/linux/mo
Define MODULE_DEVICE_TABLE only if a structure is defined for it.
drivers/scsi/BusLogic.c:3735:26: error: use of undeclared identifier
'blogic_pci_tbl'
3735 | MODULE_DEVICE_TABLE(pci, blogic_pci_tbl);
| ^
1 error generated.
Fixes: 1079a2d251f2 ("[SCSI] BusLogic: s
The name used in the macro does not exist.
drivers/mfd/stmpe-spi.c:132:26: error: use of undeclared identifier 'stmpe_id'
132 | MODULE_DEVICE_TABLE(spi, stmpe_id);
| ^
1 error generated.
Fixes: e789995d5c61 ("mfd: Add support for STMPE SPI interface")
Cc: Lee Jone
The modules.builtin.modinfo file is used by userspace (kmod to be specific) to
get information about builtin modules. Among other information about the module,
information about module aliases is stored. This is very important to determine
that a particular modalias will be handled by a module that
On Sat, Apr 26, 2025 at 08:45:38AM -0700, Randy Dunlap wrote:
>
>
> On 4/25/25 11:00 PM, Stafford Horne wrote:
> > Hi Randy,
> >
> > On Fri, Apr 25, 2025 at 08:08:15PM -0700, Randy Dunlap wrote:
> >> Since openrisc does not support PERF_EVENTS, omit the HDRTEST of
> >> bpf_perf_event.h for arch/
On 4/25/25 11:00 PM, Stafford Horne wrote:
> Hi Randy,
>
> On Fri, Apr 25, 2025 at 08:08:15PM -0700, Randy Dunlap wrote:
>> Since openrisc does not support PERF_EVENTS, omit the HDRTEST of
>> bpf_perf_event.h for arch/openrisc/.
>>
>> Fixes a build error:
>> usr/include/linux/bpf_perf_event.h:1
Simplest setup to reproduce the issue: connect 2 ports of the
LS1028A-RDB together (eno0 with swp0) and run:
$ ip link set eno0 up && ip link set swp0 up
$ tc qdisc replace dev swp0 parent root handle 100 taprio num_tc 8 \
queues 1@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 map 0 1 2 3 4 5 6 7 \
This snippet will be necessary for a future isochron-based test, so
provide a simpler high-level interface for counting the received
packets.
Signed-off-by: Vladimir Oltean
---
tools/testing/selftests/drivers/net/ocelot/psfp.sh | 7 +--
tools/testing/selftests/net/forwarding/tsn_lib.sh | 1
Make out-of-band testing (send a packet when its traffic class gate is
closed, expecting it to be delayed) more predictable by allowing the
window size to be customized by isochron_do().
>From man isochron-send, the window size alters the advance time (the
delta between the transmission time of th
Add a forwarding path test for tc-taprio, based on isochron. This is
specifically intended for NICs with an offloaded data path (switchdev/DSA)
and requires taprio 'flags 2'. Also, $h1 and $h2 must support hardware
timestamping, and $h1 tc-etf offload, for isochron to work.
Packets received by a s
Richie Pearn presented a reproducible situation where traffic would get
blocked on the NXP LS1028A switch if a certain taprio schedule was
applied, and stepping the PTP clock would take place. The latter event
is an expected initial occurrence, but also at runtime, for example when
transitioning fr
On 4/26/25 21:18, Peng Fan wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know
the content is safe.
On Sat, Apr 26, 2025 at 02:53:47PM +0800, Xiaolei Wang wrote:
When rproc->state = RPROC_DETACH
On Wed, Apr 23, 2025 at 04:21:56PM -0300, Hiago De Franco wrote:
>Hi Mathieu,
>
>On Wed, Apr 23, 2025 at 11:14:17AM -0600, Mathieu Poirier wrote:
>> Good morning,
>>
>> On Wed, Apr 23, 2025 at 12:51:31PM -0300, Hiago De Franco wrote:
>> > From: Hiago De Franco
>> >
>> > The "clocks" device tree
On Sat, Apr 26, 2025 at 02:53:47PM +0800, Xiaolei Wang wrote:
>When rproc->state = RPROC_DETACHED and rproc_attach() is used
>to attach to the remote processor, if rproc_handle_resources()
>returns a failure, the resources allocated by rproc_prepare_device()
>should be released, otherwise the follo
Hi Thomas,
On Wed, Apr 23, 2025 at 05:01:30PM +0200, Thomas Weißschuh wrote:
> A few functions used by different selftests.
> Adding them now avoids later conflicts between different selftest serieses.
>
> Also add full support for nolibc-test.c on riscv32.
> All unsupported syscalls have been re
On Wed, Apr 23, 2025 at 05:01:43PM +0200, Thomas Weißschuh wrote:
> +static __attribute__((unused))
> +FILE *fopen(const char *pathname, const char *mode)
> +{
> + int flags, fd;
> +
> + if (!strcmp(mode, "r"))
> + flags = O_RDONLY;
> + else if (!strcmp(mode, "w"))
> +
kernel test robot writes:
> All errors (new ones prefixed by >>):
>
>arch/powerpc/net/bpf_jit_comp64.c: In function 'bpf_jit_build_body':
>>> arch/powerpc/net/bpf_jit_comp64.c:814:4: error: a label can only be part of
>>> a statement and a declaration is not a statement
> 814 |bool
On Wed, Apr 23, 2025 at 05:01:42PM +0200, Thomas Weißschuh wrote:
> This is used in various selftests and will be handy when integrating
> those with nolibc.
It could be useful to add a small note here mentioning that the test
takes care of the optional OS support, and will run it only if started
On Wed, Apr 23, 2025 at 05:01:41PM +0200, Thomas Weißschuh wrote:
> This is used in various selftests and will be handy when integrating
> those with nolibc.
>
> Signed-off-by: Thomas Weißschuh
> ---
> tools/include/nolibc/time.h | 7 +++
> tools/testing/selftests/nolibc/nol
On Wed, Apr 23, 2025 at 05:01:40PM +0200, Thomas Weißschuh wrote:
> diff --git a/tools/include/nolibc/sys/timerfd.h
> b/tools/include/nolibc/sys/timerfd.h
> new file mode 100644
> index
> ..2d61fc76fe9a9ba7571f52ff157a8a4807d7d9c9
> --- /dev/null
> +++ b/to
Hi Thomas,
On Wed, Apr 23, 2025 at 05:01:35PM +0200, Thomas Weißschuh wrote:
> --- /dev/null
> +++ b/tools/include/nolibc/sys/random.h
> @@ -0,0 +1,32 @@
> +/* SPDX-License-Identifier: LGPL-2.1 OR MIT */
> +/*
> + * random definitions for NOLIBC
> + * Copyright (C) 2025 Thomas Weißschuh
> + */
>
On 4/24/25 9:56 AM, Lijuan Gao wrote:
>
>
> 在 4/23/2025 5:34 PM, Konrad Dybcio 写道:
>> On 4/23/25 11:17 AM, Lijuan Gao wrote:
>>> Add nodes for remoteprocs: ADSP and CDSP for QCS615 SoC to enable proper
>>> remoteproc functionality.
>>>
>>> Signed-off-by: Lijuan Gao
>>> ---
[...]
>>> + r
On 4/26/25 15:27, Bui Quang Minh wrote:
Currently, in zerocopy mode with mergeable receive buffer, virtio-net
does not support multi buffer but a single buffer only. This commit adds
support for multi mergeable receive buffer in the zerocopy XDP path by
utilizing XDP buffer with frags.
Signed-of
Currently, in zerocopy mode with mergeable receive buffer, virtio-net
does not support multi buffer but a single buffer only. This commit adds
support for multi mergeable receive buffer in the zerocopy XDP path by
utilizing XDP buffer with frags.
Signed-off-by: Bui Quang Minh
---
drivers/net/vir
43 matches
Mail list logo