From: Johan Hovold <johan@kernel.org>
To: regressions@lists.linux.dev
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Mayank Rana <quic_mrana@quicinc.com>
Subject: Re: [PATCH] bus: mhi: host: pci_generic: fix MHI BAR mapping
Date: Sun, 1 Dec 2024 18:18:06 +0100 [thread overview]
Message-ID: <Z0yaTpOOml1VisXb@hovoldconsulting.com> (raw)
In-Reply-To: <20241201171120.31616-1-johan+linaro@kernel.org>
[ Forgot to CC the regressions list ]
On Sun, Dec 01, 2024 at 06:11:20PM +0100, Johan Hovold wrote:
> A recent change converting the MHI pci_generic driver to use
> pcim_iomap_region() failed to update the BAR parameter which is an index
> rather than a mask.
>
> This specifically broke the modem on machines like the Lenovo ThinkPad
> X13s and x1e80100 CRD:
>
> mhi-pci-generic 0004:01:00.0: failed to map pci region: -22
> mhi-pci-generic 0004:01:00.0: probe with driver mhi-pci-generic failed with error -22
>
> Fixes: bd23e836423e ("bus: mhi: host: pci_generic: Use pcim_iomap_region() to request and map MHI BAR")
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> Cc: Mayank Rana <quic_mrana@quicinc.com>
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---
>
> The offending patch was marked as "Compile tested only", but that just
> makes you wonder *why* the patch was never tested...
>
> https://lore.kernel.org/all/20241004023351.6946-1-manivannan.sadhasivam@linaro.org/
#regzbot ^introduced: bd23e836423e
Johan
next prev parent reply other threads:[~2024-12-01 17:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-01 17:11 [PATCH] bus: mhi: host: pci_generic: fix MHI BAR mapping Johan Hovold
2024-12-01 17:18 ` Johan Hovold [this message]
2024-12-02 9:35 ` Manivannan Sadhasivam
2024-12-02 9:51 ` Manivannan Sadhasivam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z0yaTpOOml1VisXb@hovoldconsulting.com \
--to=johan@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=mhi@lists.linux.dev \
--cc=quic_mrana@quicinc.com \
--cc=regressions@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox