Skip to content

Commit 836b341

Browse files
Kartik Rajputthierryreding
authored andcommitted
soc/tegra: fuse: Update Tegra234 nvmem keepout list
Various Nvidia userspace applications and tests access following fuse via Fuse nvmem interface: * odmid * odminfo * boot_security_info * public_key_hash * reserved_odm0 * reserved_odm1 * reserved_odm2 * reserved_odm3 * reserved_odm4 * reserved_odm5 * reserved_odm6 * reserved_odm7 * odm_lock * pk_h1 * pk_h2 * revoke_pk_h0 * revoke_pk_h1 * security_mode * system_fw_field_ratchet0 * system_fw_field_ratchet1 * system_fw_field_ratchet2 * system_fw_field_ratchet3 * optin_enable Update tegra234_fuse_keepouts list to allow reading these fuse from nvmem sysfs interface. Signed-off-by: Kartik Rajput <kkartik@nvidia.com> Link: https://lore.kernel.org/r/20241127061053.16775-1-kkartik@nvidia.com Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent c475b68 commit 836b341

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

drivers/soc/tegra/fuse/fuse-tegra30.c

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -647,15 +647,20 @@ static const struct nvmem_cell_lookup tegra234_fuse_lookups[] = {
647647
};
648648

649649
static const struct nvmem_keepout tegra234_fuse_keepouts[] = {
650-
{ .start = 0x01c, .end = 0x0c8 },
651-
{ .start = 0x12c, .end = 0x184 },
650+
{ .start = 0x01c, .end = 0x064 },
651+
{ .start = 0x084, .end = 0x0a0 },
652+
{ .start = 0x0a4, .end = 0x0c8 },
653+
{ .start = 0x12c, .end = 0x164 },
654+
{ .start = 0x16c, .end = 0x184 },
652655
{ .start = 0x190, .end = 0x198 },
653656
{ .start = 0x1a0, .end = 0x204 },
654-
{ .start = 0x21c, .end = 0x250 },
655-
{ .start = 0x25c, .end = 0x2f0 },
657+
{ .start = 0x21c, .end = 0x2f0 },
656658
{ .start = 0x310, .end = 0x3d8 },
657-
{ .start = 0x400, .end = 0x4f0 },
658-
{ .start = 0x4f8, .end = 0x7e8 },
659+
{ .start = 0x400, .end = 0x420 },
660+
{ .start = 0x444, .end = 0x490 },
661+
{ .start = 0x4bc, .end = 0x4f0 },
662+
{ .start = 0x4f8, .end = 0x54c },
663+
{ .start = 0x57c, .end = 0x7e8 },
659664
{ .start = 0x8d0, .end = 0x8d8 },
660665
{ .start = 0xacc, .end = 0xf00 }
661666
};

0 commit comments

Comments
 (0)