Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1577283pxb; Fri, 20 Nov 2020 13:05:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbN4ffsRp2nNSEzhS214xpkaaDpAwOMnDOE4Xkddh/P2WmPiWNM3SV1E8idJnLqDn3g7PI X-Received: by 2002:a17:906:2e0f:: with SMTP id n15mr17440211eji.486.1605906331143; Fri, 20 Nov 2020 13:05:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605906331; cv=none; d=google.com; s=arc-20160816; b=GgbyRTRFe84jD/sm5+oZU7WTNJWI3/zBksiXXHaXyVKmoYe065ysSr6UsoubaJrWpO yolVKEuZrQK1g64fyyoQq50Q0GGoVVyZ7r8crhFeKmBL06IeC/KthZ6sHVVb1vHZzKC5 d4SKS/isXgMHPK4XqjIxMxr6JiS15kNwc4p+rV/sDXCMBteGRbaSIGxfUHxCaq+Y6yjL SqDgo6j4RHT0U74pxTLRDYWR/vcbCHg73QOc5/vrvytc6CeelMc+cBRPS2RXqT9jPKN/ tsIwvXET322dzG3S3NBaUDzp3Dh0Jb7a/X826n8LostePbsjdoMhykYlehivJfXhaneD nQ5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=veXWdye4EPb1hf22k/yabOHMzQdWo29UrU9Jxr6Z+6g=; b=RGqEtmdUxif1cZQt03ENzmZIFKrQwxAN3+XMd4G3rL9B4fMJsLgButPvAEy1Zqkv8+ HQrnP48s5u7CWgQzXKpWwgDLNOA33db85j3jgFi8EVcjPYy/GwLvqYt+lKJg098vWShx 8l9puYn6J5Mn2vEFTCn5IPBbX9vqSzXONlZjD7vC2W9Ht4+iIFwNfM4cHMgAY9RBZsxh eOpy1shsJeOh+T9Plgjzuw/h1GuZTW6RVWbQlzLnEhNajM9LdgLiukWqEM0VJJxX/WkJ jXVbeTeHmdkVpMTNxN8wE9FhOvvDH2vInQwzGC34BeUNke/ByH5imO/dkj++uSZD1ZAb g4Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=B2TUNk7N; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si2436434ejs.111.2020.11.20.13.05.01; Fri, 20 Nov 2020 13:05:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=B2TUNk7N; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731285AbgKTVEh (ORCPT + 99 others); Fri, 20 Nov 2020 16:04:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731250AbgKTVEg (ORCPT ); Fri, 20 Nov 2020 16:04:36 -0500 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52694C0613CF for ; Fri, 20 Nov 2020 13:04:36 -0800 (PST) Received: by mail-oi1-x242.google.com with SMTP id o25so11987475oie.5 for ; Fri, 20 Nov 2020 13:04:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=veXWdye4EPb1hf22k/yabOHMzQdWo29UrU9Jxr6Z+6g=; b=B2TUNk7NCv+2OSJErtonoLqm/CVdIxLlDhUNhg9hUAKvLxHavqwTBEfy7xbTEig+pi 72h1LH2HQOEeZDXMsNSKayDVvWjo1Z96344pykxAqmngrq1s9duCmE4qUtu0oFjLWK8V yuTqiR6RmH00V5KgVczlVzF0pnOm6OWCCfFlg= 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=veXWdye4EPb1hf22k/yabOHMzQdWo29UrU9Jxr6Z+6g=; b=cTL7iXdyV9UtqcBdInQcYK+b+y2JsqA3yr8ksZ0638tfBMEpUSXjGBio9IrGMtwhh6 Zg8rLKBkaZws9tpzUdV3Z2MGLqeN3feugLJqYCoiRLJH+ipa5Ho8hDOcwgJSpTKFu7Lc n9cjF+7nplv3z3fZc2+Usur8voQ6G1p58Rr46BGVUq5py8TWRy3PPJJjWdfSFdLeKCmY 5Fl70eS2jgsAo80Zn4qdQVPc2YxMiB6NbnKR/RXUu689LfeuJyc/gAEDbGf9l72cliFw NcsOeWTgIcCjAd8U7COYMma2cUlhtY8DWPF2sYb9LAxuT/JKbQgLS2guEZ+Tr74bCQfq NHwg== X-Gm-Message-State: AOAM5315Bzmoo2HKlcwo70ZCrAgUy09HMb46ZVqZnkGj1gtCJejag+FY FUHQyR5iMwaTYslomtH5QAOWqt6TuWvLkA== X-Received: by 2002:aca:2209:: with SMTP id b9mr7127435oic.119.1605906273942; Fri, 20 Nov 2020 13:04:33 -0800 (PST) Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com. [209.85.210.48]) by smtp.gmail.com with ESMTPSA id k10sm1877275otb.81.2020.11.20.13.04.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Nov 2020 13:04:32 -0800 (PST) Received: by mail-ot1-f48.google.com with SMTP id j14so10061966ots.1 for ; Fri, 20 Nov 2020 13:04:31 -0800 (PST) X-Received: by 2002:a05:6830:2083:: with SMTP id y3mr16408151otq.203.1605906270889; Fri, 20 Nov 2020 13:04:30 -0800 (PST) MIME-Version: 1.0 References: <20201028142433.18501-1-kitakar@gmail.com> <20201028142433.18501-2-kitakar@gmail.com> <8fa12bfff1cc30b655934e303cad78ae75b0fcde.camel@gmail.com> In-Reply-To: <8fa12bfff1cc30b655934e303cad78ae75b0fcde.camel@gmail.com> From: Brian Norris Date: Fri, 20 Nov 2020 13:04:19 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] mwifiex: disable ps_mode explicitly by default instead To: Tsuchiya Yuto Cc: Amitkumar Karwar , Ganapathi Bhat , Xinming Hu , Kalle Valo , "David S. Miller" , Jakub Kicinski , linux-wireless , "" , Linux Kernel , Maximilian Luz , Andy Shevchenko , verdre@v0yd.nl Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, Oct 30, 2020 at 1:04 AM Tsuchiya Yuto wrote: > On Thu, 2020-10-29 at 11:25 -0700, Brian Norris wrote: > > For the record, Chrome OS supports plenty of mwifiex systems with 8897 > > (SDIO only) and 8997 (PCIe), with PS enabled, and you're hurting > > those. Your problem sounds to be exclusively a problem with the PCIe > > 8897 firmware. > > Actually, I already know that some Chromebooks use these mwifiex cards > (but not out PCIe-88W8897) because I personally like chromiumos. I'm > always wondering what is the difference. If the difference is firmware, > our PCIe-88W8897 firmware should really be fixed instead of this stupid > series. PCIe is a very different beast. (For one, it uses DMA and memory-mapped registers, where SDIO has neither.) It was a very difficult slog to get PCIe/8997 working reliably for the few Chromebooks that shipped it, and lots of that work is in firmware. I would not be surprised if the PCIe-related changes Marvell made for 8997 never fed back into their PCIe-8897 firmware. Or maybe they only ever launched PCIe-8897 for Windows, and the Windows driver included workarounds that were never published to their Linux driver. But now I'm just speculating. > Yes, I'm sorry that I know this series is just a stupid one but I have to > send this anyway because this stability issue has not been fixed for a > long time. I should have added this buglink to every commit as well: > > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=109681 > > If the firmware can't be fixed, I'm afraid I have to go this way. It makes > no sense to keep enabling power_save for the affected devices if we know > it's broken. Condolences and sympathy, seriously. You likely have little chance of getting the firmware fixed, so without new information (e.g,. other workarounds?), this is the probably the right way to go. Brian