From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752647AbdJ3O4o (ORCPT ); Mon, 30 Oct 2017 10:56:44 -0400 Received: from mx2.suse.de ([195.135.220.15]:60647 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751837AbdJ3O4n (ORCPT ); Mon, 30 Oct 2017 10:56:43 -0400 Date: Mon, 30 Oct 2017 15:56:36 +0100 From: Borislav Petkov To: Tyler Baicar Cc: Fengguang Wu , Huang Ying , Linus Torvalds , Linux Kernel Mailing List , Will Deacon , "Rafael J. Wysocki" Subject: Re: [ghes_copy_tofrom_phys] BUG: sleeping function called from invalid context at mm/page_alloc.c:4150 Message-ID: <20171030145631.xnv5ph6uyfc6uvqb@pd.tnic> References: <20171029225155.qcum5i75awrt5tzm@wfg-t540p.sh.intel.com> <20171029231835.3725fnd5yehlmqob@wfg-t540p.sh.intel.com> <20171030110511.scfrdtlnf5lbdhu5@pd.tnic> <2d40fa2f-0b88-a466-fc67-26653f5f72e8@codeaurora.org> <20171030140553.akse6wcfzmuhldad@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 30, 2017 at 10:17:27AM -0400, Tyler Baicar wrote: > I'm okay with reverting this Then please send a revert patch along with a cleaned up splat explaining why we're reverting. > and coming up with another solution, but that seems like it could be > masking a problem. Doh, the splat already told you what the problem is: [ 49.311408] BUG: sleeping function called from invalid context at mm/page_alloc.c:4150 you simply can't sleep in atomic context. GHES code better adhere to that. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --