-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: drivers: uart_async_api: fix userspace fault #78023
tests: drivers: uart_async_api: fix userspace fault #78023
Conversation
ddb032b
to
547fb59
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pay attention to what I did in this PR https://github.com/zephyrproject-rtos/zephyr/pull/71900/files
@@ -0,0 +1,2 @@ | |||
# Userspace is unable to access the nocache region. | |||
CONFIG_USERSPACE=n |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please explain this change in the commit message, and maybe the 1064 conf/overlay should be a separate commit, is it fixing the same issue? why is it only for rt1064? original issue was reported on rt1010
547fb59
to
df265b1
Compare
Greetings @dcpleung and @andrewboie , I was wondering if you could take a look at this PR? |
Which test fails? There is a test |
commit message is out of date |
df265b1
to
e7aeda7
Compare
@@ -81,9 +81,6 @@ tests: | |||
harness_config: | |||
fixture: gpio_loopback | |||
depends_on: gpio | |||
platform_allow: | |||
- nucleo_f746zg | |||
- nucleo_h723zg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better not change this but add supported platform instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was trying to see why this was added, what platforms are failing if this is not here? Also I was going to confirm if this part of the yaml file is even working, when I build with these two nucleo platforms, the extra Kconfig did not appear, neither did they appear for any of the rt series which is causing the tests to fail, however if I manually add the extra Kconfigs on the command line, the rt series passes.
@dcpleung @danieldegrasse
What am I missing from the file with this information?
Added DNM tag, platforms are not passing right now |
05fb3b6
to
53dbab9
Compare
@EmilioCBen , now all board testing PASS with CONFIG_USERSPACE=n for mcux series, but there is a annoying message for this case, for uart driver.
why send thie error message
this is not related to this fixing PR. maybe we can work this with a new PR. Thanks |
Thank you @hakehuang, I can look into this error message! |
Updated overlay files to test using nocache. and run outside of usersapce mode to avoid inaccessible memory regions when using nocache on RT parts. Also updated testcase file to reflect nocache testing. Signed-off-by: Emilio Benavente <[email protected]>
53dbab9
to
f240bac
Compare
Fixes #71983