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=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham 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 D2852C48BE8 for ; Wed, 16 Jun 2021 16:02:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B0AA861159 for ; Wed, 16 Jun 2021 16:02:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbhFPQEv (ORCPT ); Wed, 16 Jun 2021 12:04:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:34208 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232231AbhFPQEg (ORCPT ); Wed, 16 Jun 2021 12:04:36 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 17CC561159; Wed, 16 Jun 2021 16:02:29 +0000 (UTC) Date: Wed, 16 Jun 2021 12:02:27 -0400 From: Steven Rostedt To: Mark-PK Tsai Cc: , , , , , , , Subject: Re: [PATCH v4] recordmcount: Correct st_shndx handling Message-ID: <20210616120227.6fc005c3@gandalf.local.home> In-Reply-To: <20210616154126.2794-1-mark-pk.tsai@mediatek.com> References: <20210616154126.2794-1-mark-pk.tsai@mediatek.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; 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, 16 Jun 2021 23:41:26 +0800 Mark-PK Tsai wrote: > From: Peter Zijlstra > > One should only use st_shndx when >SHN_UNDEF and SHN_XINDEX, then use .symtab_shndx. Otherwise use 0. > > This handles the case: st_shndx >= SHN_LORESERVE && st_shndx != SHN_XINDEX. > > Reported-by: Mark-PK Tsai > Signed-off-by: Peter Zijlstra (Intel) > Tested-by: Mark-PK Tsai > [handle endianness of sym->st_shndx] > Signed-off-by: Mark-PK Tsai > --- Thanks, I pulled this in and started the testing. -- Steve 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=-10.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham 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 82A16C48BE5 for ; Wed, 16 Jun 2021 16:03:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 2F93661246 for ; Wed, 16 Jun 2021 16:03:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F93661246 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/VyKz+Hf6Y+BcSVbTQpvqKPV31rcGmIXxAIBZcVN46o=; b=zb015dLEuQ1DmP qx+8spYyDcV5wGEyFBUkIKOcpbW/13/xjhdxhmvIz1ZZp7gUxUDvg+m4LuRT03PTocOrfD51baruR EQ+XDJ4yHYMuaXw6C7CQVLv2V6CBOjxMucSF4Uz8nOSK9fprYowjSamj/TXm0q/28xHfDbYrVVo7k aZAOOJVXqPRckTro75ILJmEOF+9ILiQ2H7IAMvNm/v4cAJ1E8WKrypyAKxXtd5QQuYF3LQQqqo/+T 379mSORwI5TcR1xaBZn0D8hdPEA2JxO7OTyeTEQpZqd2ERdWHK91cww0pMOA0pDVRa9BiKnBQQVmJ NhH0osHynNB7NRih9b2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltY0G-007312-Cg; Wed, 16 Jun 2021 16:02:56 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltXzq-0072qw-9P; Wed, 16 Jun 2021 16:02:31 +0000 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 17CC561159; Wed, 16 Jun 2021 16:02:29 +0000 (UTC) Date: Wed, 16 Jun 2021 12:02:27 -0400 From: Steven Rostedt To: Mark-PK Tsai Cc: , , , , , , , Subject: Re: [PATCH v4] recordmcount: Correct st_shndx handling Message-ID: <20210616120227.6fc005c3@gandalf.local.home> In-Reply-To: <20210616154126.2794-1-mark-pk.tsai@mediatek.com> References: <20210616154126.2794-1-mark-pk.tsai@mediatek.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210616_090230_419432_C446F289 X-CRM114-Status: GOOD ( 11.71 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On Wed, 16 Jun 2021 23:41:26 +0800 Mark-PK Tsai wrote: > From: Peter Zijlstra > > One should only use st_shndx when >SHN_UNDEF and SHN_XINDEX, then use .symtab_shndx. Otherwise use 0. > > This handles the case: st_shndx >= SHN_LORESERVE && st_shndx != SHN_XINDEX. > > Reported-by: Mark-PK Tsai > Signed-off-by: Peter Zijlstra (Intel) > Tested-by: Mark-PK Tsai > [handle endianness of sym->st_shndx] > Signed-off-by: Mark-PK Tsai > --- Thanks, I pulled this in and started the testing. -- Steve _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek 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=-10.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham 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 D0E81C48BE8 for ; Wed, 16 Jun 2021 16:04:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 9175161159 for ; Wed, 16 Jun 2021 16:04:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9175161159 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2mwhQH1KOl9nqqCpfu6wcZWYZlMTW4eGYmLphsaS3Ws=; b=FiwzLeyzccee2N J3W+SYjKPHhCzBdqQQgBA+nmlJQOeZdOf9VbwLH9JDjjJS4fhj51YRszKmCO7yLplU/FBIh5+kfpF NzQ1AhtsZxZvRskFgIKuOo7jB+L02JFnRAqNI3OXekl3Rj5fyMgzqfhZxhIC11S+33dH23NdO6PHX /sxsQrokcdOeu6b58FsDke+YNUJaxyg+rv7XiL39uzTdNzlQVnPshRDtW39dhKSx6E6nIoVS+Yy4L msm/WiGkz3rKc4H+iA7tUkcQineU7sE8FJeMtttrYFcu8wMeqxz1iW5D58Igi1AeHr6V2V31BOAVH obhf0pAz4LNj9BRJrXZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltXzx-0072sz-HU; Wed, 16 Jun 2021 16:02:37 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltXzq-0072qw-9P; Wed, 16 Jun 2021 16:02:31 +0000 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 17CC561159; Wed, 16 Jun 2021 16:02:29 +0000 (UTC) Date: Wed, 16 Jun 2021 12:02:27 -0400 From: Steven Rostedt To: Mark-PK Tsai Cc: , , , , , , , Subject: Re: [PATCH v4] recordmcount: Correct st_shndx handling Message-ID: <20210616120227.6fc005c3@gandalf.local.home> In-Reply-To: <20210616154126.2794-1-mark-pk.tsai@mediatek.com> References: <20210616154126.2794-1-mark-pk.tsai@mediatek.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210616_090230_419432_C446F289 X-CRM114-Status: GOOD ( 11.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Wed, 16 Jun 2021 23:41:26 +0800 Mark-PK Tsai wrote: > From: Peter Zijlstra > > One should only use st_shndx when >SHN_UNDEF and SHN_XINDEX, then use .symtab_shndx. Otherwise use 0. > > This handles the case: st_shndx >= SHN_LORESERVE && st_shndx != SHN_XINDEX. > > Reported-by: Mark-PK Tsai > Signed-off-by: Peter Zijlstra (Intel) > Tested-by: Mark-PK Tsai > [handle endianness of sym->st_shndx] > Signed-off-by: Mark-PK Tsai > --- Thanks, I pulled this in and started the testing. -- Steve _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel