From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795904219; b=mPIUoNNC7q9eR90+x6zS5cdHphRIJ7owYRDkJFKXLZMW+NdqozJoe0axSuLVc4czeIN7 Ddv8QhUdujUUX9i8MI7JN3aUaA39p2u3urqtwbhRIM5IxeZYj919taybzBHS2ZelUMpob VhC2jpn1i4bxcXfnEBXBPpDw/6vz3Kn0xhcZB8IDzzdXud18/lWxqBsMnsn8vdHcGjvY7 Ngthli9L5f+IMUFkkI7Ms7mz+pAE0nkij0u77EjRVxR8j7IvF+Vkmh87VkPSLAclVbVG5 O7GpY4Zy/Us9djqU+l9p0DNFiU+TtM5+fx4DJp9HgZTOrrH0T1AKuhS8QPZfu2sYyCg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795904219; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=lkQLJeleee5M7Kf0w1y9E+2rnTztcdapB9x/WsfBO48=; b=o7f7XQupq2+qKGyqEEDbRR1mNDs8b+dlw8Z9DtSHpmbTm/O64hzuy2Ks0KeNHRtdUtVt KWc5shMsSFEo6UkFw+cjvqRFa0OlDI57Ygoednn0Po38/CXoRw1tYBrJo9AX2bgxtPm7L +MzI0aio0Xm0lrrFQGuu8QvF9kArOD/mCv8m6rsy1F1NenQyfwCXmsk61BN6OzQS7YfHW EoEZQUddbm4eZhiTvATr0cNbBlY7Pv+qTnMHM6Qab4tThdRunt7O0krWUl6BMGw0jXvzr iou8BDR636wJbGSOs/uCTyq9PYbTbKgqj0XyqsbGnJbqA2S0ivvxV3o9gDLzCRclvwA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kAQbRyRR; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 81E3A606A31C for ; Sat, 28 Nov 2026 22:16:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kAQbRyRR Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACD181F00897; Sat, 28 Nov 2026 22:16:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795904218; bh=lkQLJeleee5M7Kf0w1y9E+2rnTztcdapB9x/WsfBO48=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=kAQbRyRRaYclqLU71Pc53WR8MJ7wpVpCXjQ4Zc47cXEZkGUB1+m9cvNBrn/KCCM59 EiHkAqr2X6PNdSwTCo9FEKv7hA7z9EJPoFbkdtxo+Dh0dIG3OIMVG/pfEodx1xz8MU j98kPSaw4Z4ALzGn2A98g+4/q31uF2Y8jJWFuh5IFelBZO4EvVZKH8jq20KY1QRp9J c05rjf6jSW/IORoTgN73Ps6iADXnKrbGqi8ShS2esWqVwja+rCHNLM39FMIF+/ftGc r+CVX15+ve2OcnL9vBdyxXEivKz3UOXZUB9hC0TmwtFmugpxBJkd+dhuQ13YL7XgaA SYT36XfzaNw0A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] PCI: dwc: Don't warn when the 32-bit MSI address allocation fails Reply-To: sashiko-reviews@lists.linux.dev To: "Yuri Zaporozhets" Cc: linux-pci@vger.kernel.org In-Reply-To: <20261128221127.147325-1-yuriz@vodafonemail.de> References: <20261128221127.147325-1-yuriz@vodafonemail.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 28 Nov 2026 22:16:58 +0000 X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > Since commit f3a296405b6e ("PCI: dwc: Strengthen the MSI address > allocation logic"), dw_pcie_msi_host_init() first tries to allocate the > iMSI-RX target address below 4 GiB, and falls back to a 64-bit address > if that fails. The fallback exists for platforms that have no 32-bit DMA > addresses, so on those platforms the first allocation is expected to > fail. The cfg0_base shortcut taken before it does not apply when the > "config" window itself is above 4 GiB, as it is on the K3. >=20 > The page allocator cannot know that, and reports the failure with a > full warn_alloc() splat on every boot. On a SpacemiT K3, whose RAM > starts at 4 GiB, with gigabytes free: >=20 > page allocation failure: order:0, mode:0xcc4(GFP_KERNEL|GFP_DMA32), [..= .] > Call Trace: > [...] > [ ... ] > Pico-ITX: the warn_alloc() splat is gone, the dev_warn() remains, and > the port's devices get their MSIs from the 64-bit target address. >=20 > Fixes: f3a296405b6e ("PCI: dwc: Strengthen the MSI address allocation log= ic") > Signed-off-by: Yuri Zaporozhets Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261128221127.1473= 25-1-yuriz@vodafonemail.de?part=3D1