lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 24 Jun 2024 12:23:52 +0200
From: Emanuele Ghidoli <ghidoliemanuele@...il.com>
To: alexandre.belloni@...tlin.com,
	linux-kernel@...r.kernel.org,
	linux-rtc@...r.kernel.org,
	linux-kselftest@...r.kernel.org,
	shuah@...nel.org
Cc: Emanuele Ghidoli <emanuele.ghidoli@...adex.com>,
	jjang@...dia.com,
	kobak@...dia.com,
	mochs@...dia.com
Subject: [PATCH v1 0/2] Fixes for RX8310 RTC Configuration and rtctest Alarm

From: Emanuele Ghidoli <emanuele.ghidoli@...adex.com>

Hi,

I am submitting two patches related to the RX8310 RTC configuration:

1. **Correct RX8310 RTC Features Configuration:**
   - Sets one-minute alarm resolution.
   - Disables update IRQ.
   
   Without this patch, if the interrupt is configured in the device tree, `hwclock` fails to read the RTC as it waits for the update IRQ.

2. **Avoid rtctest Alarm Test Failures:**
   - Ensures rtctest alarm tests do not fail on hardware that only supports one-minute alarm resolution.

I know the second patch creates conflict with this one: https://lore.kernel.org/all/20240524013807.154338-1-jjang@nvidia.com/.
I think that series can reuse the rtc_get_features function I implemented.

Best regards,
Emanuele Ghidoli

Emanuele Ghidoli (2):
  rtc: ds1307: set one-minute alarm resolution for rx_8130
  selftests: rtc: rtctest: skip alarm test if alarm resolution is one
    minute

 drivers/rtc/rtc-ds1307.c              | 14 +++++++++++--
 tools/testing/selftests/rtc/rtctest.c | 30 +++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 2 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ