lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqLBuzRYgnYHCdbdO4wneFNPe5_iEfbehvKK5M7bBuiyfA@mail.gmail.com>
Date: Fri, 25 Oct 2024 17:15:53 -0500
From: Rob Herring <robh@...nel.org>
To: Usama Arif <usamaarif642@...il.com>
Cc: mark.rutland@....com, will@...nel.org, leitao@...ian.org, 
	catalin.marinas@....com, tglx@...utronix.de, chris@...kel.net, 
	saravanak@...gle.com, linux-arm-kernel@...ts.infradead.org, 
	linux-kernel@...r.kernel.org, devicetree@...r.kernel.org, 
	kexec@...ts.infradead.org, loongarch@...ts.linux.dev, 
	linux-sh@...r.kernel.org, linux-riscv@...ts.infradead.org, 
	linuxppc-dev@...ts.ozlabs.org, linux-openrisc@...r.kernel.org, 
	linux-mips@...r.kernel.org, linux-csky@...r.kernel.org
Subject: Re: [PATCH v2] of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify

On Wed, Oct 23, 2024 at 12:14 PM Usama Arif <usamaarif642@...il.com> wrote:
>
>  __pa() is only intended to be used for linear map addresses and using
> it for initial_boot_params which is in fixmap for arm64 will give an
> incorrect value. Hence save the physical address when it is known at
> boot time when calling early_init_dt_scan for arm64 and use it at kexec
> time instead of converting the virtual address using __pa().
>
> Reported-by: Breno Leitao <leitao@...ian.org>
> Suggested-by: Mark Rutland <mark.rutland@....com>
> Signed-off-by: Usama Arif <usamaarif642@...il.com>
> Fixes: ac10be5cdbfa ("arm64: Use common of_kexec_alloc_and_setup_fdt()")

This looks fine, but what is the symptom without this compared to
before the above change? The original code in the referenced commit
above didn't remove the reservation at all. Unless the current code
does something worse, this is new functionality more than a fix (for
stable).

Rob

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ