mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: ga10b: update regops allowlist
Update regops allowlist using the latest hw headers. Bug 3455929 Jira NVGPU-7365 Change-Id: I4f866b81de2a7d689f1b633a498a8c0c9a26a226 Signed-off-by: Antony Clince Alex <aalex@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2651169 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
c78998f99b
commit
6bfa11c327
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved.
|
* Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
@@ -378,13 +378,16 @@ const struct nvgpu_pm_resource_register_range ga10b_hwpm_router_register_ranges[
|
|||||||
};
|
};
|
||||||
|
|
||||||
const struct nvgpu_pm_resource_register_range ga10b_hwpm_pma_channel_register_ranges[] = {
|
const struct nvgpu_pm_resource_register_range ga10b_hwpm_pma_channel_register_ranges[] = {
|
||||||
|
{0x0024a00c, 0x0024a00c},
|
||||||
{0x0024a610, 0x0024a628},
|
{0x0024a610, 0x0024a628},
|
||||||
{0x0024a634, 0x0024a658},
|
{0x0024a634, 0x0024a658},
|
||||||
{0x0024a730, 0x0024a734},
|
{0x0024a730, 0x0024a734},
|
||||||
|
{0x0024a75c, 0x0024a75c},
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct nvgpu_pm_resource_register_range ga10b_hwpm_pma_trigger_register_ranges[] = {
|
const struct nvgpu_pm_resource_register_range ga10b_hwpm_pma_trigger_register_ranges[] = {
|
||||||
{0x0024a000, 0x0024a60c},
|
{0x0024a000, 0x0024a008},
|
||||||
|
{0x0024a6d0, 0x0024a60c},
|
||||||
{0x0024a62c, 0x0024a62c},
|
{0x0024a62c, 0x0024a62c},
|
||||||
{0x0024a65c, 0x0024a72c},
|
{0x0024a65c, 0x0024a72c},
|
||||||
};
|
};
|
||||||
@@ -398,8 +401,6 @@ const struct nvgpu_pm_resource_register_range ga10b_hwpm_perfmux_register_ranges
|
|||||||
{0x00140028, 0x00140028},
|
{0x00140028, 0x00140028},
|
||||||
{0x00142028, 0x00142028},
|
{0x00142028, 0x00142028},
|
||||||
{0x0017e028, 0x0017e028},
|
{0x0017e028, 0x0017e028},
|
||||||
{0x00900100, 0x00900100},
|
|
||||||
{0x00904100, 0x00904100},
|
|
||||||
{0x009a0100, 0x009a0100},
|
{0x009a0100, 0x009a0100},
|
||||||
{0x00503814, 0x00503814},
|
{0x00503814, 0x00503814},
|
||||||
{0x00503870, 0x00503870},
|
{0x00503870, 0x00503870},
|
||||||
@@ -443,8 +444,6 @@ const struct nvgpu_pm_resource_register_range ga10b_hwpm_perfmux_register_ranges
|
|||||||
{0x0017e750, 0x0017e750},
|
{0x0017e750, 0x0017e750},
|
||||||
{0x0017e950, 0x0017e950},
|
{0x0017e950, 0x0017e950},
|
||||||
{0x0017eb50, 0x0017eb50},
|
{0x0017eb50, 0x0017eb50},
|
||||||
{0x009001e0, 0x009001e4},
|
|
||||||
{0x009041e0, 0x009041e4},
|
|
||||||
{0x009a01e0, 0x009a01e4},
|
{0x009a01e0, 0x009a01e4},
|
||||||
{0x00500384, 0x00500384},
|
{0x00500384, 0x00500384},
|
||||||
{0x005004a0, 0x005004a0},
|
{0x005004a0, 0x005004a0},
|
||||||
@@ -498,90 +497,92 @@ const struct nvgpu_pm_resource_register_range ga10b_hwpm_perfmux_register_ranges
|
|||||||
{0x0041a0a8, 0x0041a0a8},
|
{0x0041a0a8, 0x0041a0a8},
|
||||||
{0x0041a8a0, 0x0041a8a8},
|
{0x0041a8a0, 0x0041a8a8},
|
||||||
{0x00504054, 0x00504054},
|
{0x00504054, 0x00504054},
|
||||||
|
{0x005041ac, 0x005041ac},
|
||||||
{0x005042b0, 0x005042b0},
|
{0x005042b0, 0x005042b0},
|
||||||
{0x00504304, 0x00504304},
|
{0x00504304, 0x00504304},
|
||||||
{0x005043dc, 0x005043dc},
|
|
||||||
{0x0050440c, 0x0050440c},
|
{0x0050440c, 0x0050440c},
|
||||||
{0x00504664, 0x00504664},
|
{0x00504664, 0x00504664},
|
||||||
{0x00504854, 0x00504854},
|
{0x00504854, 0x00504854},
|
||||||
|
{0x005049ac, 0x005049ac},
|
||||||
{0x00504ab0, 0x00504ab0},
|
{0x00504ab0, 0x00504ab0},
|
||||||
{0x00504b04, 0x00504b04},
|
{0x00504b04, 0x00504b04},
|
||||||
{0x00504bdc, 0x00504bdc},
|
|
||||||
{0x00504c0c, 0x00504c0c},
|
{0x00504c0c, 0x00504c0c},
|
||||||
{0x00504e64, 0x00504e64},
|
{0x00504e64, 0x00504e64},
|
||||||
{0x00505054, 0x00505054},
|
{0x00505054, 0x00505054},
|
||||||
|
{0x005051ac, 0x005051ac},
|
||||||
{0x005052b0, 0x005052b0},
|
{0x005052b0, 0x005052b0},
|
||||||
{0x00505304, 0x00505304},
|
{0x00505304, 0x00505304},
|
||||||
{0x005053dc, 0x005053dc},
|
|
||||||
{0x0050540c, 0x0050540c},
|
{0x0050540c, 0x0050540c},
|
||||||
{0x00505664, 0x00505664},
|
{0x00505664, 0x00505664},
|
||||||
{0x00505854, 0x00505854},
|
{0x00505854, 0x00505854},
|
||||||
|
{0x005059ac, 0x005059ac},
|
||||||
{0x00505ab0, 0x00505ab0},
|
{0x00505ab0, 0x00505ab0},
|
||||||
{0x00505b04, 0x00505b04},
|
{0x00505b04, 0x00505b04},
|
||||||
{0x00505bdc, 0x00505bdc},
|
|
||||||
{0x00505c0c, 0x00505c0c},
|
{0x00505c0c, 0x00505c0c},
|
||||||
{0x00505e64, 0x00505e64},
|
{0x00505e64, 0x00505e64},
|
||||||
{0x0050c054, 0x0050c054},
|
{0x0050c054, 0x0050c054},
|
||||||
|
{0x0050c1ac, 0x0050c1ac},
|
||||||
{0x0050c2b0, 0x0050c2b0},
|
{0x0050c2b0, 0x0050c2b0},
|
||||||
{0x0050c304, 0x0050c304},
|
{0x0050c304, 0x0050c304},
|
||||||
{0x0050c3dc, 0x0050c3dc},
|
|
||||||
{0x0050c40c, 0x0050c40c},
|
{0x0050c40c, 0x0050c40c},
|
||||||
{0x0050c664, 0x0050c664},
|
{0x0050c664, 0x0050c664},
|
||||||
{0x0050c854, 0x0050c854},
|
{0x0050c854, 0x0050c854},
|
||||||
|
{0x0050c9ac, 0x0050c9ac},
|
||||||
{0x0050cab0, 0x0050cab0},
|
{0x0050cab0, 0x0050cab0},
|
||||||
{0x0050cb04, 0x0050cb04},
|
{0x0050cb04, 0x0050cb04},
|
||||||
{0x0050cbdc, 0x0050cbdc},
|
|
||||||
{0x0050cc0c, 0x0050cc0c},
|
{0x0050cc0c, 0x0050cc0c},
|
||||||
{0x0050ce64, 0x0050ce64},
|
{0x0050ce64, 0x0050ce64},
|
||||||
{0x0050d054, 0x0050d054},
|
{0x0050d054, 0x0050d054},
|
||||||
|
{0x0050d1ac, 0x0050d1ac},
|
||||||
{0x0050d2b0, 0x0050d2b0},
|
{0x0050d2b0, 0x0050d2b0},
|
||||||
{0x0050d304, 0x0050d304},
|
{0x0050d304, 0x0050d304},
|
||||||
{0x0050d3dc, 0x0050d3dc},
|
|
||||||
{0x0050d40c, 0x0050d40c},
|
{0x0050d40c, 0x0050d40c},
|
||||||
{0x0050d664, 0x0050d664},
|
{0x0050d664, 0x0050d664},
|
||||||
{0x0050d854, 0x0050d854},
|
{0x0050d854, 0x0050d854},
|
||||||
|
{0x0050d9ac, 0x0050d9ac},
|
||||||
{0x0050dab0, 0x0050dab0},
|
{0x0050dab0, 0x0050dab0},
|
||||||
{0x0050db04, 0x0050db04},
|
{0x0050db04, 0x0050db04},
|
||||||
{0x0050dbdc, 0x0050dbdc},
|
|
||||||
{0x0050dc0c, 0x0050dc0c},
|
{0x0050dc0c, 0x0050dc0c},
|
||||||
{0x0050de64, 0x0050de64},
|
{0x0050de64, 0x0050de64},
|
||||||
{0x00419854, 0x00419854},
|
{0x00419854, 0x00419854},
|
||||||
|
{0x004199ac, 0x004199ac},
|
||||||
{0x00419ab0, 0x00419ab0},
|
{0x00419ab0, 0x00419ab0},
|
||||||
{0x00419b04, 0x00419b04},
|
{0x00419b04, 0x00419b04},
|
||||||
{0x00419bdc, 0x00419bdc},
|
|
||||||
{0x00419c0c, 0x00419c0c},
|
{0x00419c0c, 0x00419c0c},
|
||||||
{0x00419e64, 0x00419e64},
|
{0x00419e64, 0x00419e64},
|
||||||
{0x0041c054, 0x0041c054},
|
{0x0041c054, 0x0041c054},
|
||||||
|
{0x0041c1ac, 0x0041c1ac},
|
||||||
{0x0041c2b0, 0x0041c2b0},
|
{0x0041c2b0, 0x0041c2b0},
|
||||||
{0x0041c304, 0x0041c304},
|
{0x0041c304, 0x0041c304},
|
||||||
{0x0041c3dc, 0x0041c3dc},
|
|
||||||
{0x0041c40c, 0x0041c40c},
|
{0x0041c40c, 0x0041c40c},
|
||||||
{0x0041c664, 0x0041c664},
|
{0x0041c664, 0x0041c664},
|
||||||
{0x0041c854, 0x0041c854},
|
{0x0041c854, 0x0041c854},
|
||||||
|
{0x0041c9ac, 0x0041c9ac},
|
||||||
{0x0041cab0, 0x0041cab0},
|
{0x0041cab0, 0x0041cab0},
|
||||||
{0x0041cb04, 0x0041cb04},
|
{0x0041cb04, 0x0041cb04},
|
||||||
{0x0041cbdc, 0x0041cbdc},
|
|
||||||
{0x0041cc0c, 0x0041cc0c},
|
{0x0041cc0c, 0x0041cc0c},
|
||||||
{0x0041ce64, 0x0041ce64},
|
{0x0041ce64, 0x0041ce64},
|
||||||
{0x0041d054, 0x0041d054},
|
{0x0041d054, 0x0041d054},
|
||||||
|
{0x0041d1ac, 0x0041d1ac},
|
||||||
{0x0041d2b0, 0x0041d2b0},
|
{0x0041d2b0, 0x0041d2b0},
|
||||||
{0x0041d304, 0x0041d304},
|
{0x0041d304, 0x0041d304},
|
||||||
{0x0041d3dc, 0x0041d3dc},
|
|
||||||
{0x0041d40c, 0x0041d40c},
|
{0x0041d40c, 0x0041d40c},
|
||||||
{0x0041d664, 0x0041d664},
|
{0x0041d664, 0x0041d664},
|
||||||
{0x0041d854, 0x0041d854},
|
{0x0041d854, 0x0041d854},
|
||||||
|
{0x0041d9ac, 0x0041d9ac},
|
||||||
{0x0041dab0, 0x0041dab0},
|
{0x0041dab0, 0x0041dab0},
|
||||||
{0x0041db04, 0x0041db04},
|
{0x0041db04, 0x0041db04},
|
||||||
{0x0041dbdc, 0x0041dbdc},
|
|
||||||
{0x0041dc0c, 0x0041dc0c},
|
{0x0041dc0c, 0x0041dc0c},
|
||||||
{0x0041de64, 0x0041de64},
|
{0x0041de64, 0x0041de64},
|
||||||
{0x00501854, 0x00501854},
|
{0x00501854, 0x00501854},
|
||||||
|
{0x005019ac, 0x005019ac},
|
||||||
{0x00501ab0, 0x00501ab0},
|
{0x00501ab0, 0x00501ab0},
|
||||||
{0x00501b04, 0x00501b04},
|
{0x00501b04, 0x00501b04},
|
||||||
{0x00501bdc, 0x00501bdc},
|
{0x00501bdc, 0x00501bdc},
|
||||||
{0x00501c0c, 0x00501c0c},
|
{0x00501c0c, 0x00501c0c},
|
||||||
{0x00501e64, 0x00501e64},
|
{0x00501e64, 0x00501e64},
|
||||||
{0x00509854, 0x00509854},
|
{0x00509854, 0x00509854},
|
||||||
|
{0x005099ac, 0x005099ac},
|
||||||
{0x00509ab0, 0x00509ab0},
|
{0x00509ab0, 0x00509ab0},
|
||||||
{0x00509b04, 0x00509b04},
|
{0x00509b04, 0x00509b04},
|
||||||
{0x00509bdc, 0x00509bdc},
|
{0x00509bdc, 0x00509bdc},
|
||||||
@@ -630,10 +631,13 @@ const struct nvgpu_pm_resource_register_range ga10b_hwpm_perfmux_register_ranges
|
|||||||
{0x0008e00c, 0x0008e00c},
|
{0x0008e00c, 0x0008e00c},
|
||||||
{0x00100c18, 0x00100c20},
|
{0x00100c18, 0x00100c20},
|
||||||
{0x00100c84, 0x00100c84},
|
{0x00100c84, 0x00100c84},
|
||||||
|
{0x00104030, 0x00104030},
|
||||||
{0x00105068, 0x00105068},
|
{0x00105068, 0x00105068},
|
||||||
{0x00105128, 0x00105128},
|
{0x00105128, 0x00105128},
|
||||||
{0x0010a0a8, 0x0010a0a8},
|
{0x0010a0a8, 0x0010a0a8},
|
||||||
{0x0010a4f0, 0x0010a4f0},
|
{0x0010a4f0, 0x0010a4f0},
|
||||||
|
{0x00122228, 0x00122228},
|
||||||
|
{0x00124228, 0x00124228},
|
||||||
{0x0013cc14, 0x0013cc14},
|
{0x0013cc14, 0x0013cc14},
|
||||||
{0x0013cc24, 0x0013cc28},
|
{0x0013cc24, 0x0013cc28},
|
||||||
{0x0013cc94, 0x0013cc94},
|
{0x0013cc94, 0x0013cc94},
|
||||||
@@ -649,51 +653,51 @@ const struct nvgpu_pm_resource_register_range ga10b_hwpm_perfmux_register_ranges
|
|||||||
};
|
};
|
||||||
|
|
||||||
const struct nvgpu_pm_resource_register_range ga10b_cau_register_ranges[] = {
|
const struct nvgpu_pm_resource_register_range ga10b_cau_register_ranges[] = {
|
||||||
{0x00504180, 0x005041b8},
|
{0x00504180, 0x005041ac},
|
||||||
{0x005041c0, 0x005041e8},
|
{0x005041b4, 0x005041e8},
|
||||||
{0x005041f0, 0x005041f8},
|
{0x005041f4, 0x005041fc},
|
||||||
{0x00504980, 0x005049b8},
|
{0x00504980, 0x005049ac},
|
||||||
{0x005049c0, 0x005049e8},
|
{0x005049b4, 0x005049e8},
|
||||||
{0x005049f0, 0x005049f8},
|
{0x005049f4, 0x005049fc},
|
||||||
{0x00505180, 0x005051b8},
|
{0x00505180, 0x005051ac},
|
||||||
{0x005051c0, 0x005051e8},
|
{0x005051b4, 0x005051e8},
|
||||||
{0x005051f0, 0x005051f8},
|
{0x005051f4, 0x005051fc},
|
||||||
{0x00505980, 0x005059b8},
|
{0x00505980, 0x005059ac},
|
||||||
{0x005059c0, 0x005059e8},
|
{0x005059b4, 0x005059e8},
|
||||||
{0x005059f0, 0x005059f8},
|
{0x005059f4, 0x005059fc},
|
||||||
{0x0050c180, 0x0050c1b8},
|
{0x0050c180, 0x0050c1ac},
|
||||||
{0x0050c1c0, 0x0050c1e8},
|
{0x0050c1b4, 0x0050c1e8},
|
||||||
{0x0050c1f0, 0x0050c1f8},
|
{0x0050c1f4, 0x0050c1fc},
|
||||||
{0x0050c980, 0x0050c9b8},
|
{0x0050c980, 0x0050c9ac},
|
||||||
{0x0050c9c0, 0x0050c9e8},
|
{0x0050c9b4, 0x0050c9e8},
|
||||||
{0x0050c9f0, 0x0050c9f8},
|
{0x0050c9f4, 0x0050c9fc},
|
||||||
{0x0050d180, 0x0050d1b8},
|
{0x0050d180, 0x0050d1ac},
|
||||||
{0x0050d1c0, 0x0050d1e8},
|
{0x0050d1b4, 0x0050d1e8},
|
||||||
{0x0050d1f0, 0x0050d1f8},
|
{0x0050d1f4, 0x0050d1fc},
|
||||||
{0x0050d980, 0x0050d9b8},
|
{0x0050d980, 0x0050d9ac},
|
||||||
{0x0050d9c0, 0x0050d9e8},
|
{0x0050d9b4, 0x0050d9e8},
|
||||||
{0x0050d9f0, 0x0050d9f8},
|
{0x0050d9f4, 0x0050d9fc},
|
||||||
{0x00419980, 0x004199b8},
|
{0x00419980, 0x004199ac},
|
||||||
{0x004199c0, 0x004199e8},
|
{0x004199b4, 0x004199e8},
|
||||||
{0x004199f0, 0x004199f8},
|
{0x004199f4, 0x004199fc},
|
||||||
{0x0041c180, 0x0041c1b8},
|
{0x0041c180, 0x0041c1ac},
|
||||||
{0x0041c1c0, 0x0041c1e8},
|
{0x0041c1b4, 0x0041c1e8},
|
||||||
{0x0041c1f0, 0x0041c1f8},
|
{0x0041c1f4, 0x0041c1fc},
|
||||||
{0x0041c980, 0x0041c9b8},
|
{0x0041c980, 0x0041c9ac},
|
||||||
{0x0041c9c0, 0x0041c9e8},
|
{0x0041c9b4, 0x0041c9e8},
|
||||||
{0x0041c9f0, 0x0041c9f8},
|
{0x0041c9f4, 0x0041c9fc},
|
||||||
{0x0041d180, 0x0041d1b8},
|
{0x0041d180, 0x0041d1ac},
|
||||||
{0x0041d1c0, 0x0041d1e8},
|
{0x0041d1b4, 0x0041d1e8},
|
||||||
{0x0041d1f0, 0x0041d1f8},
|
{0x0041d1f4, 0x0041d1fc},
|
||||||
{0x0041d980, 0x0041d9b8},
|
{0x0041d980, 0x0041d9ac},
|
||||||
{0x0041d9c0, 0x0041d9e8},
|
{0x0041d9b4, 0x0041d9e8},
|
||||||
{0x0041d9f0, 0x0041d9f8},
|
{0x0041d9f4, 0x0041d9fc},
|
||||||
{0x00501980, 0x005019b8},
|
{0x00501980, 0x005019ac},
|
||||||
{0x005019c0, 0x005019e8},
|
{0x005019b4, 0x005019e8},
|
||||||
{0x005019f0, 0x005019f8},
|
{0x005019f4, 0x005019fc},
|
||||||
{0x00509980, 0x005099b8},
|
{0x00509980, 0x005099ac},
|
||||||
{0x005099c0, 0x005099e8},
|
{0x005099b4, 0x005099e8},
|
||||||
{0x005099f0, 0x005099f8},
|
{0x005099f4, 0x005099fc},
|
||||||
};
|
};
|
||||||
|
|
||||||
u32 ga10b_get_hwpm_perfmon_register_stride(void)
|
u32 ga10b_get_hwpm_perfmon_register_stride(void)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved.
|
* Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|||||||
Reference in New Issue
Block a user