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]
Date:   Fri,  7 Jul 2017 12:39:57 +0530
From:   Srinath Mannam <srinath.mannam@...adcom.com>
To:     Rob Herring <robh+dt@...nel.org>, Joerg Roedel <joro@...tes.org>,
        Bjorn Helgaas <bhelgaas@...gle.com>,
        Mark Rutland <mark.rutland@....com>,
        Frank Rowand <frowand.list@...il.com>
Cc:     iommu@...ts.linux-foundation.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        bcm-kernel-feedback-list@...adcom.com,
        Srinath Mannam <srinath.mannam@...adcom.com>
Subject: [RFC PATCH 0/2] Add sideband data extraction

These patches implements optional DT properties to generate
smaller sideband data from RID which can be further mapped
to MSI Device ID or Stream ID

On some of the systems, sideband data is smaller than RID
(16bits). For such system, sideband data has to be generated
by dropping some of the RID bits

the process of sideband data extracted from RID can be expressed
using optional DT property {iommu/msi}-map-drop-mask.

Example: If drop-mask is 0xFF09 then sideband data is
8 bits bus number followed by 1 bit of device number and
1 bit function number. This means drop-mask=0xFF09 will
convert RID=0x1a10 (16bits) to sideband data 0x6a (10bits).

Srinath Mannam (2):
  dt-bindings: pci: Add drop mask property for MSI and IOMMU
  pcie: sideband data by dropping RID bits

 .../devicetree/bindings/pci/pci-iommu.txt          | 31 ++++++++++++++
 Documentation/devicetree/bindings/pci/pci-msi.txt  | 33 +++++++++++++++
 drivers/iommu/of_iommu.c                           |  4 +-
 drivers/of/irq.c                                   |  3 +-
 drivers/of/of_pci.c                                | 48 ++++++++++++++++++++--
 include/linux/of_pci.h                             |  6 ++-
 6 files changed, 117 insertions(+), 8 deletions(-)

-- 
2.7.4

Powered by blists - more mailing lists