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,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 D886EC48BE6 for ; Thu, 17 Jun 2021 00:24:33 +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 7AC5260041 for ; Thu, 17 Jun 2021 00:24:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7AC5260041 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=GNEv8o1SxnCGefDyV6VXj2oaHkxljq2DB5SoCOUvwro=; b=gxknVCx3Anysq0 XTPhJRw3ba0aLSYTLg02Z2h0e/B28Btyk16mx1m0hgfigndyryxRxumQuDAKiYQCgdT2IycAMdq5H BtHwiE0G+tFju0P5JcgzKflNdXytF/RidZiwZfglNxDt5I37pt/oYnPUnvyy72sLfEgm/D+geth+D mnSRJGtYi9zLQaZw5IGfLJU4PjbeG0KQ6md2ZoXixwQWElmz2xVsagrJq/qN0+KQnvda+DGZHrOEP nlPQ9M26lHZa+UsCoaFRvYBhESH6WNMIfbbQISI5zPLEwXUvjO6mrYbsqddNz7VLUzKiU9jrN8mEl C7L7FhsJOhhpjV3gIINg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltfoL-008Jcw-44; Thu, 17 Jun 2021 00:23:09 +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 1ltfoH-008JcG-Vx; Thu, 17 Jun 2021 00:23:07 +0000 Received: from rorschach.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 13199613B9; Thu, 17 Jun 2021 00:23:03 +0000 (UTC) Date: Wed, 16 Jun 2021 20:23:02 -0400 From: Steven Rostedt To: Mark-PK Tsai Cc: , , , , , , , Subject: Re: [PATCH v4] recordmcount: Correct st_shndx handling Message-ID: <20210616202302.18522133@rorschach.local.home> In-Reply-To: <20210616120227.6fc005c3@gandalf.local.home> References: <20210616154126.2794-1-mark-pk.tsai@mediatek.com> <20210616120227.6fc005c3@gandalf.local.home> 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_172306_100737_EA92B134 X-CRM114-Status: GOOD ( 14.40 ) 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 12:02:27 -0400 Steven Rostedt wrote: > 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. > It passed my normal tests. I'll run my cross compile test, and I just pushed it to linux-next. I'll wait a few days before I push it to Linus. -- Steve _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel