summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/armada-8k-cpufreq.c
diff options
context:
space:
mode:
authorSubbaraya Sundeep <sbhatta@marvell.com>2025-06-11 16:31:51 +0530
committerJakub Kicinski <kuba@kernel.org>2025-06-16 17:37:49 -0700
commit25d51ebf0f54f9c2424f28bb29125cf24f120df0 (patch)
treefa1fdb6af09b869e6344833b468e10374b07e5f8 /drivers/cpufreq/armada-8k-cpufreq.c
parentb34441e356252d96eda22f175b4a0256a14baf69 (diff)
octeontx2: Set appropriate PF, VF masks and shifts based on silicon
Number of RVU PFs on CN20K silicon have increased to 96 from maximum of 32 that were supported on earlier silicons. Every RVU PF and VF is identified by HW using a 16bit PF_FUNC value. Due to the change in Max number of PFs in CN20K, the bit encoding of this PF_FUNC has changed. This patch handles the change by using helper functions(using silicon check) to use PF,VF masks and shifts to support both new silicon CN20K, OcteonTx series. These helper functions are used in different modules. Also moved the NIX AF register offset macros to other files which will be posted in coming patches. Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com> Signed-off-by: Sai Krishna <saikrishnag@marvell.com> Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com> Link: https://patch.msgid.link/1749639716-13868-2-git-send-email-sbhatta@marvell.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/cpufreq/armada-8k-cpufreq.c')
0 files changed, 0 insertions, 0 deletions