zephyr/tests/posix/common
Chris Friedt b6aed5c505 kernel: dynamic: use 4k stack size for x86
x86 architectures require a dynamic stack size that is a multiple
of 4096 bytes due to mmu restrictions.

For example, this test would previously fail when using the
default dynamic stack size of 1024 bytes for 32-bit
platforms.

```
west build -p auto -b qemu_x86/atom/nopae -t run \
  tests/posix/common/ -- -DCONFIG_USERSPACE=y
```

It would pass with an additional argument
```
west build -p auto -b qemu_x86/atom/nopae -t run \
  tests/posix/common/ -- -DCONFIG_USERSPACE=y \
  -DCONFIG_DYNAMIC_THREAD_STACK_SIZE=4096
```

Add a special default for x86 when using dynamic thread stacks.

The x86 default removes the need for `boards/qemu_x86*.conf`,
with the exception of `qemu_x86_tiny`.

qemu_x86_tiny did not have sufficient memory (or configuration)
to run the non-userspace tests, so bump up the available ram
from 256k to 512k for this test and clone the .conf from the
demand paging tests.

Eventually, the common posix test should be split into more
concise functional categories.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-10-05 14:13:18 -04:00
..
boards kernel: dynamic: use 4k stack size for x86 2024-10-05 14:13:18 -04:00
src lib: posix: mutex: stubs remaining of _POSIX_THREAD_PRIO_PROTECT 2024-08-05 11:32:43 +02:00
CMakeLists.txt
Kconfig
prj.conf posix: create kconfig options for pse51, pse52, pse53 2024-06-04 16:27:12 -05:00
testcase.yaml tests: posix: common: test userspace as well 2024-10-03 17:07:05 +01:00