Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1163561rwd; Thu, 25 May 2023 08:49:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6kjQDCdOzwtnc+Jr1pAYpBaFUfMdIf+RNmnjUD4VE+dBbXB21BAcIbKVGsLRKp/pP9kSYd X-Received: by 2002:a05:6a00:2352:b0:64f:40bc:74f3 with SMTP id j18-20020a056a00235200b0064f40bc74f3mr9283916pfj.13.1685029742992; Thu, 25 May 2023 08:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685029742; cv=none; d=google.com; s=arc-20160816; b=08hRNgeRSw7MsLic458qOR7aoS/HDcxGEvhOAcTfMg7d+Z8QKC7rjPxjHZ/sE2d2kt W6v7jWa3ZL4oM/XboKdsaPza96HqNH4tWA0/KoDMuB/vq93BgDvXPZD8BC5OEvzFdxAr r9mo8/3dnkTDPlKe3H4T0+PbtZtDAXntkrnjmo42r+/SVXJ6BPqKeWZaftAIEdiaQgzc KWtP5KyvT+3j/TfvS9kbZgJ+X5DaOQq64QZu4PntQeglYUxi0IJ7q8WNvXkYci38bpeD hSofUZ2WbFmM52peauowLaeiHsOmf3G8GtsTgnqLATHfPpRDNpeGoygG0t7UKWniXfNi YZTA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UmQi8fIzOJff3kyNGKaVTa69XxHyX2JQ/cM/6RRUYVY=; b=0I4rhdtTGCtRRgkdlwEJ5DXMxwIuT+7+E3oxsNVX+BXe2RQE+xCHaZYHLbv9/oRkfA JmcNj1qC77f34A5qep+/BkCgDaRR7ngPWB8bpYSx97Brd+eevYpO9DK7e9uRmvGBbvTt q0kPYHjaVf8AvSerzc2VOW4pEnUT94gXHnfg7C++3R2iYy84U8rjAMZ+M4z1hlCpFLY5 9vhZlyOz52sdi3DUDagjyTOblfHgKIVa/UrX8xhr5pfWO4/TZUgoVi4q1n5OWfYLLvyX x0bTFvN+oEoX9qVygKHJrd4ZFDYZJj4Kn6Z8k4KvNcuCbyWdAUCR0MdvhfdKk+Goas5X ZDQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fv94K8XO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y4-20020a626404000000b0063b7645b97asi1731249pfb.380.2023.05.25.08.48.49; Thu, 25 May 2023 08:49:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fv94K8XO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241811AbjEYPcH (ORCPT + 99 others); Thu, 25 May 2023 11:32:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241807AbjEYPcF (ORCPT ); Thu, 25 May 2023 11:32:05 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0020D18D for ; Thu, 25 May 2023 08:32:03 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1ae58e4b295so11527945ad.2 for ; Thu, 25 May 2023 08:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685028723; x=1687620723; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=UmQi8fIzOJff3kyNGKaVTa69XxHyX2JQ/cM/6RRUYVY=; b=fv94K8XOnLGVRz+eN9eeXw5o+qvVgngk6JKw1Zc/4W9HISDqNzb6NTDZBmnff2uF0x s5UovWDO85t7EqIV86tWY8ZU2upyA6OzuFoNhF18Xoyi6iOi9X6ArwTaL9zTBfN7Pzgr kzl9XtnZrOFzXK50ZCTxsObp0OyTd9FkCT+x+ZugTmNn1ciepfVkwk/j/eVPBYVCCzqO oXJP4obDUZFABgjNJ+UUe0wQ35BPiePXyaqyQMA0Ny48yerkpH3uFOFGgERMw8Mv6s5v 7fAOt7TTr5MJ8GTgDpy69t1asKioeh5cpxs2rXz60oovYZ4cpnKUeYnsfQVhCK+Vt1ns zqlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685028723; x=1687620723; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UmQi8fIzOJff3kyNGKaVTa69XxHyX2JQ/cM/6RRUYVY=; b=FU+t9yow44UhtK01kyRNpKhEwN7IWam16j5T6OEDKNeftDthqMUPKRMnh1z4FTpzSg 6K8/0FNDd0NitW4pxhfBXcetPe4nsw5t9Wm1bDBo8D0i+AVzKCPcRhav62GlVEQx10lP YvCyOGwS3NUmkf3YEapvO05lS3stuP2acXZiRpDeg5frM/LeuA844d3oF/TdpQNPLhjN Vic+4XGNQkxaG6yX5SrtlVFGJbXBvpnjG05YqgNjlmJKB0BEQbTTO7myxEinfZy61Wd2 Nm3m2GWvQL/4/vGIEjvpqLCMng6a+qO7h94waGwERDdAQpwxsi4V/7U2lhacAp4ygYgV xUJw== X-Gm-Message-State: AC+VfDzdRM7Txx/T9SadyNh4OKndAqMzJu2l5/aHeu2VZa0rd2gW0las +22DeTdXSHam6hqIuSpwQ06QAQ== X-Received: by 2002:a17:903:2793:b0:1ad:e633:ee96 with SMTP id jw19-20020a170903279300b001ade633ee96mr2007567plb.55.1685028723461; Thu, 25 May 2023 08:32:03 -0700 (PDT) Received: from p14s ([2604:3d09:148c:c800:2825:fb66:f9f3:171d]) by smtp.gmail.com with ESMTPSA id bj2-20020a170902850200b001993a1fce7bsm1557285plb.196.2023.05.25.08.32.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 08:32:02 -0700 (PDT) Date: Thu, 25 May 2023 09:32:00 -0600 From: Mathieu Poirier To: Mohammad Rafi Shaik Cc: linux-remoteproc@vger.kernel.org, agross@kernel.org, andersson@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, quic_plai@quicinc.com, bgoswami@quicinc.com, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, quic_rohkumar@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org, devicetree@vger.kernel.org, krzysztof.kozlowski@linaro.org, corbet@lwn.net, quic_visr@quicinc.com Subject: Re: [PATCH v5 0/2] Update section header name check Message-ID: References: <20230223150559.2429562-1-quic_mohs@quicinc.com> <20230302215735.GA1401708@p14s> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 11, 2023 at 10:09:45PM +0530, Mohammad Rafi Shaik wrote: > > On 3/3/2023 3:27 AM, Mathieu Poirier wrote: > > On Thu, Feb 23, 2023 at 08:35:57PM +0530, Mohammad Rafi Shaik wrote: > > > Update section header name check and corresponding documentation. > > > Changes since v4: > > > -- Rephrase commit message. > > Asked for clarifications on V4 that were never given to me. This patchset will > > not move forward until those have been resolved. > The present Qualcomm DSP binary contains resource table name as > ".resource_table.ac_bin_process.", My questions still haven't been answered: 1. Why do we have to change the kernel because of the way a company specific tool generates an ELF? 2. Why is the "ac_bin_process" part needed at all? > so the current logic with strcmp will fail with present comparision ?as the > binary name is not only .resource_table but resource_table.ac_bin_process So > to overcome this issue we modified the way of checking the resource table > name to make it generic. > > strstarts(name_table + name, ".resource_table"); > > This logic will perform a string comparison with name ".resouce_table"as our > binary name is .resource_table.ac_bin_process it succeeds > > > > Changes since v3: > > > -- Rephrase commit message. > > > Changes since v2: > > > -- Update the commit message with example. > > > -- Update the documentation text appropriately. > > > Changes since v1: > > > -- Update the commit message. > > > -- Use strstarts instead of strstr. > > > -- Update documentation file. > > > > > > Srinivasa Rao Mandadapu (2): > > > remoteproc: elf_loader: Update resource table name check > > > docs: remoteproc: Update section header name requirement > > > > > > Documentation/staging/remoteproc.rst | 5 ++++- > > > drivers/remoteproc/remoteproc_elf_loader.c | 2 +- > > > 2 files changed, 5 insertions(+), 2 deletions(-) > > > > > > -- > > > 2.25.1 > > >