From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 61B83C25B08 for ; Sat, 20 Aug 2022 14:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kAs5B2MLrbNaDqalE/lUIlC7KWNLrsGMOw8kdjtiSEA=; b=HHtQ+HaVtsa1qh0lExXtvj1Ji9 Q9UNrsFLsy+up3DTPI6qPZ/JHBMu78CE8sfKsuY8VwEIqAdziWG9awWvw12gNKCpqJ5SxkLRJgcpD JhW00ltmUnsgrzI2gNvADCOprye7YZkNP7uny2b+aBjUt/gtKT7zxLGtb2m4y7MZlezNkn1c6KlJC ywsDEg6F9jLg0zMYlsBhnxwYaIBLXlkwOOzzwfsohW7LjYmL7GFV27XXVQ+nJCi84WjdwMmcKBED3 ywirSkOofGBZG1MScS2b1VGgBW44LdzaT1FgBZsBBX8vMqYJPwAYEs8zlmQGsDBHS78YpVLxTiKk0 Q+6g2nww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oPPbK-00Ag6p-E3; Sat, 20 Aug 2022 14:37:26 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oPPbG-00Ag4a-By; Sat, 20 Aug 2022 14:37:25 +0000 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 F1B57B80CAD; Sat, 20 Aug 2022 14:37:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99438C433D6; Sat, 20 Aug 2022 14:37:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661006238; bh=BWn2AuZzmBQWgCHdWYaKRFlhXdOsJZRS65HElJ+rCnE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c0/5SZHW21ph5f4RPJG97a05DM5d7Lpao/oGNc8IrLae65UMG0PQhuBVVmwlVPxQL 9e7vfn6zON8NsmuFTIKxNxYHxcsnua3klYYFWVuHmnvWZBcw5W2nnwAY6ApLOzo34i hvGS5swdxJf9hdWZAJ4JaT2X4OYQQw4zF4WliNfhoNu7LM1EclC4Wb+08AucuzI0Re JVBVTUBeaJ8IRu6Culw2PO5W+8NvYbaTlK7G+YrEaBZ/5Xr0/bfM79QEWLQvfM3aXT Sqs1Uds/CEA/zSAtIvhAzOny89n8ryglMphBY7gAE4fEHA206UG8wflCl5UzKy2U4D W05rEP29vxoBA== Date: Sat, 20 Aug 2022 10:37:17 -0400 From: Sasha Levin To: Ard Biesheuvel Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Lecopzer Chen , Linus Walleij , Russell King , linux@armlinux.org.uk, ryabinin.a.a@gmail.com, matthias.bgg@gmail.com, arnd@arndb.de, rostedt@goodmis.org, nick.hawkins@hpe.com, john@phrozen.org, linux-arm-kernel@lists.infradead.org, kasan-dev@googlegroups.com, linux-mediatek@lists.infradead.org Subject: Re: [PATCH AUTOSEL 5.19 54/64] ARM: 9202/1: kasan: support CONFIG_KASAN_VMALLOC Message-ID: References: <20220814152437.2374207-1-sashal@kernel.org> <20220814152437.2374207-54-sashal@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220820_073723_961188_C16BC70B X-CRM114-Status: GOOD ( 14.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Aug 16, 2022 at 04:45:14PM +0200, Ard Biesheuvel wrote: >On Sun, 14 Aug 2022 at 17:30, Sasha Levin wrote: >> >> From: Lecopzer Chen >> >> [ Upstream commit 565cbaad83d83e288927b96565211109bc984007 ] >> >> Simply make shadow of vmalloc area mapped on demand. >> >> Since the virtual address of vmalloc for Arm is also between >> MODULE_VADDR and 0x100000000 (ZONE_HIGHMEM), which means the shadow >> address has already included between KASAN_SHADOW_START and >> KASAN_SHADOW_END. >> Thus we need to change nothing for memory map of Arm. >> >> This can fix ARM_MODULE_PLTS with KASan, support KASan for higmem >> and support CONFIG_VMAP_STACK with KASan. >> >> Signed-off-by: Lecopzer Chen >> Tested-by: Linus Walleij >> Reviewed-by: Linus Walleij >> Signed-off-by: Russell King (Oracle) >> Signed-off-by: Sasha Levin > >This patch does not belong in -stable. It has no fixes: or cc:stable >tags, and the contents are completely inappropriate for backporting >anywhere. In general, I think that no patch that touches arch/arm >(with the exception of DTS updates, perhaps) should ever be backported >unless proposed or acked by the maintainer. I'll drop it. >I know I shouldn't ask, but how were these patches build/boot tested? >KAsan is very tricky to get right, especially on 32-bit ARM ... They were only build tested at this stage. They go through boot/functional test only after they are actually queued up for the various trees. -- Thanks, Sasha _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel