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=-5.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 4C805C55ABD for ; Fri, 13 Nov 2020 08:18:01 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A4D15217A0 for ; Fri, 13 Nov 2020 08:18:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WKGolVX0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A4D15217A0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 9C3E66B0080; Fri, 13 Nov 2020 03:17:59 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9747B6B0082; Fri, 13 Nov 2020 03:17:59 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 862F86B0083; Fri, 13 Nov 2020 03:17:59 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0188.hostedemail.com [216.40.44.188]) by kanga.kvack.org (Postfix) with ESMTP id 535CE6B0080 for ; Fri, 13 Nov 2020 03:17:59 -0500 (EST) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id F0E208249980 for ; Fri, 13 Nov 2020 08:17:58 +0000 (UTC) X-FDA: 77478691836.16.floor81_0e08f932730d Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin16.hostedemail.com (Postfix) with ESMTP id CD0B5100E690C for ; Fri, 13 Nov 2020 08:17:58 +0000 (UTC) X-HE-Tag: floor81_0e08f932730d X-Filterd-Recvd-Size: 4760 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by imf49.hostedemail.com (Postfix) with ESMTP for ; Fri, 13 Nov 2020 08:17:58 +0000 (UTC) Received: by mail-ej1-f53.google.com with SMTP id dk16so12042015ejb.12 for ; Fri, 13 Nov 2020 00:17:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=bnWA7NJaIVcB2g0tlFOVRFKjNpLzobGBPKUYXGrrkP4=; b=WKGolVX0vOUYOcn2S2IdwfAy7H0LC7GcCdmFWO7bhPMFgftLeB8Zai8yg1mRAIzxpf 4sQ9sESDke9/PQRdeuA4zJxX5TqUaodkFSorp22udFofmUg0wm6M33fUBCyja0DOdQMp foZ8X1g5hyLH9sfx4wi5khEERvL6ovL/woiGgMs6b8nd/oL0I50m8RIiEzegP3Hf2u4I So7T/HXA2332yQKYkHtKYzmhMgpS5nSoJiBw7dxffDY31vFJAkKP6aAWbj+J5cAkOuEK C3A5sZdg3Bft0pN4/QQQ5Ovw9efTcUVS7npumUr0Cc3Uj/JiXAvhaMbpeYbJLdDneDFa vXIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=bnWA7NJaIVcB2g0tlFOVRFKjNpLzobGBPKUYXGrrkP4=; b=pqzaX1h7SEP7oIDiscr9G9x+TGB9B6fLxralshVR43ODhm/2RYJZJegqRn0cirtK1i q06KCDsrENC7QiZWNhmD0SoD3jB8dN6mMDBp6m88VT9DFUyvzra26lbmwVDRozJv2NUr RMvqFp8Sr7tlQHsb7u/qTOX0jQSa3IeQ56LAwSs4EnZi59OCNWPLA5ukd8+1K3ccku+M re9Q3r1KETipj3egcHaddPkZ3SroZxp9adu9MbfNJ0gBgAotLGQx/OS30PMLwzqWr6b0 BSzDMBCKnjyvraHNjGlLAvvsXKP6ccHs7Es0CEPnVGJKo11JArpGSr5tUqoggih/rNI5 7bkQ== X-Gm-Message-State: AOAM531tnuTvll40YV7EUsXQz6frQ5Cvct+6J9bGWOt5Px4V54xQi5po 3Gqq/VslteMU5Z8EgeJMzU4= X-Google-Smtp-Source: ABdhPJyiPs0awLn6dH6rvyw3cd8X3RzIPjMBgDHEhTcLFynuIIYzK0FaqeS9tlCjlHWH4edQH+TUMg== X-Received: by 2002:a17:906:26c2:: with SMTP id u2mr807496ejc.529.1605255477227; Fri, 13 Nov 2020 00:17:57 -0800 (PST) Received: from ?IPv6:2a02:a44f:d2f0:0:56ce:b296:68ac:ee9c? (2a02-a44f-d2f0-0-56ce-b296-68ac-ee9c.fixed6.kpn.net. [2a02:a44f:d2f0:0:56ce:b296:68ac:ee9c]) by smtp.gmail.com with ESMTPSA id a1sm3402973edk.52.2020.11.13.00.17.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Nov 2020 00:17:56 -0800 (PST) Subject: Re: Regression: QCA6390 fails with "mm/page_alloc: place pages to tail in __free_pages_core()" To: David Hildenbrand , Kalle Valo Cc: Vlastimil Babka , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, ath11k@lists.infradead.org References: <8ACA82DB-D2FE-4599-8A01-D42218FDE1E5@redhat.com> <87eekz4s04.fsf@codeaurora.org> <9d307c40-5ea1-8938-819d-f1742cb99945@gmail.com> From: Pavel Procopiuc Message-ID: Date: Fri, 13 Nov 2020 09:17:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Op 12.11.2020 om 11:48 schreef David Hildenbrand: > Trying to understand the code, it looks like there are always two rounds of reqests. The first one always fails > ("requesting one big chunk of DMA memory"), the second one (providing multiple chunks of DMA memory) is supposed to work > - and we do allocate memory. > > > In the *working* cases we have > > Respond mem req failed, result: 1, err: 0 > qmi failed to respond fw mem req:-22 > ... > chip_id 0x0 chip_family 0xb board_id 0xff soc_id 0xffffffff > > We don't fail in qmi_txn_wait() - second request w > > > In the *non-working* cases we have > > Respond mem req failed, result: 1, err: 0 > qmi failed to respond fw mem req:-22 > ... > qmi failed memory request, err = -110 > qmi failed to respond fw mem req:-110 > > We fail in qmi_txn_wait(). We run into a timeout (ETIMEDOUT). > > Can we bump up the timeout limit and see if things change? Maybe FW needs more time with other addresses. I tried increasing ATH11K_QMI_WLANFW_TIMEOUT_MS 20 times to 100000 (i.e. 100 seconds) and it didn't have any positive effect, the second error (-110) just came 100 seconds later and not 5.