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

Commits on Apr 11, 2024

  1. riscv: mm: support icache&tlb HW broadcast on xuantie

    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 <[email protected]>
    cp0613 committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    e067b59 View commit details
    Browse the repository at this point in the history