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


Groups > linux.kernel > #1460126

Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly

From Thomas Garnier <thgarnie@google.com>
Newsgroups linux.kernel
Subject Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly
Date 2016-08-11 03:20 +0200
Message-ID <s4MP7-4rA-3@gated-at.bofh.it> (permalink)
References (7 earlier) <s4GA3-f8-101@gated-at.bofh.it> <s4ILw-1Hq-33@gated-at.bofh.it> <s4J4S-259-37@gated-at.bofh.it> <s4JHA-2k9-31@gated-at.bofh.it> <s4Mcp-3XK-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Aug 10, 2016 at 5:35 PM, Rafael J. Wysocki <rafael@kernel.org> wrote:
> On Wed, Aug 10, 2016 at 11:59 PM, Jiri Kosina <jikos@kernel.org> wrote:
>> On Wed, 10 Aug 2016, Rafael J. Wysocki wrote:
>>
>>> So I used your .config to generate one for my test machine and with
>>> that I can reproduce.
>>
>> Was that the config I've sent, or did Boris provide one as well? Which one
>> are you able to reproduce with please?
>
> It's the Boris' one.
>
> Moreover, I have found the options that make the difference: unsetting
> CONFIG_PROVE_LOCKING and CONFIG_DEBUG_LOCK_ALLOC (which also will
> unset CONFIG_LOCKDEP AFAICS) in it makes hibernation work again with
> CONFIG_RANDOMIZE_MEMORY set and with the $subject patch applied.
>
> Unbelievable, but that's what I'm seeing.

Nice find!

>
> Now, that leads to a few questions:
>
> - How does lockdep change the picture so it matters for hibernation?
> - Why is hibernation the only piece that's affected?
> - Why is RANDOMIZE_MEMORY necessary to make this breakage show up?
>
> Thomas, any ideas?

No idea so far. I will investigate though.

We had an unrelated issue with CONFIG_DEBUG_PAGEALLOC on early boot. I
don't think it was related because it was on early boot and with
certain e820 memory layout (and PUD randomization that I disabled on
the previous patch test). The fix is on tip:
http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=fb754f958f8e46202c1efd7f66d5b3db1208117d

>
> Thanks,
> Rafael

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


Thread

[Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-08-08 15:30 +0200
  Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Borislav Petkov <bp@suse.de> - 2016-08-08 15:50 +0200
    Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-08 16:00 +0200
      Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Thomas Garnier <thgarnie@google.com> - 2016-08-08 20:10 +0200
        Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-08 22:10 +0200
      Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-09 13:50 +0200
  Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Jiri Kosina <jikos@kernel.org> - 2016-08-09 11:30 +0200
    Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-09 14:00 +0200
      Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Jiri Kosina <jikos@kernel.org> - 2016-08-09 15:00 +0200
        Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Jiri Kosina <jikos@kernel.org> - 2016-08-09 15:40 +0200
          Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Jiri Kosina <jikos@kernel.org> - 2016-08-09 17:10 +0200
            Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-09 18:20 +0200
              Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Thomas Garnier <thgarnie@google.com> - 2016-08-09 18:30 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-09 23:00 +0200
              Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Jiri Kosina <jikos@kernel.org> - 2016-08-09 22:10 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-09 23:30 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-08-10 02:20 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Thomas Garnier <thgarnie@google.com> - 2016-08-10 20:40 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-11 00:00 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Jiri Kosina <jikos@kernel.org> - 2016-08-11 00:00 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Jiri Kosina <jikos@kernel.org> - 2016-08-10 21:00 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Borislav Petkov <bp@suse.de> - 2016-08-10 21:00 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-10 23:00 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-10 23:20 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Jiri Kosina <jikos@kernel.org> - 2016-08-11 00:00 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-11 02:40 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Thomas Garnier <thgarnie@google.com> - 2016-08-11 03:20 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly "Rafael J. Wysocki" <rafael@kernel.org> - 2016-08-11 03:40 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Thomas Garnier <thgarnie@google.com> - 2016-08-11 20:50 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-08-11 23:30 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Thomas Garnier <thgarnie@google.com> - 2016-08-11 23:40 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Jiri Kosina <jikos@kernel.org> - 2016-08-10 21:00 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Thomas Garnier <thgarnie@google.com> - 2016-08-10 22:00 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity  mapping correctly Jiri Kosina <jikos@kernel.org> - 2016-08-10 22:50 +0200
                Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-08-10 22:10 +0200

csiph-web