linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@linux.intel.com>
To: Yinghai Lu <yinghai@kernel.org>, WANG Chao <chaowang@redhat.com>
Cc: Kees Cook <keescook@chromium.org>,
	Zhang Yanfei <zhangyanfei@cn.fujitsu.com>,
	Vivek Goyal <vgoyal@redhat.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: kaslr relocation incompitable with kernel loaded high
Date: Mon, 21 Apr 2014 10:57:56 -0700	[thread overview]
Message-ID: <53555C24.1070100@linux.intel.com> (raw)
In-Reply-To: <CAE9FiQWf+3hMZbt7Ac+vgL+8kqqQS4LKVGmWgrd5fJ4nkSgmPA@mail.gmail.com>

On 04/21/2014 10:56 AM, Yinghai Lu wrote:
>>
>> 32-bit relocation outside of kernel!
> 
> Interesting, when kernel get at "early console in decompress_kernel"
> kernel already in 64 bit...
> 
> what does it mean "32-bit relocation outside of kernel" ?
> 
> why 32-bit is involved ?
> 

Most addresses and immediates on 64 bits are 32 bits wide, which is why
we have the high kernel mapping in the first place.

	-hpa



  reply	other threads:[~2014-04-21 17:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-21 10:52 kaslr relocation incompitable with kernel loaded high WANG Chao
2014-04-21 17:56 ` Yinghai Lu
2014-04-21 17:57   ` H. Peter Anvin [this message]
2014-04-21 18:01   ` Kees Cook
2014-04-22  3:16     ` WANG Chao
2014-04-22  4:58       ` Yinghai Lu
2014-04-22  5:28         ` WANG Chao
2014-04-22 18:14           ` Kees Cook

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=53555C24.1070100@linux.intel.com \
    --to=hpa@linux.intel.com \
    --cc=chaowang@redhat.com \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vgoyal@redhat.com \
    --cc=yinghai@kernel.org \
    --cc=zhangyanfei@cn.fujitsu.com \
    /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).