Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp31698pxb; Tue, 12 Apr 2022 15:59:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/jOQV5xT+clQtWXzF+3s1UyzcKJDLiHz0alh9WjZaGP85+rRmyWqeyQgylZabHws3AhuK X-Received: by 2002:a17:90b:3889:b0:1c6:408b:6b0f with SMTP id mu9-20020a17090b388900b001c6408b6b0fmr7401990pjb.43.1649804395219; Tue, 12 Apr 2022 15:59:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649804395; cv=none; d=google.com; s=arc-20160816; b=L0xV1OFkjWDEct9uOwyw2eoJA17LFfiFUd92CvoTrxrzILfo8br1Faf/P3ZMFtTplx 3779gN3Rr3KFlRFLXImTuv6tVNY9v4lMPh11ZNLAJn6IL36e6yts8iFBnlQmoo0rptCJ DeaUcJ1WaQ9yUg7i5Yq1xvN2nlbxrmtt6872AhXxEaw+YJQRzBiQMJr1EqRkRJRB+pqR srdeMcr8wroGtroDbPuK0+4hN9MevGKLp6F2OCb5KUxV6XzdbE2OGgojO+uYZCsNGFkN ictU/JH0fDJF3Qm2KLSD+zYjTR7BtcLQuq4gbX/gsN3vjDcBT9H2p+m8mqJKa+ajvdYX YNxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RUV9xqV8nY/48U4P1IVLCaQz9C+kCvHSEblFnWzh4n4=; b=1Jdp3oZJ3nyga6fqax11c7lHg3pw2ueK/i0knyeHVeYW4Bgw1LhY4OI47kaY/7Unys yHIl34ci+zfAhjjuZAz3voArsjtaRtIIUpGjedlTMY0ezJcTnIl2fScU7Mya7zBxVB4U SnTjeyLre/ljrppsJWYYs+CJNc8S0Y659xx2aC5/N2klZQEXR0MsZb+XaUQl9NiwquoC VEM5J6MKegMrteQ7KatH23DFJjordgGyHrrpVet3TXmDMoNE+aejb/5yH4K4RCmoGLNs J887rvJcTWsRLFIfnZFW1AofP5EUtIwOKKiMEN/mzUXCrAZV8nGZNdX58etq0BkjjZoJ 7lUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VpocLXV6; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h6-20020a17090a604600b001cb7551c772si9515989pjm.163.2022.04.12.15.59.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 15:59:55 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VpocLXV6; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B79DC1DBA84; Tue, 12 Apr 2022 14:41:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234421AbiDLHpK (ORCPT + 99 others); Tue, 12 Apr 2022 03:45:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354358AbiDLHRh (ORCPT ); Tue, 12 Apr 2022 03:17:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9BAC26C; Mon, 11 Apr 2022 23:59:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 879EEB81B35; Tue, 12 Apr 2022 06:59:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 017E1C385A1; Tue, 12 Apr 2022 06:58:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649746739; bh=WRt7HnKTXNE8SO5Nu5oTjmtD7PiNouryP/oWaHn/zvM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VpocLXV6chCON2pDJbmQ2cgJ+cwE0kqfyrCXdlI0K234kGXTWWmbn4zfLH4WcvCgv /MihvTWWc1dONT5NXLZlHTdnQABJIuLcjxHIxaT/kJPvs3mvaCjnjpFLh0gv7IkHxu sL7PqFH6L+/RjqCltVt6ShknUT1tiAar3hucGtaY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Feng Tang , Guo Ren , Andrew Morton , Linus Torvalds , Sasha Levin Subject: [PATCH 5.16 111/285] lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option Date: Tue, 12 Apr 2022 08:29:28 +0200 Message-Id: <20220412062946.869153703@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220412062943.670770901@linuxfoundation.org> References: <20220412062943.670770901@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Feng Tang [ Upstream commit 1bf18da62106225dbc47aab41efee2aeb99caccd ] 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 Signed-off-by: Feng Tang Cc: Guo Ren Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Sasha Levin --- lib/Kconfig.debug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 5e14e32056ad..166e67b98506 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -416,7 +416,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 -- 2.35.1