Skip to content

aarch64: default should disable SPAN#8

Closed
yeanwang666 wants to merge 1 commit intoStarry-OS:mainfrom
yeanwang666:sync-disable-span
Closed

aarch64: default should disable SPAN#8
yeanwang666 wants to merge 1 commit intoStarry-OS:mainfrom
yeanwang666:sync-disable-span

Conversation

@yeanwang666
Copy link
Copy Markdown

aarch64: default should disable SPAN
Signed-off-by: Weikang Guo guoweikang@kylinos.cn

Signed-off-by: Weikang Guo <guoweikang@kylinos.cn>

// Enable the MMU and turn on I-cache and D-cache
SCTLR_EL1.modify(SCTLR_EL1::M::Enable + SCTLR_EL1::C::Cacheable + SCTLR_EL1::I::Cacheable);
// Enable SPAN
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit confused. Are we going to enable SPAN or disable it? @guoweikang

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok,l will reply you later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants