Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #86347 > unrolled thread

Bug#1099617: linux-source: Small detail in order to use struct resource in ACPI

Started byCorcodel Marian <corcodel.marian@gmail.com>
First post2025-03-05 20:00 +0100
Last post2025-03-05 20:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1099617: linux-source: Small detail in order to use struct resource in ACPI Corcodel Marian <corcodel.marian@gmail.com> - 2025-03-05 20:00 +0100

#86347 — Bug#1099617: linux-source: Small detail in order to use struct resource in ACPI

FromCorcodel Marian <corcodel.marian@gmail.com>
Date2025-03-05 20:00 +0100
SubjectBug#1099617: linux-source: Small detail in order to use struct resource in ACPI
Message-ID<Kn28h-3Rdi-1@gated-at.bofh.it>
Package: linux-source
Severity: wishlist
Tags: upstream
X-Debbugs-Cc: corcodel.marian@gmail.com

Hi

In linux kernel exist struct resource and i think is need some improvement in
order to parse easy from ACPI table:

Original structure bellow:

struct resource {
        resource_size_t start;
        resource_size_t end;
        const char *name;
        unsigned long flags;
        unsigned long desc;
        struct resource *parent, *sibling, *child;
};

New structure proposed:
struct resource {
        resource_size_t start;
        resource_size_t end;
        const char *start_cacpi; /*Used to parse from ACPI Table */
        const char *end_cacpi; /*Used to parse from ACPI Table */
        const char *name;
        unsigned long flags;
        unsigned long desc;
        struct resource *parent, *sibling, *child;
};

New item can bee used whith string compare functions, and have glue whith bus
start , end 1byte lenght from MCFG ,ACPI table.


-- System Information:
Debian Release: 12.9
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.5+ (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

[toc] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web