mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sergey Shtylyov <s.shtylyov@omp.ru>
To: Jiaxun Yang <jiaxun.yang@flygoat.com>,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Huacai Chen <chenhuacai@kernel.org>, <linux-mips@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <stable@vger.kernel.org>
Subject: Re: [PATCH fixes 1/3] MIPS: Loongson64: Reserve vgabios memory on boot
Date: Wed, 1 Nov 2023 19:21:57 +0300	[thread overview]
Message-ID: <ad90b43e-896a-fd51-4aac-8ded927fb0e5@omp.ru> (raw)
In-Reply-To: <20231101-loongson64_fixes-v1-1-2a2582a4bfa9@flygoat.com>

On 11/1/23 2:39 PM, Jiaxun Yang wrote:

> vgabios is passed from firmware to kernel on Loongson64 systems.
> Sane firmware will keep this pointer in reserved memory space
> passed from the firmware but insane firmware keeps it in low
> memory before kernel entry that is not reserved.
> 
> Previously kernel won't try to allocate memory from low memory
> before kernel entry on boot, but after converting to memblock
> it will do that.
> 
> Fix by resversing those memory on early boot.

   Reserving? :-)

> Cc: stable@vger.kernel.org
> Fixes: a94e4f24ec83 ("MIPS: init: Drop boot_mem_map")
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
[...]

MBR, Sergey

  reply	other threads:[~2023-11-01 16:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-01 11:39 [PATCH fixes 0/3] MIPS: Loongson64: Fix some long-term issues Jiaxun Yang
2023-11-01 11:39 ` [PATCH fixes 1/3] MIPS: Loongson64: Reserve vgabios memory on boot Jiaxun Yang
2023-11-01 16:21   ` Sergey Shtylyov [this message]
2023-11-01 11:39 ` [PATCH fixes 2/3] MIPS: Loongson64: Enable DMA noncoherent support Jiaxun Yang
2023-11-01 16:27   ` Sergey Shtylyov
2023-11-01 11:39 ` [PATCH fixes 3/3] MIPS: Loongson64: Handle more memory types passed from firmware Jiaxun Yang

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=ad90b43e-896a-fd51-4aac-8ded927fb0e5@omp.ru \
    --to=s.shtylyov@omp.ru \
    --cc=chenhuacai@kernel.org \
    --cc=jiaxun.yang@flygoat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=tsbogend@alpha.franken.de \
    /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

all inboxes | Powered by JetHome®