Skip to content
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

riscv: mm: support icache&tlb HW broadcast on xuantie #18

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

cp0613
Copy link
Contributor

@cp0613 cp0613 commented Apr 11, 2024

By configuring flush-tlb-range and flush-icache-range in DTS to enable the HW broadcast feature of Xuantie CPU, soft broadcasting is avoided and system performance is improved.

The DTS example as follows:

cpus {
    ...
    flush-icache-range = <1>;
    flush-tlb-range = <1>;
    cpu@0 {
    ...

By configuring `flush-tlb-range` and `flush-icache-range` in DTS to enable the
HW broadcast feature of Xuantie CPU, soft broadcasting is avoided and system
performance is improved.

The DTS example as follows:
```
cpus {
    ...
    flush-icache-range = <1>;
    flush-tlb-range = <1>;
    cpu@0 {
    ...
```

Signed-off-by: Chen Pei <cp0613@linux.alibaba.com>
@guoren83 guoren83 merged commit a08f2e5 into XUANTIE-RV:linux-6.6 Apr 15, 2024
9 checks passed
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.

2 participants