LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Maurizio Lombardi <mlombard@redhat.com>
To: Konrad Rzeszutek Wilk <konrad@darnok.org>
Cc: Mike Rapoport <rppt@kernel.org>,
	bp@alien8.de, tglx@linutronix.de, x86@kernel.org,
	Peter Jones <pjones@redhat.com>,
	konrad@kernel.org, George Kennedy <george.kennedy@oracle.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH V3] iscsi_ibft: fix crash due to KASLR physical memory remapping
Date: Thu, 29 Jul 2021 21:20:58 +0200	[thread overview]
Message-ID: <CAFL455k-wObZ_tZk_OzmLnbP-9+Ay34ExKwg8h971DDZrk-JyQ@mail.gmail.com> (raw)
In-Reply-To: <YQLfU4gzvAJYvBmx@fedora>

čt 29. 7. 2021 v 19:03 odesílatel Konrad Rzeszutek Wilk
<konrad@darnok.org> napsal:
> One part that I think you are saying but just want to double-check is
> that the isa_bus_to_virt() virtual addresses it returns - those are
> different every boot when KASLR is enabled, right?
>

Yes.
If KASLR is disabled, the physical memory is mapped at virtual base
address 0xffff888000000000 (on AMD64);
if enabled, KASLR will randomize it.

Maurizio


  reply	other threads:[~2021-07-29 19:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29 13:52 Maurizio Lombardi
2021-07-29 17:03 ` Konrad Rzeszutek Wilk
2021-07-29 19:20   ` Maurizio Lombardi [this message]
2021-07-29 19:31 ` Mike Rapoport
2021-08-01  2:44   ` Konrad Rzeszutek Wilk
2021-08-10 17:00 ` Christoph Hellwig
2021-08-10 17:55   ` Konrad Rzeszutek Wilk
2021-08-11  6:57     ` Christoph Hellwig
2021-08-11  7:20       ` Mike Rapoport
2021-09-01 16:47 ` Guenter Roeck

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=CAFL455k-wObZ_tZk_OzmLnbP-9+Ay34ExKwg8h971DDZrk-JyQ@mail.gmail.com \
    --to=mlombard@redhat.com \
    --cc=bp@alien8.de \
    --cc=george.kennedy@oracle.com \
    --cc=konrad@darnok.org \
    --cc=konrad@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pjones@redhat.com \
    --cc=rafael@kernel.org \
    --cc=rppt@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --subject='Re: [PATCH V3] iscsi_ibft: fix crash due to KASLR physical memory remapping' \
    /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

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