Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH] hugemmap24: Exclude RISC-V from the powerpc slice layout
@ 2026-08-24  8:23 Victor Cheng-Yen Yang via ltp
  2026-08-24  8:54 ` [LTP] " linuxtestproject.agent
  2026-09-04  9:15 ` [LTP] [PATCH] " Andrea Cervesato via ltp
  0 siblings, 2 replies; 3+ messages in thread
From: Victor Cheng-Yen Yang via ltp @ 2026-08-24  8:23 UTC (permalink / raw)
  To: ltp

Exclude RISC-V with the same way loongarch is excluded from the powerpc
1TB slices branch.

Signed-off-by: Victor Cheng-Yen Yang <cyyang772@andestech.com>
---
 testcases/kernel/mem/hugetlb/hugemmap/hugemmap24.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap24.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap24.c
index 0de44d58a..882752792 100644
--- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap24.c
+++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap24.c
@@ -28,7 +28,8 @@ static int init_slice_boundary(int fd)
 	unsigned long slice_size;
 	void *p, *heap;
 	int i;
-#if defined(__LP64__) && !defined(__aarch64__) && !defined(__loongarch__)
+#if defined(__LP64__) && !defined(__aarch64__) && !defined(__loongarch__) && \
+	!defined(__riscv)
 	/* powerpc: 1TB slices starting at 1 TB */
 	slice_boundary = 0x10000000000;
 	slice_size = 0x10000000000;
-- 
2.34.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-04  9:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-24  8:23 [LTP] [PATCH] hugemmap24: Exclude RISC-V from the powerpc slice layout Victor Cheng-Yen Yang via ltp
2026-08-24  8:54 ` [LTP] " linuxtestproject.agent
2026-09-04  9:15 ` [LTP] [PATCH] " Andrea Cervesato via ltp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox