X86 platform drivers
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <ukleinek@debian.org>
To: Paul Kerry <p.kerry@sheffield.ac.uk>, 1127612@bugs.debian.org
Cc: Jorge Lopez <jorge.lopez2@hp.com>,
	platform-driver-x86@vger.kernel.org,
	 Mario Limonciello <mario.limonciello@amd.com>
Subject: Re: Bug#1127612: linux-image-6.12.69+deb13-amd64: hp_bioscfg mm/page_alloc.c:4802 warning
Date: Mon, 16 Feb 2026 16:34:08 +0100	[thread overview]
Message-ID: <aZMt6sSlpKK_JAdT@monoceros> (raw)
In-Reply-To: <dafda4bd-87cb-4fbd-a811-66d629a10c70@sheffield.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 2467 bytes --]

Control: forwarded -1 https://lore.kernel.org/all/aZMt6sSlpKK_JAdT@monoceros

Hello Paul,

On Tue, Feb 10, 2026 at 12:19:45PM +0000, Paul Kerry wrote:
> Subject: linux-image-6.12.69+deb13-amd64: hp_bioscfg mm/page_alloc.c:4802 warning
> Package: src:linux
> Version: 6.12.69-1
> Severity: normal
> X-Debbugs-Cc: p.kerry@sheffield.ac.uk
> Dear Maintainer,
> *** Reporter, please consider answering these questions, where appropriate ***
>    * What led up to the situation?
> Booting a system into the recent debian 6.12.69+deb13-amd64 kernel upgrade from 6.12.63+deb13-amd64

Probably the relevant difference between these two kernel versions is
commit b2e79963525205707c87391a01435cfdc9fc2d1e
(https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=b2e79963525205707c87391a01435cfdc9fc2d1e).

Can you confirm that when booting the older kernel, running

	modprobe hp_bioscfg

will break in the same way as the new kernel? If so, the driver was
broken already before and just unused. You can achieve this behaviour
with 6.12.69, too, by blacklisting the hp_bioscfg module. Either by
adding:

	module_blacklist=hp_bioscfg

on the kernel command line, or

	echo blacklist hp_bioscfg >> /etc/modprobe.d/broken-hp-bioscfg.conf
	update-initramfs -k all -u

>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> n/a
>    * What was the outcome of this action?
> dmesg under 6.12.69+deb13-amd64 is now displaying the following...
> [    3.346704] ------------[ cut here ]------------
> [    3.347194] WARNING: CPU: 11 PID: 606 at mm/page_alloc.c:4802 __alloc_pages_noprof+0x2a7/0x310

This is

        if (WARN_ON_ONCE_GFP(order > MAX_PAGE_ORDER, gfp))
                return NULL;

which is probably triggered by

        bioscfg_drv.enumeration_data = kcalloc(bioscfg_drv.enumeration_instances_count,
                                               sizeof(*bioscfg_drv.enumeration_data), GFP_KERNEL);

I manually determined sizeof(*bioscfg_drv.enumeration_data) to be around
20K. I have no idea about what the driver does here, but it seems to
request more than 2**10 pages continuous pages here which suggests that
bioscfg_drv.enumeration_instances_count, is bigger than 200.

@Jorge: Is that expected?

I dropped much context (mostly automatically collected information about
the machine where this triggered). If you're intested in that, check out
https://bugs.debian.org/1127612.

Best regards
Uwe

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

       reply	other threads:[~2026-02-16 16:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <dafda4bd-87cb-4fbd-a811-66d629a10c70@sheffield.ac.uk>
2026-02-16 15:34 ` Uwe Kleine-König [this message]
2026-02-16 16:18   ` Bug#1127612: linux-image-6.12.69+deb13-amd64: hp_bioscfg mm/page_alloc.c:4802 warning Paul Kerry
2026-02-17 13:53     ` Mario Limonciello
2026-02-21 15:26       ` Uwe Kleine-König
2026-02-23  6:06         ` Mario Limonciello
     [not found]           ` <7599e019-5c25-4bce-8308-05d53699a2f5@sheffield.ac.uk>
2026-02-23 14:26             ` Paul Kerry
2026-02-23 14:28               ` Mario Limonciello
2026-02-23 16:39                 ` Mario Limonciello
2026-02-24 11:21                   ` Paul Kerry
2026-02-24 15:05                     ` Mario Limonciello

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=aZMt6sSlpKK_JAdT@monoceros \
    --to=ukleinek@debian.org \
    --cc=1127612@bugs.debian.org \
    --cc=jorge.lopez2@hp.com \
    --cc=mario.limonciello@amd.com \
    --cc=p.kerry@sheffield.ac.uk \
    --cc=platform-driver-x86@vger.kernel.org \
    /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