Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp44907imm; Mon, 2 Jul 2018 07:24:55 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKPhXbKYTHXmcXNUT+3vCaS/pgA/aShMZolZeKZStpYlJA2LdFr+UMgX8i7RomSLVfpQYAp X-Received: by 2002:a17:902:1682:: with SMTP id h2-v6mr26114987plh.327.1530541494985; Mon, 02 Jul 2018 07:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530541494; cv=none; d=google.com; s=arc-20160816; b=nUM3bKzh/P1K27RhK3rOCkCvnRtc+NaBckiHIcE3nnwCbLFMcVruVNlvpG8E/I6WIs MKj4bb9Y+FpXrwErIwesFAbwuTGAXsH6bFw6oPflT8/HeTold8BwmnhdMjIFeQ66+Cr6 ASH4Cg7NZ5ImZukOozu1kANSdSO5oqAUmEKYmPkHm84WoU3LUWBb/zLgiUuIfHmoAjHK D33xeb0sss0S5tvPY0Oh6hbsQzpOIUk/wXmun6/X9J/cru/tbyCfEhY2CB6Eqlbj6eG9 WqQ2/52IAvBA9n337h68VqD36cy1KBOWL84h9PjiEts8n3EPdiNjwizpVcHPkzfNtwyC cnfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=j6Sh6+45gem0evKEzty7PIJEFylkXyPZZQVBUieX9VU=; b=WMO7rHtqtQTyvyBQlP49s0j3KxkDnCN9WUX9sLHi5fpd3BBIbfZidoXS6Qba8Dt1+f nFq3uNWWy/pNz26JXiP3x6VUeky3eGoSFL0NjuqR+IbhRmyDZ8cDW5+ROS8JkoDSoNJ1 BpyRLQO/2Q49tZO1hn61UA9qvVucIvBZoY4wQNhNWQq87ZxiucfvL1HAVR8R8SjpJPZz 2q3A1YEPY5LiWMUUtDLQI9H9jCt7hEznVgwr4YlyFYhBTsF7TyjYcjYIuhp8/G53AU0w HCDvaFJiEBw+5AxpeNyE/FCL4VXI5VZnnFWmf5wlT6zrqDDcrfR5+YFJkc+m8d2hWB3e YS5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=g3xXwPsL; dkim=pass header.i=@codeaurora.org header.s=default header.b=XSInLh1p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 h8-v6si9239211pgr.379.2018.07.02.07.24.31; Mon, 02 Jul 2018 07:24:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=g3xXwPsL; dkim=pass header.i=@codeaurora.org header.s=default header.b=XSInLh1p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752404AbeGBOXX (ORCPT + 99 others); Mon, 2 Jul 2018 10:23:23 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:55642 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752326AbeGBOXU (ORCPT ); Mon, 2 Jul 2018 10:23:20 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E93FC6037C; Mon, 2 Jul 2018 14:23:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530541399; bh=eExqIY1/5k6YlwJ5MxyK/eZqF0OzJVlyTiTpHEgI1gw=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=g3xXwPsLeZU7Y33Lo5mdLJBaZHo0EHQOhAfx50W/2CvDNEzgtR+bVFp5qKxxqAtsV XtibHMeViSWDYB6nbLzZXEfumClK43CJH/UvJdDEPli97rkBRl3DbLx5jOHYG5sQtu tAXeKcL66tNvH2/ZHov4uO/891ubRJM3t3E1O+PY= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,MISSING_DATE,MISSING_MID,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-52.elisa-laajakaista.fi [88.114.240.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id EF9526037C; Mon, 2 Jul 2018 14:23:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530541398; bh=eExqIY1/5k6YlwJ5MxyK/eZqF0OzJVlyTiTpHEgI1gw=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=XSInLh1pkTSKnXmqXXAPsctwnrb5pTxLMLYBmxKXkVzH8+VLaP3yEo03AyPeUHPQb Xp2g+DXoJ8kAwV5jZlSU2fW9SYJ4FTubiU3MCTzylyX3lEEQ4r/tlk/x2NfX9EZhad CQMGN1Z3w69NAfVrCzIpJ24cZmLYHavkMWgyfQ8Y= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EF9526037C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [1/3] ath10k: sdio: use same endpoint id for all packets in a bundle From: Kalle Valo In-Reply-To: <20180620084222.3521-2-niklas.cassel@linaro.org> References: <20180620084222.3521-2-niklas.cassel@linaro.org> To: Niklas Cassel Cc: "David S. Miller" , alagusankar@silex-india.com, Niklas Cassel , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20180702142319.E93FC6037C@smtp.codeaurora.org> Date: Mon, 2 Jul 2018 14:23:19 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Niklas Cassel wrote: > All packets in a bundle should use the same endpoint id as the > first lookahead. > > This matches how things are done is ath6kl, however, > this patch can theoretically handle several bundles > in ath10k_sdio_mbox_rx_process_packets(). > > Without this patch we get lots of errors about invalid endpoint id: > > ath10k_sdio mmc2:0001:1: invalid endpoint in look-ahead: 224 > ath10k_sdio mmc2:0001:1: failed to get pending recv messages: -12 > ath10k_sdio mmc2:0001:1: failed to process pending SDIO interrupts: -12 > > Co-Developed-by: Niklas Cassel > Signed-off-by: Alagu Sankar > Signed-off-by: Niklas Cassel > Signed-off-by: Kalle Valo 3 patches applied to ath-next branch of ath.git, thanks. 679e1f07c862 ath10k: sdio: use same endpoint id for all packets in a bundle d1d061b1395a ath10k: sdio: allocate correct size for RECV_1MORE_BLOCK rx packets 8530b4e7b22b ath10k: sdio: set skb len for all rx packets -- https://patchwork.kernel.org/patch/10476637/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches