Message ID | 20240822073852.562286-1-jfalempe@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | drm/panic: Add a QR code panic screen | expand |
On 22/08/2024 09:33, Jocelyn Falempe wrote: > This series adds a new panic screen, with the kmsg data embedded in a QR code. > > The main advantage of QR code, is that you can copy/paste the debug data to a bug report. > > The QR code encoder is written in rust, and is very specific to drm panic. > The reason is that it is called in a panic handler, and thus can't allocate memory, or use locking. > The rust code uses a few rust core API, and provides only two C entry points. > There is no particular reason to do it in rust, I just wanted to learn rust, and see if it can work in the kernel. > > If you want to see what it looks like, I've put a few screenshots here: > https://github.com/kdj0c/panic_report/issues/1 I just pushed it to drm-misc-next Thank you all for your reviews. Best regards,