Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3493178pxv; Mon, 26 Jul 2021 05:32:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzs+DEWqLRA5MX/jWqgBbDXyd2OSm5NizcLYRM8HxcQBobd+KFXW/JT/8s/J8g+IJsYwxTf X-Received: by 2002:a05:6638:538:: with SMTP id j24mr16212416jar.59.1627302742587; Mon, 26 Jul 2021 05:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627302742; cv=none; d=google.com; s=arc-20160816; b=HZ8hr130mJy1xr56rbfV+z3BFs4Ly8pIkK8caXFIasIshY/qIkQbjE0OXMyPsDPM6T 567HIXevvx5q/rLBrSC12bXqw4y0hB4iHlMJwIE9TjbB7VxL96oRo3FCj4PcOI9+DUjL Y9NOvw8FocsXoJq3p08DZE/lRBUZMxb2aq0PLGDNAV/A8utV4T+rOV9yEIudfjvhUt87 mpfjiDFVsyRFeAa/8bWF8p68ZU8sftqVIj5x4myf2PkJ7nhracfrIRhlaI53ulZaKKEH hnlpb0mdwxOdQj8ceY/aulky6pDWXzgPBwUPvQmrUbFbAg+ZCOOEBHhT8VFPGi19S4Cp swrg== 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:dkim-signature:dkim-filter; bh=oqeuXvtDmjVul2Ip1H+6bPaRupV+abjRcFpDIyxT54Q=; b=YB3t+aGo0kpqeeqymw9NdVLAgIrYH6hz7PrCDPlOJmFUV53QqzMQ0YV3EkMT1Dz1g8 JzIT5Qte5dMFj37T4TfX3GDG2proLiO7wu9qhRFIx6JrU09jI3dNL5rSVfKWpBAb7VJS wsW9jU/dK+YT6t8s0LmQ9CsxlFEX4mWiKZ1IJ2qof/zsywXiYgByZ17A+/wkjPRPVYMI IuLRLeUBU83rGfZ6URGFE5EFP+epoO5QuV2pGICdgJWrZkZ8NEINvZiBn705AWfg3vqa eF6A88sCReRPs6yPxEu8/2lsWqTl3/QNcCRtUuFRmfgngDYTcSUe/4YnTeblUHDognRH AsaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=n1DrYe0F; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t26si24319140ioj.103.2021.07.26.05.32.11; Mon, 26 Jul 2021 05:32:22 -0700 (PDT) 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=@broadcom.com header.s=dkimrelay header.b=n1DrYe0F; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234159AbhGZLvL (ORCPT + 99 others); Mon, 26 Jul 2021 07:51:11 -0400 Received: from lpdvsmtp11.broadcom.com ([192.19.166.231]:56846 "EHLO relay.smtp-ext.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234092AbhGZLvK (ORCPT ); Mon, 26 Jul 2021 07:51:10 -0400 Received: from bld-lvn-bcawlan-34.lvn.broadcom.net (bld-lvn-bcawlan-34.lvn.broadcom.net [10.75.138.137]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 4081721822; Mon, 26 Jul 2021 05:31:25 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 4081721822 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1627302685; bh=v3d6+4+yAoRhE7r6Y/PXDeF3dgC/V0HpxAO5onTUykE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=n1DrYe0F8U3Y/aaZMC2EwNmXE+3W6ErmetndjKaJmalV7nqmFBcO3ldxIXwg2XlRY 7vD9s3BmxqDlnuiUbO/We4ffBDwK5Y9tNaqXGJg5eoqgKAGAbEYC88Ciw8iKD/gHMc AZqNgXW6EFBgrxDKEqxx1yCSW7GFwfDa9ZFOrphY= Received: from [10.176.68.80] (39y1yf2.dhcp.broadcom.net [10.176.68.80]) by bld-lvn-bcawlan-34.lvn.broadcom.net (Postfix) with ESMTPSA id 965601874BD; Mon, 26 Jul 2021 05:31:24 -0700 (PDT) Subject: Re: Current mainline brcmfmac reports error on supposedly supported ap6256 chip To: Piotr Oniszczuk Cc: linux-wireless , Ondrej Jirman References: <17ad94781a0.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> <6F6333F3-0BDB-48AF-B445-723958ABA8C9@gmail.com> <53E7119F-D158-4EF0-940C-D0AA59C23CF6@gmail.com> <3da7f271-0c5c-50de-375a-a8c67ca127f5@broadcom.com> <286E2774-FAA5-47E3-A1FC-FDB09EB37FDC@gmail.com> <1a5588e2-38fc-1ec2-580a-30ae03ee73e1@broadcom.com> <28fdbe0c-023d-82a3-877b-7b158b109e52@broadcom.com> From: Arend van Spriel Message-ID: <7365182a-ab99-899b-7ac9-c13b31e02f06@broadcom.com> Date: Mon, 26 Jul 2021 14:31:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 7/26/2021 2:21 PM, Piotr Oniszczuk wrote: > Arend, > > Neil Armstrong hinted me issue might be related to usage of memcpy() to/from an iomem mapping. > arm64 memcpy update (285133040e6c ("arm64: Import latest memcpy()/memmove() implementation")) triggers a memory abort when dram-access-quirk > is used on the G12A/G12B platforms. > > I reverted https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/mmc/host/meson-gx-mmc.c?h=v5.13.4&id=103a5348c22c3fca8b96c735a9e353b8a0801842 > > and got nicely working wifi. > > So it looks root cause is amlogic specific - not brcmfmac. > > Sorry for false report and many many thx for Your head-up! Hi Piotr, Thanks for letting me know. I hadn't worked yet on the patch I had in mind and I suspect it would not have helped. Regards, Arend