From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by sourceware.org (Postfix) with ESMTPS id A1E663858D28 for ; Fri, 10 Feb 2023 11:04:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A1E663858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1676027082; bh=2hhXxymFXFU+lVHkoJt9evY761uvxAYEA80XoGiQEPE=; h=X-UI-Sender-Class:Date:Subject:From:To:Cc:References:In-Reply-To; b=ews77ZrHyi9kl9Lo3kzkbOUWcxcmblNRHHB6wwa6ZQs3HPJWK44NIpV6ksICCB54c wRyK93yY0sY6vVEH+d0DTWvCzqJiy3b6tSbYWelbqByPiuZMzF/v1qvLiHfVQnSZhc zgKdYFKXEvPK7YyYSBDnCIJBkTef1aA5J3axYrgjakD/Vr4UWnGvEx9UiY0MzDDWE+ EJdiuTY9668yQk66BvGqjXdjqz4F2nIdrrv1NtfOm+nXauNpPQGLpkreHIhlWdtE7v uRhOsj7CUoayjGrLbw/ZHtKKvCs+36vkNpSGt2wt7FYnJ3eCfFJ6p02deUs8F1NwLD zbffPXtTDNiNw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.20.60] ([92.116.172.157]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MdNcA-1orNRC21Ee-00ZRKg; Fri, 10 Feb 2023 12:04:42 +0100 Message-ID: <3f8155ff-99d3-06a4-1112-823864f4ab9c@gmx.de> Date: Fri, 10 Feb 2023 12:04:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] hppa: Drop old parisc-specific MADV_* constants Content-Language: en-US From: Helge Deller To: Florian Weimer , Helge Deller via Libc-alpha Cc: dave.anglin@bell.net References: <875yc9j02o.fsf@oldenburg.str.redhat.com> <516401c6-2652-4856-0706-1083accc4b67@gmx.de> In-Reply-To: <516401c6-2652-4856-0706-1083accc4b67@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:bJc/s5WurLDU0BdcdNW81Cz3Uj4Ldbo5EYkxxbanjyjOLtum+1s mx78PWQ64wNm5K1uwC2hO47iPgSuXEQUKjTVjbNvmicIBwtc/T7rFeMHFpxeSLZ+Fo4+Fpk ODWjrykyIE25DzPGlS09PeXFKbSuIoZ1WCSPHVqxDpa/yr7IDM7pN7J+eId/dPEs3COExLD wmZ0W9JIPQpNi+Kmaf88Q== UI-OutboundReport: notjunk:1;M01:P0:vl0MpWB4ZfQ=;FWZAc18WBypzszVLXVFE6IMU0h4 jgyjrh/Yg7hBPAN2Q1zxbJ2VvZITM//S1zBF75Beng9E/s3o0+G/MIcoHn1EoAfL9FoAZf0Tl f2uAn/najMa8WsfVjLANSHLRwdgPUd9uK2KyTJ5Nn+E8XcpeRCqpdHycRR7cByOl+0k/iuKnX go5vY+NIphO3WlMRBVRWozJLngBnsHGYzHIfeMfd362CGrStdZF3pqAXqq+sskeS/hV4v/M38 c0zgbWsYCxU/5PoLoH2ziNWV5pFIHxKahmESv/kfUKytDHPtsm+gtq4WypgnQFg/UjRsbopKg ENKsJbtIdFsiCldaT/llP+27BKtgnumPCx7Hl38FuALQ/hzb5/2bykKOhWUabIr1VVw+R/soj 1y+wDwdYY5Wkh4ZTrASu3ySkuqXv9emaRrWNLNvvDjU8Ml3435GGkIjAGU/7VH97MALmsb5tC 3johfXRlKoD3yEJD0BcWDhHskE/tISmSqeaDE+QsNLPTPsmY5GggeACEB+jGzsa89/DJ+3gC/ TFN/Fvxf7bgzog3UlYdYYu03cCMkKdLJjXCifQpL0sboSHYSIEI3kL/1d60s4ngblac04tSOT bpELE/lHyUHVObhPMJcOqPclUNzUakTNV2PODHrKiJq497rmqCTZoi5bqX1grS5/nl+ID8otx qcV3qr1FlwI/6Vx44RTXt3LC0zkpq8yBr7NtaxWBHd/IItG4IvDB1xd+3imOqYJCA+TFFzlhC io6Y0xNQbVcD/Ku0c9hCwLKyKc6VEbRKMh94yLt+qDxMzqNTO5H8DzQ+SSuTuRJvaIPR6OnKY qxYCoVF8WOV6ZYF6mAMokaf0AP54js5pxm2ULeam3/CB/l1e6QdjpT6qSaokTbVi4zjta3psZ QF9Dewv0ygdXBd2xSSM0zEL/gz2pCrNs12E+OIW21cmqoRCcL4GebpDUTP4Et6mOdSLpMmUfJ AghNog== X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2/10/23 11:48, Helge Deller wrote: > On 2/10/23 11:18, Florian Weimer wrote: >> * Helge Deller via Libc-alpha: >> >>> The Linux kernel upstream commit 71bdea6f798b ("parisc: Align parisc >>> MADV_XXX constants with all other architectures") dropped the >>> parisc-specific MADV_* values in favour of the same constants as >>> other architectures. In the same commit a wrapper was added which >>> translates the old values to the standard MADV_* values to avoid >>> breakage of existing programs. >>> This upstream patch has been downported to all stable kernel trees as >>> well. >> >> What about qemu-user?=C2=A0 Maybe it has always worked? > > qemu-user was broken before, which is why I noticed that difference at a= ll, > and which is the reason I came up with the kernel patch. > I did sent a fix for qemu-user too, which was applied some days ago: > https://gitlab.com/qemu-project/qemu/-/commit/4530deb1fe81152ae2384a56eb= 7edb5467f894fa > >>> This patch now drops the parisc specific constants from glibc to >>> allow newly compliled programs to use the standard MADV_* constants. >> >> I appreciate the simplification, but I think this needs a NEWS file >> update, spelling out the required kernel versions on hppa if the madvis= e >> function is used. > > Maybe add to the "Deprecated and removed features, and other changes aff= ecting compatibility:" > section something like this? > > * In the Linux kernel for the hppa/parisc architecture some of the MADV_= constants > =C2=A0 were changed to have the same values as the other architectures. > =C2=A0 New programs compiled with this glibc version and which use the = madvise() call will > =C2=A0 require at least Linux kernels version 6.2, alternatively stable= kernels > =C2=A0 from version 6.1.6, version 5.15.87 or version 5.10.163. and 5.4.228, 4.19.270, 4.14.303 Helge