Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5370003rwr; Mon, 8 May 2023 23:56:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53FhumCkiutROhWA77H09HhAdLfkBZIH/EHGFuir3gGjTer4OuNYxO7k6R5FW5KSsj1eTO X-Received: by 2002:a17:902:8f95:b0:1a1:bfe8:4fae with SMTP id z21-20020a1709028f9500b001a1bfe84faemr14014007plo.43.1683615412452; Mon, 08 May 2023 23:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683615412; cv=none; d=google.com; s=arc-20160816; b=hCMoi/3z2CiNMbtZpiKpztZ3Vm0BKkAwzl9ludXvulcEj5+tXfdg7nrKOK4Xd65Co0 hgKDG0PiBOV+1z+IH0jmWQSHEuSla68eRVDNr9XdnZwLcLRhOIArE5GnZHe4ABZtgl0t 02m/rO4XiHvkaM3q18fEHYGh8M9hspgwaYABA57ZdqIhlAtzBC+LuJd6uyZqagqTI7e3 sRvtltbgpqmw7WPqGc+nHG0bAQN8KY5hCaoYVYzz6s7HHAZc9cJ7vvrAD+3zIMPUhJQ8 NI79GH51LObyRIthNnZsiaMQCo9o8umP3Ouf1DQN4+kTugx15qXT/cDIoySVUzsfTyQu UbOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=tNh34Inbfs9+JxEVHEh2ZN9dcrWa6GJ0yyJB7NB/2sE=; b=Dffw6E35Rnpb6dnY+0pFwdSVqe6QhTlw1jl95nw8hHoz4KmW1Txb+X9vuCQGAvuDQ5 KU1tlV+g6D2kNq2anZYeCK0rm/KxqYCeR5ek68f1n6MfVnVwXtHTBErB3QPV26JyECNW iooIjME/BfH4AHlXHziW8WBkmOmqHzxn4mG2RxGwjC8tzaXUDdCtMFNtHJO7TD/CBUSi cPU/R+u3Xk+LnzSKbpCdaGjBzd/c4UsKE+UDi8UgrwGLz3evkfxey3yj9ZUETLlyeTJK TmTLD508N3/YMZ9vsorYgFX0/lgUKZOAS7PXiHNmzohOy6fpgn6o9edhGJGvHB20dcWe wd4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u1-20020a170902e5c100b001a923bc3af0si860158plf.544.2023.05.08.23.56.40; Mon, 08 May 2023 23:56:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235043AbjEIGt5 (ORCPT + 99 others); Tue, 9 May 2023 02:49:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235046AbjEIGtq (ORCPT ); Tue, 9 May 2023 02:49:46 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A910B10EF for ; Mon, 8 May 2023 23:49:39 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8DxI_AC7VlkM94GAA--.11373S3; Tue, 09 May 2023 14:49:38 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxHLcB7VlkQzlSAA--.16393S2; Tue, 09 May 2023 14:49:37 +0800 (CST) From: Tiezhu Yang To: Huacai Chen , WANG Xuerui , Catalin Marinas Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH] LoongArch: Select HAVE_DEBUG_KMEMLEAK to support kmemleak Date: Tue, 9 May 2023 14:49:31 +0800 Message-Id: <1683614971-10744-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8BxHLcB7VlkQzlSAA--.16393S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoWrtF4fZFW7Cw4xur4kuryrCrg_yoW3tFX_Ja 9xA3W8GF15GrWj9rnxZ3yFgr1fZayrWFs8ZrW2yr4UWw17Xw13J3y8Ww1rZr42g3yjgFWr ZrWFqr98Cr10yjkaLaAFLSUrUUUUbb8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY j7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUGVWUXwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26r1I6r4UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r1j6r4UM28EF7 xvwVC2z280aVAFwI0_Cr1j6rxdM28EF7xvwVC2z280aVCY1x0267AKxVWxJr0_GcWle2I2 62IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27wAqx4xG64xvF2IEw4 CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE14v26r1j6r4UMcvj eVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x0EwIxGrwCFx2IqxV CFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r10 6r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxV WUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG 6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_Gr UvcSsGvfC2KfnxnUUI43ZEXa7IU8r9N3UUUUU== X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00,RCVD_IN_SBL_CSS, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 We can see that DEBUG_KMEMLEAK depends on HAVE_DEBUG_KMEMLEAK after commit b69ec42b1b19 ("Kconfig: clean up the long arch list for the DEBUG_KMEMLEAK config option"), just select HAVE_DEBUG_KMEMLEAK to support kmemleak on LoongArch. Signed-off-by: Tiezhu Yang --- This is based on 6.4-rc1 arch/loongarch/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig index d38b066..1e64edd 100644 --- a/arch/loongarch/Kconfig +++ b/arch/loongarch/Kconfig @@ -90,6 +90,7 @@ config LOONGARCH select HAVE_ASM_MODVERSIONS select HAVE_CONTEXT_TRACKING_USER select HAVE_C_RECORDMCOUNT + select HAVE_DEBUG_KMEMLEAK select HAVE_DEBUG_STACKOVERFLOW select HAVE_DMA_CONTIGUOUS select HAVE_DYNAMIC_FTRACE -- 2.1.0