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=-8.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable 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 26B45C55178 for ; Fri, 6 Nov 2020 15:17:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 918412222B for ; Fri, 6 Nov 2020 15:17:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="AxiQ/QXc" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727182AbgKFPQT (ORCPT ); Fri, 6 Nov 2020 10:16:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbgKFPQT (ORCPT ); Fri, 6 Nov 2020 10:16:19 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC179C0613CF for ; Fri, 6 Nov 2020 07:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4+WYl4Y99KMcpnDUmq0xOppvJ/gI1EBjcZfq0apHMtk=; b=AxiQ/QXcwbWI7fi+50Spmng50 CTgriDdYt54GeVF601/d4JZyywA1Xn2/vmw+Uodmq2HSkwzBWAn8PTpf9O/CHTAOjZ+WeN2znu2wN AJTNtzMT/WZ7z9X/2M83oxX1mBeM805Ck5k9ZFmiIA/HJAltPnKFs+RKnKlfn5tdgfRLrLxIL+kXW xcl1DNaCmJyQSb3hDRAbEKiltG5MjbUlGx4cqsezMxRWDxWKIuYbRok67+L6ppMd7i28fEtx7cqQK hEMlV8kpH1bWntTHtaYCZ6WHHvZ4jT8qcg+xkkfQYkLjtD3PIE5cWh5FepZCfnPJSn+6/5JhYkE3L RndANvIfQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55826) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kb3T6-0005zp-J7; Fri, 06 Nov 2020 15:16:00 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1kb3T0-0005vX-OG; Fri, 06 Nov 2020 15:15:54 +0000 Date: Fri, 6 Nov 2020 15:15:54 +0000 From: Russell King - ARM Linux admin To: Linus Walleij Cc: Nathan Chancellor , Stephen Rothwell , Florian Fainelli , Ahmad Fatoum , Arnd Bergmann , Abbott Liu , Naresh Kamboju , kasan-dev , Mike Rapoport , Linux-Next Mailing List , Alexander Potapenko , Dmitry Vyukov , Andrey Ryabinin , Ard Biesheuvel , Linux ARM Subject: Re: [PATCH 2/5 v16] ARM: Replace string mem* functions for KASan Message-ID: <20201106151554.GU1551@shell.armlinux.org.uk> References: <20201019084140.4532-1-linus.walleij@linaro.org> <20201019084140.4532-3-linus.walleij@linaro.org> <20201106094434.GA3268933@ubuntu-m3-large-x86> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Fri, Nov 06, 2020 at 02:37:21PM +0100, Linus Walleij wrote: > On Fri, Nov 6, 2020 at 10:44 AM Nathan Chancellor > wrote: > > On Fri, Nov 06, 2020 at 09:28:09AM +0100, Ard Biesheuvel wrote: > > > > AFAIK there is an incompatible change in -next to change the > > > definition of the __alias() macro > > > > Indeed. The following diff needs to be applied as a fixup to > > treewide-remove-stringification-from-__alias-macro-definition.patch in > > mmotm. > > > > Cheers, > > Nathan > > > > diff --git a/arch/arm/boot/compressed/string.c b/arch/arm/boot/compressed/string.c > > index 8c0fa276d994..cc6198f8a348 100644 > > --- a/arch/arm/boot/compressed/string.c > > +++ b/arch/arm/boot/compressed/string.c > > @@ -21,9 +21,9 @@ > > #undef memcpy > > #undef memmove > > #undef memset > > -void *__memcpy(void *__dest, __const void *__src, size_t __n) __alias(memcpy); > > -void *__memmove(void *__dest, __const void *__src, size_t count) __alias(memmove); > > -void *__memset(void *s, int c, size_t count) __alias(memset); > > +void *__memcpy(void *__dest, __const void *__src, size_t __n) __alias("memcpy"); > > +void *__memmove(void *__dest, __const void *__src, size_t count) __alias("memmove"); > > +void *__memset(void *s, int c, size_t count) __alias("memset"); > > #endif > > > > void *memcpy(void *__dest, __const void *__src, size_t __n) > > Aha. So shall we submit this to Russell? I figure that his git will not > build *without* the changes from mmotm? > > That tree isn't using git either is it? > > Is this one of those cases where we should ask Stephen R > to carry this patch on top of -next until the merge window? Another solution would be to drop 9017/2 ("Enable KASan for ARM") until the following merge window, and queue up the non-conflicing ARM KASan fixes in my "misc" branch along with the rest of KASan, and the conflicting patches along with 9017/2 in the following merge window. That means delaying KASan enablement another three months or so, but should result in less headaches about how to avoid build breakage with different bits going through different trees. Comments? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!