commit | 3255ff4b1c13e9eaf9ef15967ca4afc6635bad97 | [log] [tgz] |
---|---|---|
author | Roland McGrath <mcgrathr@google.com> | Sat May 25 06:20:50 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Sat May 25 06:20:50 2019 +0000 |
tree | 91cef9932c0299e5327eea535db9619ef4f80136 | |
parent | 9c760597bfee28204b7a0c37f0a41d9eb2718c56 [diff] |
[ddk] Use __asm__ volatile for MMIO accesses Without volatile the compiler can decide the result is unexamined and elide the instruction. For MMIO, a read matters even if the result is never examined. This was manifesting as a hang in the i915 driver on Pixelbook hardware when the intel-i2c driver was built with Clang. Bug: ZX-4213 #done Change-Id: I81b161f62d5cb9e4101372c178ed44cd385ff7ff
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.