Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4485295pxv; Tue, 6 Jul 2021 01:59:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwggLNbVxlcBrOKOAtd3uanSoCiRUwLoc6ijffraDAP+b2MhsS4U1mXw1OK8GgtVQye1CLl X-Received: by 2002:a05:6402:308f:: with SMTP id de15mr21438554edb.151.1625561950173; Tue, 06 Jul 2021 01:59:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625561950; cv=none; d=google.com; s=arc-20160816; b=XPL2yZCs+7aLQ17XJVjHY6u4ii8z8YmsoLtEbGxqBZKvJs1coJwcn9W4bswvR7QM4u 5nfzD0RlPPUVDZ6m9vhYdoAd1yHT/OyUevtVbRThFQy06dnLy1TtrpEET6+h3BAi50GZ DBzwdHBxfkXw6D+VQ/wMFjboCAN1qOs8Rqnst7JATlLu1+7F3vI4YAJY8KZEhvR6Dq8v fdhTPOZfec3+Q0kG/XC5IzkgFS3Xxpeh7UORKO0TcgcaMaKA5XuCpsrwkxUuTiZpVmD+ xdY63LKT8XKjiWb8VJiKHL3F5idEVEBMpe1fda/PuJCuyTRRAzlp5nbYg3DeVt8Sjp8P 48Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=6krpPtaFgwW6miykedSHtpt0p3EQbWe9s5Uo7ag3jes=; b=TxiOxuFgzNeP04W0gT1XW1f7aIPBpbhz5og9PPvRSgNp4swnslxzeOPzyL4GY5sgC5 5AQECjIpF5dZUXcM8wVeOVFZeI6QY7wQSz/pJLd2t0Z2llQwTKqPsJ/xEg8gM9Tpy586 CnI0LjNAm6lbzf5CXkJL5CXYrPGmo9eBMzabWjJ2N/B5wdGiKrt8wuMuSQQpEFljntDo //PlM5QqMI1Hqd5r8YNdMRtNDPYlIshkeD9NDuZiy0LyiPoMrp8zw/SvbzwSHCMxTFWj 5jDoIOGoGo94mONIAXkuisP90JVhjJIH/Wx4P9bsKkZhHSoGvbRw4IAxp+4sVh66MFvW H66Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cr10si10792202ejc.393.2021.07.06.01.58.47; Tue, 06 Jul 2021 01:59:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230351AbhGFI6e (ORCPT + 99 others); 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