Re: [PATCH Mach] kern: Add a mach host operation which returns elapsed time since bootup

2024-12-28 Thread Zhaoming Luo
On 12/29/24 9:28 AM, Samuel Thibault wrote: Hello, Zhaoming Luo, le mar. 24 déc. 2024 09:57:51 +0800, a ecrit: Add host_get_uptime64() mach interface operation. It can be used to get the time passed since the boot up. * doc/mach.texi: Add the documentation for the operation * include/mach/mach

Re: [PATCH Mach] kern: Add a mach host operation which returns elapsed time since bootup

2024-12-28 Thread Samuel Thibault
Hello, Zhaoming Luo, le mar. 24 déc. 2024 09:57:51 +0800, a ecrit: > Add host_get_uptime64() mach interface operation. It can be used to get > the time passed since the boot up. > > * doc/mach.texi: Add the documentation for the operation > * include/mach/mach_host.defs: Add the interface > * inc

Re: libzstd :: non-regular file test failure

2024-12-28 Thread Samuel Thibault
Hello, Diego Nieto Cid, le mer. 04 déc. 2024 09:57:08 -0300, a ecrit: > Thanks for making sense of my gibberish :-) > So, once the fix lands in hurd/glibc packages we can drop the debian > patch and fix upstream (libzstd) That's now uploaded indeed. Samuel

Re: [PATCH v2 1/1 libacpica] acpi_init: Get pci root port handle \_SB.PCI0 directly

2024-12-28 Thread Samuel Thibault
Applied, thanks! Damien Zammit via Bug reports for the GNU Hurd, le sam. 28 déc. 2024 02:36:06 +, a ecrit: > This mostly fixes the numbering of IRQs when requested. > This now works on an old AMD board with broken _CRS. > It requests the possible irqs from _PRS and generates > a valid _SRS re

Re: [PATCH 1/2 libacpica] acpi_init: Match resources on function 0xffff

2024-12-28 Thread Samuel Thibault
Applied, thanks! Damien Zammit via Bug reports for the GNU Hurd, le sam. 28 déc. 2024 01:28:02 +, a ecrit: > This ensures the resources are correct when matching. > Resources are always all ones in the function field > as they apply to all functions of a device. > > --- > debian/patches/acp

Re: [PATCH gnumach] i386/irq: Add missing enumeration for high interrupts

2024-12-28 Thread Samuel Thibault
Applied, thanks! Damien Zammit via Bug reports for the GNU Hurd, le sam. 28 déc. 2024 04:20:23 +, a ecrit: > Because we support up to 64 irqs with 2 IOAPICs. > > --- > i386/i386/irq.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/i386/i386/irq.c b/i386/i386/ir

Re: [PATCH v2 hurd] pci-arbiter: Fix long standing bug with PCI access

2024-12-28 Thread Samuel Thibault
Applied, thanks! Damien Zammit via Bug reports for the GNU Hurd, le sam. 28 déc. 2024 07:35:52 +, a ecrit: > Proxied memory was not rounded up to page size, causing > error with vm_map'ing the underlying memory. > > WARNING: Assumes pci memory resources are at least page aligned. > If not,

Re: [PATCH hurd] rumpdisk: Try to reduce memory usage

2024-12-28 Thread Damien Zammit via Bug reports for the GNU Hurd
On 12/29/24 8:56 AM, Samuel Thibault wrote: > Damien Zammit via Bug reports for the GNU Hurd, le sam. 28 déc. 2024 06:39:04 > +, a ecrit: >> + setenv ("RUMP_MEMLIMIT", "16m", 1); > Did you test this a lot? > > We'd probably want to disable rump-side caching rather than putting > pressure on i

Re: [PATCH hurd] rumpdisk: Try to reduce memory usage

2024-12-28 Thread Samuel Thibault
Hello, Damien Zammit via Bug reports for the GNU Hurd, le sam. 28 déc. 2024 06:39:04 +, a ecrit: > + setenv ("RUMP_MEMLIMIT", "16m", 1); Did you test this a lot? We'd probably want to disable rump-side caching rather than putting pressure on it. Samuel

Re: [PATCH hurd] rumpdisk: Deallocate buffers in write during failure paths

2024-12-28 Thread Samuel Thibault
Applied, thanks! Damien Zammit via Bug reports for the GNU Hurd, le sam. 28 déc. 2024 06:38:41 +, a ecrit: > --- > rumpdisk/block-rump.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/rumpdisk/block-rump.c b/rumpdisk/block-rump.c > index cd7af494..8a3a404a 100644 > --- a/rumpdis

Re: [PATCH v2 hurd] acpi: Better error handling on S_acpi_get_pci_irq

2024-12-28 Thread Samuel Thibault
Applied, thanks! Damien Zammit via Bug reports for the GNU Hurd, le sam. 28 déc. 2024 07:35:32 +, a ecrit: > Return positive error code when return value indicates error. > > --- > acpi/acpi-ops.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/acpi/acpi-ops.c b/ac