Return-path: 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 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> (sfid-20180916_115949_196401_EFA2524C) 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" In-Reply-To: <20180916095535.GA4245@amd> Sender: linux-wireless-owner@vger.kernel.org List-ID: --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--