From: Sam James <sam@gentoo.org>
To: Helge Deller <deller@gmx.de>
Cc: "Andreas K. Huettel" <dilfridge@gentoo.org>,
Florian Weimer <fweimer@redhat.com>,
Helge Deller <deller@kernel.org>,
John David Anglin <dave.anglin@bell.net>,
libc-alpha@sourceware.org, linux-parisc@vger.kernel.org
Subject: Re: [PATCH] hppa: Wire up cacheflush syscall
Date: Tue, 09 Jul 2024 14:41:46 +0100 [thread overview]
Message-ID: <87a5iq7kdh.fsf@gentoo.org> (raw)
In-Reply-To: <b494d5e4-123e-4625-b947-644ac4283838@gmx.de> (Helge Deller's message of "Mon, 8 Jul 2024 20:26:21 +0200")
Helge Deller <deller@gmx.de> writes:
> On 7/8/24 18:00, Andreas K. Huettel wrote:
>> Am Montag, 8. Juli 2024, 10:58:35 CEST schrieb Helge Deller:
>>> On 7/8/24 10:13, Florian Weimer wrote:
>>>> * Helge Deller:
>>>>
>>>>> diff --git a/sysdeps/unix/sysv/linux/hppa/sys/cachectl.h b/sysdeps/unix/sysv/linux/hppa/sys/cachectl.h
>>>>> new file mode 100644
>>>>> index 0000000000..16e47d1329
>>>>> --- /dev/null
>>>>> +++ b/sysdeps/unix/sysv/linux/hppa/sys/cachectl.h
>>>>> @@ -0,0 +1,36 @@
>>>>
>>>>> +#ifndef _SYS_CACHECTL_H
>>>>> +#define _SYS_CACHECTL_H 1
>>>>> +
>>>>> +#include <features.h>
>>>>> +
>>>>> +/* Get the kernel definition for the op bits. */
>>>>> +#include <asm/cachectl.h>
>>>>
>>>> This makes this header (<sys/cachectl.h>) unusable with older kernel
>>>> headers. I think it also results in a test failure with older headers.
>>>> Is this a problem?
>>>
>>> hppa lives in debian unstable, so basically you should always use
>>> the latest kernel & kernel headers when upgrading glibc.
>>
>> Ahem.
>> https://www.gentoo.org/downloads/#hppa
>
> Sure. But I didn't mentioned it, because Gentoo usually uses a
> more recent kernel than Debian, right?
>
In this instance, I wonder if we should do the extra checks. The kernel
instability because of the cache / TLB issues means at least one of our
machines runs an older kernel for now. (Dave's latest patches seem to
help a lot there, but you get the point.)
thanks,
sam
next prev parent reply other threads:[~2024-07-09 13:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-08 1:10 [PATCH] hppa: Wire up cacheflush syscall Helge Deller
2024-07-08 8:13 ` Florian Weimer
2024-07-08 8:58 ` Helge Deller
2024-07-08 16:00 ` Andreas K. Huettel
2024-07-08 18:26 ` Helge Deller
2024-07-09 13:41 ` Sam James [this message]
2024-08-03 8:57 ` John David Anglin
2024-09-26 19:08 ` Sam James
2024-09-27 7:16 ` Helge Deller
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=87a5iq7kdh.fsf@gentoo.org \
--to=sam@gentoo.org \
--cc=dave.anglin@bell.net \
--cc=deller@gmx.de \
--cc=deller@kernel.org \
--cc=dilfridge@gentoo.org \
--cc=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=linux-parisc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.