Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3616839pxb; Sun, 27 Mar 2022 01:08:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTDFvRTfeFFYNf8GBGDwISfCsHB15DNG9B5+ySd7qP+8xtd0fYlvTfPrua5KQdMv7ppJRl X-Received: by 2002:a17:902:b410:b0:14b:e53:7aa0 with SMTP id x16-20020a170902b41000b0014b0e537aa0mr20199419plr.101.1648368499612; Sun, 27 Mar 2022 01:08:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648368499; cv=none; d=google.com; s=arc-20160816; b=0Y5dTYB1tI50CfzEcibfMrBlLevs6HnkWIqWyG2MJYNxubEn4WgFBDeEAK7qfnQLg2 OwFFTnxC7uMZEGlPORyiFEq9d/DyLrLFJgq8BW26kx4IpOfH9IUNUdEhCG1mnMyN/CZP U/6Bm4dIwV2lOtIpP0/9aQFhdBlSFx03s5JzdUJL10zXdZJA0wF0k4VBfXQkb4azzLwq fCHFrcaM9v/MJIkEBgN6gAqgnq/kTrq1Os7o2lQPcMDUDsC5sGeU2dWI4foBB4VMc9WU OYK92RessOI3ncSF28f3UvZ5MpmIA3n8V975nCFoTRRwxSSgfPvst6DskvELqjdusP77 wZTw== 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 :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=97aMt54i9T3Q6E2/rqvTKWtUg35zmbk0Rc8pLxcgDhM=; b=gpeheiXitraYjGYg61W4eKDal/FtrzyglfyFDeSZRidolUiwD1HnZLfZimr+p7Tsm/ a+zr0FXPb/9a2+W9jaAgqMCNd/+9caKImHV9zJuM89gKkUXoCyKpeOba820eCAuosOpK CT+gXjrHnpIMOii1fxyfTQNV+EHFx6+4lArAUGEC+sK8vyXUUvpId4e2e51Bz5HeaZW7 pZaKpq9rcI8/lZj2eRT/SpOs9DUgtyJKrxLVjJomJ4K5scPf93/64+vRrazxs9upEhVZ EnRBTL+2azvjUBWxvX2Drkr8tRxyIos1eAd1f2v6yCV7oC4VRR/QbHBo/6QLfU5WphJ2 Hhsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nn3-20020a17090b38c300b001bd14e0303dsi9183854pjb.21.2022.03.27.01.08.08; Sun, 27 Mar 2022 01:08:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235080AbiCZWkO (ORCPT + 69 others); Sat, 26 Mar 2022 18:40:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235303AbiCZWkL (ORCPT ); Sat, 26 Mar 2022 18:40:11 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD0AF255B7 for ; Sat, 26 Mar 2022 15:38:32 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-319-sg83NcgSN6CniSYATwmuJw-1; Sat, 26 Mar 2022 22:38:30 +0000 X-MC-Unique: sg83NcgSN6CniSYATwmuJw-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Sat, 26 Mar 2022 22:38:27 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.033; Sat, 26 Mar 2022 22:38:27 +0000 From: David Laight To: 'Linus Torvalds' , =?utf-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= CC: Halil Pasic , Robin Murphy , Maxime Bizon , Netdev , Kalle Valo , linux-wireless , Oleksandr Natalenko , stable , "David S. Miller" , iommu , Olha Cherevyk , Greg Kroah-Hartman , Jakub Kicinski , Paolo Abeni , Christoph Hellwig , Linux Kernel Mailing List Subject: RE: [REGRESSION] Recent swiotlb DMA_FROM_DEVICE fixes break ath9k-based AP Thread-Topic: [REGRESSION] Recent swiotlb DMA_FROM_DEVICE fixes break ath9k-based AP Thread-Index: AQHYQUDBK/9JYQDqEEKfLChLw6SC36zSPELQ Date: Sat, 26 Mar 2022 22:38:27 +0000 Message-ID: References: <1812355.tdWV9SEqCh@natalenko.name> <20220324055732.GB12078@lst.de> <4386660.LvFx2qVVIh@natalenko.name> <81ffc753-72aa-6327-b87b-3f11915f2549@arm.com> <878rsza0ih.fsf@toke.dk> <4be26f5d8725cdb016c6fdd9d05cfeb69cdd9e09.camel@freebox.fr> <20220324163132.GB26098@lst.de> <871qyr9t4e.fsf@toke.dk> <31434708dcad126a8334c99ee056dcce93e507f1.camel@freebox.fr> <20220326003853.44c3285c.pasic@linux.ibm.com> <8735j47l7y.fsf@toke.dk> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 RnJvbTogTGludXMgVG9ydmFsZHMNCj4gU2VudDogMjYgTWFyY2ggMjAyMiAxODozOQ0KPiANCj4g T24gU2F0LCBNYXIgMjYsIDIwMjIgYXQgOTowNiBBTSBUb2tlIEjDuGlsYW5kLUrDuHJnZW5zZW4g PHRva2VAdG9rZS5kaz4gd3JvdGU6DQo+ID4NCj4gPiBJIHdhcyBhbHNvIHRveWluZyB3aXRoIHRo ZSBpZGVhIG9mIGhhdmluZyBhIGNvcHktYmFzZWQgcGVlayBoZWxwZXIgbGlrZToNCj4gPg0KPiA+ IHUzMiBkYXRhID0gZG1hX3BlZWtfd29yZChidWYsIG9mZnNldCkNCj4gDQo+IEkgcmVhbGx5IGRv bid0IHRoaW5rIHlvdSBjYW4gb3Igd2FudCB0byBoYXZlIGEgd29yZC1iYXNlZCBvbmUuDQo+IA0K PiBUaGF0IHNhaWQsIEkgbGlrZSB0aGUgKm5hbWUqIG9mIHRoYXQgdGhpbmcuDQo+IA0KPiBJIHRo aW5rIGEgbG90IG9mIGNvbmZ1c2lvbiBjb21lcyBmcm9tIHRoZSB2ZXJ5IHN1YnRsZSBuY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