Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp257805pxb; Thu, 17 Feb 2022 03:33:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJz71BiCrNTKnLoAJlXqI+y2UVRtP7kwaJtf6TQbScK0+meE2nBwXzEvccYrnXsNtNJO/uqE X-Received: by 2002:a05:6402:3489:b0:412:897b:9bb2 with SMTP id v9-20020a056402348900b00412897b9bb2mr2061328edc.73.1645097624839; Thu, 17 Feb 2022 03:33:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645097624; cv=none; d=google.com; s=arc-20160816; b=s02VIkWcjm3Jv1PcWGmMSR+KFQo4NnAGqkxki49hYQIXxefGVqMYXAD6WYE9uSHXP9 xundNPLF1bT9HprVuwfQ5Abe7oWbNdTdw0vXYfK4YZOgFelQscKEsGCaWntoh7aBqDVq aZqIkcRhgPWKLv278nRbOyIaCNoDip171txLiXggmZjnwSAZB45oU/elQRzZItLKtUiY k8GIAuJI22wsEIv9GJEMRuSWeZJDW/GRe1UtFm2XRHI5HON4Wx46Lw4o16F67xg+1slq QEB+xUh1RVQjvnpYGv/L8lozuryHAjzAKmGhSVBVoQdYoykCxriiO57cIAyVcsQ5jEbV YoYg== 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=Fnwcqhh2WiJm+E2KIQNPJuGkoPvnjSJ+UBtZWNW9CHc=; b=PbB0YT6VY1TmSoZf5hpg5mU5mEvTRze4XfeiM1EjopQK+I0v3v3tdsZALnAAUOhuX7 HsuejU9sAR23Rmh5tKARrZlUrsJGUFZe3Lkv45MdqEyGFeL4ynywQydNQ3fcwUHhY3W5 5IaOwkbKZtFqDKGzPKh/M6bIBhPTpfvMPx+4MUahD2TWymhi1MvchmEV2itL+Y0ywbrR yxY96svtDncdv0h2ZuV4mQY+WE0Tjd2Dt5RK8XiaelGjynwctUSZ/PBjGvbriqnS9WWo qKAHI5cf/M0tDW9SpFfbuM6sEiRfhizDG+MCy4DjVxHGINCByuzvEs1kqwpmRh/f/ROW W2GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Cesm3oQN; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z12si4329321edc.406.2022.02.17.03.33.20; Thu, 17 Feb 2022 03:33:44 -0800 (PST) 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=@ventanamicro.com header.s=google header.b=Cesm3oQN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239249AbiBQKzP (ORCPT + 99 others); Thu, 17 Feb 2022 05:55:15 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:53200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236833AbiBQKzO (ORCPT ); Thu, 17 Feb 2022 05:55:14 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DFC029413B for ; Thu, 17 Feb 2022 02:55:00 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id k60-20020a17090a4cc200b001b932781f3eso6109283pjh.0 for ; Thu, 17 Feb 2022 02:55:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Fnwcqhh2WiJm+E2KIQNPJuGkoPvnjSJ+UBtZWNW9CHc=; b=Cesm3oQNnw/my6XDNUnTjVHK/VKYNXbSaAMCwD9OODC79yTE0JATBJuCuLdz2ZuMEX vYjXEpoSoohhTuNzqszr9E3C2UdO5E3MT+sVktzQW6Rck54mkh3ZRqwUReS4qIbqPucV GCySJJm6Rq90E0fBDJqc+OIAeX8yjgFzZnGhspsFZ2h1HAh+HOBqVGEPz4IWYWki4Sx3 /820XTBrj11tk1q6TS/E6QJYevrUBd04UquRaaU3N7NfVlX3GpbATqCCg4IHZDp1ECGR HuVq+OIiaX2U4FJe7zashtP0fxAiYg93Y+jm12FQ7a0pXTeFegEAIu5vKBf4LbZxtYq3 ALxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Fnwcqhh2WiJm+E2KIQNPJuGkoPvnjSJ+UBtZWNW9CHc=; b=1aEDtIOYyZv3szPbPOwfKKjfiJamA5u1lVimuYfP5SgzcDG4nmhuhJInYkByTyP+hF 6l0ODeB2C2q9LBOej8uc26X03ZtXWBxX5GyMAFyot2HGShZAriUBJASa7bf5Qd+SZZg+ nxQhzn/9US4j2CjO8RaHX/nljtRZain4NFVqKGbS1nAIj9PIK3hI5Sfd6TAL9H6KT6U/ fEsj/WefV4dUC/Kup+6q8DLYyDwyMoTjeCFjP4MTNI4lK1F6nrlK7zdNDkcBoXl1oGYD Buhw+i4aDsKTRRSV3jALO4SscoQuIjd+11612mfatRFT73kS6Ny6/DTUNRh15H9bR9uH 2WRA== X-Gm-Message-State: AOAM531hMeYi8U/9m6Uf7fpiXK9CkUtsjv7SzVxRm6iCLix1xTHzNFqa Xn1VHfmGCHyZeEL3l0U27WqIRQ== X-Received: by 2002:a17:90b:4c4a:b0:1b7:9c92:1cbe with SMTP id np10-20020a17090b4c4a00b001b79c921cbemr6604071pjb.229.1645095299834; Thu, 17 Feb 2022 02:54:59 -0800 (PST) Received: from sunil-ThinkPad-T490 ([49.206.7.17]) by smtp.gmail.com with ESMTPSA id l8sm50606835pfc.187.2022.02.17.02.54.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 02:54:59 -0800 (PST) Date: Thu, 17 Feb 2022 16:24:50 +0530 From: Sunil V L To: Andreas Schwab Cc: Heinrich Schuchardt , Ard Biesheuvel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Atish Patra , linux-efi@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anup Patel , stable@vger.kernel.org Subject: Re: [PATCH] riscv/efi_stub: Fix get_boot_hartid_from_fdt() return value Message-ID: <20220217105450.GA20183@sunil-ThinkPad-T490> References: <20220128045004.4843-1-sunilvl@ventanamicro.com> <877d9xx14f.fsf@igel.home> <9cd9f149-d2ea-eb55-b774-8d817b9b6cc9@gmx.de> <87tud1vjn4.fsf@igel.home> <49d3aeab-1fe6-8d17-bc83-78f3555109c7@gmx.de> <87pmnpvh66.fsf@igel.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87pmnpvh66.fsf@igel.home> 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 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 Mon, Feb 14, 2022 at 12:09:05PM +0100, Andreas Schwab wrote: > On Feb 14 2022, Heinrich Schuchardt wrote: > > > On 2/14/22 11:15, Andreas Schwab wrote: > >> On Feb 14 2022, Heinrich Schuchardt wrote: > >> > >>> set_boot_hartid() implies that the caller can change the boot hart ID. > >>> As this is not a case this name obviously would be a misnomer. > >> > >> initialize_boot_hartid would fit better. > >> > > > > Another misnomer. > > But the best fit so far. Can we use the name init_boot_hartid_from_fdt()? While I understand Heinrich's point, I think since we have "_from_fdt", this may be fine. I didn't rename the function since it was not recommended to do multiple things in a "Fix" patch. If we can consider this as not very serious issue which needs a "Fix" patch, then I can combine this patch with the RISCV_EFI_BOOT_PROTOCOL patch series. Hi Ard, let me know your suggestion on how to proceed with this. Thanks Sunil > > -- > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 > "And now for something completely different."