Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3934257rdg; Wed, 18 Oct 2023 09:56:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEcaPGibCV+ziq30Hs5BwTGJrOau1SCM/gEqcyLcK28S9FA80iGOPIPL4BXEd8pKYI2Gy8A X-Received: by 2002:a17:903:208b:b0:1c9:d25c:17c6 with SMTP id d11-20020a170903208b00b001c9d25c17c6mr4954746plc.1.1697648175689; Wed, 18 Oct 2023 09:56:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697648175; cv=none; d=google.com; s=arc-20160816; b=Ygv+8icgv5MNDhw7tCLtyNVmwI25qdTaUfHyRrMTYJKxIyejTcSe8t9a2/wb5iVCpz EtkD8T328UADmQbITql54sKOgM4CAeQxtJKaOn8vxx3Lm+Ir7glEALi9aLzV+ie5L34e 34ikH7VLJ3oXVl/txwJuLjhvbz9wHrxSi2oi+kmFNKf0cZEGB+4HsDXWFolJ0lR+w/AB S0SQZVBOVx8r6X8i06PMbsYJMtslvyOc2TSckG4D3KDCBl6VcMlWVZs9dwWaZw8FYXy6 W1nfh7C31pTuHY8zYXl9dglJXi1dqn51mwWWaJGOwwOYtf/2M0HKl8I1a/O+WQ5H4m9A A4Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iEiVddyN23iDfzNTu1H4JbYfUqUWWqwzoO+DN6cFAWM=; fh=u8dRyJvPEF73QXyEqgpj3VkHAebZbv2VfqV0cynRMrA=; b=cwzb/vutgeoHyc0yBG2vx95Eiud8dz3rDhDjD2GQvqpRWUx4fyncNvCjv2qQ2p3nvK t9w9EQxtB0wknm+FCMNWohkGHzQ4S7LzfXvJRZRXVMfGwkPtPhX3F5G9M3MWygAqZu7W hQMw/O2SQwP5wgDJOcBZS0pxLn0a8zVtYjCZRHQ/TDdJIcmVolA5ySREPJBkvyemP4QU Ds7L+leG2xoZTQJEX1MqteXHoVEqrDS8VL7UPWyNP8TxdDZ5xEEE/Zx+VqCSEHNYNXOx a4tspOal5mJX4yY1NjlXjj6uIvf5RY65KwIvXmrYZ0X1DUIdZVg2TIrU7eACZNMI/3Zr Uk2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H3cQz036; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id m15-20020a170902bb8f00b001c7245a7fe8si209772pls.524.2023.10.18.09.56.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 09:56:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H3cQz036; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id C2F108028FE6; Wed, 18 Oct 2023 09:56:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229908AbjJRQ4C (ORCPT + 99 others); Wed, 18 Oct 2023 12:56:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231289AbjJRQ4A (ORCPT ); Wed, 18 Oct 2023 12:56:00 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03621118 for ; Wed, 18 Oct 2023 09:55:59 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB57FC433C7; Wed, 18 Oct 2023 16:55:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697648158; bh=FhJt2vNLVuhy7x9s2wmhEtB3RvSozgHH/YZh9yYPj4c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=H3cQz036JQg3nyZgCDH2boZgyUF6nTnxBXrYb7RH6+XduR0hU21m9oh5M6+bCuKYZ J4pg5smzBj5uG44HDZVsNQJNCSIKp25eAlha1DymuL3TVRm/hurMUmHCA79FKXl/ME z0O93xG2uhS1OtXHMLnSzSzuDb2/2ReI0z7GspQ2isDYSGTtJmsidvm33pCdrjdqS2 /g1xPQRCvu1UnCBYJNs2qGfUdcuvyz1NzXDVFVKjfOaNenfXLfWFDRMD44xMIBiB3U ZONOH1PO5UwFdYlrVjIBry1fZMgaOXOs8TRl3KMn6UsrN9XWF6QguZ3jZ3nHZlR8jl 31ZuH141YOH0Q== Date: Wed, 18 Oct 2023 09:55:56 -0700 From: Nathan Chancellor To: Marco Elver Cc: Hamza Mahfooz , linux-kernel@vger.kernel.org, Rodrigo Siqueira , Harry Wentland , Alex Deucher , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , Nick Desaulniers , Tom Rix , kasan-dev@googlegroups.com, llvm@lists.linux.dev, Arnd Bergmann Subject: Re: [PATCH] lib: Kconfig: disable dynamic sanitizers for test builds Message-ID: <20231018165556.GA3842315@dev-arch.thelio-3990X> References: <20231018153147.167393-1-hamza.mahfooz@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 18 Oct 2023 09:56:13 -0700 (PDT) On Wed, Oct 18, 2023 at 06:22:14PM +0200, Marco Elver wrote: > On Wed, 18 Oct 2023 at 17:32, 'Hamza Mahfooz' via kasan-dev > wrote: > > diff --git a/lib/Kconfig.kmsan b/lib/Kconfig.kmsan > > index ef2c8f256c57..eb05c885d3fd 100644 > > --- a/lib/Kconfig.kmsan > > +++ b/lib/Kconfig.kmsan > > @@ -13,6 +13,7 @@ config KMSAN > > depends on HAVE_ARCH_KMSAN && HAVE_KMSAN_COMPILER > > depends on SLUB && DEBUG_KERNEL && !KASAN && !KCSAN > > depends on !PREEMPT_RT > > + depends on !COMPILE_TEST > > KMSAN already selects FRAME_WARN of 0 and should not cause you any > issues during build testing. Yeah, this particular case is a bug in the AMDGPU dml2 Makefile, where CONFIG_FRAME_WARN=0 is not respected. diff --git a/drivers/gpu/drm/amd/display/dc/dml2/Makefile b/drivers/gpu/drm/amd/display/dc/dml2/Makefile index f35ed8de260d..66431525f2a0 100644 --- a/drivers/gpu/drm/amd/display/dc/dml2/Makefile +++ b/drivers/gpu/drm/amd/display/dc/dml2/Makefile @@ -61,7 +61,7 @@ ifneq ($(CONFIG_FRAME_WARN),0) frame_warn_flag := -Wframe-larger-than=2048 endif -CFLAGS_$(AMDDALPATH)/dc/dml2/display_mode_core.o := $(dml2_ccflags) -Wframe-larger-than=2048 +CFLAGS_$(AMDDALPATH)/dc/dml2/display_mode_core.o := $(dml2_ccflags) $(frame_warn_flag) CFLAGS_$(AMDDALPATH)/dc/dml2/display_mode_util.o := $(dml2_ccflags) CFLAGS_$(AMDDALPATH)/dc/dml2/dml2_wrapper.o := $(dml2_ccflags) CFLAGS_$(AMDDALPATH)/dc/dml2/dml2_utils.o := $(dml2_ccflags) I will try to send that patch soon, unless one of the AMDGPU folks wants to beat me to it. Cheers, Nathan