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 X-Spam-Level: X-Spam-Status: No, score=-4.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1AF38C433E0 for ; Mon, 4 Jan 2021 14:30:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C5ECD207BC for ; Mon, 4 Jan 2021 14:30:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C5ECD207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=2JVkq3U7atVeamkEFDXNo1LztnhZrNpbxMvixcVhW9M=; b=YuKpT93vtSVxmNu4f55op5FMO 0LwEbi2674v56/5pnSU8jWCiDMVv5cqoWuIU6sZkIAdxpARDO6W1gO+oRlXWegmxX72FEZ4Rz2w2g TqIxwkyAQXscZQFC0T6ktxuPRyfpm0A0jupV2TrctO5+ZdaiRBzBgRYqegYt6vmqsLj9PQedu9hiP veZlV/WQH0gqTBrRvQ30OgXjQeP782J1kt6zhlNxYfqSqrgdTKFokBxNzHIsgb3kxNVMbsYxxB4al SonHo7UJnlnMz99srAeo7S2gy6F7LS93czD5GT8zDA3XH02Um0GpxyUrg3o2XFSvi8JpXn4jOb0Hk nDbWOzezw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kwQr5-0005rn-Tw; Mon, 04 Jan 2021 14:29:07 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kwQr3-0005rQ-2j for linux-arm-kernel@lists.infradead.org; Mon, 04 Jan 2021 14:29:05 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9CE4D21D93; Mon, 4 Jan 2021 14:29:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609770544; bh=UnN6xmAfP5UnHkpYHMpUU7bWMo1VDBoysDL7NDElD5M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LvB3E/G+/vY0B/ZchZ3gSDMFER1Jen3/L5cjmb4b7dImV8pSsq0nJyg84fyzRhX24 mQ1NCpVD1pVAfI2S+stGM9nf0S7Mar7ZZBzI7iJmKE2jE1LBxAE6hRLF8Njp2LoyFC SjOBo2idHwzfajpvYoRbrxx19g//dsM8eGb4ypihytml5ehcJiYIDCdtTITj6jA6Zf p59ksMHmgzGU27lNO/RrNg2pMVZOkuzug1wphz3tgaD6yU1mxF8TUuN0L59riA85c7 b6ySrex6cgtaZuVslwEBzB6jeVYpXUFRai0djh+Il817o2lVzUn/4ZegZw2e9ZpoW9 Vl1PXMa4qyy2w== Date: Mon, 4 Jan 2021 09:29:01 -0500 From: Sasha Levin To: Ahmad Fatoum Subject: Re: [PATCH AUTOSEL 5.10 01/31] ARM: 9014/2: Replace string mem* functions for KASan Message-ID: <20210104142901.GC3665355@sasha-vm> References: <20201230130314.3636961-1-sashal@kernel.org> <25b25571-41d6-9482-4c65-09fe88b200d5@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <25b25571-41d6-9482-4c65-09fe88b200d5@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210104_092905_194338_678A019C X-CRM114-Status: GOOD ( 12.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, Florian Fainelli , Abbott Liu , Linus Walleij , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Russell King - ARM Linux , Alexander Potapenko , kasan-dev@googlegroups.com, Andrey Ryabinin , Ard Biesheuvel , Dmitry Vyukov 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 Wed, Dec 30, 2020 at 03:18:13PM +0100, Ahmad Fatoum wrote: >Hello Sasha, > >On 30.12.20 14:02, Sasha Levin wrote: >> From: Linus Walleij >> >> [ Upstream commit d6d51a96c7d63b7450860a3037f2d62388286a52 ] >> >> Functions like memset()/memmove()/memcpy() do a lot of memory >> accesses. >> >> If a bad pointer is passed to one of these functions it is important >> to catch this. Compiler instrumentation cannot do this since these >> functions are written in assembly. >> >> KASan replaces these memory functions with instrumented variants. > >Unless someone actually wants this, I suggest dropping it. > >It's a prerequisite patch for KASan support on ARM32, which is new in >v5.11-rc1. Backporting it on its own doesn't add any value IMO. I'll drop it, thanks. -- Thanks, Sasha _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel