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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1681984708.git.petr.tesarik.ext@huawei.com>
Date:   Thu, 20 Apr 2023 11:58:57 +0200
From:   Petr Tesarik <petrtesarik@...weicloud.com>
To:     Christoph Hellwig <hch@....de>,
        Marek Szyprowski <m.szyprowski@...sung.com>,
        Robin Murphy <robin.murphy@....com>,
        iommu@...ts.linux.dev (open list:DMA MAPPING HELPERS),
        linux-kernel@...r.kernel.org (open list)
Cc:     Roberto Sassu <roberto.sassu@...wei.com>, petr@...arici.cz
Subject: [PATCH v1 0/1] swiotlb: Clean up unused code if !CONFIG_DEBUG_FS

From: Petr Tesarik <petr.tesarik.ext@...wei.com>

While verifying that the swiotlb high water marks are never used
if CONFIG_DEBUG_FS is unset, I guarded the corresponding fields
in strut io_tlb_mem with an #ifdef, but then I ran into a build
failure. This patch tries to clean up the optional debugfs code
in swiotlb.

The patch should be applied to the dma-mapping for-next tree.

Petr Tesarik (1):
  swiotlb: Omit total_used and used_hiwater if !CONFIG_DEBUG_FS

 include/linux/swiotlb.h |  2 ++
 kernel/dma/swiotlb.c    | 15 ++++++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ