Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #86347
| From | Corcodel Marian <corcodel.marian@gmail.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1099617: linux-source: Small detail in order to use struct resource in ACPI |
| Date | 2025-03-05 20:00 +0100 |
| Message-ID | <Kn28h-3Rdi-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
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)
Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread
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
csiph-web