public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Liviu Dudau <liviu@dudau.co.uk>
Cc: "Paul Burton" <paulburton@kernel.org>,
	"John Crispin" <john@phrozen.org>,
	"Arınç ÜNAL" <arinc.unal@arinc9.com>,
	"Sergio Paracuellos" <sergio.paracuellos@gmail.com>,
	linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mips: Move initrd_start check after initrd address sanitisation.
Date: Tue, 23 May 2023 11:05:56 +0200	[thread overview]
Message-ID: <20230523090556.GA9484@alpha.franken.de> (raw)
In-Reply-To: <20230509172921.295700-1-liviu@dudau.co.uk>

On Tue, May 09, 2023 at 06:29:21PM +0100, Liviu Dudau wrote:
> PAGE_OFFSET is technically a virtual address so when checking the value of
> initrd_start against it we should make sure that it has been sanitised from
> the values passed by the bootloader. Without this change, even with a bootloader
> that passes correct addresses for an initrd, we are failing to load it on MT7621
> boards, for example.
> 
> Signed-off-by: Liviu Dudau <liviu@dudau.co.uk>
> ---
>  arch/mips/kernel/setup.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)

applied to mips-fixes.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

      reply	other threads:[~2023-05-23  9:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-09 17:29 [PATCH] mips: Move initrd_start check after initrd address sanitisation Liviu Dudau
2023-05-23  9:05 ` Thomas Bogendoerfer [this message]

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=20230523090556.GA9484@alpha.franken.de \
    --to=tsbogend@alpha.franken.de \
    --cc=arinc.unal@arinc9.com \
    --cc=john@phrozen.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=liviu@dudau.co.uk \
    --cc=paulburton@kernel.org \
    --cc=sergio.paracuellos@gmail.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