Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2224979pxb; Fri, 25 Mar 2022 13:23:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4I5evEQr7BYIqoikqvKUfbkILgOksymzREpO22x012W0MX1bs14RIMM9X3ECyir3Yznj4 X-Received: by 2002:a17:90a:f295:b0:1c6:d4ba:abfa with SMTP id fs21-20020a17090af29500b001c6d4baabfamr26900739pjb.159.1648239826011; Fri, 25 Mar 2022 13:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648239826; cv=none; d=google.com; s=arc-20160816; b=TVcSB21/7uQ+oevKiM3OAoT6ViIBALpONpvL9SxgaF8syB/tW4+D0ZYWuN2BmJzQh1 RjCB6ec63LZUJx3dbrPqG+SU+1ZZk13LjfLQlcXAbJAE8/rIVoloW1FmUSTfUQlnZqge 5jy6vdSrimmJ6sPINH21IPCo5lUBSkQfeGKgI8i/iZAYd72lzrxCKhbyikAo1B+QEBuI n4gW7XCGQN+hZgAAjiS7+8BbmIuv1ot3N1q6YE7UuLKOq38l11PbdGytT2LCF3+Sk3Sn Yw2GNlz+K4Eawr9w94Hh6fD17s7IpC1TYM/vluMm7r7tpspAGZf4xTYzRz1lFgxnLscr YzCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:from; bh=KYK+WcHY9K5ScoN7ixDOfzl25c3oCzhn4wqm2XuXvYk=; b=o4FeWiKBk+2+xnLoXBGqGiLgh78h4xFrJ2ksLy9l1hNFToZthqlPeZwPc/+7h7Ui9y 8XU8E49RqiNaidmiDMeBB+NzxzzsTcL8Y/Bd5djhxDzCer6SPeZTVhb4Upk6cy6YROK9 E8vLIOrJCXc5BWM8mLCKc8Re+S3I9lXDonpvRks8EySADGGi44PCDbXCvZ+zUMEnu2uR HYV4SFYCOlYGos6tSxFHtdFVRe943mnK85x/C498nkLEM29PU1fdJB3Nzkn43N8nDnz9 NyDJOl4HUNUQlT4JDzjT/o5J9fFjknxvGL3T0matp7YQxS8GXlZqWg+z85/SA/FZlvys tJEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=w6KsBX3P; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l1-20020a635b41000000b003816043ee22si3632671pgm.23.2022.03.25.13.23.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 13:23:45 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=w6KsBX3P; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7616318FAEB; Fri, 25 Mar 2022 12:36:07 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230071AbiCYTgc (ORCPT + 70 others); Fri, 25 Mar 2022 15:36:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbiCYTgT (ORCPT ); Fri, 25 Mar 2022 15:36:19 -0400 Received: from mail.toke.dk (mail.toke.dk [IPv6:2a0c:4d80:42:2001::664]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4635E2E5189; Fri, 25 Mar 2022 12:09:37 -0700 (PDT) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1648232133; bh=0utGQUdnredYmwlCMqdQtSEkBccDpSSgRbC0K8pIlyE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=w6KsBX3PIGQNPBEgDloGd557TP6k0E++rJTP9enh7kdXUK8fIxK8ftlFsszFTkDqJ II+Y/Pgar/yJX6LDWXi3wvTO5jwnoNgZPUBUbZFGztXs4kAFdc5WiMPMD2h93vyAIV sHpYer3QEiC1v7Dkqh+TuWhgznbszU65z6D+NJ9WsKaIjQHHAgsPnJZY2z8q70XmrP onr1kPSQXO6u4FGkY6a53ST6TPH9eOX4hKDjTlEuDECQeSS3kUZihtZUFUgw131lWG FJj7lbn92eVVKRfL+qOZXdNSYBzv9KrFNJYpt58jEkoUh7mbwjy6sxdeFvrhyLKA2L qB6tWvUxyilfw== To: Christoph Hellwig , Halil Pasic Cc: Robin Murphy , Linus Torvalds , Oleksandr Natalenko , Christoph Hellwig , Marek Szyprowski , Kalle Valo , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Olha Cherevyk , iommu , linux-wireless , Netdev , Linux Kernel Mailing List , Greg Kroah-Hartman , stable Subject: Re: [REGRESSION] Recent swiotlb DMA_FROM_DEVICE fixes break ath9k-based AP In-Reply-To: <20220325163204.GB16426@lst.de> References: <1812355.tdWV9SEqCh@natalenko.name> <27b5a287-7a33-9a8b-ad6d-04746735fb0c@arm.com> <20220324190216.0efa067f.pasic@linux.ibm.com> <20220325163204.GB16426@lst.de> Date: Fri, 25 Mar 2022 19:15:32 +0100 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87y20x7vaz.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Christoph Hellwig writes: > On Thu, Mar 24, 2022 at 07:02:16PM +0100, Halil Pasic wrote: >> > If >> > ddbd89deb7d3 alone turns out to work OK then I'd be inclined to try a >> > partial revert of just that one hunk. >> > >> >> I'm not against being pragmatic and doing the partial revert. But as >> explained above, I do believe for correctness of swiotlb we ultimately >> do need that change. So if the revert is the short term solution, >> what should be our mid-term road-map? > > Unless I'm misunderstanding this thread we found the bug in ath9k > and have a fix for that now? According to Maxim's comment on the other subthread, that ath9k patch wouldn't work on all platforms (and constitutes a bit of a violation of the DMA API ownership abstraction). So not quite, I think? -Toke