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=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, 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 03BB0C2D0A3 for ; Fri, 6 Nov 2020 13:38:45 +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 6D94320735 for ; Fri, 6 Nov 2020 13:38:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pLDhqz5i"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="u5oG+XvG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6D94320735 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/NYOWsWClRokOUg01i0B1b4aAxPceEA4npMfrgFxke8=; b=pLDhqz5img7fVr7MghuVrfrjY pV5r+HA+mC8YJJ3A6+NjEbnZ0SKwiXRrdoXhuYPIJYl7vKbSyv6hGoe3lfwKfwaXu5tLcr11fc/z7 eW5PsemdQ1ydeLWlPtnzx+Jjjp+lTXxNON/p60kuYIscIsqxWPo+CsvD5O4EHfGjS/a81Ufjp1d7g 3nIzt+DsCExPhBA8HKPdtu41ut2VZN0H2r5thFtXcOYIq9S3q0TiAsPm1+lWCoDVV9wOqXO9SVSkr 4p58czTVTUJjvUe4cc/XyChFruEz5Q8rJ0gvIPqAo5hv36BJHQV/Z4dCcggAgpbRUO3vhIinBRP/f 1ZYE9EcjA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb1vs-0004mY-5Q; Fri, 06 Nov 2020 13:37:36 +0000 Received: from mail-lj1-x244.google.com ([2a00:1450:4864:20::244]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb1vp-0004m0-Sb for linux-arm-kernel@lists.infradead.org; Fri, 06 Nov 2020 13:37:34 +0000 Received: by mail-lj1-x244.google.com with SMTP id a25so1408666ljn.0 for ; Fri, 06 Nov 2020 05:37:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1d9mjFc0ki/4lcF4Gjq/ke9oRs4vU8scTXfsKfjB4Zc=; b=u5oG+XvG+9ppyxui4jfxyKDaOB6IMdoTaJWCD9zSVLzv9z+iYwlq9EjV16DQoayEk9 bTizX259ea3KtPgchEmJIjhCRGHS9cCXZ+ySAdS9eIdy/j631U5ZmF6u7X6GBjt/lSjk 3QYSmDSTZpqbbLxcR5cdvWWZPb1IvSeOPbqUWpazj/E+T6nn0XlHm4jD/9ChndAEhj6G wxJKToj4R0hotsYjM7WNXIoeqSu3eu5cGD3plzuqTf4IzyRl1C53MbBX/qYf0fgaeYQw fD+GiCpnhcxMAKiaTF2gAEGQDKivJdkPUVGxT+l/RgNeUeOFX8XCi2hNBd+QZ+sMDCMC KiCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1d9mjFc0ki/4lcF4Gjq/ke9oRs4vU8scTXfsKfjB4Zc=; b=NZOHCF/+a7rxP8pboaN0U5l+app00i6W8OA/d0PFFCpk6Qp17hdUThw61mbJs24DmE 3+eeEEsWDCKEJeLAtSMoVuZUFJY+a/CWTU6LYUaFWKzPoL3SomaeYKy5F9OAx1HyObba UbzIQfy8C3ZCndZupwjwgFu70uIOUgplez7BDnql07jEWGa4OxrxRJBUxHCku0pnKvYd ltPPMTNNCQ30tgeJZqcCi0sz62gXBgAXgEbT/zRleoZKSqKS9RFnNvHpETxM1mPsOwfp 2eETtIboa35EFEn1RxhmXruVQuingBmYIhxLioI8zT45Gj0EnaWv5t0tx5wIrd7lE+v7 hcqQ== X-Gm-Message-State: AOAM530LfUlHG7LfxkdWxsPn06HGU1arFfGpa9Izrwoots3Y8uLenPoD ErroG+xDMcSCp1kyEeM+tFzfNh2DJqyTwZ17NO1iig== X-Google-Smtp-Source: ABdhPJxvQWpcAPxxmyuBOCCaSx2hfdnEnYoFklwQYVjEDK0+SqYrFAWh1ZheKIP5LS2F6/AohVw21TOOIw1Dz+moQKU= X-Received: by 2002:a2e:8604:: with SMTP id a4mr178992lji.100.1604669852790; Fri, 06 Nov 2020 05:37:32 -0800 (PST) MIME-Version: 1.0 References: <20201019084140.4532-1-linus.walleij@linaro.org> <20201019084140.4532-3-linus.walleij@linaro.org> <20201106094434.GA3268933@ubuntu-m3-large-x86> In-Reply-To: <20201106094434.GA3268933@ubuntu-m3-large-x86> From: Linus Walleij Date: Fri, 6 Nov 2020 14:37:21 +0100 Message-ID: Subject: Re: [PATCH 2/5 v16] ARM: Replace string mem* functions for KASan To: Nathan Chancellor X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_083734_100171_6D656AE6 X-CRM114-Status: GOOD ( 16.90 ) 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: Stephen Rothwell , Florian Fainelli , Ahmad Fatoum , Arnd Bergmann , Abbott Liu , Naresh Kamboju , Russell King , kasan-dev , Mike Rapoport , Linux-Next Mailing List , Alexander Potapenko , Dmitry Vyukov , Andrey Ryabinin , Ard Biesheuvel , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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? Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel