All of lore.kernel.org
 help / color / mirror / Atom feed
From: Subash Patel <subashrp@gmail.com>
To: linux-samsung-soc@vger.kernel.org
Subject: mis-match in VMALLOC_END value for exynos
Date: Fri, 30 Mar 2012 11:53:02 +0530	[thread overview]
Message-ID: <4F755146.3030801@gmail.com> (raw)

Hello,

I observed below address limitation changes in below versions of the kernel

linux-3.2: VMALLOC_END=0xF6000000
linux-3.3-rc5: VMALLOC_END=0xFF000000

What is happening is, when I use the SYSMMU to allocate and remap the 
memory, I need the consistent dma region. Hence I need to call 
init_consistent_dma_size() to increase the default address range of 2M. 
Inside this function there is a BUG_ON(base < VMALLOC_END); base is set 
to the value of CONSISTENT_END(0xffe00000UL) - ALIGN(size, SZ_2M); For 
any sizes greater than 8M, I generally dont enter the VMALLOC range. But 
when the consistent DMA size is big, it overlaps with the VMALLOC area.

Can anyone of you please tell me why this change was removed from the 
exynos files in 3.3 (and above also I think) kernel?

Regards,
Subash

                 reply	other threads:[~2012-03-30  6:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4F755146.3030801@gmail.com \
    --to=subashrp@gmail.com \
    --cc=linux-samsung-soc@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 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.