[PATCH] perf/arm-cmn: don't claim resource during ioremap() for CMN700 with ACPI
YinFengwei
fengwei_yin at linux.alibaba.com
Mon Feb 17 17:43:02 PST 2025
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 at linux.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
More information about the linux-arm-kernel
mailing list