Message ID | 20240118195325.2964918-1-lma@chromium.org |
---|---|
Headers | show |
Series | Introduce EC-based watchdog | expand |
On Thu, Jan 18, 2024 at 07:53:22PM +0000, Lukasz Majczak wrote: > +#define EC_HANG_DETECT_MIN_TIMEOUT 5 > +#define EC_HANG_DETECT_MAX_TIMEOUT 65535 EC_HANG_DETECT_MAX_TIMEOUT isn't in the latest ec_commands.h [1]. Could you either add EC_HANG_DETECT_MAX_TIMEOUT to ec_commands.h or drop the macro here? [1] https://crrev.com/5a76e67210b15fcf67d8a6f90439993598949ae4/include/ec_commands.h#4749
On Fri, Jan 19, 2024 at 4:41 AM Tzung-Bi Shih <tzungbi@kernel.org> wrote: > > On Thu, Jan 18, 2024 at 07:53:22PM +0000, Lukasz Majczak wrote: > > +#define EC_HANG_DETECT_MIN_TIMEOUT 5 > > +#define EC_HANG_DETECT_MAX_TIMEOUT 65535 > > EC_HANG_DETECT_MAX_TIMEOUT isn't in the latest ec_commands.h [1]. Could you > either add EC_HANG_DETECT_MAX_TIMEOUT to ec_commands.h or drop the macro here? > > [1] https://crrev.com/5a76e67210b15fcf67d8a6f90439993598949ae4/include/ec_commands.h#4749 Yes, I will update ec_commands.h on the EC-side to match above definitions although it doesn't influence any logic on the EC side. Best regards Lukasz