[Bug 238037] [PATCH] Implement ig4 suspend/resume

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 1 01:15:39 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238037

Austin Shafer <ashafer at badland.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #204527|0                           |1
        is obsolete|                            |

--- Comment #5 from Austin Shafer <ashafer at badland.io> ---
Created attachment 205447
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205447&action=edit
ig4 suspend/resume patch

Thanks for the feedback! I'm glad I could help.

You guys are definitely right, I updated my patch with the write barrier
changes, and made sure to use IG4_REG_RESETS_SKL for skylake.

As for if the barriers are needed, I never really tested but assumed it was
required because the `reg_write` wrapper in ig4_iic.c uses it. I added the
barriers just to be extra sure that the reset went through to avoid any
nastiness on suspend or resume.

Please let me know if you have any other advice for things I should change.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list