[PATCH v2 2/2] util/grub-install-common: Print usable grub-mkimage command

2023-09-22 Thread Glenn Washburn
When grub-install is run with the verbose option, it will print a log message indicating the grub-mkimage command and arguments used. GRUB no longer calls the grub-mkimage binary internally, however the command logged is a command that if run should effectively be what grub-install used. However, a

[PATCH v2 0/2] util/grub-install-common: Print usable grub-mkimage command

2023-09-22 Thread Glenn Washburn
This fixes an issue where grub-install does not print a grub-mkimage command, when running in verbose more, that can be run by grub-mkimage. Specifically, --dtb and --sbat will not take empty strings as arguments. changes from v1: - Split into two patches to make changes more clear, no other code

[PATCH v2 1/2] util/grub-install-common: Minor improvements to printing of grub-mkimage command

2023-09-22 Thread Glenn Washburn
This is a prepratory patch to make the following patch less cluttered. The only visible change made here is to not print extra spaces when either or both --note or --disable-shim-lock are not given and to not print an extra space at the end of the command. The latter is done by constructing the tra

Re: [PATCH] kern/ieee1275/init: ppc64: Restrict high memory in presence of fadump

2023-09-22 Thread Daniel Kiper
On Wed, Aug 02, 2023 at 11:48:18AM -0400, Stefan Berger wrote: > When a kernel dump is present then restrict the high memory regions to > avoid allocating memory where the kernel dump resides. Use the > ibm,kernel-dump node under /rtas to determine whether a kernel dump exists > and up to which lim

Re: [PATCH] LoongArch: Eliminate cmodel compilation warnings

2023-09-22 Thread Daniel Kiper
On Mon, Sep 18, 2023 at 02:42:42PM +0800, Xiaotian Wu wrote: > 在 2023-09-14星期四的 16:26 +0200,Daniel Kiper写道: > > On Tue, Aug 29, 2023 at 04:39:09PM +0200, Daniel Kiper wrote: > > > On Thu, Aug 24, 2023 at 09:04:01PM +0800, Xiaotian Wu wrote: > > > > In the configure phase, the "-mcmodel=large" CFLAG