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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 A80C6C433B4 for ; Wed, 7 Apr 2021 22:26:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6474961245 for ; Wed, 7 Apr 2021 22:26:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229554AbhDGW0g (ORCPT ); Wed, 7 Apr 2021 18:26:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:54150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbhDGW0d (ORCPT ); Wed, 7 Apr 2021 18:26:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7965861245; Wed, 7 Apr 2021 22:26:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1617834382; bh=ntxkGEATiH0rQC7t9uR0Mpm44wLWaECdQOQgbePh6qg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=v9spXbJrD3jgXYAir83CkcC1/9yVQeh8ENVfqYJr5V2vzjny6uhjgvak37lfu+Qy8 qgvk7EBU04FAyEMN0FxC6RzOpd63WdlkSFqjnWmVCHKGnJwBkgNxsi0ZNBlLUkcOtP R/eXdyDalX4BdNXiJjTGbteZsMViBl5DDCS02Vgs= Date: Wed, 7 Apr 2021 15:26:21 -0700 From: Andrew Morton To: Nick Desaulniers Cc: Peter Oberparleiter , Nathan Chancellor , LKML , clang-built-linux , Fangrui Song , Prasad Sodagudi , "# 3.4.x" Subject: Re: [PATCH 1/2] gcov: re-fix clang-11+ support Message-Id: <20210407152621.3826f93e893c0cf9b327071f@linux-foundation.org> In-Reply-To: References: <20210407185456.41943-1-ndesaulniers@google.com> <20210407185456.41943-2-ndesaulniers@google.com> <20210407142121.677e971e9e5dc85643441811@linux-foundation.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Apr 2021 14:28:21 -0700 Nick Desaulniers wrote: > On Wed, Apr 7, 2021 at 2:21 PM Andrew Morton wrote: > > > > On Wed, 7 Apr 2021 11:54:55 -0700 Nick Desaulniers wrote: > > > > > LLVM changed the expected function signature for > > > llvm_gcda_emit_function() in the clang-11 release. Users of clang-11 or > > > newer may have noticed their kernels producing invalid coverage > > > information: > > > > > > $ llvm-cov gcov -a -c -u -f -b .gcda -- gcno=.gcno > > > 1 : checksum mismatch, \ > > > (, ) != (, ) > > > 2 Invalid .gcda File! > > > ... > > > > > > Fix up the function signatures so calling this function interprets its > > > parameters correctly and computes the correct cfg checksum. In > > > particular, in clang-11, the additional checksum is no longer optional. > > > > Which tree is this against? I'm seeing quite a lot of rejects against > > Linus's current. > > Today's linux-next; the only recent changes to this single source file > since my last patches were: > > commit b3c4e66c908b ("gcov: combine common code") > commit 17d0508a080d ("gcov: use kvmalloc()") > > both have your sign off, so I assume those are in your tree? Yes, I presently have gcov-clang-drop-support-for-clang-10-and-older.patch gcov-combine-common-code.patch gcov-simplify-buffer-allocation.patch gcov-use-kvmalloc.patch But this patch ("gcov: re-fix clang-11+ support") has cc:stable, so it should be against Linus's tree, to give the -stable trees something more mergeable.