Re: [PATCH 1/6] MIPS/malta: simplify plat_setup_iocoherency

2021-02-20 Thread Maciej W. Rozycki
On Wed, 10 Feb 2021, Christoph Hellwig wrote: > Given that plat_mem_setup runs before earlyparams are handled and malta > selects CONFIG_DMA_MAYBE_COHERENT, coherentio can only be set to > IO_COHERENCE_DEFAULT at this point. So remove the checking for other > options and merge

[PATCH 1/6] MIPS/malta: simplify plat_setup_iocoherency

2021-02-10 Thread Christoph Hellwig
Given that plat_mem_setup runs before earlyparams are handled and malta selects CONFIG_DMA_MAYBE_COHERENT, coherentio can only be set to IO_COHERENCE_DEFAULT at this point. So remove the checking for other options and merge plat_enable_iocoherency into plat_setup_iocoherency to simplify the code

[PATCH 1/6] MIPS/malta: simplify plat_setup_iocoherency

2021-02-08 Thread Christoph Hellwig
Merge plat_enable_iocoherency into plat_setup_iocoherency to simplify the code a bit. Signed-off-by: Christoph Hellwig --- arch/mips/mti-malta/malta-setup.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/arch/mips/mti-malta/malta-setup.c