Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp321687lqp; Tue, 11 Jun 2024 05:53:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWB+0NpQywa24HxIMP++frYD/EtO8qCIrJomZsxL6yONFO32DkZ2H19Dvou3XObyaSKqW8OxHBFcACIm11qudPe0mC22cZVp3fnAI+/tg== X-Google-Smtp-Source: AGHT+IG83rYmNkqu0oQcx0MVOUnV/c25ht9G0tuknVri4DM2iHgBsrGTZ/VDL2d7Zl3Fh2nT8god X-Received: by 2002:a17:90a:d90b:b0:2c2:fab7:38b9 with SMTP id 98e67ed59e1d1-2c2fab73a9bmr5628418a91.25.1718110398191; Tue, 11 Jun 2024 05:53:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718110398; cv=pass; d=google.com; s=arc-20160816; b=RPgpg6WccTnacuQ4i35wt4oXSGFt+Nta7G3YEee46KyF/zlW0jMDBOeL5asH4GWAWd L2yqOLHvVhHoqNGczu83FABDKJEVvWNFVa1ogdBgsXBmYuheTsDuwurSsO84lLfK5liY jW7UT/P0uzXJJRkAtHFqXFxt7adAXtv5ToLQZFbx3IUgsOezE2Uy5ur9TaaSA5rD4tc/ vLZnCZeAF10fZOJLKt+i1Spyy0B7P4dAmz44qc4RVpcqXgHpwZBuwqZz9/l/v2PIZnUM g98D/MPCMayDKGTLs7A4+easLADwgJGpsj4azALdf8E/ciFs6xrucwyYDWI1VfM/NKIn zeZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=5H77y2Cip2lYrbGUhjSBMLsUT+K5goNmlMChYCYRyG4=; fh=QxuYyjZ7lv/rZP224oSx4EZSwF8jXaPggKHKZjTPl4M=; b=bIfG6Dy+OWCY9IR4uA47W9yMNOCXKaN+ktKdlj9li46O/CckO+whIpC/GkfmceWL7O JplK9GbVT4eu8sG8PYT0AKfRMu44NXO3Y6+uY/bZxdL/te/0ZOw+RNw/qXzeFluyXIvU Y0XpvHMAr62YfCAkiA31TuCaR84OMRhT46rIa02oQaCyTjpSlWBp4iVmzaY0pEBeem5s 2dnL2bpZ2txvETs7Kvv3yLQBIjptUmeIrQyI4JyUCagmSsVS20cg2w06Vmxrq7wd3rqn xTdSXUJdwbAaA120eIIwpWHLG8QEB4GNolD/8bIuQUyvfbjn9ltM7tVqBVsNWr5PxDVS 1jQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=dCoHoGKq; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-8791-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8791-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6ea6c7a34casi4713033a12.29.2024.06.11.05.53.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 05:53:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8791-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=dCoHoGKq; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-8791-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8791-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6258128253D for ; Tue, 11 Jun 2024 12:53:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA3F517C213; Tue, 11 Jun 2024 12:53:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="dCoHoGKq" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA2431E86F; Tue, 11 Jun 2024 12:53:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718110382; cv=none; b=aCzMoJr3O8K4lhCNNVVSpJLQWg9ozr2+TJerXGgoCiU0Tzv7huTBERk1SC7iXcpb+/VnSX32aCaSNOj4av09JWgLaRBalK++cgC2DgrjD6iiATPUgD4L3i+Z1Ex0F8Hd47ii54idHJWsT39RX93nlB8vUArRo4sTWON0GUe6mY0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718110382; c=relaxed/simple; bh=8k4aFEn9epFLsv4dAaMi9hR0KShNd2EEmHko2bR3L6M=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=ti534gIlFaASTenXkR0YXxS5cw3HjbMaqfHLcrdI3s/2twIt910C87J7ZoyEdpeQzs9/AZ3smGdmMOXv8rKF9EymryKI8GpmrlZB9dzSuWGbnJ4j5zHN5MxFDcql1NyKsc+nFIRWFlDsL5vgnUB1JJad8RObZaooz7+q3cfZacU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=dCoHoGKq; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=5H77y2Cip2lYrbGUhjSBMLsUT+K5goNmlMChYCYRyG4=; t=1718110380; x=1719319980; b=dCoHoGKqyZ/o6poBfcAQEwbMULV8cHclXvW2uJwQ2ngfUe+ aUR0WmizEnlPudv3+YdnvaPsz5BdJh/R+uJxVly7InyXHT0myiKcM5I4Uw+IAhwHbCMYO0z/LDWTa FPBlREhRwpfYZL4Wy+lafzEq0mOIyZeWXsDQrRj0bL8qBfxR3nLpqqwcCs82z7JvDbKXPwaR+Yqxq 4YMfd7nWI0d+/54kaQjo6FuWYS6sh3hYpX/hDVxhQIM52yAYff+KepcTpDMYrCEUhnUgm50MGvKjh VfpNWcn9fnlYm8r89ttyZEiCLJwe6MWSyastVuNNhGMvX+5Fl+MQl38PfGt2EU+g==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1sH0zh-00000008cuV-2mpS; Tue, 11 Jun 2024 14:52:57 +0200 Message-ID: <3fbb5317d9ff33ef1b60ca8297537335ce86a79d.camel@sipsolutions.net> Subject: Re: iwlwifi: Regression after migrating to 6.6.32 From: Johannes Berg To: Fabio Estevam , miriam.rachel.korenblit@intel.com, kvalo@kernel.org Cc: Jakub Kicinski , linux-wireless , linux-kernel Date: Tue, 11 Jun 2024 14:52:56 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 (3.52.2-1.fc40) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Tue, 2024-06-11 at 08:46 -0300, Fabio Estevam wrote: >=20 > [ 6.995391] ------------[ cut here ]------------ > [ 7.373564] WARNING: CPU: 3 PID: 136 at > /drivers/net/wireless/intel/iwlwifi/pcie/rx.c:269 > iwl_pcie_rxmq_restock+0x158/0x178 [iwlwifi] >=20 This warning happens if DMA mapping/allocation returns a page that's not page-aligned?? rxb->page_dma =3D dma_map_page(trans->dev, page, rxb->offset, trans_pcie->rx_buf_bytes, DMA_FROM_DEVICE); (or similar places), where rxb->offset will always be 0 unless rx_buf_bytes is set to 2048, but that can only happen if the amsdu_size module parameter is set to 4 (=3D2k) but that's not even supported any more? Maybe make this WARN_ONCE(...) with a string that has more info on the addresses. johannes