[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #13 from Andriy Gapon --- It would not be hard to write a driver, the hardware is sufficiently simple and well documented (public too). Anyone who has time and some coding skills and interest (or some other motivation) could do

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #12 from Ed Maste --- (In reply to christi from comment #11) It looks like there is a virtio-watchdog supported by some VMMs and perhaps QEMU ought to grow support for this. Anyhow, it does seem like support for i6300esb watchd

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #11 from chri...@coraline.org --- I don't think any of the other qemu watchdogs are suitable. The diag288 driver is for the IBM System 390 mainframe architecture, and I certainly wouldn't expect it to be supported on AMD64 (it's

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 Ed Maste changed: What|Removed |Added Status|New |Open CC|

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #9 from chri...@coraline.org --- Thank you. That's clarified things. Is there any possibility of porting over the Linux driver, please? -- You are receiving this mail because: You are the assignee for the bug.

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #8 from Andriy Gapon --- In case I wasn't clear, real 6300ESB *chipset* contains two watchdogs. FreeBSD supports only one of them while the qemu emulates the other. -- You are receiving this mail because: You are the assignee

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #7 from Andriy Gapon --- (In reply to christi from comment #6) Please re-read my comments. ichwd supports a different watchdog module present in the real 6300ESB, a so called TCO watchdog. -- You are receiving this mail becaus

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #6 from chri...@coraline.org --- That seems very odd. Looking at the current source for ichwd.c at https://github.com/freebsd/freebsd-src/blob/main/sys/dev/ichwd/ichwd.c Line 96 would appear to indicate the 6300esb is supported

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #5 from Andriy Gapon --- Having looked at the 6300ESB datasheet, I believe that 0x25ab is a different watchdog. It has a sufficiently different interface too. So, the summary is: - ichwd cannot support the qemu emulated watchd

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #4 from Andriy Gapon --- I made a quick look at Linux code and there is an interesting thing. Linux has drivers/watchdog/iTCO_wdt.c driver which is roughly equivalent to FreeBSD ichwd and works approximately the same. It's a "p

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #3 from Andriy Gapon --- (In reply to christi from comment #2) Yes, that's how it works for physical hardware. The driver searches for an LPC bridge devices instead of a watchdog device. Apparently the driver needs to access c

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #2 from chri...@coraline.org --- chip=0x25a18086 is not present. This may be because QEMU does not emulate the entire i8300ESD chipset, just the watchdog device. If ichwd is detecting by searching for the chipset rather than th

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 --- Comment #1 from Andriy Gapon --- (In reply to christi from comment #0) Could you please share full output of pciconf -v -l? Is there chip=0x25a18086 in it? -- You are receiving this mail because: You are the assignee for the bug.

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 chri...@coraline.org changed: What|Removed |Added Hardware|Any |amd64 Severity|Aff

[Bug 259673] ichwd does not detect qemu i6300esb virtual watchdog

2021-11-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259673 Bug ID: 259673 Summary: ichwd does not detect qemu i6300esb virtual watchdog Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New