Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1621148

Re: [PATCH 3/8] x86/boot/64: Add support of additional page table level during early boot

From "Kirill A. Shutemov" <kirill@shutemov.name>
Newsgroups linux.kernel
Subject Re: [PATCH 3/8] x86/boot/64: Add support of additional page table level during early boot
Date 2017-04-11 13:00 +0200
Message-ID <tv1GF-5TL-9@gated-at.bofh.it> (permalink)
References <ttggN-16l-3@gated-at.bofh.it> <ttggN-16l-7@gated-at.bofh.it> <tuY66-3Oc-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Apr 11, 2017 at 09:02:03AM +0200, Ingo Molnar wrote:
> I realize that you had difficulties converting this to C, but it's not going to 
> get any easier in the future either, with one more paging mode/level added!
> 
> If you are stuck on where it breaks I'd suggest doing it gradually: first add a 
> trivial .c, build and link it in and call it separately. Then once that works, 
> move functionality from asm to C step by step and test it at every step.

I've described the specific issue with converting this code to C in cover
letter: how to make compiler to generate 32-bit code for a specific
function or translation unit, without breaking linking afterwards (-m32
break it).

I would be glad to convert it, but I'm stuck.

Do you have an idea how to get around the issue.

-- 
 Kirill A. Shutemov

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/8] x86/boot/64: Add support of additional page table  level during early boot Ingo Molnar <mingo@kernel.org> - 2017-04-11 09:10 +0200
  Re: [PATCH 3/8] x86/boot/64: Add support of additional page table  level during early boot "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-04-11 13:00 +0200
    Re: [PATCH 3/8] x86/boot/64: Add support of additional page table  level during early boot Ingo Molnar <mingo@kernel.org> - 2017-04-11 13:30 +0200
      Re: [PATCH 3/8] x86/boot/64: Add support of additional page table  level during early boot "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-04-11 13:50 +0200
        Re: [PATCH 3/8] x86/boot/64: Add support of additional page table  level during early boot Andi Kleen <ak@linux.intel.com> - 2017-04-11 16:10 +0200
          Re: [PATCH 3/8] x86/boot/64: Add support of additional page table  level during early boot "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-04-12 12:20 +0200
            Re: [PATCH 3/8] x86/boot/64: Add support of additional page table  level during early boot Ingo Molnar <mingo@kernel.org> - 2017-04-17 12:40 +0200
              Re: [PATCH 3/8] x86/boot/64: Add support of additional page table  level during early boot "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-04-18 11:10 +0200
                Re: [PATCH 3/8] x86/boot/64: Add support of additional page table  level during early boot "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-04-18 12:20 +0200
                Re: [PATCH 3/8] x86/boot/64: Add support of additional page table  level during early boot "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-04-18 13:20 +0200

csiph-web