From: Randy Dunlap <rdunlap@infradead.org>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
"open list:BROADCOM NVRAM DRIVER" <linux-mips@vger.kernel.org>,
Christoph Hellwig <hch@lst.de>
Subject: question on mips/kernel/setup.c
Date: Sun, 20 Feb 2022 15:56:42 -0800 [thread overview]
Message-ID: <7d6fa84b-2fc8-57ac-f240-e681a4b8c390@infradead.org> (raw)
from commit 14ac09a65e19
Author: Christoph Hellwig <hch@lst.de>
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
next reply other threads:[~2022-02-20 23:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-20 23:56 Randy Dunlap [this message]
2022-02-21 6:06 ` question on mips/kernel/setup.c Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7d6fa84b-2fc8-57ac-f240-e681a4b8c390@infradead.org \
--to=rdunlap@infradead.org \
--cc=hch@lst.de \
--cc=linux-mips@vger.kernel.org \
--cc=tsbogend@alpha.franken.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).