Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6423174rwb; Wed, 18 Jan 2023 05:08:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXuMQzgWmOVOzRU2LxttHoFm83o+vmgxoaB7WpFQ8HMQGdnk/fckp3D3f3j7QyYXaV+fAxDa X-Received: by 2002:a05:6402:2686:b0:46d:c288:e798 with SMTP id w6-20020a056402268600b0046dc288e798mr9424869edd.21.1674047308536; Wed, 18 Jan 2023 05:08:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674047308; cv=none; d=google.com; s=arc-20160816; b=YMiGhnRyet0s+Yt2F1QO9y/akyIxy/OnUHYMyzaZwjJyki/9uMhjwI1IEcREfJgBAr AvNhZEgOES8MMkvCZwjnEnAT2poxk4FGgARTxWlcVxTUgFoUk0YJhsGJUkbRc8OYJ6fJ Wwdv6dw6/n7idnoPc9pkmtNS231APE4jlVcbhrSrfXkhwfbm2nZ3yJwtPEQkSSSdEyig 1lP1Z9bHqswSKvUAv4zwWiG6HYlKgLmkyiordOqOVU5RDf8mVdZvj1q/ovSsXPdyL6ky lgiGv0T+wy3M0RZnavfIVG4IZ5VpgNZtYCH2EKeKv9kuMKkjbajSA6d3EFg9BaagMr3y CCeQ== 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; bh=oyJ9LdAsjlyHZfBEuvEOrRjdwfCsh6gWig/BwEUH5vM=; b=K8Y02pgN1RjJpAc5HMjVu7hqR5cc8xz7ryyr6R3Md77x6zjMrEmdxpdyMn0COyIxGb kGH/Nj5mwVRzZkVSV7/PZc1s5DkMKBiXiR8UDBeqtiH4rZyF1EjKQyhzcm8KpTd4pSNG 4bdGUr66h/uHquqbOMNH3cL7prVpgGi6TLKFQ15IJNF5VBUmqgRVmgG23CF3b2a1Kai5 X5ng2cAEE+lJaYC6XcckatPQNeSpuuRQSlpXzyffnjX3ReeXYjVgVyQki5Ee8bd77gJ+ BvokKwOAl2/1f2kD2kqlxvFap00DxSdglETemCmik0GCcChozkGOXY7Bz/fU+lteyNgh H51g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t10-20020aa7d70a000000b00499b335829bsi11361919edq.447.2023.01.18.05.08.16; Wed, 18 Jan 2023 05:08:28 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229957AbjARMp3 (ORCPT + 45 others); Wed, 18 Jan 2023 07:45:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230346AbjARMnW (ORCPT ); Wed, 18 Jan 2023 07:43:22 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4E5243A82; Wed, 18 Jan 2023 04:07:36 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 432FF1477; Wed, 18 Jan 2023 04:08:18 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EF9A33F71A; Wed, 18 Jan 2023 04:07:33 -0800 (PST) Date: Wed, 18 Jan 2023 12:07:31 +0000 From: Sudeep Holla To: linux-kernel@vger.kernel.org, Pierre Gondois Cc: Len Brown , Jeremy Linton , Albert Ou , linux-acpi@vger.kernel.org, Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, Sudeep Holla , Paul Walmsley , Palmer Dabbelt , Will Deacon , Gavin Shan , Conor Dooley , Catalin Marinas , "Rafael J. Wysocki" , linux-riscv@lists.infradead.org Subject: Re: [PATCH v4 0/6] arch_topology: Build cacheinfo from primary CPU Message-ID: <20230118120731.jgsq4l7htwizlsp5@bogus> References: <20230104183033.755668-1-pierre.gondois@arm.com> <167404285593.885445.6219705651301997538.b4-ty@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <167404285593.885445.6219705651301997538.b4-ty@arm.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 Wed, Jan 18, 2023 at 11:55:59AM +0000, Sudeep Holla wrote: > On Wed, 4 Jan 2023 19:30:23 +0100, Pierre Gondois wrote: > > v2: > > - Applied renaming/formatting comments from v1. > > - Check CACHE_TYPE_VALID flag in pppt.c. > > v3: > > - Applied Sudeep's suggestions (for patch 5/5): > > - Renaming allocate_cache_info() -> fecth_cache_info() > > - Updated error message > > - Extract an inline allocate_cache_info() function > > - Re-run checkpatch with --strict option > > v4: > > - Remove RISC-V's implementation of init_cache_level() as not > > necessary. > > - Add patch: 'cacheinfo: Check 'cache-unified' property to count > > cache leaves' to increase the number of leaves at a cache level > > when no cache-size property is found. > > - In cacheinfo: Use RISC-V's init_cache_level() [...], > > make 'levels', 'leaves' and 'level' unsigned int to match > > of_property_read_u32()'s parameters signedness. > > > > [...] > > Applied to sudeep.holla/linux (for-next/cacheinfo), thanks! > I pushed the changes and then noticed some build warning report by kbuild posted only to you and one list(missing this list). Please post the fix if required on top of my for-next/cacheinfo so that it can be added on the top. Sorry for missing that. -- Regards, Sudeep