Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1207238rdh; Fri, 27 Oct 2023 07:38:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGMbHu02nEhG7z1+3eIeUaOmMbgdEtovH1DFltNhLFKKxvPPIZqjVy7gFkyI2RSreGkb+hW X-Received: by 2002:a25:3214:0:b0:da0:97d3:4e2 with SMTP id y20-20020a253214000000b00da097d304e2mr2538739yby.42.1698417531286; Fri, 27 Oct 2023 07:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698417531; cv=none; d=google.com; s=arc-20160816; b=Tk1MgLnaCGqihzQ3GF6TU9gPFTqcegzl28hqlL2pR0ULCw5kM1/tKfZ6Bpj5jQfKIK xcaSGL/7LVh6bqRqXX8y1R9aRfM6mwGr19eQLH0hqAzcod9z2uWbFIhE+CcfGzlgarWY 0+hSmVozMZ91Al89Fvm2rR/KKVZ3MlcdfX4cq+SxMmmWH5DrFdzrdaYtYbMNGq3ctzpa 8teD7TaVgFAWK56dz9s+dxAYyxFouPRfvtL8C3dAMfKgZv2cLCn6vyi0Yopdydgdjxmz 4BbJ8EJy0zFb3kU8zpHkLt/DoZlyOZA8qGUZyJEr9c7lL7rZF9iFqRkdGs/cPKRAQWAH XWgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=55I45Qtlplt+aIkb3uw3RfeEyoBtnIxw2UGzAOCPdDY=; fh=Ls8iRw8uqmE7ShShMRQc34YUuuLuIzdLdpE5wOS9Rkg=; b=AtvmA9Xl/JLLyLqvGiaFn+pRWxnBtAb8Gcvz+pIMsAuA8W+iespJ4QJvalwhx6gqWm 8Y9rEh5C4+1OJYFCyV0LZdg0CjNaOo3AEWWviDBY6ieTA+BHf161W/fbGE9cwLs++Zjw DTlogLgQOHVyQl6gxh/fcSLPI6diTD+O3xjynzM7ZMWi7gM8K5NNNvDXiJ61S/q+gZ6A Jscoy7k4coCwV55b5Jwo/uZbUaidKHfLAe3cDAn5ePeNXEaW/M5/sWW7x+pjcj+VUAI/ dgSEKqRiemTYjfOBFHdIT93Lw4AVIa5d0yGiazL4E8tkvKNKznTWj9wP+l4Ux/pZdzbH bU2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Wc9yZqFy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id d188-20020a25e6c5000000b00d747f98fea8si2419216ybh.510.2023.10.27.07.38.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 07:38:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Wc9yZqFy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E350E8260F5D; Fri, 27 Oct 2023 07:38:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345796AbjJ0Oij (ORCPT + 99 others); Fri, 27 Oct 2023 10:38:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231649AbjJ0Oij (ORCPT ); Fri, 27 Oct 2023 10:38:39 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D241D191 for ; Fri, 27 Oct 2023 07:38:36 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-5859a7d6556so1839305a12.0 for ; Fri, 27 Oct 2023 07:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1698417516; x=1699022316; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=55I45Qtlplt+aIkb3uw3RfeEyoBtnIxw2UGzAOCPdDY=; b=Wc9yZqFyEFXH4zn/PSLKQ/HOqrf0AoU2UFslouG08QDJqMelIZEnrsHC02ddkxZ8uP 8nHshG8bhaR42c6RDsFT7/zNmYgI3eEFA8jy3S1RUQ/2phKYFGN/LUBsOGXR1MTK3puc QNX3fQrW/PeDDcaRqbxA8/WedSrL34SjPJ+W/Y1yEz6tVcJeO9PxxUWStQxZFjf95WOs m0mDZPAlJ29u17K9cvcpRUBdVEtq9m3nde73g4z1NzBR2mts44iJhBCdgz8xEbAqJEcJ MJxC+OuHN1PITAU/SmNfNy+jV33G8ZCQJOC4e5HpsZXNcu+MC1mb0d+X3hRfd+GGgzXq Tj9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698417516; x=1699022316; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=55I45Qtlplt+aIkb3uw3RfeEyoBtnIxw2UGzAOCPdDY=; b=ei+dz9dfsHxFtXdgUF51Qr6iCzV84IJyrKqNUKlHZ7UhAZu9fd1bt1K4pdvL3HwrTW Hp58yXUFeht7JckeIbuB/MTCQofzYfxqe99Ho5SBusw5HMrrGMSEevS5WXpHsVw9a8xS PmW+xSfPrsEaeZcDKrUzkOpc9SP/y801N02+ZhJpz9uvf28aOK6gTiRcInP9Xj2FveE5 pFOI+uKGPTA38LPapzbrdB8WdXDNzAzKCVQR/k1Eh0Wx7Ye8WE8/t+NwEaERJLvLqBZj Jw+dYqJ+yvwdsd0z/B475/p3IuOJUl8x9gx6JyQf3TTzLs17m1IDgCVx4NhGOx7hE7hJ EYsw== X-Gm-Message-State: AOJu0Yy/pOEnPtMihWYfL2Rv/3jNbgROHyg1VqiQ9k+wa5nf8BcFBvrd RBrjG72UGh6x3OGfbSpMzhVEGhH5DcrBkza7D++6ZQ== X-Received: by 2002:a17:90a:6e48:b0:27d:3c75:db02 with SMTP id s8-20020a17090a6e4800b0027d3c75db02mr2979762pjm.32.1698417516000; Fri, 27 Oct 2023 07:38:36 -0700 (PDT) MIME-Version: 1.0 References: <20231025142820.390238-1-apatel@ventanamicro.com> <20231025142820.390238-2-apatel@ventanamicro.com> <87y1fo3383.ffs@tglx> In-Reply-To: <87y1fo3383.ffs@tglx> From: Anup Patel Date: Fri, 27 Oct 2023 20:08:24 +0530 Message-ID: Subject: Re: [PATCH 1/3] RISC-V: Don't fail in riscv_of_parent_hartid() for disabled HARTs To: Thomas Gleixner Cc: Palmer Dabbelt , Paul Walmsley , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley , Marc Zyngier , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Atish Patra , Andrew Jones , Sunil V L , Saravana Kannan , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Atish Patra Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 27 Oct 2023 07:38:48 -0700 (PDT) On Fri, Oct 27, 2023 at 1:29=E2=80=AFPM Thomas Gleixner wrote: > > On Wed, Oct 25 2023 at 19:58, Anup Patel wrote: > > The riscv_of_processor_hartid() used by riscv_of_parent_hartid() fails > > for HARTs disabled in the DT. This results in the following warning > > thrown by the RISC-V INTC driver for the E-core on SiFive boards: > > > > [ 0.000000] riscv-intc: unable to find hart id for /cpus/cpu@0/inter= rupt-controller > > > > The riscv_of_parent_hartid() is only expected to read the hartid from > > the DT so we should directly call of_get_cpu_hwid() instead of calling > > We should? Or maybe not? > > Please write precise changelogs and use imperative wording as documented > in Documentation/process. Sure, I will update the wording in the commit description. Thanks, Anup