On Wed, 22 Nov 2023 at 00:25, Richard Fitzgerald
wrote:
>
> Passing a gfp_t to KUNIT_EXPECT_EQ() causes a cast warning:
>
> lib/kunit/string-stream-test.c:73:9: sparse: sparse: incorrect type in
> initializer (different base types) expected long long right_value
> got restricted gfp_t const
[AMD Official Use Only - General]
> -Original Message-
> From: Meng, Li (Jassmine)
> Sent: Wednesday, November 29, 2023 2:55 PM
> To: Rafael J . Wysocki ; Huang, Ray
>
> Cc: linux...@vger.kernel.org; linux-ker...@vger.kernel.org; x...@kernel.org;
> linux-a...@vger.kernel.org; Shuah Khan
[AMD Official Use Only - General]
> -Original Message-
> From: Meng, Li (Jassmine)
> Sent: Wednesday, November 29, 2023 2:55 PM
> To: Rafael J . Wysocki ; Huang, Ray
>
> Cc: linux...@vger.kernel.org; linux-ker...@vger.kernel.org; x...@kernel.org;
> linux-a...@vger.kernel.org; Shuah Khan
[AMD Official Use Only - General]
> -Original Message-
> From: Meng, Li (Jassmine)
> Sent: Wednesday, November 29, 2023 2:55 PM
> To: Rafael J . Wysocki ; Huang, Ray
>
> Cc: linux...@vger.kernel.org; linux-ker...@vger.kernel.org; x...@kernel.org;
> linux-a...@vger.kernel.org; Shuah Khan
[AMD Official Use Only - General]
> -Original Message-
> From: Meng, Li (Jassmine)
> Sent: Wednesday, November 29, 2023 2:55 PM
> To: Rafael J . Wysocki ; Huang, Ray
>
> Cc: linux...@vger.kernel.org; linux-ker...@vger.kernel.org; x...@kernel.org;
> linux-a...@vger.kernel.org; Shuah Khan
Here is the test result after conversion.
]# ./sctp_vrf.sh
Testing For SCTP VRF:
TEST 01: nobind, connect from client 1, l3mdev_accept=1, Y [PASS]
...
TEST 12: bind vrf-2 & 1 in server, connect from client 1 & 2, N [PASS]
***v6 Tests Done***
Acked-by: David Ahern
Signed-off-by: Hangbin Liu
---
Here is the test result after conversion.
]# ./ndisc_unsolicited_na_test.sh
TEST: test_unsolicited_na: drop_unsolicited_na=0 accept_untracked_na=1
forwarding=1 [ OK ]
TEST: test_unsolicited_na: drop_unsolicited_na=0 accept_untracked_na=0
forwarding=0 [ OK ]
TEST: test_unsolic
Here is the test result after conversion.
]# ./ioam6.sh
--
OUTPUT tests
--
TEST: Unknown IOAM namespace (inline mode) [ OK ]
TES
Here is the test result after conversion.
]# ./icmp.sh
OK
Acked-by: David Ahern
Signed-off-by: Hangbin Liu
---
tools/testing/selftests/net/icmp.sh | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/tools/testing/selftests/net/icmp.sh
b/tools/testing/selftests/net/i
Here is the test result after conversion.
# ./icmp_redirect.sh
###
Legacy routing
###
TEST: IPv4: redirect exception
Here is the test result after conversion.
]# ./traceroute.sh
TEST: IPV6 traceroute [ OK ]
TEST: IPV4 traceroute [ OK ]
Tests passed: 2
Tests failed: 0
Acked-by: David Ahern
Signed-off-by: Hangbin Liu
Here is the test result after conversion.
]# ./drop_monitor_tests.sh
Software drops test
TEST: Capturing active software drops [ OK ]
TEST: Capturing inactive software drops [ OK ]
Hardware drops test
TEST: Capturing active ha
Here is the test result after conversion.
2 tests also failed without this patch
]# ./arp_ndisc_untracked_subnets.sh
TEST: test_arp: accept_arp=0 [ OK ]
TEST: test_arp: accept_arp=1 [ OK ]
TEST: test_arp: a
When do arping, the interface need to be specified. Or we will
get error: Interface "lo" is not ARPable. And the test failed.
]# ./arp_ndisc_untracked_subnets.sh
TEST: test_arp: accept_arp=0 [ OK ]
TEST: test_arp: accept_arp=1
Here is the test result after conversion.
]# ./arp_ndisc_evict_nocarrier.sh
run arp_evict_nocarrier=1 test
ok
run arp_evict_nocarrier=0 test
ok
run all.arp_evict_nocarrier=0 test
ok
run ndisc_evict_nocarrier=1 test
ok
run ndisc_evict_nocarrier=0 test
ok
run all.ndisc_evict_nocarrier=0 test
ok
Ack
Add a lib.sh for net selftests. This file can be used to define commonly
used variables and functions. Some commonly used functions can be moved
from forwarding/lib.sh to this lib file. e.g. busywait().
Add function setup_ns() for user to create unique namespaces with given
prefix name.
Signed-of
As Guillaume pointed, many selftests create namespaces with very common
names (like "client" or "server") or even (partially) run directly in init_net.
This makes these tests prone to failure if another namespace with the same
name already exists. It also makes it impossible to run several instance
On 2023/11/29 17:08, Shameerali Kolothum Thodi wrote:
-Original Message-
From: Lu Baolu [mailto:baolu...@linux.intel.com]
Sent: 26 October 2023 03:49
To: Jason Gunthorpe ; Kevin Tian ;
Joerg Roedel ; Will Deacon ; Robin
Murphy ; Jean-Philippe Brucker
; Nicolin Chen ; Yi Liu
; Jacob Pan
Add DAMON selftests for testing creation/existence of quota goals
directories and files, and simple valid input writes.
Signed-off-by: SeongJae Park
---
tools/testing/selftests/damon/sysfs.sh | 27 ++
1 file changed, 27 insertions(+)
diff --git a/tools/testing/selftests/
Introduce Aim-oriented Feedback-driven DAMOS Aggressiveness Auto-tuning.
It makes DAMOS self-tuned with periodic simple user feedback.
Patchset Changelog
==
>From RFC
(https://lore.kernel.org/damon/20231112194607.61399-1...@kernel.org/)
- Wordsmith commit messages and cover letter
On Sat, 28 Oct 2023 20:34:53 +0100, David Woodhouse wrote:
> Using -MD without -MP causes build failures when a header file is deleted
> or moved. With -MP, the compiler will emit phony targets for the header
> files it lists as dependencies, and the Makefiles won't refuse to attempt
> to rebuild a
On Wed, Nov 29, 2023 at 4:21 PM Nhat Pham wrote:
>
> On Wed, Nov 29, 2023 at 7:17 AM Johannes Weiner wrote:
> >
> > On Mon, Nov 27, 2023 at 03:45:57PM -0800, Nhat Pham wrote:
> > > static void shrink_worker(struct work_struct *w)
> > > {
> > > struct zswap_pool *pool = container_of(w, typ
On Wed, Nov 29, 2023 at 1:18 AM Michal Hocko wrote:
>
> On Tue 28-11-23 08:53:56, Nhat Pham wrote:
> > On Tue, Nov 28, 2023 at 1:38 AM Michal Hocko wrote:
> > >
> > > On Mon 27-11-23 11:36:59, Nhat Pham wrote:
> > > > The new zswap writeback scheme requires an online-only memcg hierarchy
> > > >
On Wed, Nov 29, 2023 at 7:17 AM Johannes Weiner wrote:
>
> On Mon, Nov 27, 2023 at 03:45:57PM -0800, Nhat Pham wrote:
> > static void shrink_worker(struct work_struct *w)
> > {
> > struct zswap_pool *pool = container_of(w, typeof(*pool),
> > sh
On Wed, Nov 29, 2023 at 02:07:58PM -0800, Nicolin Chen wrote:
> On Wed, Nov 29, 2023 at 03:58:04PM -0400, Jason Gunthorpe wrote:
> > On Tue, Nov 28, 2023 at 05:09:07PM -0800, Nicolin Chen wrote:
> >
> > > > > With that being said, I think errno (-EIO) could do the job,
> > > > > as you suggested t
On Wed, Nov 29, 2023 at 5:24 PM Pedro Tammela wrote:
>
> Follow-up on a feedback from Jakub and random cleanups from related
> net/sched patches
>
> Pedro Tammela (4):
> selftests: tc-testing: remove spurious nsPlugin usage
> selftests: tc-testing: remove spurious './' from Makefile
> selfte
On Wed, Nov 29, 2023 at 8:21 AM Johannes Weiner wrote:
>
> On Mon, Nov 27, 2023 at 03:46:00PM -0800, Nhat Pham wrote:
> > Currently, we only shrink the zswap pool when the user-defined limit is
> > hit. This means that if we set the limit too high, cold data that are
> > unlikely to be used again
On Wed, Nov 29, 2023 at 5:11 PM Nico Pache wrote:
>
> ksm functional test is already being run.
> Remove the duplicate call to ./ksm_functional_tests.
>
> Fixes: 93fb70aa5904 ("selftests/vm: add KSM unmerge tests")
> Signed-off-by: Nico Pache
> Cc: David Hildenbrand
> ---
> tools/testing/selfte
Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov :
On Wed, 29 Nov 2023 19:24:20 -0300 you wrote:
> Follow-up on a feedback from Jakub and random cleanups from related
> net/sched patches
>
> Pedro Tammela (4):
> selftests: tc-testing: remove spurious nsPlugin u
Remove this generic file and move the tests to their appropriate files
Signed-off-by: Pedro Tammela
---
.../tc-testing/tc-tests/filters/flower.json | 98 ++
.../tc-testing/tc-tests/filters/matchall.json | 23
.../tc-testing/tc-tests/filters/tests.json| 123 --
Patchwork CI didn't like the extra './', so remove it.
Signed-off-by: Pedro Tammela
---
tools/testing/selftests/tc-testing/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/tc-testing/Makefile
b/tools/testing/selftests/tc-testing/Makefile
index
All tests in this file pertain to flower, so name it appropriately
Signed-off-by: Pedro Tammela
---
.../tc-testing/tc-tests/filters/{concurrency.json => flower.json} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename tools/testing/selftests/tc-testing/tc-tests/filters/{concurrency.json
Tests using DEV2 should not be run in a dedicated net namespace,
and in parallel, as this device cannot be shared.
Signed-off-by: Pedro Tammela
---
.../selftests/tc-testing/tc-tests/filters/tests.json| 6 --
1 file changed, 6 deletions(-)
diff --git a/tools/testing/selftests/tc-test
Follow-up on a feedback from Jakub and random cleanups from related
net/sched patches
Pedro Tammela (4):
selftests: tc-testing: remove spurious nsPlugin usage
selftests: tc-testing: remove spurious './' from Makefile
selftests: tc-testing: rename concurrency.json to flower.json
selftests:
On Wed, Nov 29, 2023 at 03:58:04PM -0400, Jason Gunthorpe wrote:
> On Tue, Nov 28, 2023 at 05:09:07PM -0800, Nicolin Chen wrote:
>
> > > > With that being said, I think errno (-EIO) could do the job,
> > > > as you suggested too.
> > >
> > > Do we have any idea what HW failures can be generated b
On Tue, Nov 21, 2023 at 11:25 AM Richard Fitzgerald
wrote:
>
> Passing a gfp_t to KUNIT_EXPECT_EQ() causes a cast warning:
>
> lib/kunit/string-stream-test.c:73:9: sparse: sparse: incorrect type in
> initializer (different base types) expected long long right_value
> got restricted gfp_t con
On Wed, 29 Nov 2023 15:11:23 +,
Joey Gouly wrote:
>
> Hi Marc,
>
> Thanks for taking a look.
>
> On Mon, Nov 27, 2023 at 06:01:18PM +, Marc Zyngier wrote:
> > On Fri, 24 Nov 2023 16:34:51 +,
> > Joey Gouly wrote:
> > >
> > > Define the new system registers that POE introduces and
On Wed, Nov 29, 2023 at 10:04:05AM -0500, Johannes Weiner wrote:
> On Mon, Nov 27, 2023 at 03:45:56PM -0800, Nhat Pham wrote:
> > The new zswap writeback scheme requires an online-only memcg hierarchy
> > traversal. Add this functionality via the new mem_cgroup_iter_online()
> > function - the old
On Mon, Nov 27, 2023 at 03:46:00PM -0800, Nhat Pham wrote:
> Currently, we only shrink the zswap pool when the user-defined limit is
> hit. This means that if we set the limit too high, cold data that are
> unlikely to be used again will reside in the pool, wasting precious
> memory. It is hard to
To accommodate for legacy devices, we rely on the last state of a
transition to be valid:
for example when we test PEN_IS_OUT_OF_RANGE to PEN_IS_IN_CONTACT,
any "normal" device that reports an InRange bit would insert a
PEN_IS_IN_RANGE state between the 2.
This is of course valid, but this solutio
Some tablets report 2 barrel switches. We better test those too.
Use the same transistions description from the primary button tests.
Signed-off-by: Benjamin Tissoires
---
tools/testing/selftests/hid/tests/test_tablet.py | 67
1 file changed, 67 insertions(+)
diff --gi
On Mon, Nov 27, 2023 at 03:45:58PM -0800, Nhat Pham wrote:
> From: Domenico Cerasuolo
>
> Since zswap now writes back pages from memcg-specific LRUs, we now need a
> new stat to show writebacks count for each memcg.
>
> Suggested-by: Nhat Pham
> Signed-off-by: Domenico Cerasuolo
> Signed-off-b
We can easily subclass PenDigitizer for introducing firmware bugs when
subclassing Pen is harder.
Move move_to from Pen to PenDigitizer so we get that ability
Signed-off-by: Benjamin Tissoires
---
tools/testing/selftests/hid/tests/test_tablet.py | 97
1 file changed, 50
Avoids getting a null event when these usages are set
Signed-off-by: Benjamin Tissoires
---
tools/testing/selftests/hid/tests/test_tablet.py | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/tools/testing/selftests/hid/tests/test_tablet.py
b/tools/testing/selfte
Turns out that there are transitions that are unlikely to happen:
for example, having both the tip switch and a button being changed
at the same time (in the same report) would require either a very talented
and precise user or a very bad hardware with a very low sampling rate.
So instead of manua
Those transitions have nothing to do with `Pen`, so migrate them to
`PenState`.
The hidden agenda is to remove `Pen` and integrate it into `PenDigitizer`
so that we can tweak the events in each state to emulate firmware bugs.
Signed-off-by: Benjamin Tissoires
---
tools/testing/selftests/hid/tes
vmtest.sh works great for a one shot test, but not so much for CI where
I want to build (with different configs) the bzImage in a separate
job than the one I am running it.
Add a "build_only" option to specify whether we need to boot the currently
built kernel in the vm.
Signed-off-by: Benjamin T
Looks like this is a leftover
Signed-off-by: Benjamin Tissoires
---
tools/testing/selftests/hid/tests/test_tablet.py | 4
1 file changed, 4 deletions(-)
diff --git a/tools/testing/selftests/hid/tests/test_tablet.py
b/tools/testing/selftests/hid/tests/test_tablet.py
index 3039ee8d..cd9
Hi,
the main trigger of this series was the XP-Pen issue[0].
Basically, the tablets tests were good-ish but couldn't
handle that tablet both in terms of emulation or in terms
of detection of issues.
So rework the tablets test a bit to be able to include the
XP-Pen patch later, once I have a kerne
On Mon, Nov 27, 2023 at 03:45:57PM -0800, Nhat Pham wrote:
> static void shrink_worker(struct work_struct *w)
> {
> struct zswap_pool *pool = container_of(w, typeof(*pool),
> shrink_work);
> + struct mem_cgroup *memcg;
> int ret, failu
On Mon, Nov 27, 2023 at 03:45:55PM -0800, Nhat Pham wrote:
> The interface of list_lru is based on the assumption that the list node
> and the data it represents belong to the same allocated on the correct
> node/memcg. While this assumption is valid for existing slab objects LRU
> such as dentries
Soft reminder
On 10/24/23 8:51 PM, Muhammad Usama Anjum wrote:
> Correct header file is needed for getting CLOSE_RANGE_* macros.
> Previously it was tested with newer glibc which didn't show the need to
> include the header which was a mistake.
>
> Fixes: ec54424923cf ("selftests: core: remove du
On Tue 28-11-23 08:53:56, Nhat Pham wrote:
> On Tue, Nov 28, 2023 at 1:38 AM Michal Hocko wrote:
> >
> > On Mon 27-11-23 11:36:59, Nhat Pham wrote:
> > > The new zswap writeback scheme requires an online-only memcg hierarchy
> > > traversal. Add a new parameter to mem_cgroup_iter() to check for
>
> -Original Message-
> From: Lu Baolu [mailto:baolu...@linux.intel.com]
> Sent: 26 October 2023 03:49
> To: Jason Gunthorpe ; Kevin Tian ;
> Joerg Roedel ; Will Deacon ; Robin
> Murphy ; Jean-Philippe Brucker
> ; Nicolin Chen ; Yi Liu
> ; Jacob Pan
> Cc: io...@lists.linux.dev; linux-kse
54 matches
Mail list logo