[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z7Plpr3e3hdQJieG@U-V2QX163P-2032.local>
Date: Tue, 18 Feb 2025 09:43:02 +0800
From: YinFengwei <fengwei_yin@...ux.alibaba.com>
To: robin.murphy@....com, will@...nel.org, mark.rutland@....com,
linux-arm-kernel@...ts.infradead.org,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: jie.li.linux@...ux.alibaba.com
Subject: Re: [PATCH] perf/arm-cmn: don't claim resource during ioremap() for
CMN700 with ACPI
On Tue, Feb 18, 2025 at 09:21:11AM +0800, Yin Fengwei wrote:
> Currently, arm-cmn PMU driver assumes ACPI claim resource
> for CMN600 + ACPI. But with CMN700 + ACPI, the device probe
> failed because of resource claim failes when ioremap() is
> called:
> [ 10.837300] arm-cmn ARMHC700:00: error -EBUSY: can't request region for resource [mem 0x40000000-0x4fffffff]
> [ 10.847310] arm-cmn ARMHC700:00: probe with driver arm-cmn failed with error -16
> [ 10.854726] arm-cmn ARMHC700:02: error -EBUSY: can't request region for resource [mem 0x40040000000-0x4004fffffff]
> [ 10.865085] arm-cmn ARMHC700:02: probe with driver arm-cmn failed with error -16
>
> Let CMN700 + ACPI do same as CMN600 + ACPI to allow CMN700
> work in ACPI env.
>
> Signed-off-by: Yin Fengwei <fengwei_yin@...ux.alibaba.com>
> ---
> I am also wondering whether we could just drop the CMN600 part id
> check here if ACPI companion device claimed the resource?
>
Sorry. Just saw the link
https://lore.kernel.org/all/1676535470-120560-1-git-send-email-renyu.zj@linux.alibaba.com/
after I hit send button. May continue the discussion there. Thanks.
Regards
Yin, Fengwei
Powered by blists - more mailing lists