Message ID | 20211006164332.1981454-1-robh@kernel.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac0:b5cc:0:0:0:0:0 with SMTP id x12csp590120ime; Wed, 6 Oct 2021 09:43:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlAuWVlPDvX8vOrCopLhc0vyhSXIYBaQrrvUP3JVmCJWWyu7jtw4kmnamAoJ+zs/RSZTyh X-Received: by 2002:a17:90b:30c:: with SMTP id ay12mr12124069pjb.234.1633538619946; Wed, 06 Oct 2021 09:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633538619; cv=none; d=google.com; s=arc-20160816; b=JdnQXHIov6Tz0+igci89i3aMHkhJT00+ueJ5EzyI1GWvCuOPAit/iVulFYg6ZD28kH 7NOlBq7bN34O8h8OTodSiFPscOPTxXnLhYpqeszbbooCJfs1svts2jff4VzFZC8Ah+sg jqVevBLSvLH9IgtcnE1wXAhdnWx8oY2pIBPu6Em6Y10VCT9tLI/cwZlEY1HpW3yv3bgv mbfzUDQLMY+DOZmZMNPhkK0D5ADaSNrcKpQb32HY+IdTCKYtRkxtjJVrMcnrObjJcEfO iDcAI3kbDxUi/qxa1TRak1UCCIkAMjdpRrRwtWUXMubDo9fa7WWllrnMK8NY5YIjZNC/ Uv+A== 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:subject:cc:to:from; bh=jBzMvIMgnR7M/3yhI7B+vslrQk5E3C0Pdi0d+USOXmM=; b=yT/BpbSpiAZYlKcctgtyUb+j8HiyRK0OzLVFxJTRrnnY7B4WPwmxEm63KZ5CU5i7ju JlLk+boSNvat5u1YSpQ++NuUbCEgiyeIEJuIU1OSFGV9YpexQ5p4aJ5EUfe01Y4X3pbO g4O2EiBvb8uxqle1Fn8jY2xNf3rXgqtr8rPGko95BoguXDH1gdOw8iosRqfs26f0Nrjo 9KLFXLA7gmI3LyGdW8cczrHG9bxRy0ruhQhJVGvJIcQbd6RH1HvqfdYz2GjSsvGA+kFP xjyApv6/T02Z18si4qd2BG4+BjohEUZ8i0f4Dsa1oNKsJ8BCiZQ3OvasjSy2IE2KFclV KXwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: <devicetree-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y1si28350370pll.239.2021.10.06.09.43.39; Wed, 06 Oct 2021 09:43:39 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231779AbhJFQpa (ORCPT <rfc822;vladimir.zapolskiy@linaro.org> + 7 others); Wed, 6 Oct 2021 12:45:30 -0400 Received: from mail-oi1-f175.google.com ([209.85.167.175]:42793 "EHLO mail-oi1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231484AbhJFQp2 (ORCPT <rfc822; devicetree@vger.kernel.org>); Wed, 6 Oct 2021 12:45:28 -0400 Received: by mail-oi1-f175.google.com with SMTP id x187so2464276oix.9; Wed, 06 Oct 2021 09:43:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jBzMvIMgnR7M/3yhI7B+vslrQk5E3C0Pdi0d+USOXmM=; b=lKAeLC9r17NMcHj0W2tJAF27RAB1XfMR5afeQawc9v55LcLokP8Q3ou8GzO7qSBm0y cM4kwUZOwBsCnieLBo0vkzBSQYa2saturs8bXxE2benYdciWglT7e2IG0nwB2PHUyVU/ YnIIpJYDQbFIDOQivrp+skZmgZnpVY4CTW8pvYKNLy25LuKJHidKSgNEPx7goAn4OGLo 1tq48eaytUxxezZd2xCzMahOly8TEYixkecUZAORcIrv1PGVX1osBBA5psSxReGyFJt2 YqLI+8nc4zfyDYt1XEykLqsFIYICT6Szq9iph7gpp/3z1dEP48qEp0ZsCrrEvDLFGaiD H78w== X-Gm-Message-State: AOAM532najdQMh0/57fxxP1ii9hOgyyftOHITSqh8tILxG1UFe+ejvJ/ FDu4pNeAg80YxkqOX+vjTg== X-Received: by 2002:a05:6808:2221:: with SMTP id bd33mr8117373oib.64.1633538615382; Wed, 06 Oct 2021 09:43:35 -0700 (PDT) Received: from xps15.herring.priv (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.googlemail.com with ESMTPSA id s29sm4236628otg.60.2021.10.06.09.43.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 09:43:34 -0700 (PDT) From: Rob Herring <robh@kernel.org> To: Russell King <linux@armlinux.org.uk>, James Morse <james.morse@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Guo Ren <guoren@kernel.org>, Jonas Bonn <jonas@southpole.se>, Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>, Stafford Horne <shorne@gmail.com>, Michael Ellerman <mpe@ellerman.id.au>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Yoshinori Sato <ysato@users.sourceforge.jp>, Rich Felker <dalias@libc.org>, x86@kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Florian Fainelli <f.fainelli@gmail.com>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, bcm-kernel-feedback-list@broadcom.com, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Paul Mackerras <paulus@samba.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, "H. Peter Anvin" <hpa@zytor.com>, "Rafael J. Wysocki" <rafael@kernel.org>, Frank Rowand <frowand.list@gmail.com>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-csky@vger.kernel.org, openrisc@lists.librecores.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 00/12] DT: CPU h/w id parsing clean-ups and cacheinfo id support Date: Wed, 6 Oct 2021 11:43:20 -0500 Message-Id: <20211006164332.1981454-1-robh@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.org |
Series |
DT: CPU h/w id parsing clean-ups and cacheinfo id support
|
expand
|
On 10/6/2021 9:43 AM, Rob Herring wrote: > The first 10 patches add a new function, of_get_cpu_hwid(), which parses > CPU DT node 'reg' property, and then use it to replace all the open > coded versions of parsing CPU node 'reg' properties. > > The last 2 patches add support for populating the cacheinfo 'id' on DT > platforms. The minimum associated CPU hwid is used for the id. The id is > optional, but necessary for resctrl which is being adapted for Arm MPAM. > > Tested on arm64. Compile tested on arm, x86 and powerpc. On ARM and ARM64: Tested-by: Florian Fainelli <f.fainelli@gmail.com> lscpu -C continues to work on ARM64 as before with cache properties provided in the FDT. -- Florian