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


Groups > linux.kernel > #1644460

Re: [PATCH] arm64: cpufeature: check translation granule size based on kernel config

From Leo Yan <leo.yan@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: cpufeature: check translation granule size based on kernel config
Date 2017-05-18 15:10 +0200
Message-ID <tItlL-2Zs-3@gated-at.bofh.it> (permalink)
References <tIqQW-Z9-15@gated-at.bofh.it> <tIr0C-147-25@gated-at.bofh.it> <tIrWH-1NJ-41@gated-at.bofh.it> <tIsSK-2yg-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, May 18, 2017 at 01:39:12PM +0100, Suzuki K Poulose wrote:

[...]

> >>If we were to suppress the warning (more on that below), we could simply
> >>make this feature a NON_STRICT, since the unsupported CPUs won't boot
> >>with 16K to hit this sanity check.
> >>
> >>However, there is a problem with disabling this warning. If a VM starts
> >>using 16KB page size on a 4K/64K host, the VM could end up in unknown
> >>failures when it switches to an unsupported CPU (after it has booted).
> >>Of course the real fix lies in making the KVM exposing the safe value
> >>for granule support to the VCPUs (which is currently being worked on by
> >>Douglas in Cc). So, when we have that ready, we could make it NON_STRICT
> >>instead of this approach.
> >
> >Thanks for the info :)
> >
> >I will use below patch for production branch temporarily. You could
> 
> Which production branch do you mean above ? Is it something in your intenral
> repository ?

Yeah, I mean Hikey960 branch.

Thanks,
Leo Yan

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


Thread

[PATCH] arm64: cpufeature: check translation granule size based on kernel config Leo Yan <leo.yan@linaro.org> - 2017-05-18 12:30 +0200
  Re: [PATCH] arm64: cpufeature: check translation granule size based  on kernel config Suzuki K Poulose <Suzuki.Poulose@arm.com> - 2017-05-18 12:40 +0200
    Re: [PATCH] arm64: cpufeature: check translation granule size based  on kernel config Leo Yan <leo.yan@linaro.org> - 2017-05-18 13:40 +0200
      Re: [PATCH] arm64: cpufeature: check translation granule size based  on kernel config Will Deacon <will.deacon@arm.com> - 2017-05-18 14:40 +0200
        Re: [PATCH] arm64: cpufeature: check translation granule size based  on kernel config Mark Rutland <mark.rutland@arm.com> - 2017-05-18 14:50 +0200
          Re: [PATCH] arm64: cpufeature: check translation granule size based  on kernel config Leo Yan <leo.yan@linaro.org> - 2017-05-18 15:10 +0200
            Re: [PATCH] arm64: cpufeature: check translation granule size based  on kernel config Mark Rutland <mark.rutland@arm.com> - 2017-05-18 16:30 +0200
              Re: [PATCH] arm64: cpufeature: check translation granule size based  on kernel config Will Deacon <will.deacon@arm.com> - 2017-05-18 17:20 +0200
      Re: [PATCH] arm64: cpufeature: check translation granule size based  on kernel config Suzuki K Poulose <Suzuki.Poulose@arm.com> - 2017-05-18 14:40 +0200
        Re: [PATCH] arm64: cpufeature: check translation granule size based  on kernel config Leo Yan <leo.yan@linaro.org> - 2017-05-18 15:10 +0200

csiph-web