Re: [PATCH 5/5] KVM: VMX: Always honor guest PAT on CPUs that support self-snoop

2024-09-01 Thread Yan Zhao
On Fri, Aug 30, 2024 at 03:47:11PM +0200, Vitaly Kuznetsov wrote: > Gerd Hoffmann writes: > > >> Necroposting! > >> > >> Turns out that this change broke "bochs-display" driver in QEMU even > >> when the guest is modern (don't ask me 'who the hell uses bochs for > >> modern guests', it was basic

[PATCH v2] modpost: compile constant module information only once

2024-09-01 Thread Thomas Weißschuh
Various information about modules is compiled into the info sections. For that a dedicated .mod.c file is generated by modpost for each module and then linked into the module. However most of the information in the .mod.c is the same for all modules, internal and external. Split the shared informat

[PATCH] dax: Remove an unused field in struct dax_operations

2024-09-01 Thread Christophe JAILLET
.dax_supported() was apparently removed by commit 7b0800d00dae ("dax: remove dax_capable") on 2021-11. Remove the now unused function pointer from the struct dax_operations. Signed-off-by: Christophe JAILLET --- Slightly compile tested only, but "git grep dax_supported" now returns nothing. ---

Re: [PATCH] hwspinlock: improve locking safety by using raw_spinlock_t

2024-09-01 Thread Wen Yang
On 2024/8/27 00:37, Bjorn Andersson wrote: On Sat, Aug 24, 2024 at 10:38:47PM GMT, Wen Yang wrote: Both __hwspin_trylock and __hwspin_unlock use hwlock->lock, and require running in atomic context, with a special annotation: function will never sleep. However, this requirement is not fulfille

Re: [PATCH v2 03/19] gendwarfksyms: Add address matching

2024-09-01 Thread Masahiro Yamada
On Fri, Aug 16, 2024 at 2:39 AM Sami Tolvanen wrote: > > The compiler may choose not to emit type information in DWARF for all > aliases, but it's possible for each alias to be exported separately. > To ensure we find type information for the aliases as well, read > {section, address} tuples from

Re: [PATCH v2 02/19] gendwarfksyms: Add symbol list handling

2024-09-01 Thread Masahiro Yamada
On Fri, Aug 16, 2024 at 2:39 AM Sami Tolvanen wrote: > > Add support for passing a list of exported symbols to gendwarfksyms > via stdin and filter out non-exported symbols from the output. > > Signed-off-by: Sami Tolvanen > --- > */ > @@ -40,7 +82,7 @@ int process_die_container(struct state *

Re: [PATCH v2 18/19] x86/asm-prototypes: Include

2024-09-01 Thread Masahiro Yamada
On Fri, Aug 16, 2024 at 2:39 AM Sami Tolvanen wrote: > > refers to struct pt_regs, make sure it's visible. > > Signed-off-by: Sami Tolvanen Then, why don't you include from arch/x86/include/asm/ftrace.h instead of from arch/x86/include/asm/asm-prototypes.h And, this patch can get in indepen