Re: [PATCH] selftest: drivers: Add support to check duplicate hwirq

2024-11-10 Thread Joseph Jang
On 2024/10/19 3:34 AM, Bjorn Helgaas wrote: On Tue, Sep 03, 2024 at 06:44:26PM -0700, Joseph Jang wrote: Validate there are no duplicate hwirq from the irq debug file system /sys/kernel/debug/irq/irqs/* per chip name. One example log show 2 duplicated hwirq in the irq debug file system

[PATCH v2 1/2] selftest: rtc: Add to check rtc alarm status for alarm related test

2024-10-20 Thread Joseph Jang
ew R. Ochs Signed-off-by: Joseph Jang --- Changes in v2: - Changed to use $(top_srcdir) instead of hardcoding the path. tools/testing/selftests/rtc/Makefile | 2 +- tools/testing/selftests/rtc/rtctest.c | 64 +++ 2 files changed, 65 insertions(+), 1 deletion(-) di

Re: [PATCH] selftest: drivers: Add support to check duplicate hwirq

2024-10-17 Thread Joseph Jang
On 2024/9/4 9:44 AM, Joseph Jang wrote: Validate there are no duplicate hwirq from the irq debug file system /sys/kernel/debug/irq/irqs/* per chip name. One example log show 2 duplicated hwirq in the irq debug file system. $ sudo cat /sys/kernel/debug/irq/irqs/163 handler

Re: [PATCH 1/2] selftest: rtc: Add to check rtc alarm status for alarm related test

2024-10-17 Thread Joseph Jang
On 2024/6/24 9:43 AM, Joseph Jang wrote: On 2024/6/21 3:36 AM, Alexandre Belloni wrote: On 23/05/2024 18:38:06-0700, Joseph Jang wrote: In alarm_wkalm_set and alarm_wkalm_set_minute test, they use different ioctl (RTC_ALM_SET/RTC_WKALM_SET) for alarm feature detection. They will skip

Re: [PATCH 2/2] selftest: rtc: Check if could access /dev/rtc0 before testing

2024-10-17 Thread Joseph Jang
On 2024/9/25 3:57 AM, Shuah Khan wrote: On 9/24/24 13:31, Alexandre Belloni wrote: Hello, On 24/09/2024 10:05:43-0600, Shuah Khan wrote: On 9/23/24 23:37, Joseph Jang wrote: Hi Alexandre, Thank you for looking at the rtc patch. I saw you Acked the [PATCH 2/2], not sure when could we see

Re: [PATCH 2/2] selftest: rtc: Check if could access /dev/rtc0 before testing

2024-09-23 Thread Joseph Jang
Hi Alexandre, Thank you for looking at the rtc patch. I saw you Acked the [PATCH 2/2], not sure when could we see the patch in kernel master or next branch ? Thank you, Joseph. On 2024/6/21 3:37 AM, Alexandre Belloni wrote: On 23/05/2024 18:38:07-0700, Joseph Jang wrote: The rtctest requires

[PATCH] selftest: drivers: Add support to check duplicate hwirq

2024-09-03 Thread Joseph Jang
[1]: https://lore.kernel.org/all/20240115135649.708536-1-vid...@nvidia.com/ Signed-off-by: Joseph Jang Reviewed-by: Matthew R. Ochs --- tools/testing/selftests/drivers/irq/Makefile | 5 +++ tools/testing/selftests/drivers/irq/config| 2 + .../selftests/drivers/irq/irq-check.sh

[PATCH v6] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-01-28 Thread Joseph Jang
issues. The new timeout handler will dump disk sleep task call trace at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SUSPEND_WATCHDOG_TIMEOUT. Signed-off-by: Joseph Jang --- Changes since v5: - Remove MAINTAINERS update

[PATCH v5] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-01-07 Thread Joseph Jang
issues. The new timeout handler will dump disk sleep task call trace at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SUSPEND_WATCHDOG_TIMEOUT. Signed-off-by: Joseph Jang --- Changes since v4: - Change #define

[PATCH v4] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-01-07 Thread Joseph Jang
issues. The new timeout handler will dump disk sleep task call trace at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SUSPEND_WATCHDOG_TIMEOUT. Signed-off-by: Joseph Jang --- Changes since v3: - Change the naming from

[PATCH v3] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2020-10-22 Thread Joseph Jang
handler to cover more sleep hang issues. The new timeout handler will dump disk sleep task at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SLEEP_TIMER_TIMEOUT. Signed-off-by: Joseph Jang --- Changes since v2: - Add

[PATCH v2] power: suspend: Replace dpm_watchdog by sleep timer

2020-10-20 Thread Joseph Jang
dump disk sleep task at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SLEEP_TIMER_TIMEOUT. Signed-off-by: Joseph Jang --- Changes in v2: - Add commit message to explain why remove dpm_watchdog. - Remove dpm_watchdog

[PATCH] power: suspend: Replace dpm_watchdog by sleep timer

2020-10-20 Thread Joseph Jang
disk sleep task at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SLEEP_TIMER_TIMEOUT. Signed-off-by: Joseph Jang --- drivers/base/power/main.c| 69 --- include/linux/console.h | 1

[PATCH] power: suspend: Add sleep timer and timeout handler

2020-10-19 Thread Joseph Jang
-off-by: Joseph Jang --- MAINTAINERS | 2 + include/linux/console.h | 1 + include/linux/suspend_timer.h | 90 +++ kernel/power/Kconfig | 15 ++ kernel/power/suspend.c| 19 kernel/printk/printk.c| 5

Re: [PATCH] power: suspend: Add suspend timeout handler

2020-10-16 Thread Joseph Jang
Yes, I agree. Rafael J. Wysocki 於 2020年10月16日 週五 下午9:24寫道: > > On Fri, Oct 16, 2020 at 3:22 PM wrote: > > > > Thank you Rafael's promptly response. > > > > > On Fri, Oct 16, 2020 at 5:51 AM Joseph Jang wrote: > > > > > > > > Fr

Re: [PATCH] power: suspend: Add suspend timeout handler

2020-10-16 Thread Joseph Jang
Thanks Petr promptly response. On Fri 2020-10-16 11:51:09, Joseph Jang wrote: > From: josephjang > > Add suspend timeout handler to prevent device stuck during suspend/ > resume process. Suspend timeout handler will dump disk sleep task > at first round timeout and trigger kernel

Re: [PATCH] power: suspend: Add suspend timeout handler

2020-10-16 Thread Joseph Jang
Thank you Greg's promptly reply. let me try to explain detail in following. Sorry I forgot to switch to plain text mode in gmail. On Fri, Oct 16, 2020 at 11:51:09AM +0800, Joseph Jang wrote: > From: josephjang Please use your name as spelled out like you did above in the email header.

[PATCH] power: suspend: Add suspend timeout handler

2020-10-15 Thread Joseph Jang
From: josephjang Add suspend timeout handler to prevent device stuck during suspend/ resume process. Suspend timeout handler will dump disk sleep task at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is 30 seconds. Note: Can use following