All of lore.kernel.org
 help / color / mirror / Atom feed
* ZICBOM and SVPBMT in same system
@ 2023-03-07 20:58 Ben Dooks
  2023-03-07 20:58 ` [PATCH 1/2] riscv: alternatives: add 3-config alternative set Ben Dooks
  2023-03-07 20:58 ` [PATCH 2/2] riscv: mm: add pgprot_dmacoherent for zicbom Ben Dooks
  0 siblings, 2 replies; 10+ messages in thread
From: Ben Dooks @ 2023-03-07 20:58 UTC (permalink / raw)
  To: linux-riscv; +Cc: palmer, aou, heiko.stuebner, conor.dooley, ajones

It is possible to have a system with both of these in the risc,isa
string and if so they do not work well with the dma memory allocator.

Fix this up by adding a new pgprog_dmacoherent which returns either
non-cached if SVPBMT only, or cached iff there is ZICBOM and thus
cache management operations.



_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-03-24 17:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07 20:58 ZICBOM and SVPBMT in same system Ben Dooks
2023-03-07 20:58 ` [PATCH 1/2] riscv: alternatives: add 3-config alternative set Ben Dooks
2023-03-07 21:31   ` Conor Dooley
2023-03-08  9:34     ` Ben Dooks
2023-03-07 20:58 ` [PATCH 2/2] riscv: mm: add pgprot_dmacoherent for zicbom Ben Dooks
2023-03-08  9:35   ` Ben Dooks
2023-03-08 10:13     ` Conor Dooley
2023-03-08 13:19     ` heiko
2023-03-08 14:48       ` Ben Dooks
2023-03-24 17:30         ` Ben Dooks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.