Files
freebsd/usr.sbin
Kajetan Puchalski a554906ea4 bhyve: rtc_pl031: Fix PeriphID and CellID values
PeriphID and CellID values are determined by macros which take an
index. They currently receive a bus offset which has a stride of 4 bytes.
This causes the ID1-3 registers to report incorrect values.
Scale the offset before passing it to the macro to fix this.

Tested with kvm-unit-tests/arm/pl031.

Signed-off-by: Kajetan Puchalski <[email protected]>

Reviewed by:	jrtc27
Fixes:		014d7082a2 ("bhyve: Implement a PL031 RTC on arm64")
MFC after:	1 week
Pull Request:	https://github.com/freebsd/freebsd-src/pull/2358
Closes:		https://github.com/freebsd/freebsd-src/pull/2358
2026-08-07 14:04:30 +01:00
..
…
2026-05-03 13:53:25 -04:00
2026-05-03 13:53:25 -04:00
2026-06-18 12:12:46 -08:00
2026-05-03 05:31:51 +00:00
2026-05-03 05:31:51 +00:00
2026-06-17 09:34:46 -07:00
2026-06-22 17:06:14 -06:00
2025-11-12 12:09:09 -05:00
2026-05-12 20:05:19 +00:00
…
2026-06-24 22:57:34 -04:00
…
2026-02-24 15:29:01 +01:00
…
2026-05-03 13:53:25 -04:00
2026-07-13 17:08:58 -05:00
2026-07-28 13:27:45 -06:00
…
2025-11-14 15:29:05 +01:00
…
2025-08-07 03:23:19 +02:00
2026-03-06 16:05:09 +03:30
…
2025-11-18 16:24:20 +00:00
2026-05-27 17:27:11 +02:00
2026-05-29 09:58:50 -07:00
2026-03-15 23:22:18 -03:00
2025-12-09 21:57:10 +07:00
2025-11-08 08:04:33 +00:00
…
…
…
2025-08-22 16:13:15 -04:00
…
2026-05-27 00:05:45 +01:00
2026-01-09 11:28:43 -05:00