public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Franck Bui-Huu <franck.bui-huu@innova-card.com>
To: linux-kernel@vger.kernel.org
Subject: [BOOTMEM] bad physical address convertions.
Date: Tue, 05 Apr 2005 09:39:14 +0200	[thread overview]
Message-ID: <425240A2.6020504@innova-card.com> (raw)

Hi,

I'm porting linux on an embedded system based on MIPS proc. I've 
encountered several
problems and one of these is related to the physical memory which 
doesn't start to 0.
This is actually not a big issue if code that makes physical address 
convertions uses the
appropriate macros that do the job.
Unfortunately there are some places in linux where this is not the case.
"bootmem.c" is one of these places. For instance, it does "addr >> 
PAGE_SHIFT"
instead of using "phys_to_pfn" macro in order to convert a physical 
address into a page
frame number.

Are there any interests for a patch which will fix that ?

Regards,

          Franck.


             reply	other threads:[~2005-04-05  7:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-05  7:39 Franck Bui-Huu [this message]
2005-04-05 20:00 ` [BOOTMEM] bad physical address convertions Dave Hansen
2005-04-06  8:30   ` Franck Bui-Huu

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=425240A2.6020504@innova-card.com \
    --to=franck.bui-huu@innova-card.com \
    --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