-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
soc: k64f MPU configured to always allow USB #17834
Conversation
Because NXP MPU's regions are dynamically enabled/disabled, USB device's access maybe restricted when switching out of a task. Background DMA transfers to/from RAM may happen during MPU region reconfiguration or core idling. Enabled USB (Kinetis MPU Master 4) to always have access to RAM address space. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
@agansari one last question - this needs to be back-ported, right? Did we back-port your other similar fix ? |
@ioannisg yes, the last patch was backported to v1.14 |
Yes, that's it i was looking for #17603 |
Ok, then we just back-port the current patch as well |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub.
git fetch
# Create new working tree.
git worktree add .worktrees/backport v1.14-branch
# Navigate to the new directory.
cd .worktrees/backport
# Cherry-pick all the commits of this pull request and resolve the likely conflicts.
git cherry-pick 65fd912ac2624e41ab5868d91d0fef81cd86955d
# Create a new branch with these backported commits.
git checkout -b backport-17834-to-v1.14-branch
# Push it to GitHub.
git push --set-upstream origin backport-17834-to-v1.14-branch
# Go back to the original working tree.
cd ../..
# Delete the working tree.
git worktree remove .worktrees/backport Then, create a pull request where the |
@agansari the automatic backport failed, will you please create a manual backport PR to the 1.14-branch? |
I think he can't because the patch is based on the earlier similar fix, whose back-port PR has not been merged to 1.14 yet |
Because NXP MPU's regions are dynamically enabled/disabled, USB
device's access maybe restricted when switching out of a task.
Background DMA transfers to/from RAM may happen during MPU region
reconfiguration or core idling.
Enabled USB (Kinetis MPU Master 4) to always have access to RAM address
space.
Signed-off-by: Andrei Gansari andrei.gansari@nxp.com
Fixes #17007