parisc: Flush gatt writes and adjust gatt mask in parisc_agp_mask_memory()
authorHelge Deller <deller@gmx.de>
Wed, 17 May 2023 13:54:40 +0000 (15:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jun 2023 14:00:53 +0000 (16:00 +0200)
commit3d48ea53c44b7720606cfd1a2467f689c35af86a
treefa5693c687b3ec1474d0e73170c31a81cb38b510
parente522a12e4892f99b4251dbdd9dcf37f8dc2cb90e
parisc: Flush gatt writes and adjust gatt mask in parisc_agp_mask_memory()

[ Upstream commit d703797380c540bbeac03f104ebcfc364eaf47cc ]

Flush caches after changing gatt entries and calculate entry according
to SBA requirements.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/char/agp/parisc-agp.c