Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5221323rwr; Mon, 8 May 2023 20:56:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5scESprfjUulHRHzOVtSQ8JLwIIIq9PQ4Brxii/aTCLD35U61lIQzkpZrjENXkw8gsTL8f X-Received: by 2002:a05:6a20:3c92:b0:100:a3fa:431f with SMTP id b18-20020a056a203c9200b00100a3fa431fmr6064031pzj.25.1683604579544; Mon, 08 May 2023 20:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683604579; cv=none; d=google.com; s=arc-20160816; b=SnYjdUFVamIkj24FLSz/qPbiQR7Fg1ijrArJu+AT+91bKFX3FJ7tLk9ACalfPYHzAq 0oGjYhNQf4fCsZDxrkyPzlj67kvpKEnjhUnCQceyPGJNm/dWBvfpF9H9AnGt3e6FupTy ClYLrLn77x2k84UAEt7FYk9ZdieAI/qMv8EjDzg3M4IMsrD32Siz2BDllIOiXrWVLLKr x+ZMS/wIpXK2tENwRWyWTbG1RAL/HNOzyfq6BX1ETXDR5IquokjEhmfbDdQnU4t7FmHf IlPZT+mGlhKAXecuTM5uw0JDZq1DqHnvDrTytm94Qp2jQJRdKq33XSGeyweFkpfOFK3J yUgQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=N/8lPbfT++ebFnqCvf5zxw459Z7BPQyvGUIqwHZwxhc=; b=oUIomFicRT5jjhOYFBnTpuQcCyZYeDumANNogMjlruT0eiKt0IJurXYM5l4dre+OtL CG6rT08dtzh1dhj+rfLZ0YuHyP8NwYVaAZYEB22/eb58bQ8+LRuLe3/je8mfkB9MfzE4 Jsp3KEU4CIBy8r2Sd/4TuxPmR7a+jKd7tDVTQVf75J4Pe8OmWDkj0Ik4gFMk3v8dJbLT NDHaapwGAHn9LMfQ26U3RBg6ciPrfPeHNjK7z2rHZrMp/z84VCD9vOhDvJuERW/C2jKZ sjVJfht5RgCX8am0rUaNuJhpSNuKQOsuNgAQjIO1J6GIYwJshk9aVJj/QZE/vxT2Y/0Y lZSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E5aG664f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p22-20020a639516000000b005300293ab4asi512576pgd.842.2023.05.08.20.55.58; Mon, 08 May 2023 20:56:19 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E5aG664f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234009AbjEIDzN (ORCPT + 99 others); Mon, 8 May 2023 23:55:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234433AbjEIDzH (ORCPT ); Mon, 8 May 2023 23:55:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CCDC8A7B; Mon, 8 May 2023 20:55:06 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 2878161A69; Tue, 9 May 2023 03:55:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6461DC433EF; Tue, 9 May 2023 03:55:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683604505; bh=LwM8Wr44XK/BE4z7RcP3iHRyVzpPnh7ZfjNuk7u1V8M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E5aG664fpzlweIZaYk7VXTybaH/4S76LmN5WssFNAt7rNwyCE4R77vBOg86/1wVik jMmnk9F0BNycdwSBqdKHdZBnokQ5PTieRHJ7GgEZHM1pySo+juhXfDWLpFkcg7R0z2 r+I6m6Mo+xlmOy7EDBFW9XZYibLobTCxNNFioEuFRI0eWQq/gcer+RWML+9WFllPGo NrxkPF9/M3hjpCtgkUXYAOXQIbBc1ehkVKZ7G8bHoZ4WY63AHQuG2YhgMoSkiSuoeV 32Lar06GaDgX8N0U4gKrHEvge+FfDysfVhxEoSD4YfmWQOmNV9teiIb1MagZXPtJRR JA0yCQhFviJXg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Alexandre Ghiti , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Palmer Dabbelt , Sasha Levin , paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org Subject: [PATCH AUTOSEL 6.3 5/7] riscv: Unconditionnally select KASAN_VMALLOC if KASAN Date: Mon, 8 May 2023 23:54:28 -0400 Message-Id: <20230509035455.59524-5-sashal@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230509035455.59524-1-sashal@kernel.org> References: <20230509035455.59524-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: Alexandre Ghiti [ Upstream commit 864046c512c2cd8418dc928b91981fb12a80396c ] If KASAN is enabled, VMAP_STACK depends on KASAN_VMALLOC so enable KASAN_VMALLOC with KASAN so that we can enable VMAP_STACK by default. Signed-off-by: Alexandre Ghiti Reviewed-by: Björn Töpel Link: https://lore.kernel.org/r/20230203075232.274282-7-alexghiti@rivosinc.com Signed-off-by: Palmer Dabbelt Signed-off-by: Sasha Levin --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index eb7f29a412f87..d6aad84efb95e 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -118,6 +118,7 @@ config RISCV select HAVE_SYSCALL_TRACEPOINTS select IRQ_DOMAIN select IRQ_FORCED_THREADING + select KASAN_VMALLOC if KASAN select MODULES_USE_ELF_RELA if MODULES select MODULE_SECTIONS if MODULES select OF -- 2.39.2