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-prev] [day] [month] [year] [list]
Message-ID: <5c860fe3-ba6c-8915-a7dc-d03f3397f1b1@ozlabs.ru>
Date:   Fri, 12 Jul 2019 19:41:52 +1000
From:   Alexey Kardashevskiy <aik@...abs.ru>
To:     linux-kernel@...r.kernel.org
Cc:     Oliver O'Halloran <oohall@...il.com>,
        David Gibson <david@...son.dropbear.id.au>,
        Sam Bobroff <sbobroff@...ux.ibm.com>,
        Alistair Popple <alistair@...ple.id.au>
Subject: Re: [PATCH kernel v4 0/4] powerpc/ioda2: Yet another attempt to allow
 DMA masks between 32 and 59

Argh. This was meant for the linuxppc list, will repost, please ignore this.


On 12/07/2019 19:29, Alexey Kardashevskiy wrote:
> This is an attempt to allow DMA masks between 32..59 which are not large
> enough to use either a PHB3 bypass mode or a sketchy bypass. Depending
> on the max order, up to 40 is usually available.
> 
> 
> This is based on sha1
> a2b6f26c264e Christophe Leroy "powerpc/module64: Use symbolic instructions names.".
> 
> Please comment. Thanks.
> 
> 
> 
> Alexey Kardashevskiy (4):
>    powerpc/powernv/ioda: Fix race in TCE level allocation
>    powerpc/iommu: Allow bypass-only for DMA
>    powerpc/powernv/ioda2: Allocate TCE table levels on demand for default
>      DMA window
>    powerpc/powernv/ioda2: Create bigger default window with 64k IOMMU
>      pages
> 
>   arch/powerpc/include/asm/iommu.h              |  8 +-
>   arch/powerpc/platforms/powernv/pci.h          |  2 +-
>   arch/powerpc/kernel/dma-iommu.c               | 11 ++-
>   arch/powerpc/kernel/iommu.c                   | 74 +++++++++++++------
>   arch/powerpc/platforms/powernv/pci-ioda-tce.c | 38 ++++++----
>   arch/powerpc/platforms/powernv/pci-ioda.c     | 40 ++++++++--
>   6 files changed, 121 insertions(+), 52 deletions(-)
> 

-- 
Alexey

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ