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]
Date:   Sat, 06 May 2017 09:12:14 +1000
From:   Michael Ellerman <mpe@...erman.id.au>
To:     Linus Torvalds <torvalds@...ux-foundation.org>,
        Paolo Bonzini <pbonzini@...hat.com>,
        Radim Krčmář <rkrcmar@...hat.com>
Cc:     aik@...abs.ru, alastair@...ilva.org,
        Alex Williamson <alex.williamson@...hat.com>,
        alistair@...ple.id.au, ananth@...ux.vnet.ibm.com,
        Andrew Donnellan <andrew.donnellan@....ibm.com>,
        "Aneesh Kumar K. V" <aneesh.kumar@...ux.vnet.ibm.com>,
        Anton Blanchard <anton@...ba.org>,
        Ben Hutchings <ben@...adent.org.uk>,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        Balbir Singh <bsingharora@...il.com>, cascardo@...onical.com,
        Christophe Leroy <christophe.leroy@....fr>,
        clombard@...ux.vnet.ibm.com, david@...son.dropbear.id.au,
        ego@...ux.vnet.ibm.com, fbarrat@...ux.vnet.ibm.com,
        Geert Uytterhoeven <geert@...ux-m68k.org>,
        gpiccoli@...ux.vnet.ibm.com, gwshan@...ux.vnet.ibm.com,
        hamish.martin@...iedtelesis.co.nz, hbathini@...ux.vnet.ibm.com,
        khandual@...ux.vnet.ibm.com,
        Laurent Dufour <ldufour@...ux.vnet.ibm.com>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        ppc-dev <linuxppc-dev@...ts.ozlabs.org>,
        maddy@...ux.vnet.ibm.com, mahesh@...ux.vnet.ibm.com,
        matthew.brown.dev@...il.com, tcharding <me@...in.cc>,
        Masami Hiramatsu <mhiramat@...nel.org>,
        Michael Neuling <mikey@...ling.org>, mrochs@...ux.vnet.ibm.com,
        naveen.n.rao@...ux.vnet.ibm.com, Nick Piggin <npiggin@...il.com>,
        Oliver O'Halloran <oohall@...il.com>,
        Peter Zijlstra <peterz@...radead.org>, rashmica.g@...il.com,
        Rob Herring <robh@...nel.org>, ruscur@...sell.cc,
        sukadev@...ux.vnet.ibm.com, tyreld@...ux.vnet.ibm.com,
        vaibhav jain <vaibhav@...ux.vnet.ibm.com>,
        vipin@...ux.vnet.ibm.com, xinhui.pan@...ux.vnet.ibm.com,
        yang.shi@...driver.com, Paul Mackerras <paulus@...ba.org>,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Subject: Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.12-1 tag

Linus Torvalds <torvalds@...ux-foundation.org> writes:
> On Fri, May 5, 2017 at 6:20 AM, Michael Ellerman <mpe@...erman.id.au> wrote:
>>
>> Also due to a screw-up on my part, we need a hunk added when you merge
>> the powerpc tree with the KVM tree:
>>
>> diff --git a/arch/powerpc/kvm/book3s_xive.c b/arch/powerpc/kvm/book3s_xive.c
>> index 7807ee17af4b..ffe1da95033a 100644
>> --- a/arch/powerpc/kvm/book3s_xive.c
>> +++ b/arch/powerpc/kvm/book3s_xive.c
>> @@ -24,6 +24,7 @@
>>  #include <asm/xive.h>
>>  #include <asm/xive-regs.h>
>>  #include <asm/debug.h>
>> +#include <asm/debugfs.h>
>>  #include <asm/time.h>
>>  #include <asm/opal.h>
>>
>> I haven't seen a pull request from Paolo yet, so possibly you'll need
>> to add that later when you merge the KVM tree.
>
> Ok. I won't catch this in my allmodconfig build due to the
> ppc-specific nature of it, so I'll probably forget about this and not
> catch it.

Yeah fair enough.

> Paolo, Radim, can you try to remind me about this conflict when you
> send the KVM pull request?

I Cc'ed Paolo, and will try and keep an eye out for the KVM pull request
in case he forgets to mention it.

> Also:
>
>>   - Larger virtual address space on 64-bit server CPUs. By default we
>>     use a 128TB virtual address space, but a process can request access
>>     to the full 512TB by passing a hint to mmap().
>
> I'm assuming/hoping this uses the same logic as the upcoming 47+ bit
> 5-level page table x86 support? Sounds like it, but I didn't check the
> code.
>
> See "x86/mm: Allow to have userspace mappings above 47-bits" which
> hasn't been merged yet, but has been discussed on linux-mm, for
> example.

Yep. We were tracking that discussion, and made changes to make our
semantics match x86.

If anything changes on the x86 side before it merges we can update our
code to match, hopefully prior to 4.12 releasing.

There's also a selftest for the mmap behaviour, written by one of our
guys, which is coming via mm I think, so that should help make sure the
semantics match.

cheers

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ