From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFC2FC07E96 for ; Tue, 6 Jul 2021 08:55:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9092861995 for ; Tue, 6 Jul 2021 08:55:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230472AbhGFI6e (ORCPT ); Tue, 6 Jul 2021 04:58:34 -0400 Received: from gateway22.websitewelcome.com ([192.185.47.48]:33963 "EHLO gateway22.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230295AbhGFI6d (ORCPT ); Tue, 6 Jul 2021 04:58:33 -0400 X-Greylist: delayed 1259 seconds by postgrey-1.27 at vger.kernel.org; Tue, 06 Jul 2021 04:58:33 EDT Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway22.websitewelcome.com (Postfix) with ESMTP id F128814AB9 for ; Tue, 6 Jul 2021 03:34:53 -0500 (CDT) Received: from gator4132.hostgator.com ([192.185.4.144]) by cmsmtp with SMTP id 0gXdmaomCK61i0gXdm0jru; Tue, 06 Jul 2021 03:34:53 -0500 X-Authority-Reason: nr=8 Received: from host-95-244-220-40.retail.telecomitalia.it ([95.244.220.40]:40218 helo=x1.bristot.me) by gator4132.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1m0gXc-001fP3-BI; Tue, 06 Jul 2021 03:34:52 -0500 Subject: Re: kvm-vm boot fail: ttm_bo_cleanup_memtype_use? To: =?UTF-8?Q?Christian_K=c3=b6nig?= , Paolo Bonzini Cc: LKML References: <8c1ea35a-9ec9-bf11-ace4-8c604b04bbc3@kernel.org> From: Daniel Bristot de Oliveira Message-ID: Date: Tue, 6 Jul 2021 10:34:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4132.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kernel.org X-BWhitelist: no X-Source-IP: 95.244.220.40 X-Source-L: No X-Exim-ID: 1m0gXc-001fP3-BI X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: host-95-244-220-40.retail.telecomitalia.it (x1.bristot.me) [95.244.220.40]:40218 X-Source-Auth: kernel@bristot.me X-Email-Count: 3 X-Source-Cap: YnJpc3RvdG1lO2JyaXN0b3RtZTtnYXRvcjQxMzIuaG9zdGdhdG9yLmNvbQ== X-Local-Domain: no Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/6/21 8:53 AM, Christian König wrote: > Hi Daniel, > > looks like a simple missing NULL check to me. Please test the attached patch. > It works! Feel free to add: Reported-by: Daniel Bristot de Oliveira Tested-by: Daniel Bristot de Oliveira > We recently changed the structure of the resources, so probably introduced while > doing that. > > Christian. Thanks! -- Daniel