Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp225671pxb; Wed, 11 Nov 2020 01:59:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzkfpUCLfges55/psmbdzEqA3aHeTCswR/K5vIokjQRIVtcgX1aenBtZxBMCDYTVITA45AI X-Received: by 2002:a05:6402:1844:: with SMTP id v4mr24806213edy.346.1605088752271; Wed, 11 Nov 2020 01:59:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605088752; cv=none; d=google.com; s=arc-20160816; b=lHxvD0XGaP0O6ePYhTmqDEHz62WvskMd1MVtpyU2OnbQSSQ2BQXLQJJtqWhP42G7sz g7HThZ/UGvtL/pLu5SOQO3rDC4MSic87BvII8SCgkYoMKBuU3AdR38Btdoz6c/LFikLr xRG9zzvAbpiz2mEPwSNV0VHjA/I+WPVtREF0rA6bnrCjxJcyqqnE7eb3lbFYco2MU1kn 5n8q0UCfImqRd9UVOTeHC76UGosKgEjB5dfQQH8dVlsw4aDRJKJJuR/RK2WLjvGKvipM UdZRED052HOZE6l8/wil69t3/wLDGZ379AKjmnOiOTs9AlFmqEj1Qq58ns5HIy9LvpJ/ MqVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=+XA2Ly6G9+uqaj4t90Nv+OVjOkGfko8/whq+z9+8i7E=; b=e+FSi4LBGCj7JdO7uK/evviDObWJFxwvboxBD7H39LPIOFLwtJQ28B7L0VX2sJjYeu kBgo3Xc6jc8/n9nAKB/aIyncEviaNXnBfri73FsiYtjx4K5cf/hY09ZGuccd+eQenww3 my3fm1WTDMqXxoYQYpAjYlPtjOudN7rCgJEnu19YhXvs3elVcG/pNjv7HKLRlt5Jm5bB 63h8UBXqWlmi05hfppBGVFGFoXer4NzkUxOqilmXmWsrz7UHuWo+coO31O1BHu38hprO N/HiBnd+CazMh0P+u4BkKIqQ7eJdD0FJrdP9a49pnXNuFytt+YtAxKn40vPj6ubwQzfu GW/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="M26e/h6z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm7si1084318ejc.350.2020.11.11.01.58.48; Wed, 11 Nov 2020 01:59:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="M26e/h6z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727105AbgKKJ4k (ORCPT + 99 others); Wed, 11 Nov 2020 04:56:40 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:32522 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725870AbgKKJ4k (ORCPT ); Wed, 11 Nov 2020 04:56:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605088599; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+XA2Ly6G9+uqaj4t90Nv+OVjOkGfko8/whq+z9+8i7E=; b=M26e/h6zs+HjxGVLwJYDHiFz4t27J3kLNajwJBNM7aQHDV++S+AGljnW3f1H6diqcBo7at iCIH1vW+r8Oi1DvHVzRDi/JswbRRgOU6xD2v1FrNeoKsMkvPi7TlEYcgMDImb07Fr8bKHn l3aYXXAV8zZPFDxIENicIz4gZ2bi0rc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-375-kw35YCLhNA-EYDOl6FMLMQ-1; Wed, 11 Nov 2020 04:56:36 -0500 X-MC-Unique: kw35YCLhNA-EYDOl6FMLMQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D0F3C80476E; Wed, 11 Nov 2020 09:56:28 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (file01.intranet.prod.int.rdu2.redhat.com [10.11.5.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A0B3C6EF5B; Wed, 11 Nov 2020 09:56:28 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (localhost [127.0.0.1]) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4) with ESMTP id 0AB9uSqU029365; Wed, 11 Nov 2020 04:56:28 -0500 Received: from localhost (mpatocka@localhost) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4/Submit) with ESMTP id 0AB9uSYG029361; Wed, 11 Nov 2020 04:56:28 -0500 X-Authentication-Warning: file01.intranet.prod.int.rdu2.redhat.com: mpatocka owned process doing -bs Date: Wed, 11 Nov 2020 04:56:27 -0500 (EST) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: Nick Desaulniers cc: Alasdair Kergon , Mike Snitzer , Rob Herring , clang-built-linux@googlegroups.com, dm-devel@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Revert "dm cache: fix arm link errors with inline" In-Reply-To: <20201111024140.1483879-1-ndesaulniers@google.com> Message-ID: References: <20201111024140.1483879-1-ndesaulniers@google.com> User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Acked-by: Mikulas Patocka On Tue, 10 Nov 2020, Nick Desaulniers wrote: > This reverts commit 43aeaa29573924df76f44eda2bbd94ca36e407b5. > > Since > commit 0bddd227f3dc ("Documentation: update for gcc 4.9 requirement") > the minimum supported version of GCC is gcc-4.9. It's now safe to remove > this code. > > Link: https://github.com/ClangBuiltLinux/linux/issues/427 > Signed-off-by: Nick Desaulniers > --- > drivers/md/dm-cache-target.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/md/dm-cache-target.c b/drivers/md/dm-cache-target.c > index 9644424591da..4bc453f5bbaa 100644 > --- a/drivers/md/dm-cache-target.c > +++ b/drivers/md/dm-cache-target.c > @@ -712,10 +712,6 @@ static bool block_size_is_power_of_two(struct cache *cache) > return cache->sectors_per_block_shift >= 0; > } > > -/* gcc on ARM generates spurious references to __udivdi3 and __umoddi3 */ > -#if defined(CONFIG_ARM) && __GNUC__ == 4 && __GNUC_MINOR__ <= 6 > -__always_inline > -#endif > static dm_block_t block_div(dm_block_t b, uint32_t n) > { > do_div(b, n); > -- > 2.29.2.222.g5d2a92d10f8-goog >