lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210916181601.9146-1-tzimmermann@suse.de>
Date:   Thu, 16 Sep 2021 20:15:56 +0200
From:   Thomas Zimmermann <tzimmermann@...e.de>
To:     airlied@...hat.com, airlied@...ux.ie, daniel@...ll.ch,
        hdegoede@...hat.com, marcan@...can.st, maz@...nel.org,
        akpm@...ux-foundation.org, npiggin@...il.com,
        thunder.leizhen@...wei.com, gregkh@...uxfoundation.org
Cc:     dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
        Thomas Zimmermann <tzimmermann@...e.de>
Subject: [PATCH 0/5] lib: devres: Add managed helpers for write-combine setup

Add devm_arch_phys_wc_add() and devm_arch_io_reserve_memtype_wc() for
automatic cleanup of writecombine setup.

Several DRM drivers use the non-managed functions for setting their
framebuffer memory to write-combine access. Convert ast, mgag200 and
vboxvideo. Remove rsp clean-up code form drivers.

Tested on mgag200 hardware.

Thomas Zimmermann (5):
  lib: devres: Add managed arch_phys_wc_add()
  lib: devres: Add managed arch_io_reserve_memtype_wc()
  drm/ast: Use managed interfaces for framebuffer write combining
  drm/mgag200: Use managed interfaces for framebuffer write combining
  drm/vboxvideo: Use managed interfaces for framebuffer write combining

 drivers/gpu/drm/ast/ast_drv.h         |  2 -
 drivers/gpu/drm/ast/ast_mm.c          | 27 ++++-----
 drivers/gpu/drm/mgag200/mgag200_drv.h |  2 -
 drivers/gpu/drm/mgag200/mgag200_mm.c  | 35 +++---------
 drivers/gpu/drm/vboxvideo/vbox_drv.c  |  5 +-
 drivers/gpu/drm/vboxvideo/vbox_drv.h  |  1 -
 drivers/gpu/drm/vboxvideo/vbox_ttm.c  | 17 +++---
 include/linux/io.h                    |  5 ++
 lib/devres.c                          | 82 +++++++++++++++++++++++++++
 9 files changed, 113 insertions(+), 63 deletions(-)

--
2.33.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ