On 4/16/25 2:44 AM, Chen Linxuan via B4 Relay wrote:
2. Make it depends on X86 and LOONGARCH,
as I haven't test other architectures
That sounds weird to me. Shouldn't this option be made architecture-
independent?
+config NO_AUTO_INLINE
+ bool "Disable compiler auto-inline optimizat
From: Winston Wen
Presume that kernel is compiled for x86_64 with gcc version 13.3.0:
make defconfig
./scripts/kconfig/merge_config.sh .config <(
echo CONFIG_TCG_TPM=y
echo CONFIG_HW_RANDOM=m
)
make KCFLAGS="-fno-inline-small-functions -fno-inline-functions-called-once"
This res
From: Winston Wen
Presume that kernel is compiled for x86_64 with gcc version 13.3.0:
make defconfig
./scripts/kconfig/merge_config.sh .config <(
echo CONFIG_VFIO=m
echo CONFIG_VIRTIO_PCI=y
echo CONFIG_VIRTIO_PCI_LIB_LEGACY=y
echo CONFIG_VIRTIO_VFIO_PCI=m
echo CONFIG_VIRT
From: Winston Wen
On x86_64 with gcc version 13.3.0, I compile mm/page_alloc.c with:
make defconfig
make KCFLAGS="-fno-inline-small-functions -fno-inline-functions-called-once" \
mm/page_alloc.o
Then I get a compile error:
CALLscripts/checksyscalls.sh
DESCEND objtool
IN
lib/Kconfig.debug | 15 +++
mm/page_alloc.c | 2 +-
6 files changed, 25 insertions(+), 4 deletions(-)
---
base-commit: 1a1d569a75f3ab2923cb62daf356d102e4df2b86
change-id: 20250416-noautoinline-8e9b9e535452
Best regards,
--
Chen Linxuan
From: Winston Wen
On x86_64 with gcc version 13.3.0, I build drivers/nvme/host/pci.c
with:
make defconfig
./scripts/kconfig/merge_config.sh .config <(
echo CONFIG_BLK_DEV_NVME=m
)
make KCFLAGS="-fno-inline-small-functions -fno-inline-functions-called-once" \
drivers/nvme/host/pci
From: Winston Wen
Add a new kernel hacking option CONFIG_NO_AUTO_INLINE that prevents the
compiler from auto-inlining functions not explicitly marked with the
'inline' keyword.
This enhancement improves function tracer capabilities as it can only
trace functions that haven't been inlined by the
On Tue, Apr 15, 2025 at 07:50:13PM +0100, Yeoreum Yun wrote:
Instead of pr_xxx() macro, use dev_xxx() to print log.
This patch changes some error log level to warn log level when
the tpm_crb_ffa secure partition doesn't support properly but
system can run without it.
(i.e) unsupport of direct mes
On Wed, Apr 16, 2025 at 05:44:50PM +0800, Chen Linxuan via B4 Relay wrote:
> From: Winston Wen
>
> Presume that kernel is compiled for x86_64 with gcc version 13.3.0:
>
> make defconfig
> ./scripts/kconfig/merge_config.sh .config <(
> echo CONFIG_TCG_TPM=y
> echo CONFIG_HW_RANDOM=m
>