question on mips/kernel/setup.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



from commit 14ac09a65e19
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Wed Feb 10 10:56:38 2021 +0100

    MIPS: refactor the runtime coherent vs noncoherent DMA indicators


Both of these command line options set 'dma_default_coherent' to true.

Is that correct or a typo?  Or it doesn't matter?
Thanks.


arch/mips/kernel/setup.c:

static int __init setcoherentio(char *str)
{
	dma_default_coherent = true;
	pr_info("Hardware DMA cache coherency (command line)\n");
	return 0;
}
early_param("coherentio", setcoherentio);

static int __init setnocoherentio(char *str)
{
	dma_default_coherent = true;
	pr_info("Software DMA cache coherency (command line)\n");
	return 0;
}
early_param("nocoherentio", setnocoherentio);

-- 
~Randy



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux