Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3988988rdg; Wed, 18 Oct 2023 11:24:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGOC09kQL3A6REU/B6THr/sp9gC90NaOgybDR1shLr7mhTuldpjaEFg5qO71vUyBvtZpm39 X-Received: by 2002:a05:6a00:804:b0:6b2:5d32:57d with SMTP id m4-20020a056a00080400b006b25d32057dmr234579pfk.5.1697653490703; Wed, 18 Oct 2023 11:24:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697653490; cv=pass; d=google.com; s=arc-20160816; b=IQAo9drUCwM8jYoOMRmDxtHUBhpaf7xCLEyK0oPzqiQJTooNwwb6A6eU+MbNirrpdW 56RJB08kX5wl4FKTXH7IB+O+U57MPgtRSPjG0tEs2jFlxC95hZhyWkdIMRnvOO4i2mVG dfco1frQNva6Ki9JBosQRu+gxK+TXcmYR81rQzpfRpCqlBZz3B6G26h8vKStlalKetmR gosp/04u77AAOBSZ+TdF0/pTdApE1KJjWcTJ8fENd0nrZcaglvzlcDOmf5lTmkpoXM/M eKBXJsLHczszgI2rdqpI739HojvMt7BrWuSxEKuaIid6LpD7FsX8N6z9XKjENBXmteNb oMgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jScZYWimXlTit2PeLxDoPXYv52JO/PE1vC/Fa5Rnt0Y=; fh=nHR6PQcExCVN2QP7D7cUK4/5HC+IFh/f17nRiWX7JB8=; b=C57iyBO6SRBOiUWMmPt3b+knM14J97Elx8YAnzzLcHwlMk1fOpGbmjFj3y3oLOrS2+ 9dMdqrKAJGPjJ0yxLlPtkQDS+KUR0EJMAvax01N+4mE83jEMTZ/gLj7N9ZVFVXenXiJd wlL+Mdnk/8nqaxA3jTrAH86qX+PLElCwS5EpLtEwA0wodPJrZNtqz5ALfRmb8n8kH8y2 v0cnZz5XpLAhmiJa6UcKdkL1YF7EMH1TQOuzKHyxZuMlf83iwCMd5S+ZW2irXTA5c1Hp VmzTZse1lGUUjsf8byuk6BeU+Mpr6CEXMBLvkFbR9Vjbs/DFnzd07JdSzrn89paxpR+O aSAA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=syhjjikt; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id fa40-20020a056a002d2800b0068fdfe29f0asi4633608pfb.88.2023.10.18.11.24.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 11:24:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=syhjjikt; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id ED41F80FE53D; Wed, 18 Oct 2023 11:24:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231683AbjJRSYk (ORCPT + 99 others); Wed, 18 Oct 2023 14:24:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230421AbjJRSYi (ORCPT ); Wed, 18 Oct 2023 14:24:38 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2082.outbound.protection.outlook.com [40.107.223.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79896116; Wed, 18 Oct 2023 11:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k0RDx3bJPuCuBJ9wynzkEBReHn2FM01wskBg08zW4k9V4hjoGzIBZ6iWqadB9rnMDu5iGydNZifRhGoIs0GntiUGELwFhzErhpB/MJlAxySQbuhhLSfNYAUxBxULWIQYUz7c2l8HOJtACvchRpLS2NDaKhrrrLpGdPTQbHrnrV8zZ2f94jqYySiA5mBoBUbnnMZpvo9naN5JCddt/9cyKJnOloOY71iBQkU14nefjLTm0+dM77eKhrSbAgOWSFemktvUWCeh0R95oiGTU4hqyH92hmkpTWTzl7ghczUvV0dMpEMKWsVGwWGxTpFAOhea+IKryO6xhTW1JunwKAkH5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jScZYWimXlTit2PeLxDoPXYv52JO/PE1vC/Fa5Rnt0Y=; b=bj7Idmsu7l0NHk+AZki6axPNnT054dNkN7sk1ujZuZqO7z34bEbvvuNYxHXYKpx1nCV9eNJBzxmu9nbPQ97uyl1qkxB57dnrxplrvcn07BZ4u/hODkGJm3p6f+rmNXHfv1UCCJxhsdnMLL+baGOviKbiwH8iEuO2RRHuFNLy9E8eFBg5nMQaiRUAzu8pzQYqeDvpPZmVtWYBjF/5kFEXo8jT9HuxlrFBgmMvVdYrQVN2FXReZ54vmZWQMBfYXDWdPsYhYCWImxeYsKi9gXpxRZzJmKAPdvsh8PppizG3ut0v8ywjtIef5lckxMqnSFfmz/0BWem3JlxXu6ie1PzApQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jScZYWimXlTit2PeLxDoPXYv52JO/PE1vC/Fa5Rnt0Y=; b=syhjjikt4Yt/2efI3mWdo53bjjE5ZMpNojlmLNJtGqWdc2PfUQlkmR7dTruM9fTEwl40QULVVUf/wzR7M03+Ch5kX867fk6xTVfB45JyXMwLFsm+MNfXTeU8wpAazSzDI2dvEkln0ul5YmJewKsOuVcdyp2yUU4x8TJMDoen5g4= Received: from DM5PR07CA0118.namprd07.prod.outlook.com (2603:10b6:4:ae::47) by MW5PR12MB5624.namprd12.prod.outlook.com (2603:10b6:303:19d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.24; Wed, 18 Oct 2023 18:24:34 +0000 Received: from DS2PEPF00003441.namprd04.prod.outlook.com (2603:10b6:4:ae:cafe::57) by DM5PR07CA0118.outlook.office365.com (2603:10b6:4:ae::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.23 via Frontend Transport; Wed, 18 Oct 2023 18:24:33 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS2PEPF00003441.mail.protection.outlook.com (10.167.17.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6907.20 via Frontend Transport; Wed, 18 Oct 2023 18:24:33 +0000 Received: from hamza-pc.localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 18 Oct 2023 13:24:31 -0500 From: Hamza Mahfooz To: CC: Rodrigo Siqueira , Harry Wentland , Alex Deucher , "Arnd Bergmann" , Hamza Mahfooz , , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , "Boqun Feng" , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Nick Terrell , Nathan Chancellor , Nick Desaulniers , Tom Rix , Andrew Morton , "Masami Hiramatsu (Google)" , Randy Dunlap , Kees Cook , Zhaoyang Huang , Li Hua , Alexander Potapenko , "Geert Uytterhoeven" , Rae Moar , , , Subject: [PATCH] lib/Kconfig.debug: disable FRAME_WARN for kasan and kcsan Date: Wed, 18 Oct 2023 14:24:11 -0400 Message-ID: <20231018182412.80291-1-hamza.mahfooz@amd.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS2PEPF00003441:EE_|MW5PR12MB5624:EE_ X-MS-Office365-Filtering-Correlation-Id: 1cee09fa-d92a-48b9-a4c4-08dbd0077a59 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2Vc+GWlelbTTNNamBK4X1a4rfZn66Ci9zkdzmBPKtU7edErhOLabCqUjeV5l9mgB+2h/nP1CNNYbYCF+nIi4eH/+WXoKgswnmlli1AMp2sj5KPKUzCqCcmugQ9vTfuyUcwguxar4mCJTD5TW3rxhjks2nEEoHXIkQZUtLBgL0XTi4R/rewaSBsjkC/IF3m+Y3XFC+7/deeTbSLen9eL5eDaJqLDALQvcuMlWbRJK+I/DtbDq20Jckeajx5a8YxEG5VrMsaoUhB6cC40Pl+h88PZJIsUHbvGluXtK6Zwc08v0Kk/xdxC2CSiVQXPW1phfznrEPGeztFilzzb8oUtPOwzYr9A5g27ViOmtHBXPzjpSI1OndLeEfijHzjZuyIBMloeTs55YotRbY/wgQN3bhODadfKFiWZbz6ZAIOyb9nD3phi8d3S4ggdXIeK28sJoWzyC3/YpIC/Mh9UiuWL1yF6aCT5Pmdzn7fsSVvpH3jd7P0YPm1oTXcuM/Fro0I82aH7sTCnYVGQWC/yEi0PV9fdWifGzCfh0i/x0AZTP0jCUYhs4EEQjCCr5WkWtcQZnVZgzdQQgjoB9cEJAACiBfAxvoy8nuqh94MaukuC8JooZs8WOLB/kxw2KEkQHs9YVUJtKh7O3WqiaBZ9AOBtA/2ZyS38OIPUufxQoDO/F2u8I3UvceItruwI5QorhQcwtVocTxx2jF1OTR8/mZ1a86bAdugbgLO47cIFBN3KzZE7ncEsgGGLwPtH6OlKSqHgAqTvFZvR/IPwEyWuZUZbtyU6RDOGuKqvqUU80SvC3JlXGQp/y8V/9kKXrDEYoEznd X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(396003)(346002)(376002)(136003)(39860400002)(230922051799003)(186009)(1800799009)(64100799003)(82310400011)(451199024)(36840700001)(40470700004)(46966006)(47076005)(4744005)(36860700001)(40460700003)(6666004)(7416002)(83380400001)(70586007)(70206006)(40480700001)(54906003)(6916009)(316002)(2906002)(41300700001)(8676002)(8936002)(4326008)(16526019)(26005)(356005)(44832011)(82740400003)(81166007)(86362001)(478600001)(5660300002)(336012)(36756003)(2616005)(1076003)(426003)(36900700001)(16060500005);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 18:24:33.8319 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1cee09fa-d92a-48b9-a4c4-08dbd0077a59 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS2PEPF00003441.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR12MB5624 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 18 Oct 2023 11:24:48 -0700 (PDT) With every release of LLVM, both of these sanitizers eat up more and more of the stack. So, set FRAME_WARN to 0 if either of them is enabled for a given build. Cc: stable@vger.kernel.org Signed-off-by: Hamza Mahfooz --- lib/Kconfig.debug | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 39d1d93164bd..15ad742729ca 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -429,11 +429,10 @@ endif # DEBUG_INFO config FRAME_WARN int "Warn for stack frames larger than" range 0 8192 - default 0 if KMSAN + default 0 if KASAN || KCSAN || KMSAN default 2048 if GCC_PLUGIN_LATENT_ENTROPY default 2048 if PARISC default 1536 if (!64BIT && XTENSA) - default 1280 if KASAN && !64BIT default 1024 if !64BIT default 2048 if 64BIT help -- 2.42.0