Legacy PIC (x86) support (RTC) in dom0 with Linux 4.12 and newer is broken for some hardware.
Since Linux 4.12, there has been a commit a1e23a42f1bdc00e32fc4869caef12e4e6272f26
"rtc: cmos: Do not assume irq 8 for rtc when there are no legacy irqs"
The commit effectively disabled requesting IRQ 8 for systems without PIC
controller present (As in the case when used at dom0 under Xen) and at
the same time where this IRQ is not explicitly described in ACPI tables.
I have found hardware without this IRQ in the ACPI tables, and indeed,
found the RTC to be broken in dom 0. Temporarily, I reverted this
commit, which fixed the problem, but I was wondering if anyone here
knew of a better solution?
Cheers,
-jenny
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 20 lines · Jennifer Herbert
Since Linux 4.12, there has been a commita1e23a42f1bdc00e32fc4869caef12e4e6272f26
“rtc: cmos: Do not assume irq 8 for rtc when there are no legacy irqs”
The commit effectively disabled requesting IRQ 8 for systems without PIC
controller present (As in the case when used at dom0 under Xen) and at
the same time where this IRQ is not explicitly described in ACPI tables.
I have found hardware without this IRQ in the ACPI tables, and indeed,
found the RTC to be broken in dom 0. Temporarily, I reverted this
commit, which fixed the problem, but I was wondering if anyone here
knew of a better solution?
Cheers,
Quoted 9 lines
-jenny
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 21 lines · Jennifer Herbert
CC Juergen GrossQuoted 18 lines · Jennifer Herbert
Since Linux 4.12, there has been a
commita1e23a42f1bdc00e32fc4869caef12e4e6272f26“rtc: cmos: Do not assume irq 8 for rtc when there are no legacy irqs”
The commit effectively disabled requesting IRQ 8 for systems without PIC
controller present (As in the case when used at dom0 under Xen) and at
the same time where this IRQ is not explicitly described in ACPI tables.
I have found hardware without this IRQ in the ACPI tables, and indeed,
found the RTC to be broken in dom 0. Temporarily, I reverted this
commit, which fixed the problem, but I was wondering if anyone here
knew of a better solution?
Usage of a Xen-specific struct legacy_pic?
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel