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: <20231101071144.16309-1-quic_gkohli@quicinc.com>
Date:   Wed, 1 Nov 2023 12:41:43 +0530
From:   Gaurav Kohli <quic_gkohli@...cinc.com>
To:     <will@...nel.org>, <robin.murphy@....com>,
        <quic_bjorande@...cinc.com>,
        <linux-arm-kernel@...ts.infradead.org>,
        <boris.brezillon@...labora.com>, <iommu@...ts.linux.dev>,
        <steven.price@....com>
CC:     <linux-arm-msm@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        "Gaurav Kohli" <quic_gkohli@...cinc.com>
Subject: [RFC 0/1] Add custom alloc and free pgtable callback

Linux kernel does not support customizable page table support,
Below series from Boris is helping to solve this problem by
introducing custome alloc and free ops:

https://lore.kernel.org/all/20230809121744.2341454-1-boris.brezillon@collabora.com/

For cases, where HLOS has to setup s1 pgtable and request firmware
to share the same to different entity(VMID), there is no easy way 
to achieve the same.

This patchset over Boris patches is an attempt to solve the same problem
where HLOS can do below things with help of custom alloc and free
pgtable ops:

-> Parse VMID from vendor implementation driver.
-> Provide custom and free pg table ops, which help to
   create pages for page table from custom ops.
-> And HLOS can also create S1 page table from custom ops and
   request firmware to share the same to headless VM or different
   entity(VMID).

Gaurav Kohli (1):
  arm-smmu: Add iommu support to share pgtable

 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 81 ++++++++++++++++++++++
 drivers/iommu/arm/arm-smmu/arm-smmu.h      |  8 +++
 2 files changed, 89 insertions(+)

-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ