Re: [PATCH v2 5/7] virtio-mem: s390 support

2024-10-20 Thread Christian Borntraeger
Am 15.10.24 um 10:37 schrieb Heiko Carstens: On Mon, Oct 14, 2024 at 09:16:45PM +0200, David Hildenbrand wrote: On 14.10.24 20:48, Heiko Carstens wrote: On Mon, Oct 14, 2024 at 04:46:17PM +0200, David Hildenbrand wrote: to dump. Based on this, support for dumping virtio-mem memory can be H

Re: [PATCH v4 5/6] AutoFDO: Enable machine function split optimization for AutoFDO

2024-10-20 Thread Masahiro Yamada
On Tue, Oct 15, 2024 at 6:33 AM Rong Xu wrote: > > Enable the machine function split optimization for AutoFDO in Clang. > > Machine function split (MFS) is a pass in the Clang compiler that > splits a function into hot and cold parts. The linker groups all > cold blocks across functions together.

Re: [PATCH v4 4/6] AutoFDO: Enable -ffunction-sections for the AutoFDO build

2024-10-20 Thread Masahiro Yamada
On Tue, Oct 15, 2024 at 6:33 AM Rong Xu wrote: > > Enable -ffunction-sections by default for the AutoFDO build. > > With -ffunction-sections, the compiler places each function in its own > section named .text.function_name instead of placing all functions in > the .text section. In the AutoFDO bui

Re: [PATCH v4 3/6] Change the symbols order when --ffuntion-sections is enabled

2024-10-20 Thread Masahiro Yamada
On Tue, Oct 15, 2024 at 6:33 AM Rong Xu wrote: > > When the -ffunction-sections compiler option is enabled, each function > is placed in a separate section named .text.function_name rather than > putting all functions in a single .text section. > > However, using -function-sections can cause probl

Re: [PATCH v4 6/6] Add Propeller configuration for kernel build.

2024-10-20 Thread Masahiro Yamada
Please remove the period at the end of the commit subject. On Tue, Oct 15, 2024 at 6:34 AM Rong Xu wrote: > > Add the build support for using Clang's Propeller optimizer. Like > AutoFDO, Propeller uses hardware sampling to gather information > about the frequency of execution of different code

Re: [PATCH v4 1/6] Add AutoFDO support for Clang build

2024-10-20 Thread Masahiro Yamada
On Tue, Oct 15, 2024 at 6:33 AM Rong Xu wrote: > +Customization > += > + > +You can enable or disable AutoFDO build for individual file and directories > by > +adding a line similar to the following to the respective kernel Makefile: Perhaps, it might be worth mentioning that kern

Re: [PATCH v5 09/10] RISC-V: KVM: Allow Smnpm and Ssnpm extensions for guests

2024-10-20 Thread Anup Patel
On Thu, Oct 17, 2024 at 1:58 AM Samuel Holland wrote: > > The interface for controlling pointer masking in VS-mode is henvcfg.PMM, > which is part of the Ssnpm extension, even though pointer masking in > HS-mode is provided by the Smnpm extension. As a result, emulating Smnpm > in the guest requir

Re: [PATCH v4 0/6] Add AutoFDO and Propeller support for Clang build

2024-10-20 Thread Masahiro Yamada
On Sun, Oct 20, 2024 at 12:31 PM Nathan Chancellor wrote: > > Hi Masahiro and Andrew, > > Top posting only for visibility. Would it make more sense to have this > land via the Kbuild tree or -mm? The core of the series really touches > Kbuild and I think the x86 stuff can just land with Acks, unle