Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142651772
D23081.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
539 B
Referenced Files
None
Subscribers
None
D23081.id.diff
View Options
Index: head/sys/dev/tpm/tpm_tis.c
===================================================================
--- head/sys/dev/tpm/tpm_tis.c
+++ head/sys/dev/tpm/tpm_tis.c
@@ -386,12 +386,11 @@
mask = TPM_STS_CMD_RDY;
sc->intr_type = TPM_INT_STS_CMD_RDY;
- OR4(sc, TPM_STS, TPM_STS_CMD_RDY);
+ WR4(sc, TPM_STS, TPM_STS_CMD_RDY);
bus_barrier(sc->mem_res, TPM_STS, 4, BUS_SPACE_BARRIER_WRITE);
if (!tpm_wait_for_u32(sc, TPM_STS, mask, mask, TPM_TIMEOUT_B))
return (false);
- AND4(sc, TPM_STS, ~TPM_STS_CMD_RDY);
return (true);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 22, 9:27 PM (21 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27863664
Default Alt Text
D23081.id.diff (539 B)
Attached To
Mode
D23081: Fix bug in TPM 2.0 TIS driver.
Attached
Detach File
Event Timeline
Log In to Comment