Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5997720ybg; Tue, 22 Oct 2019 11:26:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHQhbYz471FWWDMx7oXEnPXtH+owu8gh1sROF1uQFaPwuz7nXG4VLC8UXwlC+ZJlBk80NU X-Received: by 2002:a05:6402:703:: with SMTP id w3mr32373490edx.95.1571768797705; Tue, 22 Oct 2019 11:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571768797; cv=none; d=google.com; s=arc-20160816; b=qDRFxg+uA3S9aKWKXyOwVCwrcJvGOW4JAbUJE6qoXr4Qtl/8yFcktVaYIUUf7YefTJ DaQyIpXJr3tnR0XJj6gtBHVaVwenVBw2kaUHCwuOZRwk4TETN9Nwhj3qunyjBUPOw+5U EeTMju28RpED3AMS0+fpng7KgS9M0qRJDzKTCKUoH3LLbRaAxpO6m4jxz6rGVufk2KuN dhdyCYur98aAvRdii5umF2Ty6zc3+/8DsDGoXNBcPRAc16t7OAZxkdrbRWuwn31Psg9X 9DkvZkmZithpvfNF5740PuyPLC1EwV+Y/C+o722IUMT58TeWQyD52lA5Wx7LA8j7A2pe K3Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=6a2nV0MVVlfJzNZnPnOTDLrt++nGC/Q++LUC46+Srfs=; b=x2FEM1HaQxyYuphrQ2Q41pIKeTONy75jgZyBAmgMvagKN6FN5YKVmIf7JCkYSFH3j8 Yuq8IXkkiwRasPk5exdmXcLgp0W4ceNE6/UIJ4bI9ql1V4ZQjGAl2ShtkET5gOjIRLic tzzs0gDJ5FshlLj51GUHTkThHWum3uPtx4+uoe56E3qY9QUCu8Sc5D6VhEeOf6HYVyIf evL/4rZlLft2ZTy1lgha9ZpGDVRLYKM/k+VMm6tNUwKWoq7/QdEHYcbREOdQ2t8bJyLP MMMFj8vi02Q53pUnOqioES9HWwt6dSm5KHlZADw86p9jl50habyHauzgDNFi3vbzy7ah JS1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v1si7593635edm.285.2019.10.22.11.26.00; Tue, 22 Oct 2019 11:26:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732436AbfJVSYu (ORCPT + 99 others); Tue, 22 Oct 2019 14:24:50 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:43353 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727226AbfJVSYt (ORCPT ); Tue, 22 Oct 2019 14:24:49 -0400 Received: by mail-qk1-f193.google.com with SMTP id a194so13114985qkg.10 for ; Tue, 22 Oct 2019 11:24:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6a2nV0MVVlfJzNZnPnOTDLrt++nGC/Q++LUC46+Srfs=; b=B7m7JsBJsWKVw3wfzfsT/zcjS8PLZ5UgZiG0O24kuzjlryiQbYwwQXFIZ1SpwMZKvf emTWQOrp5Unu0z6DLbDlDEZ/csmuv+n3F1FX4hLkYUK8MM7uZp1n6FD1BvyoP/llsqAY cG9NdURv9NpIM7Zu0lgEkbzlIf2kv85J7bD21HXRU0R/Azi1Mmi3UIsPlxoB1rm59FAO VGkH47FOd6V/iD2ETTmesPMlbLgN0eR2zcE5WjeyL7Wt/FUg1Lusg5auIR/Eky3k8F2V mMb3meXPZ8jv/QSh/aw4EK53AK0uJMb6L39bAfsMI7Af5EGmf/JDZrushF/sUENMUKkb DDBQ== X-Gm-Message-State: APjAAAXUzfxTHzmflxwwU5/PIoq4o9CIxM7IA0rMH3O6V3Tta6dDSvdt ZXH5jzEqCg3OkfmOWtkIeTJ+h3XkUvgDBu+R9Quv8Q== X-Received: by 2002:a37:67d6:: with SMTP id b205mr4512027qkc.183.1571768688431; Tue, 22 Oct 2019 11:24:48 -0700 (PDT) MIME-Version: 1.0 References: <1571734629-18028-1-git-send-email-zhichen@codeaurora.org> In-Reply-To: From: Adrian Chadd Date: Tue, 22 Oct 2019 11:24:36 -0700 Message-ID: Subject: Re: [PATCH RFC] Revert "ath10k: fix DMA related firmware crashes on multiple devices" To: Peter Oh Cc: Zhi Chen , ath10k , linux-wireless@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, 22 Oct 2019 at 10:17, Peter Oh wrote: > > > On 10/22/19 1:57 AM, Zhi Chen wrote: > > This reverts commit 76d164f582150fd0259ec0fcbc485470bcd8033e. > > PCIe hung issue was observed on multiple platforms. The issue was reproduced > > when DUT was configured as AP and associated with 50+ STAs. > > > > With PCIe protocol analyzer, we can see DMA Read crossing 4KB boundary when > > issue happened. It broke PCIe spec and caused PCIe stuck. > > How can you say value 0 (I believe it's 64 bytes) DMA burst size causes > the symptom and 1 fixes it? +1 to this question. Also, shouldn't the DMA engine be doing what the firmware says? Is the firmware/copy engine actually somehow bursting / prefetching across a 4K page boundary? Surely this is something that can be fixed in software/firmware by correctly configuring up buffer size/offsets? -adrian