[PATCH v3 0/2] Zicbom block size fixes and cleanups

Palmer Dabbelt palmer at rivosinc.com
Thu Sep 8 16:14:31 PDT 2022


On Tue, 06 Sep 2022 00:45:07 PDT (-0700), ajones at ventanamicro.com wrote:
> I collected a couple patches that were necessary for another series.
> Since some changes were required to the second patch I'm posting in
> case it simplifies things.
>
> v3:
>  - Applied Anup's move change first to ensure the second patch can
>    compile with Heiko's change.
>
> v2:
>  - First attempt at sending a fixed-up version of the second patch,
>    which mistakenly included Heiko's change without Anup's change.
>
> v1:
>  - The original patches on the list
>    1. [PATCH v2 2/4] RISC-V: Move riscv_init_cbom_blocksize() to cacheflush.c
>       20220829125226.511564-5-apatel at ventanamicro.com
>    2. [PATCH v2] RISC-V: Clean up the Zicbom block size probing
>       20220812154010.18280-1-palmer at rivosinc.com
>
> Anup Patel (1):
>   RISC-V: Move riscv_init_cbom_blocksize() to cacheflush.c
>
> Palmer Dabbelt (1):
>   RISC-V: Clean up the Zicbom block size probing

Sorry I dropped the ball on this one, but having the fix depend on a 
refactoring isn't the right way to go as those refactorings aren't 
supposed to end up on fixes.  I merged it without the move into 
palmer/riscv-zicbom_fix, but the jet lag is starting to kick in so I'm 
going to not merge it onto fixes for this week.

>
>  arch/riscv/errata/thead/errata.c    |  1 +
>  arch/riscv/include/asm/cacheflush.h |  2 ++
>  arch/riscv/kernel/setup.c           |  2 +-
>  arch/riscv/mm/cacheflush.c          | 40 +++++++++++++++++++++++++++++
>  arch/riscv/mm/dma-noncoherent.c     | 40 ++---------------------------
>  5 files changed, 46 insertions(+), 39 deletions(-)



More information about the linux-riscv mailing list