t23x: overlay: Increase fuse page size

Following crash is seen on T234 while reading kfuse offset using
tegra_fuse_control_read() API:

[  433.811390] Unable to handle kernel paging request at virtual address ffff800081ba8000
[  433.811613] Mem abort info:
[  433.812570]   ESR = 0x0000000096000007
[  433.816340]   EC = 0x25: DABT (current EL), IL = 32 bits
[  433.821763]   SET = 0, FnV = 0
[  433.824912]   EA = 0, S1PTW = 0
[  433.827974]   FSC = 0x07: level 3 translation fault
[  433.832875] Data abort info:
[  433.835674]   ISV = 0, ISS = 0x00000007, ISS2 = 0x00000000
[  433.841011]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
[  433.846085]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[  433.851601] swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000007fea7f000
[  434.057570] pc : tegra30_fuse_control_read+0x38/0xf0
[  434.062555] lr : tegra30_fuse_control_read+0x2c/0xf0

On T234 Kfuse is part of the fuse controller, this increases the fuse
block size to 0x20000. Currently, the fuse size is specified as 0x10000
in the device-tree. If a client driver issues tegra_fuse_read APIs with
offsets > 0x10000, then it can result in page fault.

Increase the fuse page size to 0x20000.

Bug 4864112

Change-Id: Ifa937ac86b349aef3e497af975c3c4126e44fc78
Signed-off-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3227771
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Kartik
2024-10-10 11:42:20 +00:00
committed by mobile promotions
parent b548c65471
commit f45d7bb69b

View File

@@ -76,6 +76,10 @@
status = "disabled"; status = "disabled";
}; };
fuse@3810000 {
reg = <0x0 0x03810000 0x0 0x20000>;
};
tegra_tachometer1: tachometer@39b0000 { tegra_tachometer1: tachometer@39b0000 {
compatible = "nvidia,pwm-tegra234-tachometer"; compatible = "nvidia,pwm-tegra234-tachometer";
reg = <0x0 0x039b0000 0x0 0x10>; reg = <0x0 0x039b0000 0x0 0x10>;