Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17239160ybl; Thu, 2 Jan 2020 01:22:16 -0800 (PST) X-Google-Smtp-Source: APXvYqwL4ydJXpHMbYVrf3FLATYtspf/pJ3cXm6XR0eZoYOdF6qmyPnCaw7LArx1+FKPw9FqhQjg X-Received: by 2002:a9d:7757:: with SMTP id t23mr94956930otl.315.1577956936074; Thu, 02 Jan 2020 01:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577956936; cv=none; d=google.com; s=arc-20160816; b=LZ2yHPlglW4ryZOV13E2i3KBrhgFfRtEkHRqxERB5kBv6H46qB82HVJx85QyHEdskb QoP37DkFS0vIPq+xuAqkmpuFy0G7xsWu9ept/I1L1jjjgoaSzGfHF8PkXcHNN7WadaGP BZ8qwLLqbbFTIpn+wWkKfp7oXZCjS51Ai0Yv9h0/JaeEcN2rZKXTuK5PgiPcZwVGMMAg ftPnZ/d6mW8P6XwmRIraVgyrF5TtfJRl/+LMGQsFXfg9FEXkl1a+rXOWUGA26juKuHZA 38Sykx7XadE2+8Iqra1PwwmI18/nz12ZAipgdGItm02HviTTWj5+j4PAQuEmV5MpYBtW s14w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=R5X5vpXrMg3uWwK+8OcCPkOcHHPd+3A80hB+WJolBbQ=; b=tLUsP+efJf4pnTmhlMQT9v60HFxYE+PzR2BZt02Wd8tJr3p0R92tUp5Z+zcMx8I8nC 4pF8l8JC+bDYoEu+jS0qhHHcyl4DBevdmyy7Et2dong9SBkBT3FrkN4pPXx0uLVR1jgS bO2oikItZ+137YGeK35IQydA7IyM6T94dERR30TrhTRhx/0FyupDI8ARoDahwzTihJZH 6ocjLABK1u7mjTI9yBC1mnXyANs+3puP7b4enGiEyTcz5LCxkQs9AX0AR2uGLdrkt5sN 8S7xwd4pO46pnNGF/1W2jbm507s7Q65ERjLJV8Ubggqpy3rTtfGC5nfs1oDLtIELy46g Ozjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 z10si28920592oto.36.2020.01.02.01.21.56; Thu, 02 Jan 2020 01:22:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727897AbgABJVv (ORCPT + 99 others); Thu, 2 Jan 2020 04:21:51 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:52348 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727801AbgABJVv (ORCPT ); Thu, 2 Jan 2020 04:21:51 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.92.3) (envelope-from ) id 1imwfo-004vDO-9a; Thu, 02 Jan 2020 10:21:44 +0100 Message-ID: <6be80de69f79ae9b93c5595957f863ea759e177b.camel@sipsolutions.net> Subject: Re: [PATCH v2 03/10] iwlwifi: pcie: work around DMA hardware bug From: Johannes Berg To: Justin Capella , Luca Coelho Cc: Kalle Valo , linux-wireless@vger.kernel.org Date: Thu, 02 Jan 2020 10:21:43 +0100 In-Reply-To: (sfid-20191228_212644_892554_0B0892C8) References: <20191220115638.1299888-4-luca@coelho.fi> <20191223093250.1445654-1-luca@coelho.fi> (sfid-20191228_212644_892554_0B0892C8) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 (3.34.2-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Justin, Please trim your quotes and reply appropriately. On Sat, 2019-12-28 at 12:26 -0800, Justin Capella wrote: > Would using phys+len & ~dev->dma_mask work in place of the 4g boundary check No. Look at the value of dma_mask, and the nature of the bug. johannes