From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752731AbdFPK7A (ORCPT ); Fri, 16 Jun 2017 06:59:00 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:53896 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752375AbdFPK67 (ORCPT ); Fri, 16 Jun 2017 06:58:59 -0400 Date: Fri, 16 Jun 2017 12:58:55 +0200 (CEST) From: Thomas Gleixner To: Tom Lendacky cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Borislav Petkov , Ingo Molnar Subject: Re: [PATCH tip/sched/core] mm/early_ioremap: Adjust early_ioremap system_state check In-Reply-To: <20170614191152.28089.65392.stgit@tlendack-t1.amdoffice.net> Message-ID: References: <20170614191152.28089.65392.stgit@tlendack-t1.amdoffice.net> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Jun 2017, Tom Lendacky wrote: > A recent change added a new system_state value, SYSTEM_SCHEDULING, which > exposed a warning issued by early_ioreamp() when the system_state was not > SYSTEM_BOOTING. Since early_ioremap() can be called when the system_state > is SYSTEM_SCHEDULING, the check to issue the warning is changed from > system_state != SYSTEM_BOOTING to system_state >= SYSTEM_RUNNING. Errm, why is that early_ioremap() stuff called after we enabled the scheduler? At that point the regular ioremap stuff is long working. Thanks, tglx