summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorMohamed Ahmed <mohamedahmedegypt2001@gmail.com>2026-11-18 01:43:51 +0400
committerDave Airlie <airlied@redhat.com>2026-11-19 08:29:11 +1000
commit4ffab70118f8691ee68c1a24091a36c16957b6dd (patch)
tree2d8d5135e785b574c24c0b000fb7cdb22201fdfe /rust/kernel/alloc/allocator
parentb1939b201353d803f09a8eb07aa69e44f8441701 (diff)
drm/nouveau/bar: take the GSP-RM flush pointer from the BAR2 io_mapping
r535_bar_new_() maps the first page of BAR2 with ioremap(), to flush BAR2 writes with a read while flushFBZero is not mapped. On x86 with PAT, a mapping that overlaps an existing one gets its type. The instmem io_mapping is created later, so with GSP-RM it is also mapped UC- and its writes are not write-combined. Take the flush pointer from the io_mapping. A new bar2.oneinit hook sets it up once the BAR2 page tables are bootstrapped and the io_mapping exists. Fixes: 34e27b90552a ("nouveau/instmem: use iomapping interface for instmem handling") Cc: stable@vger.kernel.org Signed-off-by: Mohamed Ahmed <mohamedahmedegypt2001@gmail.com> Tested-by: Thomas Andersen <phomes@gmail.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patch.msgid.link/20261117214352.337961-3-mohamedahmedegypt2001@gmail.com
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions