Skip to content
Commit 3c6ccb2b authored by Harini T's avatar Harini T Committed by Quanyang Wang
Browse files

watchdog: xilinx_wwdt: Add check for timeout limit and set maximum value if exceeded

commit 5f8b641b10ca2c974955c1035447bc1145bdbbc8 from
https://github.com/Xilinx/linux-xlnx.git

 xlnx_rebase_v6.6

Current implementation fails to verify if the user input such as timeout
or closed window percentage exceeds the maximum value that the hardware
supports.

Maximum timeout is derived based on input clock frequency.
If the user input timeout exceeds the maximum timeout supported, limit
the timeout to maximum supported value.
Limit the close and open window percent to hardware supported value.

Signed-off-by: default avatarHarini T <harini.t@amd.com>
Link: https://lore.kernel.org/r/20240319111219.21094-1-harini.t@amd.com


State: waiting
Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
parent 174b34ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment