aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorHelge Deller <[email protected]>2015-11-26 20:14:02 +0000
committerHelge Deller <[email protected]>2016-01-16 18:19:14 +0000
commitb0e551313ebde17764f3a5ed273df524d1e7e690 (patch)
tree99c1e58b4509ab2a5510ac9abde6bc9b606ccbca /drivers/gpu/drm/omapdrm/omap_gem.c
parentparisc: Imporove debug info about space registers and TLB configuration (diff)
downloadkernel-b0e551313ebde17764f3a5ed273df524d1e7e690.tar.gz
kernel-b0e551313ebde17764f3a5ed273df524d1e7e690.zip
parisc: Protect huge page pte changes with spinlocks
PA-RISC doesn't have atomic instructions to modify page table entries, so it takes spinlock in the TLB handler and modifies the page table entry non-atomically. If you modify the page table entry without the spinlock, you may race with TLB handler on another CPU and your modification may be lost. Protect against that with usage of purge_tlb_start() and purge_tlb_end() which handles the TLB spinlock. Signed-off-by: Helge Deller <[email protected]> Cc: [email protected] # v4.4
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions