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 5000C3858D28 for ; Fri, 10 Feb 2023 10:48:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5000C3858D28 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=1676026131; bh=CIv1pPmvXSAm3gHTGHdty9nK79UHN17KluSMVBJdfFc=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=KE9jRRf+f6fcnZSmIaeMTq9qNAeJ+nOzHGaD8rmxkQgVvSgEj6Cxhs9oSlAIjpXvt jO2PU4c2qICshwkpd3ZIynDWNVX/OJ/Pw/sCPaqDn/zpfMCfF+pxYCrjS8jfVW9LZA 16OIBoN6G4tjAnlq3kNizP2aJ3TT4t7KDlJlXgs6hCvSZqhDvyoOqdrREuDgyuyZ3d P5CHYSLvqw8ToHyFYdVNV9Hw5y1q1dc12I5B7dAAeU1xTMkhd8KAGlQL1Wpfgfg+Ig yYxt+vpzihPlc+kWJBcxsWt6T180ZAWIBYsu1MGNoQuEN/lCXd1wx5C5o5lfkYyALY QzFkNUEHo5Afg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.20.60] ([92.116.172.157]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1My36T-1of6GS2nPT-00zTqV; Fri, 10 Feb 2023 11:48:51 +0100 Message-ID: <516401c6-2652-4856-0706-1083accc4b67@gmx.de> Date: Fri, 10 Feb 2023 11:48:50 +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 To: Florian Weimer , Helge Deller via Libc-alpha Cc: dave.anglin@bell.net References: <875yc9j02o.fsf@oldenburg.str.redhat.com> From: Helge Deller In-Reply-To: <875yc9j02o.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Ad98RgzxnGo8bFxrDQgIbTV7nMD75u0wXSKvf571sGSlO6/8w+2 E1koCaBuG6yEYIE+jNa5h8p8rvhX+Q3H0gA5q3nw2hqZWdZjmCaFo9NQu0fgp7f776by6Aq kxIp/ZlBReLcvNrMa4HbubQdZx2oMY1rvGq6no2DtRhgxGh2MrylBuXuvCVFhq4BXdYL1wQ 2wdmAN9BBKFtKa1V/bJ6Q== UI-OutboundReport: notjunk:1;M01:P0:nHoY/ACo5oE=;uGtxwS1N+jQ5sQlhomlCaPThlAd FYyJTX7rBlRcZQkP9cAJ4NKyyhXRzQr3tyHP82G0xlvOUlSnpyCk4ExsQ1Q4Vigi8qDP7Krta vfeeqG1lU5xlMXx4cLZQgI0d13VYG3Aa/NoAuRutU5Xb1XzW3FjRuD3xLYmhKbao1GHKk1M/v 9P+JyinoVSvWJ+F5722PQrnNZ7+xsYmtN3NwGXPBfmwQ2TYKGkOkrYkqMS6EaYbkVXtnn3xDu eOKjf0QkUL5QzZx4Rhd4UaZJZpMrduQMlhGb70psXN55xEDQCQ0jvSCTzqQqxJQ7qmjC0k1Ql CkQL77y6Z/dYYIdYXCBcIofU5lNIL+arVd1+sK+wfVJOQhFsrBy7fF6BJ7cBHO+E/ktCewaGJ GmA/B53XV6XlhoqSeNg/p1XNvlvLeEMAfZ2FmYCirWrI4vdXB33fQkC0uy/4BDu7JwqHpgjx5 x1ULewpWh6LSuSJBz/Pxk7upzR+CEH9345+wOzxUhohXo0y80YjnVaqPwb4OehygYq+socvEn Zws1RyklfCPF6GghE6yTkeFcYu+Lz4uzyfb2grgV+b8anp48aTMUH96lnAtN9PswIxRHWVYVw ZlNhRg2oAiz5AgZvW8dMxrbKb6v8aunWPNgzpNj68oIgK7Mlm0xJgF4ptvIp/EfXynp5M2ddL Dca5oh2Tdn6+T3L+7Eiq9l4/eqDNST3RCcuBL+yWyoDz/7VPuNangcCSQ3X9uTQLw1fJ2tBQf fvx9KOJ6O0IsbDk3/FZci1FNEXChH8SqzJ9lz+HsQNzPvaJHbKOf4uatAPLV5StU2gdb1uhbN ZURPKP0KsXNoEKK9142D6J7Rr2YmexhSG5RvwoBKSdNd5a42TxuBaSsCEhYUgFr1u8DRu7JWw /E9cZWAP5ddhwFOAYyx/YV/RQ1eJ0iok/dYCPEpjHmbfzjPoY3iU0HOXJxZqAxRiBeGOom8Du nxnKAw== X-Spam-Status: No, score=-3.8 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: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? Maybe it has always worked? qemu-user was broken before, which is why I noticed that difference at all= , 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/4530deb1fe81152ae2384a56eb7e= db5467f894fa >> 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 madvise > function is used. Maybe add to the "Deprecated and removed features, and other changes affec= ting compatibility:" section something like this? * In the Linux kernel for the hppa/parisc architecture some of the MADV_ c= onstants were changed to have the same values as the other architectures. New programs compiled with this glibc version and which use the madvise= () call will require at least Linux kernels version 6.2, alternatively stable kernel= s from version 6.1.6, version 5.15.87 or version 5.10.163. Helge