Skip to contentSkip to conversation

resource sanity check, mapping multiple BARs

DISCUSSION Ferry Toth 2 participants 3 messages Dec 5, 2021 – Dec 6, 2021 x86 platform drivers

lore
Share & tools
lore

Ferry Toth

author
#0 lore raw

Hi,

Between v5.15 and v5.16-rc the following (unrelated?) errors are appearing in kernel.log:

resource sanity check: requesting [mem 0xff200000-0xff3fffff], which spans more than 0000:00:0e.0 [mem 0xff298000-0xff29bfff] caller devm_ioremap+0x45/0x80 mapping multiple BARs
pmd_set_huge: Cannot satisfy [mem 0x05e00000-0x06000000] with a huge-page mapping due to MTRR override.

This is on Intel Edison (Merrifield), which has (from lspci):

00:0e.0 System peripheral: Intel Corporation Device 119b (rev 01)
    Flags: fast devsel, IRQ 25
    Memory at ff298000 (32-bit, non-prefetchable) [size=16K] Memory at ff2a2000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [b0] Power Management version 3
    Capabilities: [b8] Vendor Specific Information: Len=08 <?>
    Capabilities: [c0] PCI-X non-bridge device
    Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0 Len=024 <?>

Any suggestions on the cause of this would be welcome.

Ferry

#1 lore raw

Hi Ferry,

Quoted 19 lines · Ferry Toth

Hi,

Between v5.15 and v5.16-rc the following (unrelated?) errors are appearing in kernel.log:

resource sanity check: requesting [mem 0xff200000-0xff3fffff], which spans more than 0000:00:0e.0 [mem 0xff298000-0xff29bfff] caller devm_ioremap+0x45/0x80 mapping multiple BARs
pmd_set_huge: Cannot satisfy [mem 0x05e00000-0x06000000] with a huge-page mapping due to MTRR override.

This is on Intel Edison (Merrifield), which has (from lspci):

00:0e.0 System peripheral: Intel Corporation Device 119b (rev 01)
    Flags: fast devsel, IRQ 25
    Memory at ff298000 (32-bit, non-prefetchable) [size=16K] Memory at ff2a2000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [b0] Power Management version 3
    Capabilities: [b8] Vendor Specific Information: Len=08 <?>
    Capabilities: [c0] PCI-X non-bridge device
    Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0 Len=024 <?>

Quoted 1 line

Any suggestions on the cause of this would be welcome.

Not sure why you send this to the platform-driver-x86 list.

The platform-driver-x86 list is for things like ACPI/WMI drivers for vendor specific firmware APIs, think drivers like dell-laptop, dell-wmi and thinkpad_acpi.

It is probably best if you resend your email to the linux-pci@vger and the generic linux-kernel@vger lists.

Regards,

Hans

author
#2 lore raw

Hi,

Op 06-12-2021 om 15:21 schreef Hans de Goede:

Quoted 24 lines

Hi Ferry,

Quoted 19 lines · Ferry Toth

Hi,

Between v5.15 and v5.16-rc the following (unrelated?) errors are appearing in kernel.log:

resource sanity check: requesting [mem 0xff200000-0xff3fffff], which spans more than 0000:00:0e.0 [mem 0xff298000-0xff29bfff] caller devm_ioremap+0x45/0x80 mapping multiple BARs
pmd_set_huge: Cannot satisfy [mem 0x05e00000-0x06000000] with a huge-page mapping due to MTRR override.

This is on Intel Edison (Merrifield), which has (from lspci):

00:0e.0 System peripheral: Intel Corporation Device 119b (rev 01)
    Flags: fast devsel, IRQ 25
    Memory at ff298000 (32-bit, non-prefetchable) [size=16K] Memory at ff2a2000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [b0] Power Management version 3
    Capabilities: [b8] Vendor Specific Information: Len=08 <?>
    Capabilities: [c0] PCI-X non-bridge device
    Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0 Len=024 <?>

Quoted 1 line

Any suggestions on the cause of this would be welcome.

Quoted 9 lines

Not sure why you send this to the platform-driver-x86 list.

The platform-driver-x86 list is for things like ACPI/WMI drivers for vendor specific firmware APIs, think drivers like dell-laptop, dell-wmi and thinkpad_acpi.

It is probably best if you resend your email to the linux-pci@vger and the generic linux-kernel@vger lists.

I misunderstood where this should go properly, sorry about that.

But thanks for the recommendation.

Quoted 4 lines

Regards,

Hans