xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Legacy PIC (x86) support (RTC) in dom0 with Linux 4.12 and newer is broken for some hardware.
@ 2018-12-04 17:24 Jennifer Herbert
  2018-12-05 16:40 ` Jennifer Herbert
  0 siblings, 1 reply; 3+ messages in thread
From: Jennifer Herbert @ 2018-12-04 17:24 UTC (permalink / raw)
  To: 'xen-devel@lists.xenproject.org'


[-- Attachment #1.1: Type: text/plain, Size: 660 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 3846 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Legacy PIC (x86) support (RTC) in dom0 with Linux 4.12 and newer is broken for some hardware.
  2018-12-04 17:24 Legacy PIC (x86) support (RTC) in dom0 with Linux 4.12 and newer is broken for some hardware Jennifer Herbert
@ 2018-12-05 16:40 ` Jennifer Herbert
  2018-12-06  5:36   ` Juergen Gross
  0 siblings, 1 reply; 3+ messages in thread
From: Jennifer Herbert @ 2018-12-05 16:40 UTC (permalink / raw)
  To: 'xen-devel@lists.xenproject.org'; +Cc: Juergen Gross

CC: Juergen Gross

On 04/12/18 17:24, Jennifer Herbert wrote:
> 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,
>
> -jenny
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xenproject.org
> https://lists.xenproject.org/mailman/listinfo/xen-devel
>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Legacy PIC (x86) support (RTC) in dom0 with Linux 4.12 and newer is broken for some hardware.
  2018-12-05 16:40 ` Jennifer Herbert
@ 2018-12-06  5:36   ` Juergen Gross
  0 siblings, 0 replies; 3+ messages in thread
From: Juergen Gross @ 2018-12-06  5:36 UTC (permalink / raw)
  To: Jennifer Herbert, 'xen-devel@lists.xenproject.org'

On 05/12/2018 17:40, Jennifer Herbert wrote:
> CC: Juergen Gross
> 
> On 04/12/18 17:24, Jennifer Herbert wrote:
>> 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
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-06  5:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-04 17:24 Legacy PIC (x86) support (RTC) in dom0 with Linux 4.12 and newer is broken for some hardware Jennifer Herbert
2018-12-05 16:40 ` Jennifer Herbert
2018-12-06  5:36   ` Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).