archive mirror
 help / color / mirror / Atom feed
From: Jiaxun Yang <>
To: Paul Burton <>, Huacai Chen <>
Cc: Paul Burton <>,
	Ralf Baechle <>,
	James Hogan <>,,,
	Fuxin Zhang <>,
	Zhangjin Wu <>,
	Huacai Chen <>
Subject: Re: [PATCH] MIPS: Make sure ebase address is in KSEG0
Date: Sat, 23 Nov 2019 13:08:38 +0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <20191122184731.l7ttfg4evgi4tvcp@lantea.localdomain>

于 2019年11月23日 GMT+08:00 上午2:47:31, Paul Burton <> 写到:
>Hi Huacai,
>On Thu, Nov 21, 2019 at 07:30:20PM +0800, Huacai Chen wrote:
>> Dynamically allocated ebase address above 0x20000000 can be triggered
>> by some special physical memory layout, or just by a "big kernel +
>> initrd + big swiotlb" configuration.
>> For MIPS32, ebase address above 0x20000000 is unusable, for MIPS64 it
>> is usable but this case is warned. However, this warning is useless
>> because it is unfixable in a specific system configuration. So we
>> use CKSEG0 as a fallback.
>I'd prefer that we don't assume there's memory at physical address zero
>- that property doesn't hold for all systems.
>How about the change I suggested previously over here:
>Would that work for you?

Hi Paul

Our problem is, sometimes the ebase from firmware is totally a random address, 
even not inside the memory region. I'd prefer ignore address if it's not valid since the warning here can't deal with it.

>    Paul
Jiaxun Yang

  reply	other threads:[~2019-11-23  5:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-21 11:30 Huacai Chen
2019-11-22 18:47 ` Paul Burton
2019-11-23  5:08   ` Jiaxun Yang [this message]
2019-11-23  6:11     ` Jiaxun Yang
2019-11-24  4:00       ` Huacai Chen
2019-11-25 23:42         ` Paul Burton
2019-11-26  1:55           ` Huacai Chen

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] MIPS: Make sure ebase address is in KSEG0' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).