Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #91320
| Path | csiph.com!pasdenom.info!newsfeed.bofh.team!srl.newsdeef.eu!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Uwe Kleine-König <ukleinek@debian.org> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1127612: linux-image-6.12.69+deb13-amd64: hp_bioscfg mm/page_alloc.c:4802 warning |
| Date | Sat, 21 Feb 2026 16:30:02 +0100 |
| Message-ID | <MqX5E-2hai-7@gated-at.bofh.it> (permalink) |
| References | <MmV2p-h9n9-1@gated-at.bofh.it> <Mp8Rz-13mk-3@gated-at.bofh.it> <MqX5E-2hai-9@gated-at.bofh.it> <MmV2p-h9n9-1@gated-at.bofh.it> <MqX5E-2hai-11@gated-at.bofh.it> <MmV2p-h9n9-1@gated-at.bofh.it> <MqX5E-2hai-11@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Sat Feb 21 15:29:07 2026 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -1.7 |
| Reply-To | Uwe Kleine-König <ukleinek@debian.org>, 1127612@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | debian-kernel@lists.debian.org |
| X-Debian-Pr-Message | followup 1127612 |
| X-Debian-Pr-Package | src:linux |
| X-Debian-Pr-Keywords | upstream |
| X-Debian-Pr-Source | linux |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nyf6gl2tbxgmfdtq" |
| Content-Disposition | inline |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1954274 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 80 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | 1127612@bugs.debian.org, Jorge Lopez <jorge.lopez2@hp.com>, platform-driver-x86@vger.kernel.org |
| X-Original-Date | Sat, 21 Feb 2026 16:26:28 +0100 |
| X-Original-Message-ID | <aZnNu_AphE78MIoY@monoceros> |
| X-Original-References | <dafda4bd-87cb-4fbd-a811-66d629a10c70@sheffield.ac.uk> <aZMt6sSlpKK_JAdT@monoceros> <4ddfa94c-5cb5-4c7a-a0b4-9b9ff5e4cc85@sheffield.ac.uk> <dafda4bd-87cb-4fbd-a811-66d629a10c70@sheffield.ac.uk> <4faeb5e7-e56e-429e-88fa-a1fefa4d1034@amd.com> <dafda4bd-87cb-4fbd-a811-66d629a10c70@sheffield.ac.uk> <4faeb5e7-e56e-429e-88fa-a1fefa4d1034@amd.com> |
| Xref | csiph.com linux.debian.bugs.dist:1283004 linux.debian.kernel:91320 |
Cross-posted to 2 groups.
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hello,
On Tue, Feb 17, 2026 at 07:53:17AM -0600, Mario Limonciello wrote:
> On 2/16/26 10:18 AM, Paul Kerry wrote:
> >
> > Hi Uwe
> >
> > Thanks for the reply and information.
> >
> > You are correct: when I boot the HP Z2 Tower G9 into the older
> > 6.12.63+deb13-amd64 kernel, the hp_bioscfg module is not loaded which I
> > had not noticed, and running a "modprobe hp_bioscfg" on that older
> > 6.12.63+deb13-amd64 kernel does indeed generate the same dmesg warnings
> > as 6.12.69+deb13-amd64 does, which auto-loads the hp_bioscfg module.
> >
> > I've not had any noticeable problems caused by this issue since
> > 6.12.69+deb13-amd64 came out.
>
> Considering there appears to be a rather large number of attributes on this
> system, maybe we should be using a different memory allocation method?
>
> Something like this:
>
> diff --git a/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c
> b/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c
> index f346aad8e9d89..72bd6037300ab 100644
> --- a/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c
> +++ b/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c
> @@ -94,8 +94,11 @@ int hp_alloc_enumeration_data(void)
> bioscfg_drv.enumeration_instances_count =
> hp_get_instance_count(HP_WMI_BIOS_ENUMERATION_GUID);
>
> - bioscfg_drv.enumeration_data =
> kcalloc(bioscfg_drv.enumeration_instances_count,
> - sizeof(*bioscfg_drv.enumeration_data), GFP_KERNEL);
> + if (!bioscfg_drv.enumeration_instances_count)
> + return -EINVAL;
> +
> + bioscfg_drv.enumeration_data =
> kvcalloc(bioscfg_drv.enumeration_instances_count,
> + sizeof(*bioscfg_drv.enumeration_data), GFP_KERNEL);
> if (!bioscfg_drv.enumeration_data) {
> bioscfg_drv.enumeration_instances_count = 0;
> return -ENOMEM;
The patch looks fine to me and now I wonder how to continue here. Would
a test by Paul help? Or are we sure enough the patch is fine?
@Paul: Could you test the patch? Are you able to create a kernel image
with that patch included yourself, or would a test package help you?
Best regards
Uwe
Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar
Bug#1127612: linux-image-6.12.69+deb13-amd64: hp_bioscfg mm/page_alloc.c:4802 warning Paul Kerry <p.kerry@sheffield.ac.uk> - 2026-02-10 13:30 +0100 Processed: Re: Bug#1127612: linux-image-6.12.69+deb13-amd64: hp_bioscfg mm/page_alloc.c:4802 warning "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-02-16 16:40 +0100 Bug#1127612: linux-image-6.12.69+deb13-amd64: hp_bioscfg mm/page_alloc.c:4802 warning Uwe Kleine-König <ukleinek@debian.org> - 2026-02-16 16:40 +0100 Bug#1127612: linux-image-6.12.69+deb13-amd64: hp_bioscfg mm/page_alloc.c:4802 warning Uwe Kleine-König <ukleinek@debian.org> - 2026-02-21 16:30 +0100
csiph-web