Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2779719imm; Sun, 16 Sep 2018 02:59:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ7V31Tct1+0LCJ16qMIccdZT0ZYhNyG1E0ZWIqenJTD3Nyu8HMz1Uo25sS9/k/VTCRJStx X-Received: by 2002:a17:902:6b05:: with SMTP id o5-v6mr20311755plk.338.1537091999942; Sun, 16 Sep 2018 02:59:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537091999; cv=none; d=google.com; s=arc-20160816; b=ltOQ+b7cCt28GeOPCV54XRlotT+ArbYdm/YMIm+nlPKUnKiU1wNgDWSMdAQ9FuPI36 V0Nnr91wRQ39YX5btmOOhuj6aSdbfVh4IizSTPGBKEzgs37qhkZ2kVN+3VyA14fMQA+q XV6LiInSeXoy4c9MJXegqfYosucUzyZrm3tGg3HJ/bUJk6YnCtO3KUjGXlHnCezYZSc8 x3+2fygKkIAhLQ4q2sXfOhS9feTUEtcKUA4kQ2xLIIrDTPhga+zWo+cDcXLWvPtJKzhp QBhqqN1IETt3RxbkHiudtKA70Bn7CczAvCPvvzJ0/bRZapS/xo/2vod6km5KQL6uUNwl 21lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=QaBirOHQVuzHPCAWKGEQrSBbH0wn4N46IxJ3PD6cPSA=; b=TCKXonH4f9lir2rdOiADLgoT4mWSOPgr1MoYBVakRM70obObm6hVO5URrEAZ9t0nsY 1M+KmnU6IxwqARn1iUBM3glxKrYblkxQ5QIAlrLnPHGaWZGjdjDAG3oxTqPwwifnGDmz IyMkxa8RSBA4dHb1O4ay2LUletXb6rC9hkE3EyRk/HVtri+YioDhlhKJbp7f0T16hk9V c+9z9QnZEussusxhQAya1h8bYJO4vyayJ0m8JZJ0mGBXauYfM+9xpfgBsDWn8fApBEz+ 6rBS6XJe7Y8PcY27joV10Yu27FHIi8uiJai8dzUwMlvbiO0ZwlP/F48da//wj79rNQSj LDxw== ARC-Authentication-Results: i=1; mx.google.com; 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 k4-v6si12428100pll.118.2018.09.16.02.59.43; Sun, 16 Sep 2018 02:59:59 -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; 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 S1728102AbeIPPWB (ORCPT + 99 others); Sun, 16 Sep 2018 11:22:01 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:36561 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727697AbeIPPWB (ORCPT ); Sun, 16 Sep 2018 11:22:01 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 781F580749; Sun, 16 Sep 2018 11:59:36 +0200 (CEST) Date: Sun, 16 Sep 2018 11:59:36 +0200 From: Pavel Machek To: Johannes Berg Cc: Randy Dunlap , LKML , linux-wireless , linuxwifi@intel.com Subject: [PATCH] fix iwlwifi on old cards in v4.19 was Re: 4.19-rc[23] iwlwifi: BUG in swiotlb Message-ID: <20180916095935.GA4388@amd> References: <0c5e53e5-2afa-8d38-0b48-272c670c4bc5@infradead.org> <1536651177.3224.106.camel@sipsolutions.net> <20180916093414.GA4299@amd> <20180916094142.GB4299@amd> <20180916095535.GA4245@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: <20180916095535.GA4245@amd> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =2Emax_tfd_queue_size was ommited for old cards, leading to oops in swiotlb. Signed-off-by: Pavel Machek --- linux/drivers/net/wireless/intel/iwlwifi/cfg/1000.c 2018-09-05 13:12:40= =2E453164067 +0200 +++ linux-64/drivers/net/wireless/intel/iwlwifi/cfg/1000.c 2018-09-16 11:54= :04.010970756 +0200 @@ -51,6 +51,7 @@ =20 static const struct iwl_base_params iwl1000_base_params =3D { .num_of_queues =3D IWLAGN_NUM_QUEUES, + .max_tfd_queue_size =3D 256, .eeprom_size =3D OTP_LOW_IMAGE_SIZE, .pll_cfg =3D true, .max_ll_items =3D OTP_MAX_LL_ITEMS_1000, --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlueKYcACgkQMOfwapXb+vLZ5QCgjbBnATFi5lFY8Fq4EA7weVue QnAAn3xqHVBVB6njWkAYMbm8EaMogmXF =Fr1Q -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--