From: John Keller <jpk@sgi.com>
To: bwalle@suse.de (Bernhard Walle)
Cc: linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ia64: SN specific version of dma_get_required_mask()
Date: Tue, 18 Nov 2008 08:08:11 -0600 (CST) [thread overview]
Message-ID: <200811181408.mAIE8BHH057134@fcbayern.americas.sgi.com> (raw)
In-Reply-To: <20081117173930.35342b31@hale.suse.de> from "Bernhard Walle" at Nov 17, 2008 05:39:30 PM
>
> * John Keller [2008-11-17 10:24]:
> >
> > Create a platform specific version of dma_get_required_mask()
> > for ia64 SN Altix. All SN Altix platforms support 64 bit DMA
> > addressing regardless of the size of system memory.
> > Create a ia64 machvec for dma_get_required_mask, with the
> > SN version unconditionally returning DMA_64BIT_MASK.
>
> Maybe we should then switch the ia64_platform_is("sn2")
> in check_crashkernel_memory() to dma_get_required_mask() ==
> DMA_64BIT_MASK because that's basically what the check is about.
>
> BTW: What about UV?
>
>
> Regards,
> Bernhard
> --
> Bernhard Walle, SUSE Linux Products GmbH, Architecture Development
>
This patch addresses a problem on SN Altix systems with < 4GB, where
device drivers using the dma_get_required_mask() API would be told
to use 32 bit DMA, when 64 bit is more efficient.
How exactly the use of dma_get_required_mask() relates to the crash
kernel code you refer to is unclear to me.
If, for all platforms, the crash kernel code could use the mask returned
from dma_get_required_mask() to do its check, then switching the code
might be OK. But, if that's not possible for some platforms, then I'd
wonder if dma_get_required_mask() is being used in the wrong context in
this case.
For UV systems, the default/generic dma_get_required_mask() will be used,
returning a value based on the size of system memory.
John
next prev parent reply other threads:[~2008-11-18 14:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 16:24 John Keller
2008-11-17 16:39 ` Bernhard Walle
2008-11-18 14:08 ` John Keller [this message]
2008-11-18 15:35 ` Luck, Tony
2008-11-18 15:53 ` John Keller
2008-11-23 13:37 ` Bernhard Walle
2008-11-25 20:50 ` John Keller
2008-11-19 4:07 ` FUJITA Tomonori
2008-11-19 16:12 John Keller
2008-11-20 4:49 ` FUJITA Tomonori
2008-11-20 22:57 ` John Keller
2008-11-21 5:11 ` FUJITA Tomonori
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=200811181408.mAIE8BHH057134@fcbayern.americas.sgi.com \
--to=jpk@sgi.com \
--cc=bwalle@suse.de \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®