* + lib-kconfigdebug-add-arch-dependency-for-function_align-option.patch added to -mm tree
@ 2022-03-04 3:51 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-03-04 3:51 UTC (permalink / raw)
To: mm-commits, lkp, guoren, feng.tang, akpm
The patch titled
Subject: lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option
has been added to the -mm tree. Its filename is
lib-kconfigdebug-add-arch-dependency-for-function_align-option.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/lib-kconfigdebug-add-arch-dependency-for-function_align-option.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/lib-kconfigdebug-add-arch-dependency-for-function_align-option.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Feng Tang <feng.tang@intel.com>
Subject: lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option
0Day robots reported there is compiling issue for 'csky' ARCH
when CONFIG_DEBUG_FORCE_DATA_SECTION_ALIGNED is enabled [1]:
All errors (new ones prefixed by >>):
{standard input}: Assembler messages:
>> {standard input}:2277: Error: pcrel offset for branch to .LS000B too far (0x3c)
Which was discussed in [2]. And as there is no solution for csky yet, add
some dependency for this config to limit it to several ARCHs which have no
compiling issue so far.
[1]. https://lore.kernel.org/lkml/202202271612.W32UJAj2-lkp@intel.com/
[2]. https://www.spinics.net/lists/linux-kbuild/msg30298.html
Link: https://lkml.kernel.org/r/20220304021100.GN4548@shbuild999.sh.intel.com
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Feng Tang <feng.tang@intel.com>
Cc: Guo Ren <guoren@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
lib/Kconfig.debug | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/lib/Kconfig.debug~lib-kconfigdebug-add-arch-dependency-for-function_align-option
+++ a/lib/Kconfig.debug
@@ -439,7 +439,8 @@ config SECTION_MISMATCH_WARN_ONLY
If unsure, say Y.
config DEBUG_FORCE_FUNCTION_ALIGN_64B
- bool "Force all function address 64B aligned" if EXPERT
+ bool "Force all function address 64B aligned"
+ depends on EXPERT && (X86_64 || ARM64 || PPC32 || PPC64 || ARC)
help
There are cases that a commit from one domain changes the function
address alignment of other domains, and cause magic performance
_
Patches currently in -mm which might be from feng.tang@intel.com are
lib-kconfigdebug-add-arch-dependency-for-function_align-option.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-04 3:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-04 3:51 + lib-kconfigdebug-add-arch-dependency-for-function_align-option.patch added to -mm tree Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).