Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1830470rda; Tue, 24 Oct 2023 04:55:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPuwAHkKViDZBKZR2Gyo8nhwQNAssmM90IqMAkOpgCOLwHRVj/Z55pUzEeIwgng75+9ycH X-Received: by 2002:a17:903:41c7:b0:1ca:b26a:9724 with SMTP id u7-20020a17090341c700b001cab26a9724mr10618219ple.12.1698148545803; Tue, 24 Oct 2023 04:55:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698148545; cv=none; d=google.com; s=arc-20160816; b=L7zdPoNZVd2jGzrYcnm0lYEusf7UawQDsCR5wEfoKmv+WRjgeJ9Xlc4mkzsUMcCWs+ MT9+1JKiV5cHalWx6IFB2jXZN9n4hEbbtT6rjSsrUKxjdim5wlHJjb4F6A+5OE3vV+FL IHmHPUsoleXLwUSwbeCRjhXKhFIWq9zbEaiRcYG5iVlg4CJY2uN94Z0sKh6j+8hC10Nr cHgUJ2E27RqD49uO0zt+jveKEt0mUJfHlNeldJaNeOcIBGmysQzftKF2dAdbBHf/NSFQ hlNbHdjO1eYHuxEwRq7eQl0scjIBfkirQUJlUcMlHuASjkuAZCw0JZLhFhp4M75XdEHE QHzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=mdHx3/lX4eqbNswG/ZIkBQJlWr2+mscEsdQnnqf+rcA=; fh=JBjO39aoPXJVTkpQHz+HRLZo7zb6bkUJlyOlWbe15Zw=; b=VIYHAxtvrKEKOWLyS3yKAfUoJcS7e/I/GVjDtEy1K9AC3zNCPPWD2eu7gDXmcSMPTc 6ZQotpD6iiPcn0BAoBQK7r59ip9wxdoZT1BzVAWby6jIf2wzjT6p+VDOARyfYgaZk3ee ThVA79MfEPPSWJlYv4Z8TH/+gPNCXW3+d/BC9hfpMlza25nseZ7jzk14M7fxo/oYw+Du 4SZSGXoWJyTQV0akFA7tvJAEgH9B5vAQ5BJqafiLH7Lng28DEOuJMiuBIVnuAuw3wI3b kiLAK8RAF/Lr1zxEca590DY7GTbtuPBYWnpPokCoQi6cseWwNbpxuZNzh7OD5rGfpD3F euRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="gp/kARWk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id k4-20020a170902d58400b001cae629cf10si4021851plh.544.2023.10.24.04.55.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 04:55:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="gp/kARWk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 6AFD7809542F; Tue, 24 Oct 2023 04:55:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232340AbjJXLzd (ORCPT + 99 others); Tue, 24 Oct 2023 07:55:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231433AbjJXLzb (ORCPT ); Tue, 24 Oct 2023 07:55:31 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EEC4BD for ; Tue, 24 Oct 2023 04:55:29 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56BB9C433C7; Tue, 24 Oct 2023 11:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698148529; bh=ozsPNKeRYz2u0iELn3HbnuXXLgIDYAVxNBxhsn13OoU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=gp/kARWkeQCvZcJG51906PXhGlm2ymUqGxZ0YpevWlinAhdCJ8ccWWJ7UI4/r3z8E OT35Ycq8hze2eR21Dv7CifcmXJLQc9h4N6Sq0e4Zw0ZMVpVaIepz36MdvFlEOLwlq+ DELIVmHBREeVxPD7McDdYBrugbGj0anqLa5spDHY+qD6QF4kT6RLBWgH36psqrk3YV NdWiQY5wlw126R6bLEx8scnNL4MiJHILywR1lCcJYKWG0+I33zpgAD5OrNu4MXEkHI 4+Gho6kZkaMG7wsX6BgCqV/mBP/OwPToli+7r+LluAlsSOtTc0olHSUos3ayccLada LvtEhPyprQBTg== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Anup Patel , Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley Cc: Marc Zyngier , 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, Anup Patel , Atish Patra Subject: Re: [PATCH v11 01/14] RISC-V: Don't fail in riscv_of_parent_hartid() for disabled HARTs In-Reply-To: <20231023172800.315343-2-apatel@ventanamicro.com> References: <20231023172800.315343-1-apatel@ventanamicro.com> <20231023172800.315343-2-apatel@ventanamicro.com> Date: Tue, 24 Oct 2023 13:55:24 +0200 Message-ID: <87h6mgs09f.fsf@all.your.base.are.belong.to.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 24 Oct 2023 04:55:41 -0700 (PDT) Anup Patel writes: > 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/interru= pt-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 > riscv_of_processor_hartid(). > > Fixes: ad635e723e17 ("riscv: cpu: Add 64bit hartid support on RV64") Patch 1 and 3: These fixes are stand alone, and doesn't have to be part of the series. Wouldn't it be better to pull these out of the long-going series, and try to get in the fixes ASAP? Bj=C3=B6rn