commit | b28da4a3b7472af5d0b59485de8b2c664b885f7b | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Mon Feb 22 14:31:11 2021 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Mar 08 11:14:27 2021 -0500 |
tree | 8579112affdd3c2fed203626a924cacdf7b061db | |
parent | 64cf33952da37bd0a497b87aff047dd9615f0fc5 [diff] |
arch/xtensa: Invalidate bottom of outbound stacks Both new thread creation and context switch had the same mistake in cache management: the bottom of the stack (the "unused" region between the lower memory bound and the live stack pointer) needs to be invalidated before we switch, because otherwise any dirty lines we might have left over can get flushed out on top of the same thread on another CPU that is putting live data there. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>