Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp552915pxb; Thu, 12 Nov 2020 10:07:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzweyffhJStiKyRVSxqMo6W7QJZjy6ZJ8qQ08n6AMKeS+1sllQAbh3u2QKXbVi7Xr6LrRrt X-Received: by 2002:a17:906:1458:: with SMTP id q24mr473903ejc.541.1605204430426; Thu, 12 Nov 2020 10:07:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605204430; cv=none; d=google.com; s=arc-20160816; b=Umiaw1RmoqDxAPiIynIirhiENWyQcasXjrU036ysUoULApLNPtRq/4Ec4FJHZAuTE+ NVu3ihKoh9vdPT6QbpThOT97S++MPdMyY8GSDTCqKickMt0bfN7ftzR9sa/lEYk9lYzQ 6RCZoNewLhailnSGuInyUaaoakqtbo94MaBlVxY+VfzsJvmeOZ4wxtxNl76+UXRmtPjM 20inWo2Bcf/fUvjKvqVmFhQw59XyZBwISVY9zl7Ux2w8wGUQU4ECRqgzCtmbIOrRO+iV pJOXqEz/jCOl13j3xgTxjtRfqjmaD836N0R+mSgvTjvjsMuKRF1uiNnSSGabRq62fsLf zKew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cwRfKaiAyvcKH2C/Ff9JVLU4RFzNHu2s5Gzo1tJCQz0=; b=uQBtZnZF9JURs045ip3f/r34wmpT3BcBZtkXfBkH7Nw3FFBfZ+veGLI+l/ynMCQRZs kYBKWUu2Z7pB7JR8e5GI0fVD6Y+1mqLp8PqK8ZfPb8uqe7e88Ztc8ZLrukeOex1lsUSh tcDFA84a5EI0haoi08lgaJebOqV+2gsLNcImRL9G8CKNrloVmDeh1NK1VWOYZJGb9i2u gYA7G0fQUuWxYrb363S04uCSounZgU06aAyfh0YYJbd4bDC8SBxsJI4UcWb27Lr1jRe6 H/snunYhpULyts0YyWdwVFSwPzASk7Z8elNhsRicWA4la8eELmJS4hor6a8eWKTC4TJr 4q9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uptdd8k1; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gr12si4063447ejb.88.2020.11.12.10.06.46; Thu, 12 Nov 2020 10:07:10 -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=@gmail.com header.s=20161025 header.b=uptdd8k1; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726736AbgKLSCc (ORCPT + 99 others); Thu, 12 Nov 2020 13:02:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726433AbgKLSC2 (ORCPT ); Thu, 12 Nov 2020 13:02:28 -0500 Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5031AC0613D1 for ; Thu, 12 Nov 2020 10:02:28 -0800 (PST) Received: by mail-qk1-x744.google.com with SMTP id r7so6150953qkf.3 for ; Thu, 12 Nov 2020 10:02:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=cwRfKaiAyvcKH2C/Ff9JVLU4RFzNHu2s5Gzo1tJCQz0=; b=uptdd8k18O0JneVelP6Se9IBq4FNsWkDeN0zC6APItTKK3NRlLYKOvIyRjGg/Ist6U bQyQu50D9qLtXOs4gzKOBgI3m49v9h6Cm3zFHxuPuUoL+A5b/xMFXJ09Ofa6ECsGcOqO 4JwI1/FI8hE63InVi9JMLP4NPxZyeneHOi9NN6kjTLukdBb/Yd4hu1rKKJsfZfes5tmt XA+lXrnwHW1nD/K/Na1cMqyG1/SVgBLUlOW89SpYwQt15jUTuLzXOQnOdLgDdcaD7/Y9 iJgWlBe2WjCiF0MdvQUxPL8zzBO7J+0ySfSnIE8zkYnI29HR9/+AH1zC+ZXF+6JDBFg3 uh8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=cwRfKaiAyvcKH2C/Ff9JVLU4RFzNHu2s5Gzo1tJCQz0=; b=cBSb3nooyediA0nvGz+htred5SaNZKaom2x5dgTtNFMOzh2CUSgvJsxCocZiYOe73X n4oA1yiFEg97R5cYqn1FipoQJQLnNY+sv0qbrJCfWLdI5MLtmUty2OSwyefof+boJZMT iO1w/cU+JG6+MUG1SuFp9hd/lPdeOc3O8Hp1w07umFhISmq3vfQ6mjTiu5JLYumsGfwH xq9mimJekJ3Wfd/F3PCwEbxGUbMGWS6nPqNVi2KPrddLdgqHIVJzy/eg5yhaQvfkSl5E Jwi2X4bM/MNHy9zEGSXkUqEhzzLRetXvHDKjEDLTpDXEFs99KaOrOlmtjG9af1aWZnfV MVPw== X-Gm-Message-State: AOAM532VIzkVhlHb0VGUslFmdeDTMKzK72gsAUB+ux2My1OuHU+WvUFj 2o+tmsdetk1OSuDe8CbPIlc= X-Received: by 2002:a37:a943:: with SMTP id s64mr959191qke.15.1605204147414; Thu, 12 Nov 2020 10:02:27 -0800 (PST) Received: from ubuntu-m3-large-x86 ([2604:1380:45f1:1d00::1]) by smtp.gmail.com with ESMTPSA id r19sm4973529qtm.4.2020.11.12.10.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 10:02:26 -0800 (PST) Date: Thu, 12 Nov 2020 11:02:25 -0700 From: Nathan Chancellor To: Nick Desaulniers Cc: Alasdair Kergon , Mike Snitzer , Rob Herring , Mikulas Patocka , 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" Message-ID: <20201112180225.GC934688@ubuntu-m3-large-x86> References: <20201111024140.1483879-1-ndesaulniers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201111024140.1483879-1-ndesaulniers@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 10, 2020 at 06:41:40PM -0800, 'Nick Desaulniers' via Clang Built Linux 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 Reviewed-by: Nathan Chancellor > --- > 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 >