[PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2023-12-01 Thread Simon Glass
Add a script which produces a Flat Image Tree (FIT), a single file containing the built kernel and associated devicetree files. Compression defaults to gzip which gives a good balance of size and performance. The files compress from about 86MB to 24MB using this approach. The FIT can be used by b

[PATCH v9 0/2] arm64: Add a build target for Flat Image Tree

2023-12-01 Thread Simon Glass
Flat Image Tree (FIT) is a widely used file format for packaging a kernel and associated devicetree files[1]. It is not specific to any one bootloader, as it is supported by U-Boot, coreboot, Linuxboot, Tianocore and Barebox. This series adds support for building a FIT as part of the kernel build.

Re: [PATCH v8 2/2] arm64: boot: Support Flat Image Tree

2023-12-01 Thread Masahiro Yamada
On Sat, Dec 2, 2023 at 3:09 AM Simon Glass wrote: > > Hi Masahiro, > > On Fri, 1 Dec 2023 at 10:30, Masahiro Yamada wrote: > > > > On Fri, Dec 1, 2023 at 5:34 AM Simon Glass wrote: > > > > > > Add a script which produces a Flat Image Tree (FIT), a single file > > > containing the built kernel an

Re: [RFC 05/33] KVM: x86: hyper-v: Introduce VTL call/return prologues in hypercall page

2023-12-01 Thread Nicolas Saenz Julienne
On Fri Dec 1, 2023 at 5:47 PM UTC, Sean Christopherson wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you can confirm the sender and know the > content is safe. > > > > On Fri, Dec 01, 2023, Nicolas Saenz Julienne wrote: >

Re: [PATCH v8 2/2] arm64: boot: Support Flat Image Tree

2023-12-01 Thread Simon Glass
Hi Masahiro, On Fri, 1 Dec 2023 at 10:30, Masahiro Yamada wrote: > > On Fri, Dec 1, 2023 at 5:34 AM Simon Glass wrote: > > > > Add a script which produces a Flat Image Tree (FIT), a single file > > containing the built kernel and associated devicetree files. > > Compression defaults to gzip whic

Re: [RFC 05/33] KVM: x86: hyper-v: Introduce VTL call/return prologues in hypercall page

2023-12-01 Thread Sean Christopherson
On Fri, Dec 01, 2023, Nicolas Saenz Julienne wrote: > On Fri Dec 1, 2023 at 4:32 PM UTC, Sean Christopherson wrote: > > On Fri, Dec 01, 2023, Nicolas Saenz Julienne wrote: > > > > To support this I think that we can add a userspace msr filter on the > > > > HV_X64_MSR_HYPERCALL, > > > > although I

Re: [PATCH v8 2/2] arm64: boot: Support Flat Image Tree

2023-12-01 Thread Masahiro Yamada
On Fri, Dec 1, 2023 at 5:34 AM Simon Glass wrote: > > Add a script which produces a Flat Image Tree (FIT), a single file > containing the built kernel and associated devicetree files. > Compression defaults to gzip which gives a good balance of size and > performance. > > The files compress from a

Re: [RFC 05/33] KVM: x86: hyper-v: Introduce VTL call/return prologues in hypercall page

2023-12-01 Thread Nicolas Saenz Julienne
On Fri Dec 1, 2023 at 4:32 PM UTC, Sean Christopherson wrote: > On Fri, Dec 01, 2023, Nicolas Saenz Julienne wrote: > > > To support this I think that we can add a userspace msr filter on the > > > HV_X64_MSR_HYPERCALL, > > > although I am not 100% sure if a userspace msr filter overrides the > >

Re: [PATCH v3] docs: dt-bindings: add DTS Coding Style document

2023-12-01 Thread Conor Dooley
On Sat, Nov 25, 2023 at 07:44:22PM +0100, Krzysztof Kozlowski wrote: > +Indentation > +--- > + > +1. Use indentation according to :ref:`codingstyle`. One thing Jonathan mentioned before to me was to drop this :ref: stuff. | > +:ref:`devicetree-abi` more information on the ABI. | | ...can

Re: [RFC 05/33] KVM: x86: hyper-v: Introduce VTL call/return prologues in hypercall page

2023-12-01 Thread Sean Christopherson
On Fri, Dec 01, 2023, Nicolas Saenz Julienne wrote: > > To support this I think that we can add a userspace msr filter on the > > HV_X64_MSR_HYPERCALL, > > although I am not 100% sure if a userspace msr filter overrides the > > in-kernel msr handling. > > I thought about it at the time. It's not

Re: [RFC 06/33] KVM: x86: hyper-v: Introduce VTL awareness to Hyper-V's PV-IPIs

2023-12-01 Thread Nicolas Saenz Julienne
On Tue Nov 28, 2023 at 7:14 AM UTC, Maxim Levitsky wrote: > On Wed, 2023-11-08 at 11:17 +, Nicolas Saenz Julienne wrote: > > HVCALL_SEND_IPI and HVCALL_SEND_IPI_EX allow targeting specific a > > specific VTL. Honour the requests. > > > > Signed-off-by: Nicolas Saenz Julienne > > --- > > arch/

Re: [RFC 05/33] KVM: x86: hyper-v: Introduce VTL call/return prologues in hypercall page

2023-12-01 Thread Nicolas Saenz Julienne
On Tue Nov 28, 2023 at 7:08 AM UTC, Maxim Levitsky wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you can confirm the sender and know the > content is safe. > > > > On Wed, 2023-11-08 at 11:17 +, Nicolas Saenz Julienne

Re: [PATCH 00/21] Initial cleanups for vCPU hotplug

2023-12-01 Thread Thomas Gleixner
On Fri, Dec 01 2023 at 12:28, Greg Kroah-Hartman wrote: > I can take them, will do so this weekend when I catch up on patches on a > 14+ hour flight... Thanks a lot!

Re: [RFC 02/33] KVM: x86: Introduce KVM_CAP_APIC_ID_GROUPS

2023-12-01 Thread Nicolas Saenz Julienne
Hi Maxim, On Tue Nov 28, 2023 at 6:56 AM UTC, Maxim Levitsky wrote: > On Wed, 2023-11-08 at 11:17 +, Nicolas Saenz Julienne wrote: > > From: Anel Orazgaliyeva > > > > Introduce KVM_CAP_APIC_ID_GROUPS, this capability segments the VM's APIC > > ids into two. The lower bits, the physical APIC i

Re: [PATCH 00/21] Initial cleanups for vCPU hotplug

2023-12-01 Thread Greg Kroah-Hartman
On Fri, Dec 01, 2023 at 12:25:54PM +0100, Thomas Gleixner wrote: > Russell! > > On Tue, Nov 21 2023 at 13:43, Russell King wrote: > > This series aims to switch most architectures over to using generic CPU > > devices rather than arch specific implementations, which I think is > > worthwhile doing

Re: [PATCH 00/21] Initial cleanups for vCPU hotplug

2023-12-01 Thread Thomas Gleixner
Russell! On Tue, Nov 21 2023 at 13:43, Russell King wrote: > This series aims to switch most architectures over to using generic CPU > devices rather than arch specific implementations, which I think is > worthwhile doing even if the vCPU hotplug series needs further work. I went through the whol

Re: [PATCH 08/21] drivers: base: Implement weak arch_unregister_cpu()

2023-12-01 Thread Thomas Gleixner
On Tue, Nov 21 2023 at 13:44, Russell King wrote: > --- > An open question remains from the RFC v2 posting: should we provide a > __weak stub for !HOTPLUG_CPU as well, since in later patches ACPI may > reference this if the compiler doesn't optimise as we expect? You mean: extern void foo(void);

Re: [PATCH 01/21] arch_topology: Make register_cpu_capacity_sysctl() tolerant to late CPUs

2023-12-01 Thread Thomas Gleixner
On Tue, Nov 21 2023 at 13:43, Russell King wrote: > --- > If the offline CPUs thing is a problem for the tools that consume > this value, we'd need to move cpu_capacity to be part of cpu.c's > common_cpu_attr_groups. However, attempts to discuss this just end > up in a black hole, so this is a non-

Re: [PATCH 00/21] Initial cleanups for vCPU hotplug

2023-12-01 Thread Thomas Gleixner
On Tue, Nov 21 2023 at 13:43, Russell King wrote: > The majority of the other patches come from the vCPU hotplug RFC v3 > series I posted earlier, rebased on Linus' current tip, but with some > new patches adding arch_cpu_is_hotpluggable() as the remaining > arch_register_cpu() functions only diffe